Home | History | Annotate | Download | only in test

Lines Matching full:file_handle

136   base::win::ScopedHandle file_handle(
139 if (!file_handle)
144 CHECK(::GetFileInformationByHandle(file_handle, &bhi));
162 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
179 SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN);
180 if (!::WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) ||
202 file_handle.Set(NULL);
203 file_handle.Set(CreateFile(file.value().c_str(), GENERIC_WRITE, 0, NULL,
205 CHECK_NE(SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN),
207 CHECK(::SetEndOfFile(file_handle));
211 CHECK(::SetFileTime(file_handle, &bhi.ftCreationTime, &bhi.ftLastAccessTime,