/external/lzma/CPP/Windows/ |
D | SecurityUtils.h | 15 HANDLE _handle; variable 17 CAccessToken(): _handle(NULL) {}; in CAccessToken() 21 if (_handle == NULL) in Close() 23 bool res = BOOLToBool(::CloseHandle(_handle)); in Close() 25 _handle = NULL; in Close() 32 return BOOLToBool(::OpenProcessToken(processHandle, desiredAccess, &_handle)); in OpenProcessToken() 45 { return BOOLToBool(::AdjustTokenPrivileges(_handle, BoolToBOOL(disableAllPrivileges), in AdjustPrivileges() 68 LSA_HANDLE _handle; 73 operator LSA_HANDLE() const { return _handle; } in LSA_HANDLE() 74 CPolicy(): _handle(NULL) in CPolicy() [all …]
|
D | Handle.h | 11 HANDLE _handle; 13 operator HANDLE() { return _handle; } in HANDLE() 14 CHandle(): _handle(NULL) {} in CHandle() 16 bool IsCreated() const { return (_handle != NULL); } in IsCreated() 19 if (_handle == NULL) in Close() 21 if (!::CloseHandle(_handle)) in Close() 23 _handle = NULL; in Close() 26 void Attach(HANDLE handle) { _handle = handle; } in Attach() 29 HANDLE handle = _handle; in Detach() 30 _handle = NULL; in Detach()
|
D | FileFind.cpp | 110 if (_handle == INVALID_HANDLE_VALUE) in Close() 112 if (!::FindClose(_handle)) in Close() 114 _handle = INVALID_HANDLE_VALUE; in Close() 157 _handle = ::FindFirstFileA(fs2fas(path), &fd); in FindFirst() 158 if (_handle == INVALID_HANDLE_VALUE) in FindFirst() 168 _handle = ::FindFirstFileW(fs2us(path), &fd); in FindFirst() local 170 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH) in FindFirst() 174 _handle = ::FindFirstFileW(superPath, &fd); in FindFirst() 177 if (_handle == INVALID_HANDLE_VALUE) in FindFirst() 190 if (!::FindNextFileA(_handle, &fd)) in FindNext() [all …]
|
D | FileIO.cpp | 62 _handle = ::CreateFile(fs2fas(path), desiredAccess, shareMode, in Create() 69 _handle = ::CreateFileW(fs2us(path), desiredAccess, shareMode, in Create() local 72 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH) in Create() 76 _handle = ::CreateFileW(superPath, desiredAccess, shareMode, in Create() 81 return (_handle != INVALID_HANDLE_VALUE); in Create() 86 if (_handle == INVALID_HANDLE_VALUE) in Close() 88 if (!::CloseHandle(_handle)) in Close() 90 _handle = INVALID_HANDLE_VALUE; in Close() 110 DWORD sizeLow = ::GetFileSize(_handle, &sizeHigh); in GetLength() 129 DWORD low = ::SetFilePointer(_handle, (LONG)(distanceToMove & 0xFFFFFFFF), &high, moveMethod); in Seek() [all …]
|
D | FileFind.h | 77 HANDLE _handle; 79 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE; } in IsHandleAllocated() 80 CFindFileBase(): _handle(INVALID_HANDLE_VALUE) {} in CFindFileBase() 144 HANDLE _handle; variable 146 operator HANDLE () { return _handle; } in HANDLE() 147 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE && _handle != 0; } in IsHandleAllocated() 148 CFindChangeNotification(): _handle(INVALID_HANDLE_VALUE) {} in CFindChangeNotification() 152 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); } in FindNext()
|
D | FileMapping.h | 17 …_handle = ::CreateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)… in Create() 36 _handle = ::OpenFileMapping(desiredAccess, FALSE, name); in Open() 37 if (_handle != 0) in Open() 45 …return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numbe… in Map() 51 …return ::MapViewOfFileEx(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, num… in Map()
|
D | Synchronization.h | 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); in Open() 107 if (_handle != 0) in Open() 114 return ::ReleaseMutex(_handle) ? 0 : ::GetLastError(); in Release()
|
D | FileIO.h | 67 HANDLE _handle; 77 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize, 99 CFileBase(): _handle(INVALID_HANDLE_VALUE) {}; in CFileBase() 113 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); } in GetFileInformation()
|
/external/lzma/CPP/Common/ |
D | C_FileIO.cpp | 22 _handle = ::open(name, flags, 0666); in OpenBinary() 23 return _handle != -1; in OpenBinary() 28 if (_handle == -1) in Close() 30 if (close(_handle) != 0) in Close() 32 _handle = -1; in Close() 47 return ::lseek(_handle, distanceToMove, moveMethod); in Seek() 65 return read(_handle, data, size); in Read() 76 _handle = ::creat(name, 0666); in Create() 77 return _handle != -1; in Create() 89 return write(_handle, data, size); in Write()
|
D | C_FileIO.h | 25 int _handle; 28 CFileBase(): _handle(-1) {}; in CFileBase()
|
/external/parameter-framework/upstream/utility/posix/ |
D | DynamicLibrary.cpp | 42 _handle = dlopen(_path.c_str(), RTLD_LAZY); in DynamicLibrary() 44 if (_handle == nullptr) { in DynamicLibrary() 53 dlclose(_handle); in ~DynamicLibrary() 58 void *sym = dlsym(_handle, symbol.c_str()); in osGetSymbol()
|
/external/parameter-framework/upstream/utility/windows/ |
D | DynamicLibrary.cpp | 46 _handle = reinterpret_cast<void *>(module); in DynamicLibrary() 48 if (_handle == nullptr) { in DynamicLibrary() 56 HMODULE module = reinterpret_cast<HMODULE>(_handle); in ~DynamicLibrary() 63 HMODULE module = reinterpret_cast<HMODULE>(_handle); in osGetSymbol()
|
/external/libusb/libusb/os/ |
D | 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/autotest/client/bin/net/ |
D | 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
|
/external/mesa3d/src/vulkan/wsi/ |
D | 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/python/cpython2/Lib/multiprocessing/ |
D | 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/parameter-framework/upstream/utility/ |
D | DynamicLibrary.hpp | 80 void *_handle; member in DynamicLibrary
|
/external/spirv-llvm/test/SPIRV/ |
D | CreatePipeFromPipeStorage.ll | 120 …%_handle = getelementptr inbounds %"class.cl::pipe<int __attribute__((ext_vector_type(4))), cl::pi… 121 …store %spirv.Pipe._0 addrspace(1)* %handle, %spirv.Pipe._0 addrspace(1)* addrspace(4)* %_handle, a… 138 …%_handle = getelementptr inbounds %"class.cl::pipe<int __attribute__((ext_vector_type(4))), cl::pi… 139 …store %spirv.Pipe._1 addrspace(1)* %handle, %spirv.Pipe._1 addrspace(1)* addrspace(4)* %_handle, a…
|
/external/python/cpython2/Lib/ |
D | subprocess.py | 663 self._handle = hp 679 if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0: 680 self.returncode = _GetExitCodeProcess(self._handle) 688 _subprocess.WaitForSingleObject(self._handle, 690 self.returncode = _subprocess.GetExitCodeProcess(self._handle) 772 _subprocess.TerminateProcess(self._handle, 1) 778 rc = _subprocess.GetExitCodeProcess(self._handle)
|
/external/autotest/client/cros/graphics/ |
D | gbm.py | 157 self._handle = handle 158 self._device = library.gbm_create_device(self._handle)
|
D | drm.py | 471 self._handle = handle
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 362 self._handle = _dlopen(self._name, mode) 364 self._handle = handle 369 (self._handle & (_sys.maxint*2 + 1)),
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_loading.py | 107 proc = windll.kernel32.GetProcAddress(advapi32._handle,
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_private.h | 1280 __radv_type ## _from_handle(__VkType _handle) \ 1282 return (struct __radv_type *) _handle; \ 1294 __radv_type ## _from_handle(__VkType _handle) \ 1296 return (struct __radv_type *)(uintptr_t) _handle; \
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_private.h | 1847 __anv_type ## _from_handle(__VkType _handle) \ 1849 return (struct __anv_type *) _handle; \ 1861 __anv_type ## _from_handle(__VkType _handle) \ 1863 return (struct __anv_type *)(uintptr_t) _handle; \
|