/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 27 FILE* file_handle = NULL; in TestFileInputStream() local 29 fopen_s(&file_handle, SAMPLE_TTF_FILE, "rb"); in TestFileInputStream() 31 file_handle = fopen(SAMPLE_TTF_FILE, "rb"); in TestFileInputStream() 33 if (file_handle == NULL) { in TestFileInputStream() 36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream() 37 size_t length = ftell(file_handle); in TestFileInputStream() 38 fseek(file_handle, 0, SEEK_SET); in TestFileInputStream() 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); in TestFileInputStream() 43 fclose(file_handle); in TestFileInputStream() 88 FILE* file_handle = NULL; in TestFontInputStreamBasic() local [all …]
|
/external/strace/tests-m32/ |
D | file_handle.c | 55 struct file_handle { struct 100 struct file_handle *fh = in do_name_to_handle_at() 101 (struct file_handle *) (uintptr_t) handle; in do_name_to_handle_at() 107 sizeof(struct file_handle), in do_name_to_handle_at() 129 struct file_handle *fh = in do_open_by_handle_at() 130 (struct file_handle *) (uintptr_t) handle; in do_open_by_handle_at() 138 sizeof(struct file_handle), in do_open_by_handle_at() 202 struct file_handle *handle = in main() 203 tail_alloc(sizeof(struct file_handle) + MAX_HANDLE_SZ); in main() 204 struct file_handle *handle_0 = in main() [all …]
|
D | pure_executables.list | 54 file_handle
|
/external/strace/tests/ |
D | file_handle.c | 55 struct file_handle { struct 100 struct file_handle *fh = in do_name_to_handle_at() 101 (struct file_handle *) (uintptr_t) handle; in do_name_to_handle_at() 107 sizeof(struct file_handle), in do_name_to_handle_at() 129 struct file_handle *fh = in do_open_by_handle_at() 130 (struct file_handle *) (uintptr_t) handle; in do_open_by_handle_at() 138 sizeof(struct file_handle), in do_open_by_handle_at() 202 struct file_handle *handle = in main() 203 tail_alloc(sizeof(struct file_handle) + MAX_HANDLE_SZ); in main() 204 struct file_handle *handle_0 = in main() [all …]
|
/external/strace/tests-mx32/ |
D | file_handle.c | 55 struct file_handle { struct 100 struct file_handle *fh = in do_name_to_handle_at() 101 (struct file_handle *) (uintptr_t) handle; in do_name_to_handle_at() 107 sizeof(struct file_handle), in do_name_to_handle_at() 129 struct file_handle *fh = in do_open_by_handle_at() 130 (struct file_handle *) (uintptr_t) handle; in do_open_by_handle_at() 138 sizeof(struct file_handle), in do_open_by_handle_at() 202 struct file_handle *handle = in main() 203 tail_alloc(sizeof(struct file_handle) + MAX_HANDLE_SZ); in main() 204 struct file_handle *handle_0 = in main() [all …]
|
D | pure_executables.list | 54 file_handle
|
/external/curl/scripts/ |
D | updatemanpages.pl | 54 my $file_handle; 59 open($file_handle, $filename); 74 close($file_handle); 200 my $file_handle; 209 open($file_handle, $filename); 228 close($file_handle);
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | ios_image_load.mm | 30 FILE* file_handle = fopen(file_name, "rb"); 31 fseek(file_handle, 0, SEEK_END); 32 const size_t bytes_in_file = ftell(file_handle); 33 fseek(file_handle, 0, SEEK_SET); 35 fread(file_data.data(), 1, bytes_in_file, file_handle); 36 fclose(file_handle);
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
D | ios_image_load.mm | 30 FILE* file_handle = fopen(file_name, "rb"); 31 fseek(file_handle, 0, SEEK_END); 32 const size_t bytes_in_file = ftell(file_handle); 33 fseek(file_handle, 0, SEEK_SET); 35 fread(file_data.data(), 1, bytes_in_file, file_handle); 36 fclose(file_handle);
|
/external/tensorflow/tensorflow/contrib/lite/examples/ios/simple/ |
D | ios_image_load.mm | 27 FILE* file_handle = fopen(file_name, "rb"); 28 fseek(file_handle, 0, SEEK_END); 29 const size_t bytes_in_file = ftell(file_handle); 30 fseek(file_handle, 0, SEEK_SET); 32 fread(file_data.data(), 1, bytes_in_file, file_handle); 33 fclose(file_handle);
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | ios_image_load.mm | 30 FILE* file_handle = fopen(file_name, "rb"); 31 fseek(file_handle, 0, SEEK_END); 32 const size_t bytes_in_file = ftell(file_handle); 33 fseek(file_handle, 0, SEEK_SET); 35 fread(file_data.data(), 1, bytes_in_file, file_handle); 36 fclose(file_handle);
|
/external/skia/tools/copyright/ |
D | main.py | 88 with open(filepath, 'r') as file_handle: 89 contents = file_handle.read() 96 with open(filepath, 'w') as file_handle: 97 file_handle.write(string)
|
/external/skqp/tools/copyright/ |
D | main.py | 88 with open(filepath, 'r') as file_handle: 89 contents = file_handle.read() 96 with open(filepath, 'w') as file_handle: 97 file_handle.write(string)
|
/external/python/cpython3/Modules/ |
D | mmapmodule.c | 104 HANDLE file_handle; member 125 if (m_obj->file_handle != INVALID_HANDLE_VALUE) in mmap_object_dealloc() 126 CloseHandle (m_obj->file_handle); in mmap_object_dealloc() 168 if (self->file_handle != INVALID_HANDLE_VALUE) { in mmap_close_method() 169 CloseHandle(self->file_handle); in mmap_close_method() 170 self->file_handle = INVALID_HANDLE_VALUE; in mmap_close_method() 434 if (self->file_handle != INVALID_HANDLE_VALUE) { in mmap_size_method() 437 low = GetFileSize(self->file_handle, &high); in mmap_size_method() 507 SetFilePointer(self->file_handle, in mmap_resize_method() 510 SetEndOfFile(self->file_handle); in mmap_resize_method() [all …]
|
/external/python/cpython2/Modules/ |
D | mmapmodule.c | 104 HANDLE file_handle; member 124 if (m_obj->file_handle != INVALID_HANDLE_VALUE) in mmap_object_dealloc() 125 CloseHandle (m_obj->file_handle); in mmap_object_dealloc() 162 if (self->file_handle != INVALID_HANDLE_VALUE) { in mmap_close_method() 163 CloseHandle(self->file_handle); in mmap_close_method() 164 self->file_handle = INVALID_HANDLE_VALUE; in mmap_close_method() 395 if (self->file_handle != INVALID_HANDLE_VALUE) { in mmap_size_method() 398 low = GetFileSize(self->file_handle, &high); in mmap_size_method() 470 SetFilePointer(self->file_handle, in mmap_resize_method() 473 SetEndOfFile(self->file_handle); in mmap_resize_method() [all …]
|
/external/autotest/client/site_tests/platform_KernelVersionByBoard/ |
D | platform_KernelVersionByBoard.py | 26 with open(os.path.join(self.bindir, _EXPECTED_FILE)) as file_handle: 27 for line in file_handle:
|
/external/autotest/client/site_tests/platform_FilePerms/ |
D | platform_FilePerms.py | 249 file_handle = open(mtab_path, 'r') 250 lines = file_handle.readlines() 251 file_handle.close()
|
/external/ImageMagick/MagickCore/ |
D | nt-base.c | 1671 file_handle, in NTMapMemory() local 1679 file_handle=INVALID_HANDLE_VALUE; in NTMapMemory() 1705 file_handle=INVALID_HANDLE_VALUE; in NTMapMemory() 1707 file_handle=(HANDLE) _get_osfhandle(file); in NTMapMemory() 1708 map_handle=CreateFileMapping(file_handle,0,protection_mode,high_length, in NTMapMemory() 2572 file_handle; in NTTruncateFile() local 2578 file_handle=(HANDLE) _get_osfhandle(file); in NTTruncateFile() 2579 if (file_handle == INVALID_HANDLE_VALUE) in NTTruncateFile() 2583 file_pointer=SetFilePointer(file_handle,low,&high,FILE_BEGIN); in NTTruncateFile() 2586 if (SetEndOfFile(file_handle) == 0) in NTTruncateFile()
|
/external/libxcam/xcore/ |
D | Makefile.am | 23 file_handle.cpp \ 103 file_handle.h \
|
/external/libjpeg-turbo/ |
D | jmemsys.h | 108 short file_handle; /* DOS file handle if it's a temp file */ member
|
/external/libusb/libusb/os/ |
D | windows_winusb.c | 2411 HANDLE file_handle; in winusbx_open() local 2420 …file_handle = CreateFileA(priv->usb_interface[i].path, GENERIC_WRITE | GENERIC_READ, FILE_SHARE_WR… in winusbx_open() 2422 if (file_handle == INVALID_HANDLE_VALUE) { in winusbx_open() 2433 handle_priv->interface_handle[i].dev_handle = file_handle; in winusbx_open() 2545 HANDLE file_handle, winusb_handle; in winusbx_claim_interface() local 2555 file_handle = handle_priv->interface_handle[iface].dev_handle; in winusbx_claim_interface() 2556 if (!HANDLE_VALID(file_handle)) in winusbx_claim_interface() 2559 if (!WinUSBX[sub_api].Initialize(file_handle, &winusb_handle)) { in winusbx_claim_interface() 2580 …file_handle = CreateFileA(filter_path, GENERIC_WRITE | GENERIC_READ, FILE_SHARE_WRITE | FILE_SHARE… in winusbx_claim_interface() 2582 if (file_handle == INVALID_HANDLE_VALUE) { in winusbx_claim_interface() [all …]
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_audio_processing_impl.h | 83 int StartDebugRecording(FILE* file_handle) override;
|
/external/webrtc/webrtc/voice_engine/include/ |
D | voe_audio_processing.h | 195 virtual int StartDebugRecording(FILE* file_handle) = 0;
|
/external/libxcam/ |
D | Android.mk | 39 xcore/file_handle.cpp \
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 594 base::win::ScopedHandle file_handle(::CreateFile( in TEST() local 596 EXPECT_TRUE(file_handle.IsValid()); in TEST() 598 ::CreateFileMappingA(file_handle.Get(), nullptr, in TEST()
|