Searched refs:_handle (Results 1 - 24 of 24) sorted by relevance

/external/lzma/CPP/Windows/
H A DHandle.h11 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
[all...]
H A DSecurityUtils.h15 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...]
H A DFileMapping.h17 _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);
H A DFileFind.h77 HANDLE _handle; member in class:NWindows::NFile::NFind::CFindFileBase
79 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE; }
80 CFindFileBase(): _handle(INVALID_HANDLE_VALUE) {}
141 HANDLE _handle; member in class:NWindows::NFile::NFind::CFindChangeNotification
143 operator HANDLE () { return _handle; }
144 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE && _handle != 0; }
145 CFindChangeNotification(): _handle(INVALID_HANDLE_VALUE) {}
149 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); }
H A DFileFind.cpp109 if (_handle == INVALID_HANDLE_VALUE)
111 if (!::FindClose(_handle))
113 _handle = INVALID_HANDLE_VALUE;
125 _handle = ::FindFirstFileA(fs2fas(path), &fd);
126 if (_handle == INVALID_HANDLE_VALUE)
136 _handle = ::FindFirstFileW(fs2us(path), &fd); local
138 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH)
142 _handle = ::FindFirstFileW(longPath, &fd);
145 if (_handle == INVALID_HANDLE_VALUE)
158 if (!::FindNextFileA(_handle,
222 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0); local
508 _handle = ::FindFirstChangeNotificationW(fs2us(path), BoolToBOOL(watchSubtree), notifyFilter); local
[all...]
H A DFileIO.cpp62 _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, (LON
[all...]
H A DSynchronization.h45 // 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();
H A DFileIO.h65 HANDLE _handle; member in class:NWindows::NFile::NIO::CFileBase
75 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
97 CFileBase(): _handle(INVALID_HANDLE_VALUE) {};
111 { return BOOLToBool(GetFileInformationByHandle(_handle, info)); }
/external/lzma/CPP/Common/
H A DC_FileIO.cpp22 _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, dat
[all...]
H A DC_FileIO.h25 int _handle; member in class:NC::NFile::NIO::CFileBase
28 CFileBase(): _handle(-1) {};
/external/parameter-framework/upstream/utility/posix/
H A DDynamicLibrary.cpp42 _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/
H A DDynamicLibrary.cpp46 _handle = reinterpret_cast<void *>(module);
48 if (_handle == nullptr) {
56 HMODULE module = reinterpret_cast<HMODULE>(_handle);
63 HMODULE module = reinterpret_cast<HMODULE>(_handle);
/external/drm_gralloc/
H A Dgralloc_drm_handle.h65 static inline struct gralloc_drm_handle_t *gralloc_drm_handle(buffer_handle_t _handle) argument
68 (struct gralloc_drm_handle_t *) _handle;
H A Dgralloc_drm.cpp154 static struct gralloc_drm_bo_t *validate_handle(buffer_handle_t _handle, argument
157 struct gralloc_drm_handle_t *handle = gralloc_drm_handle(_handle);
335 void gralloc_drm_resolve_format(buffer_handle_t _handle, argument
338 struct gralloc_drm_handle_t *handle = gralloc_drm_handle(_handle);
H A Dgralloc_drm.h121 void gralloc_drm_resolve_format(buffer_handle_t _handle, uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
/external/parameter-framework/upstream/utility/
H A DDynamicLibrary.hpp80 void *_handle; member in class:DynamicLibrary
/external/libusb/libusb/os/
H A Dwindows_common.h87 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/
H A Dnet_tc.py62 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/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Dtracing_backend.py44 self._handle = stream_handle
64 'handle': self._handle, 'size': 32768}}
81 req = {'method': 'IO.close', 'params': {'handle': self._handle}}
/external/autotest/client/cros/graphics/
H A Ddrm.py457 self._handle = handle
/external/libnl/include/netlink-private/
H A Dtypes.h474 uint32_t pre ##_handle; \
/external/guice/extensions/persist/lib/
H A Dlog4j-1.2.14.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/log4j/ org/apache/log4j/Appender ...
/external/slf4j/log4j-over-slf4j/compatibility/lib/
H A Dlog4j-1.2.14.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/log4j/ org/apache/log4j/Appender ...
/external/curl/lib/
H A Durl.c6402 if((data->set.out)->_handle == NULL) {

Completed in 535 milliseconds