/external/chromium/base/test/ |
test_file_util_win.cc | 42 base::win::ScopedHandle file_handle( 45 if (!file_handle) 50 CHECK(::GetFileInformationByHandle(file_handle, &bhi)); 68 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL); 85 SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN); 86 if (!::WriteFile(file_handle, buffer, kOneMB, &bytes_written, NULL) || 108 file_handle.Set(NULL); 109 file_handle.Set(CreateFile(file.value().c_str(), GENERIC_WRITE, 0, NULL, 111 CHECK_NE(SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN), 113 CHECK(::SetEndOfFile(file_handle)); [all...] |
/development/testrunner/ |
logger.py | 55 file_handle = file(_LOG_FILE, 'a') 56 file_handle.write('\n' + str(msg)) 57 file_handle.close()
|
/external/qemu/android/utils/ |
mapfile.c | 82 HANDLE file_handle = CreateFile(path, win32_desired_access, win32_share, local 84 if (file_handle == INVALID_HANDLE_VALUE) { 88 int file_handle = open(path, oflag, share_mode); 91 return (MapFile*)(ptrdiff_t)file_handle;
|
/ndk/sources/host-tools/ndk-stack/elff/ |
mapfile.c | 82 HANDLE file_handle = CreateFile(path, win32_desired_access, win32_share, local 84 if (file_handle == INVALID_HANDLE_VALUE) { 88 int file_handle = open(path, oflag, share_mode); 91 return (MapFile*)(ptrdiff_t)file_handle;
|
elf_file.cc | 96 MapFile* file_handle = mapfile_open(path, O_RDONLY | O_BINARY, 0); local 97 if (!mapfile_is_valid(file_handle)) { 100 const ssize_t read_bytes = mapfile_read(file_handle, &header, sizeof(header)); 101 mapfile_close(file_handle);
|
/sdk/avdlauncher/ |
avdlauncher.c | 74 HANDLE file_handle = INVALID_HANDLE_VALUE; local 97 file_handle = CreateFile(temp_filename, // filename 104 if (file_handle == INVALID_HANDLE_VALUE) { 110 return file_handle;
|
/sdk/sdklauncher/ |
sdklauncher.c | 74 HANDLE file_handle = INVALID_HANDLE_VALUE; local 97 file_handle = CreateFile(temp_filename, // filename 104 if (file_handle == INVALID_HANDLE_VALUE) { 110 return file_handle;
|
/frameworks/base/tests/DumpRenderTree/assets/ |
run_reliability_tests.py | 227 file_handle = open(crashed_file, "w") 228 file_handle.writelines("\n".join(crashed_tests)) 230 file_handle.close()
|
/external/qemu/elff/ |
elf_file.cc | 96 MapFile* file_handle = mapfile_open(path, O_RDONLY | O_BINARY, 0);
local 97 if (!mapfile_is_valid(file_handle)) {
100 const ssize_t read_bytes = mapfile_read(file_handle, &header, sizeof(header));
101 mapfile_close(file_handle);
|
/external/chromium/base/ |
file_util_win.cc | 346 bool GetFileCreationLocalTimeFromHandle(HANDLE file_handle, 349 if (!file_handle) 353 if (!GetFileTime(file_handle, &utc_filetime, NULL, NULL)) 366 base::win::ScopedHandle file_handle( 369 return GetFileCreationLocalTimeFromHandle(file_handle.Get(), creation_time); [all...] |
file_util_posix.cc | 340 if (!file_handle) 344 if (!GetFileTime(file_handle, &utc_filetime, NULL, NULL)) 356 ScopedHandle file_handle( 360 return GetFileCreationLocalTimeFromHandle(file_handle.Get(), creation_time);
|
file_util_proxy.cc | 237 RelayClose(base::PlatformFile file_handle, 240 file_handle_(file_handle) { 752 base::PlatformFile file_handle, 755 new RelayClose(file_handle, callback));
|
message_pump_win.h | 325 // completes. The registration persists as long as |file_handle| is valid, so 327 void RegisterIOHandler(HANDLE file_handle, IOHandler* handler);
|
message_pump_win.cc | 433 void MessagePumpForIO::RegisterIOHandler(HANDLE file_handle, 436 HANDLE port = CreateIoCompletionPort(file_handle, port_, key, 1);
|
file_util.h | 159 BASE_API bool GetFileCreationLocalTimeFromHandle(HANDLE file_handle,
|
message_loop.h | 617 void RegisterIOHandler(HANDLE file_handle, IOHandler* handler);
|
/external/jpeg/ |
jmemdos.c | 247 if (jdos_seek(info->handle.file_handle, file_offset)) 252 if (jdos_read(info->handle.file_handle, buffer_address, 263 if (jdos_seek(info->handle.file_handle, file_offset)) 268 if (jdos_write(info->handle.file_handle, buffer_address, 277 jdos_close(info->handle.file_handle); /* close the file */ 299 info->handle.file_handle = handle;
|
jmemsys.h | 125 short file_handle; /* DOS file handle if it's a temp file */ member in union:__anon6971
|
/development/testrunner/test_defs/ |
instrumentation_test.py | 345 file_handle = open(java_file_path, 'r') 346 for line in file_handle:
|
/external/webkit/Tools/Scripts/ |
prepare-ChangeLog | 494 my ($file_handle, $file_name) = @_; 497 return get_function_line_ranges_for_c ($file_handle, $file_name); 499 return get_function_line_ranges_for_java ($file_handle, $file_name); 501 return get_function_line_ranges_for_javascript ($file_handle, $file_name); 503 return get_selector_line_ranges_for_css ($file_handle, $file_name); 545 my ($file_handle, $file_name) = @_; 574 while (<$file_handle>) { 833 my ($file_handle, $file_name) = @_; 856 while (<$file_handle>) { [all...] |
/external/chromium/chrome/browser/importer/ |
ie_importer.cc | 55 base::win::ScopedHandle file_handle( 61 if (GetFileTime(file_handle, &creation_filetime, NULL, NULL))
|