Searched defs:file_handle (Results 1 - 10 of 10) sorted by relevance

/external/sfntly/cpp/src/test/
H A Dfile_io_test.cc27 FILE* file_handle = NULL; local
29 fopen_s(&file_handle, SAMPLE_TTF_FILE, "rb");
31 file_handle = fopen(SAMPLE_TTF_FILE, "rb");
33 if (file_handle == NULL) {
36 fseek(file_handle, 0, SEEK_END);
37 size_t length = ftell(file_handle);
38 fseek(file_handle, 0, SEEK_SET);
41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle);
43 fclose(file_handle);
88 FILE* file_handle local
[all...]
/external/libjpeg-turbo/
H A Djmemsys.h108 short file_handle; /* DOS file handle if it's a temp file */ member in union:__anon11695
/external/strace/tests/
H A Dfile_handle.c55 struct file_handle { struct
100 struct file_handle *fh =
101 (struct file_handle *) (uintptr_t) handle;
107 sizeof(struct file_handle),
129 struct file_handle *fh =
130 (struct file_handle *) (uintptr_t) handle;
138 sizeof(struct file_handle),
202 struct file_handle *handle =
203 tail_alloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
204 struct file_handle *handle_
[all...]
/external/strace/tests-m32/
H A Dfile_handle.c55 struct file_handle { struct
100 struct file_handle *fh =
101 (struct file_handle *) (uintptr_t) handle;
107 sizeof(struct file_handle),
129 struct file_handle *fh =
130 (struct file_handle *) (uintptr_t) handle;
138 sizeof(struct file_handle),
202 struct file_handle *handle =
203 tail_alloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
204 struct file_handle *handle_
[all...]
/external/strace/tests-mx32/
H A Dfile_handle.c55 struct file_handle { struct
100 struct file_handle *fh =
101 (struct file_handle *) (uintptr_t) handle;
107 sizeof(struct file_handle),
129 struct file_handle *fh =
130 (struct file_handle *) (uintptr_t) handle;
138 sizeof(struct file_handle),
202 struct file_handle *handle =
203 tail_alloc(sizeof(struct file_handle) + MAX_HANDLE_SZ);
204 struct file_handle *handle_
[all...]
/external/webrtc/webrtc/voice_engine/
H A Dvoe_audio_processing_impl.cc930 int VoEAudioProcessingImpl::StartDebugRecording(FILE* file_handle) { argument
938 return _shared->audio_processing()->StartDebugRecording(file_handle);
/external/python/cpython2/Modules/
H A Dmmapmodule.c104 HANDLE file_handle; member in struct:__anon19519
124 if (m_obj->file_handle != INVALID_HANDLE_VALUE)
125 CloseHandle (m_obj->file_handle);
162 if (self->file_handle != INVALID_HANDLE_VALUE) {
163 CloseHandle(self->file_handle);
164 self->file_handle = INVALID_HANDLE_VALUE;
395 if (self->file_handle != INVALID_HANDLE_VALUE) {
398 low = GetFileSize(self->file_handle, &high);
470 SetFilePointer(self->file_handle,
473 SetEndOfFile(self->file_handle);
[all...]
/external/python/cpython3/Modules/
H A Dmmapmodule.c104 HANDLE file_handle; member in struct:__anon20144
125 if (m_obj->file_handle != INVALID_HANDLE_VALUE)
126 CloseHandle (m_obj->file_handle);
168 if (self->file_handle != INVALID_HANDLE_VALUE) {
169 CloseHandle(self->file_handle);
170 self->file_handle = INVALID_HANDLE_VALUE;
434 if (self->file_handle != INVALID_HANDLE_VALUE) {
437 low = GetFileSize(self->file_handle, &high);
507 SetFilePointer(self->file_handle,
510 SetEndOfFile(self->file_handle);
[all...]
/external/ImageMagick/MagickCore/
H A Dnt-base.c1700 file_handle,
1708 file_handle=INVALID_HANDLE_VALUE;
1734 file_handle=INVALID_HANDLE_VALUE;
1736 file_handle=(HANDLE) _get_osfhandle(file);
1737 map_handle=CreateFileMapping(file_handle,0,protection_mode,high_length,
2614 file_handle;
2620 file_handle=(HANDLE) _get_osfhandle(file);
2621 if (file_handle == INVALID_HANDLE_VALUE)
2625 file_pointer=SetFilePointer(file_handle,low,&high,FILE_BEGIN);
2628 if (SetEndOfFile(file_handle)
1671 file_handle, local
2572 file_handle; local
[all...]
/external/libusb/libusb/os/
H A Dwindows_winusb.c2411 HANDLE file_handle; local
2420 file_handle = CreateFileA(priv->usb_interface[i].path, GENERIC_WRITE | GENERIC_READ, FILE_SHARE_WRITE | FILE_SHARE_READ,
2422 if (file_handle == INVALID_HANDLE_VALUE) {
2433 handle_priv->interface_handle[i].dev_handle = file_handle;
2545 HANDLE file_handle, winusb_handle; local
2555 file_handle = handle_priv->interface_handle[iface].dev_handle;
2556 if (!HANDLE_VALID(file_handle))
2559 if (!WinUSBX[sub_api].Initialize(file_handle, &winusb_handle)) {
2580 file_handle = CreateFileA(filter_path, GENERIC_WRITE | GENERIC_READ, FILE_SHARE_WRITE | FILE_SHARE_READ,
2582 if (file_handle
3628 HANDLE file_handle; local
[all...]

Completed in 617 milliseconds