/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-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.am | 53 file_handle \
|
D | pure_executables.list | 52 file_handle
|
D | gen_tests.in | 75 file_handle -e trace=name_to_handle_at,open_by_handle_at
|
/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.am | 53 file_handle \
|
D | pure_executables.list | 52 file_handle
|
D | gen_tests.in | 75 file_handle -e trace=name_to_handle_at,open_by_handle_at
|
/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 …]
|
D | pure_executables.am | 53 file_handle \
|
D | pure_executables.list | 52 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/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/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_FilePerms/ |
D | platform_FilePerms.py | 296 file_handle = open(mtab_path, 'r') 297 lines = file_handle.readlines() 298 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/libjpeg-turbo/ |
D | jmemsys.h | 108 short file_handle; /* DOS file handle if it's a temp file */ member
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_audio_processing_impl.h | 83 int StartDebugRecording(FILE* file_handle) override;
|
D | voe_audio_processing_impl.cc | 930 int VoEAudioProcessingImpl::StartDebugRecording(FILE* file_handle) { in StartDebugRecording() argument 938 return _shared->audio_processing()->StartDebugRecording(file_handle); in StartDebugRecording()
|
/external/webrtc/webrtc/voice_engine/include/ |
D | voe_audio_processing.h | 195 virtual int StartDebugRecording(FILE* file_handle) = 0;
|
/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/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 581 base::win::ScopedHandle file_handle(::CreateFile( in TEST() local 583 EXPECT_TRUE(file_handle.IsValid()); in TEST() 585 ::CreateFileMappingA(file_handle.Get(), nullptr, in TEST()
|
/external/strace/ |
D | Android.mk | 59 file_handle.c \
|
/external/webrtc/webrtc/test/ |
D | mock_voice_engine.h | 85 MOCK_METHOD1(StartDebugRecording, int(FILE* file_handle));
|