HomeSort by relevance Sort by last modified time
    Searched refs:_handle (Results 1 - 25 of 25) sorted by null

  /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-enable-uac.py 28 self._handle = None
31 self._handle = win32api.LoadLibrary(self._path)
32 return self._handle
35 win32api.FreeLibrary(self._handle)
  /sdk/emulator/opengl/tests/ut_renderer/
Renderer.h 33 ClientHandle(unsigned int _pid, unsigned int _handle) : pid(_pid), handle(_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/stlport/src/
_stdio_file.h 98 inline int _FILE_fd(const FILE *__f) { return __f->_handle; }
  /ndk/sources/cxx-stl/stlport/src/
_stdio_file.h 98 inline int _FILE_fd(const FILE *__f) { return __f->_handle; }
  /external/chromium_org/third_party/libusb/src/libusb/
core.c 1077 struct libusb_device_handle *_handle; local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
forking.py 269 self._handle = hp
297 res = _subprocess.WaitForSingleObject(int(self._handle), msecs)
299 code = _subprocess.GetExitCodeProcess(self._handle)
312 _subprocess.TerminateProcess(int(self._handle), TERMINATE)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
forking.py 269 self._handle = hp
297 res = _subprocess.WaitForSingleObject(int(self._handle), msecs)
299 code = _subprocess.GetExitCodeProcess(self._handle)
312 _subprocess.TerminateProcess(int(self._handle), TERMINATE)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_loading.py 100 proc = windll.kernel32.GetProcAddress(advapi32._handle, "CloseEventLog")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_loading.py 100 proc = windll.kernel32.GetProcAddress(advapi32._handle, "CloseEventLog")
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
subprocess.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
subprocess.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 365 self._handle = _dlopen(self._name, mode)
367 self._handle = handle
372 (self._handle & (_sys.maxint*2 + 1)),
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
__init__.py 365 self._handle = _dlopen(self._name, mode)
367 self._handle = handle
372 (self._handle & (_sys.maxint*2 + 1)),
  /external/libnl-headers/
netlink-types.h 453 uint32_t pre ##_handle; \

Completed in 579 milliseconds