Home
last modified time | relevance | path

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

1234567

/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/google-breakpad/src/client/windows/crash_generation/
Dminidump_generator.cc272 dump_file_(INVALID_HANDLE_VALUE), in MinidumpGenerator()
273 full_dump_file_(INVALID_HANDLE_VALUE), in MinidumpGenerator()
285 if (dump_file_is_internal_ && dump_file_ != INVALID_HANDLE_VALUE) { in ~MinidumpGenerator()
289 if (full_dump_file_is_internal_ && full_dump_file_ != INVALID_HANDLE_VALUE) { in ~MinidumpGenerator()
307 if (dump_file_ == INVALID_HANDLE_VALUE || in WriteMinidump()
308 (full_memory_dump && full_dump_file_ == INVALID_HANDLE_VALUE)) { in WriteMinidump()
373 full_dump_file_ != INVALID_HANDLE_VALUE) in WriteMinidump()
382 full_dump_file_ != INVALID_HANDLE_VALUE) in WriteMinidump()
419 full_dump_file_ != INVALID_HANDLE_VALUE) in WriteMinidump()
460 if (dump_file_ != INVALID_HANDLE_VALUE) { in GenerateDumpFile()
[all …]
Dcrash_generation_client.cc290 if (pipe != INVALID_HANDLE_VALUE) { in ConnectToPipe()
382 if (local_pipe != INVALID_HANDLE_VALUE) { in DuplicatePipeToClientProcess()
383 HANDLE remotePipe = INVALID_HANDLE_VALUE; in DuplicatePipeToClientProcess()
389 return INVALID_HANDLE_VALUE; in DuplicatePipeToClientProcess()
395 return INVALID_HANDLE_VALUE; in DuplicatePipeToClientProcess()
399 return INVALID_HANDLE_VALUE; in DuplicatePipeToClientProcess()
402 return INVALID_HANDLE_VALUE; in DuplicatePipeToClientProcess()
/external/libcups/cups/
Ddir.c85 if (dp->dir != INVALID_HANDLE_VALUE) in cupsDirClose()
127 dp->dir = INVALID_HANDLE_VALUE; in cupsDirOpen()
162 if (dp->dir == INVALID_HANDLE_VALUE) in cupsDirRead()
169 if (dp->dir == INVALID_HANDLE_VALUE) in cupsDirRead()
219 if (dp->dir != INVALID_HANDLE_VALUE) in cupsDirRewind()
222 dp->dir = INVALID_HANDLE_VALUE; in cupsDirRewind()
/external/python/cpython2/Modules/_multiprocessing/
Dconnection.h49 if (handle == INVALID_HANDLE_VALUE || (Py_ssize_t)handle < 0) { in connection_new()
84 if (self->handle != INVALID_HANDLE_VALUE) { in connection_dealloc()
170 self->handle = INVALID_HANDLE_VALUE; in connection_recvbytes()
224 self->handle = INVALID_HANDLE_VALUE; in connection_recvbytes_into()
310 self->handle = INVALID_HANDLE_VALUE; in connection_recv_obj()
377 if (self->handle == INVALID_HANDLE_VALUE) { in connection_fileno()
387 if (self->handle != INVALID_HANDLE_VALUE) { in connection_close()
391 self->handle = INVALID_HANDLE_VALUE; in connection_close()
415 return PyBool_FromLong((long)(self->handle == INVALID_HANDLE_VALUE)); in connection_closed()
/external/libusb/libusb/os/
Dpoll_windows.c72 const struct winfd INVALID_WINFD = {-1, INVALID_HANDLE_VALUE, NULL, NULL, NULL, RW_NONE};
111 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
142 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
166 _poll_fd[i].original_handle = INVALID_HANDLE_VALUE; in init_polling()
217 && (overlapped->hEvent != INVALID_HANDLE_VALUE) ) { in free_overlapped()
243 if (_poll_fd[i].original_handle != INVALID_HANDLE_VALUE) { in exit_polling()
297 _poll_fd[i].original_handle = INVALID_HANDLE_VALUE; in usbi_pipe()
328 if ((handle == 0) || (handle == INVALID_HANDLE_VALUE)) { in usbi_create_fd()
370 _poll_fd[i].original_handle = INVALID_HANDLE_VALUE; in usbi_create_fd()
393 if (_poll_fd[_index].original_handle != INVALID_HANDLE_VALUE) { in _free_index()
[all …]
/external/libcxx/src/experimental/filesystem/
Ddirectory_iterator.cpp72 __ds.__stream_ = INVALID_HANDLE_VALUE; in __dir_stream()
76 : __stream_(INVALID_HANDLE_VALUE), __root_(root) { in __dir_stream()
78 if (__stream_ == INVALID_HANDLE_VALUE) { in __dir_stream()
89 if (__stream_ == INVALID_HANDLE_VALUE) in ~__dir_stream()
94 bool good() const noexcept { return __stream_ != INVALID_HANDLE_VALUE; } in good()
113 __stream_ = INVALID_HANDLE_VALUE; in close()
117 HANDLE __stream_{INVALID_HANDLE_VALUE};
/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/webrtc/webrtc/base/
Dwinping.cc149 : dll_(0), hping_(INVALID_HANDLE_VALUE), create_(0), close_(0), send_(0), in WinPing()
167 if (hping_ == INVALID_HANDLE_VALUE) { in WinPing()
180 if (hping6_ == INVALID_HANDLE_VALUE) { in WinPing()
194 if ((hping_ != INVALID_HANDLE_VALUE) && close_) { in ~WinPing()
198 if ((hping6_ != INVALID_HANDLE_VALUE) && close_) { in ~WinPing()
Dfileutils.cc42 : handle_(INVALID_HANDLE_VALUE) { in DirectoryIterator()
51 if (handle_ != INVALID_HANDLE_VALUE) in DirectoryIterator()
65 if (handle_ != INVALID_HANDLE_VALUE) in DirectoryIterator()
69 if (handle_ == INVALID_HANDLE_VALUE) in DirectoryIterator()
/external/lzma/CPP/Windows/
DFileFind.h79 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE; } in IsHandleAllocated()
80 CFindFileBase(): _handle(INVALID_HANDLE_VALUE) {} in CFindFileBase()
147 bool IsHandleAllocated() const { return _handle != INVALID_HANDLE_VALUE && _handle != 0; } in IsHandleAllocated()
148 CFindChangeNotification(): _handle(INVALID_HANDLE_VALUE) {} in CFindChangeNotification()
DFileFind.cpp110 if (_handle == INVALID_HANDLE_VALUE) in Close()
114 _handle = INVALID_HANDLE_VALUE; in Close()
158 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
170 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH) in FindFirst()
177 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
283 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
297 if (_handle == INVALID_HANDLE_VALUE) in FindFirst()
661 _handle = INVALID_HANDLE_VALUE; in Close()
DFileIO.cpp72 if (_handle == INVALID_HANDLE_VALUE && USE_SUPER_PATH) in Create()
81 return (_handle != INVALID_HANDLE_VALUE); in Create()
86 if (_handle == INVALID_HANDLE_VALUE) in Close()
90 _handle = INVALID_HANDLE_VALUE; in Close()
221 if (_handle == INVALID_HANDLE_VALUE || !IsDeviceFile) in CalcDeviceSize()
/external/fio/os/windows/
Dposix.c200 if (hMod == INVALID_HANDLE_VALUE) in dlopen()
387 static HANDLE log_file = INVALID_HANDLE_VALUE;
391 if (log_file == INVALID_HANDLE_VALUE) in openlog()
398 log_file = INVALID_HANDLE_VALUE; in closelog()
408 if (log_file == INVALID_HANDLE_VALUE) { in syslog()
412 if (log_file == INVALID_HANDLE_VALUE) { in syslog()
611 …HANDLE hMapping = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, (PAGE_EXECUTE_READWRITE | SEC_RESE… in shmget()
660 fileMappings[shmid] = INVALID_HANDLE_VALUE; in shmctl()
887 if (file != INVALID_HANDLE_VALUE) { in opendir()
891 dc->find_handle = INVALID_HANDLE_VALUE; in opendir()
[all …]
/external/libmojo/mojo/edk/embedder/
Dplatform_handle_utils_win.cc18 CHECK_NE(platform_handle.handle, INVALID_HANDLE_VALUE); in DuplicatePlatformHandle()
23 DCHECK_NE(new_handle, INVALID_HANDLE_VALUE); in DuplicatePlatformHandle()
Dplatform_handle.h62 PlatformHandle() : PlatformHandle(INVALID_HANDLE_VALUE) {}
68 bool is_valid() const { return handle != INVALID_HANDLE_VALUE; }
/external/python/cpython2/PC/VS8.0/
Dkill_python.c45 if (hsm == INVALID_HANDLE_VALUE) { in main()
92 if (hsp == INVALID_HANDLE_VALUE) { in main()
121 if (hsm == INVALID_HANDLE_VALUE) in main()
/external/python/cpython2/PC/VS9.0/
Dkill_python.c45 if (hsm == INVALID_HANDLE_VALUE) { in main()
92 if (hsp == INVALID_HANDLE_VALUE) { in main()
121 if (hsm == INVALID_HANDLE_VALUE) in main()
/external/lzma/C/
D7zFile.c33 p->handle = INVALID_HANDLE_VALUE; in File_Construct()
48 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_Open()
72 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_OpenW()
81 if (p->handle != INVALID_HANDLE_VALUE) in File_Close()
85 p->handle = INVALID_HANDLE_VALUE; in File_Close()
/external/jline/src/src/main/native/
Djline_WindowsTerminal.c10 if (hConsole == INVALID_HANDLE_VALUE) in Java_jline_WindowsTerminal_getConsoleMode()
28 if (hConsole == INVALID_HANDLE_VALUE) in Java_jline_WindowsTerminal_setConsoleMode()
/external/fio/engines/
Dwindowsaio.c94 hFile = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0); in fio_windowsaio_init()
95 if (hFile == INVALID_HANDLE_VALUE) { in fio_windowsaio_init()
204 if (f->hFile == INVALID_HANDLE_VALUE) { in fio_windowsaio_open_file()
231 if (f->hFile != INVALID_HANDLE_VALUE) { in fio_windowsaio_close_file()
238 f->hFile = INVALID_HANDLE_VALUE; in fio_windowsaio_close_file()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DProgram.inc120 if (h == INVALID_HANDLE_VALUE) {
238 si.hStdInput = INVALID_HANDLE_VALUE;
239 si.hStdOutput = INVALID_HANDLE_VALUE;
240 si.hStdError = INVALID_HANDLE_VALUE;
246 if (si.hStdInput == INVALID_HANDLE_VALUE) {
251 if (si.hStdOutput == INVALID_HANDLE_VALUE) {
265 if (si.hStdError == INVALID_HANDLE_VALUE) {
/external/python/cpython2/PC/
D_subprocess.c90 self->handle = INVALID_HANDLE_VALUE; in sp_handle_detach()
102 if (self->handle != INVALID_HANDLE_VALUE) { in sp_handle_close()
104 self->handle = INVALID_HANDLE_VALUE; in sp_handle_close()
113 if (self->handle != INVALID_HANDLE_VALUE) in sp_handle_dealloc()
177 if (handle == INVALID_HANDLE_VALUE) in sp_GetStdHandle()
/external/syslinux/win/
Dsyslinux.c105 if (drive == INVALID_HANDLE_VALUE) { in FixMBR()
368 if (d_handle == INVALID_HANDLE_VALUE) { in main()
413 if (f_handle == INVALID_HANDLE_VALUE) { in main()
530 if (f_handle == INVALID_HANDLE_VALUE) { in main()
564 if (f_handle == INVALID_HANDLE_VALUE) { in main()
/external/gptfdisk/
Ddiskio-windows.cc65 if (fd == INVALID_HANDLE_VALUE) { in OpenForRead()
96 if (fd == INVALID_HANDLE_VALUE) { in OpenForWrite()
102 if (fd == INVALID_HANDLE_VALUE) { in OpenForWrite()

1234567