/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 | 71 HANDLE _handle; 81 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize, 103 CFileBase(): _handle(INVALID_HANDLE_VALUE) {}; in CFileBase() 117 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); } in GetFileInformation()
|
/external/oj-libjdwp/src/solaris/npt/ |
D | npt_md.h | 41 void *_handle; \ 46 _handle = dlopen(path, RTLD_LAZY); \ 47 if ( _handle == NULL ) NPT_ERROR("Cannot open library"); \ 48 _sym = dlsym(_handle, "nptInitialize"); \ 52 (*(pnpt))->libhandle = _handle; \ 57 void *_handle; \ 61 _handle = (npt)->libhandle; \ 62 _sym = dlsym(_handle, "nptTerminate"); \ 65 if ( _handle != NULL ) (void)dlclose(_handle); \
|
/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/tensorflow/tensorflow/python/eager/ |
D | executor.py | 46 self._handle = handle 51 pywrap_tfe.TFE_DeleteExecutor(self._handle) 62 return pywrap_tfe.TFE_ExecutorIsAsync(self._handle) 65 return self._handle 69 pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle) 73 pywrap_tfe.TFE_ExecutorClearError(self._handle)
|
/external/tensorflow/tensorflow/python/ops/ |
D | critical_section_ops.py | 218 self._handle = gen_resource_variable_ops.mutex_v2( 224 shared_name or id(self._handle), 225 _get_device_or_colocation(self._handle)) 232 return self._handle.op.name 268 lock = gen_resource_variable_ops.mutex_lock(self._handle) 314 with ops.colocate_with(self._handle): 331 handle=self._handle, 380 return x is self._handle 385 self._handle.op.get_attr("shared_name")) 386 and (x.op.device == self._handle.op.device [all …]
|
D | session_ops.py | 56 self._handle = compat.as_str_any(handle) 67 return self._handle 73 self._resource_handle.device = self._handle.split(";")[-1] 75 self._resource_handle.name = self._handle 90 return self._handle 97 holder, reader = _get_handle_reader(self._session.graph, self._handle, 99 return self._session.run(reader, feed_dict={holder: self._handle}) 107 holder, deleter = _get_handle_deleter(self._session.graph, 0, self._handle) 118 return self._handle
|
D | tensor_array_ops.py | 145 self._handle = handle 166 self._handle, self._flow = create() 168 self._handle, self._flow = create() 180 return self._handle 236 with ops.name_scope(name, "TensorArrayGrad", [self._handle]): 237 with ops.colocate_with(self._handle): 239 handle=self._handle, source=source, flow_in=flow, name=name) 256 handle=self._handle, 267 with ops.name_scope(name, "TensorArrayWrite", [self._handle, index, value]): 275 handle=self._handle, [all …]
|
D | resource_variable_ops.py | 270 self._handle = handle 282 if isinstance(self._handle, ops.EagerTensor) and self._handle.is_packed: 290 self._handle, ignore_lookup_error=True) 424 self._handle = handle 436 handle=self._handle, handle_device=self._handle.device) 519 return self._handle.device 524 return self._handle.graph 561 return self._handle 599 return self._handle.op 658 resource_map = {self._handle: new_variable.handle} [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | windows_utils.py | 87 self._handle = handle 90 if self._handle is not None: 98 return self._handle 101 if self._handle is None: 103 return self._handle 106 if self._handle is not None: 107 CloseHandle(self._handle) 108 self._handle = None 111 if self._handle is not None:
|
/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/fastrpc/src/ |
D | adsp_current_process1_stub.c | 474 static __inline int _stub_method(remote_handle64 _handle, uint32_t _mid) { in _stub_method() argument 477 …_TRY(_nErr, __QAIC_REMOTE(remote_handle64_invoke)(_handle, REMOTE_SCALARS_MAKEX(0, _mid, 0, 0, 0, … in _stub_method() 481 __QAIC_STUB_EXPORT int __QAIC_STUB(adsp_current_process1_exit)(remote_handle64 _handle) __QAIC_STUB… in __QAIC_STUB() 483 return _stub_method(_handle, _mid); in __QAIC_STUB() 485 __QAIC_STUB_EXPORT int __QAIC_STUB(adsp_current_process1_thread_exit)(remote_handle64 _handle) __QA… in __QAIC_STUB() 487 return _stub_method(_handle, _mid); in __QAIC_STUB() 517 static __inline int _stub_method_1(remote_handle64 _handle, uint32_t _mid, uint16_t _in0[1], void* … in _stub_method_1() argument 553 …_TRY(_nErr, __QAIC_REMOTE(remote_handle64_invoke)(_handle, REMOTE_SCALARS_MAKEX(0, _mid, (_numIn[0… in _stub_method_1() 563 …nt __QAIC_STUB(adsp_current_process1_set_logging_params)(remote_handle64 _handle, unsigned short m… in __QAIC_STUB() 565 …return _stub_method_1(_handle, _mid, (uint16_t*)&mask, (void**)&filesToLog, (uint32_t*)&filesToLog… in __QAIC_STUB() [all …]
|
D | adspmsgd_adsp1_stub.c | 471 static __inline int _stub_method(remote_handle64 _handle, uint32_t _mid) { in _stub_method() argument 474 …_TRY(_nErr, __QAIC_REMOTE(remote_handle64_invoke)(_handle, REMOTE_SCALARS_MAKEX(0, _mid, 0, 0, 0, … in _stub_method() 478 __QAIC_STUB_EXPORT int __QAIC_STUB(adspmsgd_adsp1_init2)(remote_handle64 _handle) __QAIC_STUB_ATTRI… in __QAIC_STUB() 480 return _stub_method(_handle, _mid); in __QAIC_STUB() 482 __QAIC_STUB_EXPORT int __QAIC_STUB(adspmsgd_adsp1_deinit)(remote_handle64 _handle) __QAIC_STUB_ATTR… in __QAIC_STUB() 484 return _stub_method(_handle, _mid); in __QAIC_STUB()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | connection.py | 120 _handle = None variable in _ConnectionBase 129 self._handle = handle 136 if self._handle is not None: 140 if self._handle is None: 161 return self._handle is None 176 return self._handle 180 if self._handle is not None: 184 self._handle = None 282 _CloseHandle(self._handle) 285 ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True) [all …]
|
D | popen_spawn_win32.py | 84 self._handle = hp 108 res = _winapi.WaitForSingleObject(int(self._handle), msecs) 110 code = _winapi.GetExitCodeProcess(self._handle) 123 _winapi.TerminateProcess(int(self._handle), TERMINATE)
|
/external/mesa3d/src/vulkan/util/ |
D | vk_object.h | 91 __driver_type ## _from_handle(__VkType _handle) \ 93 struct vk_object_base *base = (struct vk_object_base *)_handle; \ 108 __driver_type ## _from_handle(__VkType _handle) \ 111 (struct vk_object_base *)(uintptr_t)_handle; \
|
/external/llvm-project/lld/include/lld/Core/ |
D | Instrumentation.h | 48 __itt_string_handle *_handle; variable 51 StringHandle(const char *name) : _handle(__itt_string_handle_createA(name)) {} in StringHandle() 53 operator __itt_string_handle *() const { return _handle; }
|