/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...] |
SecurityUtils.h | 15 HANDLE _handle;
member in class:NWindows::NSecurity::CAccessToken 17 CAccessToken(): _handle(NULL) {};
21 if (_handle == NULL)
23 bool res = BOOLToBool(::CloseHandle(_handle));
25 _handle = NULL;
32 return BOOLToBool(::OpenProcessToken(processHandle, desiredAccess, &_handle));
39 return BOOLToBool(::OpenTreadToken(threadHandle, desiredAccess, BoolToBOOL(anOpenAsSelf), &_handle));
45 { return BOOLToBool(::AdjustTokenPrivileges(_handle, BoolToBOOL(disableAllPrivileges),
68 LSA_HANDLE _handle;
member in struct:NWindows::NSecurity::CPolicy 73 operator LSA_HANDLE() const { return _handle; }
[all...] |
FileMapping.h | 17 _handle = ::CreateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)maxSize, name);
36 _handle = ::OpenFileMapping(desiredAccess, FALSE, name);
37 if (_handle != 0)
45 return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap);
51 return ::MapViewOfFileEx(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap, baseAddress);
|
FileFind.h | 77 HANDLE _handle;
member in class:NWindows::NFile::NFind::CFindFileBase 79 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE; }
80 CFindFileBase(): _handle(INVALID_HANDLE_VALUE) {}
144 HANDLE _handle;
member in class:NWindows::NFile::NFind::CFindChangeNotification 146 operator HANDLE () { return _handle; }
147 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE && _handle != 0; }
148 CFindChangeNotification(): _handle(INVALID_HANDLE_VALUE) {}
152 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); }
|
FileFind.cpp | 110 if (_handle == INVALID_HANDLE_VALUE)
112 if (!::FindClose(_handle))
114 _handle = INVALID_HANDLE_VALUE;
157 _handle = ::FindFirstFileA(fs2fas(path), &fd);
158 if (_handle == INVALID_HANDLE_VALUE)
168 _handle = ::FindFirstFileW(fs2us(path), &fd);
local 170 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH)
174 _handle = ::FindFirstFileW(superPath, &fd);
177 if (_handle == INVALID_HANDLE_VALUE)
190 if (!::FindNextFileA(_handle, &fd)) 282 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0); local 674 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter); local [all...] |
FileIO.cpp | 62 _handle = ::CreateFile(fs2fas(path), desiredAccess, shareMode,
69 _handle = ::CreateFileW(fs2us(path), desiredAccess, shareMode,
local 72 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH)
76 _handle = ::CreateFileW(superPath, desiredAccess, shareMode,
81 return (_handle != INVALID_HANDLE_VALUE);
86 if (_handle == INVALID_HANDLE_VALUE)
88 if (!::CloseHandle(_handle))
90 _handle = INVALID_HANDLE_VALUE;
110 DWORD sizeLow = ::GetFileSize(_handle, &sizeHigh);
129 DWORD low = ::SetFilePointer(_handle, (LONG)(distanceToMove & 0xFFFFFFFF), &high, moveMethod); [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 | 67 HANDLE _handle;
member in class:NWindows::NFile::NIO::CFileBase 77 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
99 CFileBase(): _handle(INVALID_HANDLE_VALUE) {};
113 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); }
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 22 _handle = ::open(name, flags, 0666);
23 return _handle != -1;
28 if (_handle == -1)
30 if (close(_handle) != 0)
32 _handle = -1;
47 return ::lseek(_handle, distanceToMove, moveMethod);
65 return read(_handle, data, size);
76 _handle = ::creat(name, 0666);
77 return _handle != -1;
89 return write(_handle, data, size); [all...] |
C_FileIO.h | 25 int _handle;
member in class:NC::NFile::NIO::CFileBase 28 CFileBase(): _handle(-1) {};
|
/external/parameter-framework/upstream/utility/posix/ |
DynamicLibrary.cpp | 42 _handle = dlopen(_path.c_str(), RTLD_LAZY); 44 if (_handle == nullptr) { 53 dlclose(_handle); 58 void *sym = dlsym(_handle, symbol.c_str());
|
/external/parameter-framework/upstream/utility/windows/ |
DynamicLibrary.cpp | 46 _handle = reinterpret_cast<void *>(module); 48 if (_handle == nullptr) { 56 HMODULE module = reinterpret_cast<HMODULE>(_handle); 63 HMODULE module = reinterpret_cast<HMODULE>(_handle);
|
/external/parameter-framework/upstream/utility/ |
DynamicLibrary.hpp | 80 void *_handle; member in class:DynamicLibrary
|
/external/libusb/libusb/os/ |
windows_common.h | 87 static HMODULE __dll_##name##_handle = NULL 91 __dll_##name##_handle = DLL_LOAD_LIBRARY(name); \ 92 if (!__dll_##name##_handle) \ 98 if (__dll_##name##_handle) { \ 99 FreeLibrary(__dll_##name##_handle); \ 100 __dll_##name##_handle = NULL; \ 119 HMODULE h = __dll_##dll##_handle; \
|
/external/mesa3d/src/vulkan/wsi/ |
wsi_common.h | 108 __wsi_type ## _from_handle(__VkType _handle) \ 110 return (struct __wsi_type *)(uintptr_t) _handle; \ 124 __VkIcdType ## _from_handle(__VkType _handle) \ 126 return (__VkIcdType *)(uintptr_t) _handle; \
|
/external/autotest/client/bin/net/ |
net_tc.py | 62 self._handle = handle 88 return '%s:%s' % (self._handle, self._minor) 143 self._handle = None 180 return self._handle 184 self._handle = handle 252 self._handle = handle 258 return self._handle 286 return '%s:0' % self._handle
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/src/ |
_stdio_file.h | 98 inline int _FILE_fd(const FILE *__f) { return __f->_handle; }
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
_stdio_file.h | 98 inline int _FILE_fd(const FILE *__f) { return __f->_handle; }
|
/system/chre/host/msm/daemon/generated/ |
chre_slpi_stub.c | 536 static __inline int _stub_method(remote_handle _handle, uint32_t _mid) { 539 _TRY(_nErr, __QAIC_REMOTE(remote_handle_invoke)(_handle, REMOTE_SCALARS_MAKEX(0, _mid, 0, 0, 0, 0), _pra)); 559 static __inline int _stub_method_1(remote_handle _handle, uint32_t _mid, char* _rout0[1], uint32_t _rout0Len[1], uint32_t _rout1[1]) { 577 _TRY(_nErr, __QAIC_REMOTE(remote_handle_invoke)(_handle, REMOTE_SCALARS_MAKEX(0, _mid, 1, 2, 0, 0), _pra)); 586 static __inline int _stub_method_2(remote_handle _handle, uint32_t _mid, char* _in0[1], uint32_t _in0Len[1]) { 597 _TRY(_nErr, __QAIC_REMOTE(remote_handle_invoke)(_handle, REMOTE_SCALARS_MAKEX(0, _mid, 2, 0, 0, 0), _pra));
|
/external/python/cpython2/Lib/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/gdb/darwin-x86/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/gdb/linux-x86/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/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)
|
/external/autotest/client/cros/graphics/ |
gbm.py | 157 self._handle = handle 158 self._device = library.gbm_create_device(self._handle)
|