Searched defs:_handle (Results 1 - 6 of 6) sorted by relevance

/external/lzma/CPP/Common/
H A DC_FileIO.h19 int _handle; member in class:NC::NFile::NIO::CFileBase
22 CFileBase(): _handle(-1) {};
/external/lzma/CPP/Windows/
H A DHandle.h11 HANDLE _handle; member in class:NWindows::CHandle
13 operator HANDLE() { return _handle; }
14 CHandle(): _handle(NULL) {}
16 bool IsCreated() const { return (_handle != NULL); }
19 if (_handle == NULL)
21 if (!::CloseHandle(_handle))
23 _handle = NULL;
26 void Attach(HANDLE handle) { _handle = handle; }
29 HANDLE handle = _handle;
30 _handle
[all...]
H A DFileIO.h29 HANDLE _handle; member in class:NWindows::NFile::NIO::CFileBase
45 CFileBase(): _handle(INVALID_HANDLE_VALUE) {};
71 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
H A DFileFind.h84 HANDLE _handle; member in class:NWindows::NFile::NFind::CFindFile
86 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE; }
87 CFindFile(): _handle(INVALID_HANDLE_VALUE) {}
137 HANDLE _handle; member in class:NWindows::NFile::NFind::CFindChangeNotification
139 operator HANDLE () { return _handle; }
140 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE && _handle != 0; }
141 CFindChangeNotification(): _handle(INVALID_HANDLE_VALUE) {}
148 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); }
/external/libusb/libusb/
H A Dcore.c860 struct libusb_device_handle *_handle; local
866 _handle = malloc(sizeof(*_handle) + priv_size);
867 if (!_handle)
870 r = pthread_mutex_init(&_handle->lock, NULL);
874 _handle->dev = libusb_ref_device(dev);
875 _handle->claimed_interfaces = 0;
876 memset(&_handle->os_priv, 0, priv_size);
878 r = usbi_backend->open(_handle);
881 free(_handle);
[all...]
/external/chromium_org/third_party/libusb/src/libusb/
H A Dcore.c1082 struct libusb_device_handle *_handle; local
1091 _handle = malloc(sizeof(*_handle) + priv_size);
1092 if (!_handle)
1095 r = usbi_mutex_init(&_handle->lock, NULL);
1097 free(_handle);
1101 _handle->dev = libusb_ref_device(dev);
1102 _handle->auto_detach_kernel_driver = 0;
1103 _handle->claimed_interfaces = 0;
1104 memset(&_handle
[all...]

Completed in 190 milliseconds