/external/lzma/CPP/Windows/ |
Handle.h | 11 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 = NULL; [all...] |
FileMapping.h | 17 _handle = ::CreateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)maxSize, name);
32 _handle = ::OpenFileMapping(desiredAccess, FALSE, name);
33 if (_handle != 0)
41 return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap);
47 return ::MapViewOfFileEx(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap, baseAddress);
|
FileFind.cpp | 99 if (_handle == INVALID_HANDLE_VALUE)
101 if (!::FindClose(_handle))
103 _handle = INVALID_HANDLE_VALUE;
113 _handle = ::FindFirstFile(wildcard, &fd);
115 if (_handle == INVALID_HANDLE_VALUE)
119 _handle = ::FindFirstFileW(longPath, &fd);
122 if (_handle == INVALID_HANDLE_VALUE)
136 _handle = ::FindFirstFileW(wildcard, &fd);
138 if (_handle == INVALID_HANDLE_VALUE)
142 _handle = ::FindFirstFileW(longPath, &fd); [all...] |
FileFind.h | 84 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)); }
|
FileIO.cpp | 111 _handle = ::CreateFile(fileName, desiredAccess, shareMode,
115 if (_handle == INVALID_HANDLE_VALUE)
119 _handle = ::CreateFileW(longPath, desiredAccess, shareMode,
127 return (_handle != INVALID_HANDLE_VALUE);
139 _handle = ::CreateFileW(fileName, desiredAccess, shareMode,
143 if (_handle == INVALID_HANDLE_VALUE)
147 _handle = ::CreateFileW(longPath, desiredAccess, shareMode,
155 return (_handle != INVALID_HANDLE_VALUE);
161 if (_handle == INVALID_HANDLE_VALUE)
163 if (!::CloseHandle(_handle))
[all...] |
Synchronization.h | 45 // bool Pulse() { return BOOLToBool(::PulseEvent(_handle)); }
91 { return (::WaitForSingleObject(_handle, timeoutInterval) == WAIT_OBJECT_0 ? 0 : ::GetLastError()); }
98 _handle = ::CreateMutex(sa, BoolToBOOL(initiallyOwn), name);
99 if (name == NULL && _handle != 0)
106 _handle = ::OpenMutex(desiredAccess, BoolToBOOL(inheritHandle), name);
107 if (_handle != 0)
114 return ::ReleaseMutex(_handle) ? 0 : ::GetLastError();
|
FileIO.h | 29 HANDLE _handle;
member in class:NWindows::NFile::NIO::CFileBase 45 CFileBase(): _handle(INVALID_HANDLE_VALUE) {};
71 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 18 _handle = ::open(name, flags, 0666);
19 return _handle != -1;
24 if (_handle == -1)
26 if (close(_handle) != 0)
28 _handle = -1;
43 return ::lseek(_handle, distanceToMove, moveMethod);
61 return read(_handle, data, size);
72 _handle = ::creat(name, 0666);
73 return _handle != -1;
85 return write(_handle, data, size); [all...] |
C_FileIO.h | 19 int _handle;
member in class:NC::NFile::NIO::CFileBase 22 CFileBase(): _handle(-1) {};
|
/external/chromium_org/tools/gyp/test/win/ |
gyptest-link-embed-manifest.py | 28 self._handle = None 31 self._handle = win32api.LoadLibrary(self._path) 32 return self._handle 35 win32api.FreeLibrary(self._handle)
|
gyptest-link-update-manifest.py | 28 self._handle = None 31 self._handle = win32api.LoadLibrary(self._path) 32 return self._handle 35 win32api.FreeLibrary(self._handle)
|
gyptest-link-enable-uac.py | 28 self._handle = None 31 self._handle = win32api.LoadLibrary(self._path) 32 return self._handle 35 win32api.FreeLibrary(self._handle)
|
gyptest-link-generate-manifest.py | 28 self._handle = None 31 self._handle = win32api.LoadLibrary(self._path) 32 return self._handle 35 win32api.FreeLibrary(self._handle)
|
/external/libusb/libusb/ |
core.c | 860 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/ |
core.c | 1082 struct libusb_device_handle *_handle; local [all...] |
/external/chromium_org/mojo/public/python/mojo/bindings/ |
messaging.py | 205 self._handle = handle 233 result = self._handle.WriteMessage(message.data, message.handles) 240 self._handle.Close() 256 self._cancellable = self._handle.AsyncWait( 264 result = _ReadAndDispatchMessage(self._handle,
|
/external/chromium_org/mojo/public/python/mojo/ |
system.pyx | 118 cdef object _handle 121 self._handle = handle 224 cdef Handle _handle 229 self._handle = handle 236 result = c_core.MojoEndReadData(self._handle._mojo_handle, num_bytes) 238 result = c_core.MojoEndWriteData(self._handle._mojo_handle, num_bytes) 239 self._handle = None 257 cdef object _handle 262 self._handle = handle 269 self._handle = Non [all...] |
/external/libnl/include/ |
netlink-types.h | 450 uint32_t pre ##_handle; \
|