/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) {}
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)); }
|
FileFind.cpp | 109 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, &fd)) 222 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0); local 508 _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 | 65 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/ |
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/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/ |
OISWiiMoteForceFeedback.cpp | 49 if( mHandle != -1 || effect->_handle != -1) return; 52 effect->_handle = mHandle = 1; 70 if( mHandle == effect->_handle ) 73 mHandle = effect->_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/drm_gralloc/ |
gralloc_drm_handle.h | 65 static inline struct gralloc_drm_handle_t *gralloc_drm_handle(buffer_handle_t _handle) 68 (struct gralloc_drm_handle_t *) _handle;
|
gralloc_drm.cpp | 154 static struct gralloc_drm_bo_t *validate_handle(buffer_handle_t _handle, 157 struct gralloc_drm_handle_t *handle = gralloc_drm_handle(_handle); 326 void gralloc_drm_resolve_format(buffer_handle_t _handle, 329 struct gralloc_drm_handle_t *handle = gralloc_drm_handle(_handle);
|
/external/parameter-framework/upstream/utility/ |
DynamicLibrary.hpp | 80 void *_handle; member in class:DynamicLibrary
|
/external/v8/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-update-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)
|
gyptest-link-generate-manifest.py | 28 self._handle = None 31 self._handle = win32api.LoadLibrary(self._path) 32 return self._handle 35 win32api.FreeLibrary(self._handle)
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/ |
OISEffect.cpp | 85 _handle(-1), 120 if( _handle != -1 )
|
/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/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
|
/ndk/sources/cxx-stl/stlport/src/ |
_stdio_file.h | 98 inline int _FILE_fd(const FILE *__f) { return __f->_handle; }
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/ |
LinuxForceFeedback.cpp | 172 EffectList::iterator i = mEffectList.find(effect->_handle); 178 _stop(effect->_handle); 180 _unload(effect->_handle); 456 EffectList::iterator i = mEffectList.find(effect->_handle); 476 effect->_handle = ffeffect->id; 482 mEffectList[effect->_handle] = linEffect; 485 _start(effect->_handle); 495 ffeffect->id = effect->_handle; 508 << ") : Effect handle : " << effect->_handle << endl;
|