Home
last modified time | relevance | path

Searched refs:INVALID_HANDLE_VALUE (Results 1 – 25 of 216) sorted by relevance

123456789

/external/deqp/execserver/
DxsWin32TestProcess.cpp105 : m_dst (INVALID_HANDLE_VALUE) in CaseListWriter()
197 m_dst = INVALID_HANDLE_VALUE; in stop()
204 , m_handle (INVALID_HANDLE_VALUE) in FileReader()
340 m_handle = INVALID_HANDLE_VALUE; in stop()
347 , m_logFile (INVALID_HANDLE_VALUE) in TestLogReader()
354 if (m_logFile != INVALID_HANDLE_VALUE) in ~TestLogReader()
360 DE_ASSERT(m_logFile == INVALID_HANDLE_VALUE && !m_reader.isStarted()); in start()
370 if (m_logFile == INVALID_HANDLE_VALUE) in start()
385 m_logFile = INVALID_HANDLE_VALUE; in stop()
395 , m_standardIn (INVALID_HANDLE_VALUE) in Process()
[all …]
/external/chromium_org/base/files/
Dfile_path_watcher_win.cc26 : handle_(INVALID_HANDLE_VALUE), in FilePathWatcherImpl()
135 if (handle_ != INVALID_HANDLE_VALUE) in CancelOnMessageLoopThread()
201 if (handle_ != INVALID_HANDLE_VALUE) in OnObjectSignaled()
215 if (*handle != INVALID_HANDLE_VALUE) { in SetupWatchHandle()
221 *handle = INVALID_HANDLE_VALUE; in SetupWatchHandle()
245 if (handle_ != INVALID_HANDLE_VALUE) in UpdateWatch()
258 if (handle_ != INVALID_HANDLE_VALUE) in UpdateWatch()
277 HANDLE temp_handle = INVALID_HANDLE_VALUE; in UpdateWatch()
280 if (temp_handle == INVALID_HANDLE_VALUE) in UpdateWatch()
292 handle_ = INVALID_HANDLE_VALUE; in DestroyWatch()
Dfile_enumerator_win.cc49 find_handle_(INVALID_HANDLE_VALUE) { in FileEnumerator()
64 find_handle_(INVALID_HANDLE_VALUE) { in FileEnumerator()
72 if (find_handle_ != INVALID_HANDLE_VALUE) in ~FileEnumerator()
120 find_handle_ = INVALID_HANDLE_VALUE; in Next()
124 if (INVALID_HANDLE_VALUE == find_handle_) { in Next()
/external/qemu/android/base/files/
DScopedHandle.h33 ScopedHandle() : handle_(INVALID_HANDLE_VALUE) {} in ScopedHandle()
42 bool valid() const { return handle_ != INVALID_HANDLE_VALUE; } in valid()
50 handle_ = INVALID_HANDLE_VALUE; in release()
56 if (handle_ != INVALID_HANDLE_VALUE) { in close()
58 handle_ = INVALID_HANDLE_VALUE; in close()
/external/chromium_org/sandbox/win/src/
Dnamed_pipe_interception.cc27 if (INVALID_HANDLE_VALUE != pipe) in TargetCreateNamedPipeW()
32 return INVALID_HANDLE_VALUE; in TargetCreateNamedPipeW()
38 return INVALID_HANDLE_VALUE; in TargetCreateNamedPipeW()
63 return INVALID_HANDLE_VALUE; in TargetCreateNamedPipeW()
69 return INVALID_HANDLE_VALUE; in TargetCreateNamedPipeW()
Dnamed_pipe_policy.cc27 if (INVALID_HANDLE_VALUE == pipe) in CreateNamedPipeHelper()
35 return INVALID_HANDLE_VALUE; in CreateNamedPipeHelper()
80 if (INVALID_HANDLE_VALUE == *pipe) in CreateNamedPipeAction()
/external/chromium_org/third_party/leveldatabase/
Denv_chromium_win.cc59 DCHECK(file_ != INVALID_HANDLE_VALUE); in ChromiumSequentialFileWin()
62 DCHECK(file_ != INVALID_HANDLE_VALUE); in ~ChromiumSequentialFileWin()
64 file_ = INVALID_HANDLE_VALUE; in ~ChromiumSequentialFileWin()
70 DCHECK(file_ != INVALID_HANDLE_VALUE); in Read()
158 DCHECK(f != INVALID_HANDLE_VALUE); in ChromiumWritableFileWin()
170 if (file_ != INVALID_HANDLE_VALUE) { in ~ChromiumWritableFileWin()
174 file_ = INVALID_HANDLE_VALUE; in ~ChromiumWritableFileWin()
205 DCHECK(file_ != INVALID_HANDLE_VALUE); in Close()
212 file_ = INVALID_HANDLE_VALUE; in Close()
227 DCHECK(file_ != INVALID_HANDLE_VALUE); in Sync()
[all …]
/external/chromium_org/content/child/npapi/
Dplugin_stream_win.cc13 temp_file_handle_ = INVALID_HANDLE_VALUE; in ResetTempFileHandle()
35 DCHECK_EQ(INVALID_HANDLE_VALUE, temp_file_handle_); in OpenTempFile()
60 if (temp_file_handle_ == INVALID_HANDLE_VALUE) { in OpenTempFile()
76 return temp_file_handle_ != INVALID_HANDLE_VALUE; in TempFileIsValid()
/external/chromium_org/chrome/browser/importer/
Dfirefox_profile_lock_win.cc55 lock_handle_ = INVALID_HANDLE_VALUE; in Init()
70 lock_handle_ = INVALID_HANDLE_VALUE; in Unlock()
74 return (lock_handle_ != INVALID_HANDLE_VALUE); in HasAcquired()
/external/lzma/CPP/Windows/
DFileFind.cpp99 if (_handle == INVALID_HANDLE_VALUE) in Close()
103 _handle = INVALID_HANDLE_VALUE; in Close()
115 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
122 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
138 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
145 if (_handle != INVALID_HANDLE_VALUE) in FindFirst()
153 if (_handle != INVALID_HANDLE_VALUE) in FindFirst()
156 return (_handle != INVALID_HANDLE_VALUE); in FindFirst()
357 _handle = INVALID_HANDLE_VALUE; in Close()
DFileFind.h86 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE; } in IsHandleAllocated()
87 CFindFile(): _handle(INVALID_HANDLE_VALUE) {} in CFindFile()
140 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE && _handle != 0; } in IsHandleAllocated()
141 CFindChangeNotification(): _handle(INVALID_HANDLE_VALUE) {} in CFindChangeNotification()
/external/chromium_org/third_party/libusb/src/libusb/os/
Dpoll_windows.c70 const struct winfd INVALID_WINFD = {-1, INVALID_HANDLE_VALUE, NULL, NULL, NULL, RW_NONE};
109 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
140 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
164 _poll_fd[i].original_handle = INVALID_HANDLE_VALUE; in init_polling()
215 && (overlapped->hEvent != INVALID_HANDLE_VALUE) ) { in free_overlapped()
241 if (_poll_fd[i].original_handle != INVALID_HANDLE_VALUE) { in exit_polling()
295 _poll_fd[i].original_handle = INVALID_HANDLE_VALUE; in usbi_pipe()
326 if ((handle == 0) || (handle == INVALID_HANDLE_VALUE)) { in usbi_create_fd()
368 _poll_fd[i].original_handle = INVALID_HANDLE_VALUE; in usbi_create_fd()
391 if (_poll_fd[_index].original_handle != INVALID_HANDLE_VALUE) { in _free_index()
[all …]
/external/chromium_org/sandbox/win/tools/finder/
Dfinder_fs.cc16 if (INVALID_HANDLE_VALUE == find) { in ParseFileSystem()
65 if (file != INVALID_HANDLE_VALUE) { in TestFileAccess()
85 if (file != INVALID_HANDLE_VALUE) { in TestFileAccess()
105 if (file != INVALID_HANDLE_VALUE) { in TestFileAccess()
/external/chromium_org/net/third_party/nss/ssl/
Dsslmutex.c351 pMutex->u.sslMutx == INVALID_HANDLE_VALUE) ); in sslMutex_Init()
367 hMutex != INVALID_HANDLE_VALUE)) { in sslMutex_Init()
374 hMutex = INVALID_HANDLE_VALUE; in sslMutex_Init()
401 pMutex->u.sslMutx != INVALID_HANDLE_VALUE); in sslMutex_Destroy()
403 || hMutex == INVALID_HANDLE_VALUE) { in sslMutex_Destroy()
410 pMutex->u.sslMutx = hMutex = INVALID_HANDLE_VALUE; in sslMutex_Destroy()
431 pMutex->u.sslMutx != INVALID_HANDLE_VALUE); in sslMutex_Unlock()
433 hMutex == INVALID_HANDLE_VALUE) { in sslMutex_Unlock()
469 pMutex->u.sslMutx != INVALID_HANDLE_VALUE); in sslMutex_Lock()
471 hMutex == INVALID_HANDLE_VALUE) { in sslMutex_Lock()
/external/wpa_supplicant_8/wpa_supplicant/
Dwin_if_list.c56 INVALID_HANDLE_VALUE); in ndisuio_open()
57 if (h == INVALID_HANDLE_VALUE) in ndisuio_open()
66 return INVALID_HANDLE_VALUE; in ndisuio_open()
128 if (ndisuio == INVALID_HANDLE_VALUE) in ndisuio_enum_bindings()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc285 if (output_stream == INVALID_HANDLE_VALUE) in internal_write()
295 output_stream = INVALID_HANDLE_VALUE; in internal_write()
297 if (output_stream == INVALID_HANDLE_VALUE) { in internal_write()
301 output_stream = INVALID_HANDLE_VALUE; in internal_write()
302 if (output_stream == INVALID_HANDLE_VALUE) in internal_write()
319 output_stream = INVALID_HANDLE_VALUE; in internal_write()
320 if (output_stream != INVALID_HANDLE_VALUE) in internal_write()
/external/chromium_org/third_party/webrtc/base/
Dwinping.cc148 : dll_(0), hping_(INVALID_HANDLE_VALUE), create_(0), close_(0), send_(0), in WinPing()
166 if (hping_ == INVALID_HANDLE_VALUE) { in WinPing()
179 if (hping6_ == INVALID_HANDLE_VALUE) { in WinPing()
193 if ((hping_ != INVALID_HANDLE_VALUE) && close_) { in ~WinPing()
197 if ((hping6_ != INVALID_HANDLE_VALUE) && close_) { in ~WinPing()
/external/qemu/target-i386/
Dhax-windows.c36 if (hDevice == INVALID_HANDLE_VALUE) in hax_open_device()
53 hax_fd fd = INVALID_HANDLE_VALUE; in hax_mod_open()
58 return INVALID_HANDLE_VALUE; in hax_mod_open()
268 return INVALID_HANDLE_VALUE; in hax_host_open_vm()
278 if (hDeviceVM == INVALID_HANDLE_VALUE) in hax_host_open_vm()
337 return INVALID_HANDLE_VALUE; in hax_host_open_vcpu()
348 if (hDeviceVCPU == INVALID_HANDLE_VALUE) in hax_host_open_vcpu()
/external/chromium_org/chrome_elf/create_file/
Dchrome_create_file.cc152 HANDLE file_handle = INVALID_HANDLE_VALUE; in CreateFileNTDLL()
176 return INVALID_HANDLE_VALUE; in CreateFileNTDLL()
210 return INVALID_HANDLE_VALUE; in CreateFileNTDLL()
223 return INVALID_HANDLE_VALUE; in CreateFileNTDLL()
270 return INVALID_HANDLE_VALUE; in CreateFileNTDLL()
/external/chromium_org/content/browser/
Dpower_save_blocker_win.cc26 return INVALID_HANDLE_VALUE; in CreatePowerRequest()
40 return INVALID_HANDLE_VALUE; in CreatePowerRequest()
50 return INVALID_HANDLE_VALUE; in CreatePowerRequest()
56 return INVALID_HANDLE_VALUE; in CreatePowerRequest()
/external/chromium_org/chrome/browser/
Dprocess_singleton_win.cc269 is_virtualized_(false), lock_file_(INVALID_HANDLE_VALUE), in ProcessSingleton()
274 if (lock_file_ != INVALID_HANDLE_VALUE) in ~ProcessSingleton()
282 if (lock_file_ == INVALID_HANDLE_VALUE && !remote_window_) { in NotifyOtherProcess()
436 LOG_IF(WARNING, lock_file_ != INVALID_HANDLE_VALUE && in Create()
438 LOG_IF(ERROR, lock_file_ == INVALID_HANDLE_VALUE) in Create()
441 if (lock_file_ != INVALID_HANDLE_VALUE) { in Create()
/external/chromium_org/mojo/embedder/
Dplatform_handle.h31 PlatformHandle() : handle(INVALID_HANDLE_VALUE) {}
36 bool is_valid() const { return handle != INVALID_HANDLE_VALUE; }
/external/fio/os/windows/
Dposix.c206 if (hMod == INVALID_HANDLE_VALUE) in dlopen()
326 static HANDLE log_file = INVALID_HANDLE_VALUE;
330 if (log_file == INVALID_HANDLE_VALUE) in openlog()
337 log_file = INVALID_HANDLE_VALUE; in closelog()
347 if (log_file == INVALID_HANDLE_VALUE) { in syslog()
351 if (log_file == INVALID_HANDLE_VALUE) { in syslog()
550 …HANDLE hMapping = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, (PAGE_EXECUTE_READWRITE | SEC_RESE… in shmget()
599 fileMappings[shmid] = INVALID_HANDLE_VALUE; in shmctl()
825 if (file != INVALID_HANDLE_VALUE) { in opendir()
829 dc->find_handle = INVALID_HANDLE_VALUE; in opendir()
[all …]
/external/chromium_org/third_party/lzma_sdk/
D7zFile.c31 p->handle = INVALID_HANDLE_VALUE; in File_Construct()
46 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_Open()
70 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_OpenW()
79 if (p->handle != INVALID_HANDLE_VALUE) in File_Close()
83 p->handle = INVALID_HANDLE_VALUE; in File_Close()
/external/lzma/C/
D7zFile.c31 p->handle = INVALID_HANDLE_VALUE; in File_Construct()
46 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_Open()
70 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_OpenW()
79 if (p->handle != INVALID_HANDLE_VALUE) in File_Close()
83 p->handle = INVALID_HANDLE_VALUE; in File_Close()

123456789