Home
last modified time | relevance | path

Searched refs:INVALID_HANDLE_VALUE (Results 1 – 25 of 214) 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/libchrome/mojo/core/
Dplatform_handle_in_transit.cc35 return INVALID_HANDLE_VALUE; in TransferHandle()
40 DCHECK_NE(handle, INVALID_HANDLE_VALUE); in CloseHandleInProcess()
74 DCHECK_EQ(remote_handle_, INVALID_HANDLE_VALUE); in ~PlatformHandleInTransit()
86 DCHECK_NE(remote_handle_, INVALID_HANDLE_VALUE); in operator =()
90 remote_handle_ = INVALID_HANDLE_VALUE; in operator =()
108 remote_handle_ = INVALID_HANDLE_VALUE; in CompleteTransit()
123 if (remote_handle_ == INVALID_HANDLE_VALUE) in TransferToProcess()
/external/google-breakpad/src/client/windows/crash_generation/
Dminidump_generator.cc275 dump_file_(INVALID_HANDLE_VALUE), in MinidumpGenerator()
276 full_dump_file_(INVALID_HANDLE_VALUE), in MinidumpGenerator()
287 if (dump_file_is_internal_ && dump_file_ != INVALID_HANDLE_VALUE) { in ~MinidumpGenerator()
291 if (full_dump_file_is_internal_ && full_dump_file_ != INVALID_HANDLE_VALUE) { in ~MinidumpGenerator()
309 if (dump_file_ == INVALID_HANDLE_VALUE || in WriteMinidump()
310 (full_memory_dump && full_dump_file_ == INVALID_HANDLE_VALUE)) { in WriteMinidump()
375 full_dump_file_ != INVALID_HANDLE_VALUE) in WriteMinidump()
384 full_dump_file_ != INVALID_HANDLE_VALUE) in WriteMinidump()
421 full_dump_file_ != INVALID_HANDLE_VALUE) in WriteMinidump()
462 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/llvm-project/lldb/source/Host/windows/
DPipeWindows.cpp31 : m_read(INVALID_HANDLE_VALUE), m_write(INVALID_HANDLE_VALUE), in PipeWindows()
53 m_read = INVALID_HANDLE_VALUE; in PipeWindows()
59 m_write = INVALID_HANDLE_VALUE; in PipeWindows()
116 if (INVALID_HANDLE_VALUE == m_read) in CreateNew()
191 if (INVALID_HANDLE_VALUE == m_read) in OpenNamedPipe()
201 if (INVALID_HANDLE_VALUE == m_write) in OpenNamedPipe()
223 m_read = INVALID_HANDLE_VALUE; in ReleaseReadFileDescriptor()
233 m_write = INVALID_HANDLE_VALUE; in ReleaseWriteFileDescriptor()
246 m_read = INVALID_HANDLE_VALUE; in CloseReadFileDescriptor()
256 m_write = INVALID_HANDLE_VALUE; in CloseWriteFileDescriptor()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/VCOM/VCOM-TPM/
DVCOM-TPM.cpp6 HANDLE hVCom = INVALID_HANDLE_VALUE;
127 if (hVCom != INVALID_HANDLE_VALUE)
130 hVCom = INVALID_HANDLE_VALUE;
139 …omPort, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL)) == INVALID_HANDLE_VALUE) ||
163 if (hVCom == INVALID_HANDLE_VALUE)
174 hVCom = INVALID_HANDLE_VALUE;
183 if (hVCom != INVALID_HANDLE_VALUE)
186 hVCom = INVALID_HANDLE_VALUE;
/external/perfetto/src/profiling/symbolizer/
Dscoped_read_mmap_windows.cc31 if (file_ == INVALID_HANDLE_VALUE) { in ScopedReadMmap()
36 if (map_ == INVALID_HANDLE_VALUE) { in ScopedReadMmap()
50 if (map_ != nullptr && map_ != INVALID_HANDLE_VALUE) { in ~ScopedReadMmap()
53 if (file_ != nullptr && file_ != INVALID_HANDLE_VALUE) { in ~ScopedReadMmap()
/external/python/cpython3/Modules/_io/
Dwinconsoleio.c51 if (handle == INVALID_HANDLE_VALUE) in _get_console_type()
71 if (handle == INVALID_HANDLE_VALUE) in _PyIO_get_console_type()
167 return ((winconsoleio *)self)->handle == INVALID_HANDLE_VALUE; in _PyWindowsConsoleIO_closed()
175 if (self->handle != INVALID_HANDLE_VALUE) { in internal_close()
184 self->handle = INVALID_HANDLE_VALUE; in internal_close()
210 self->handle = INVALID_HANDLE_VALUE; in _io__WindowsConsoleIO_close_impl()
232 self->handle = INVALID_HANDLE_VALUE; in winconsoleio_new()
281 self->handle = INVALID_HANDLE_VALUE; in _io__WindowsConsoleIO___init___impl()
374 if (self->handle == INVALID_HANDLE_VALUE) in _io__WindowsConsoleIO___init___impl()
379 if (self->handle == INVALID_HANDLE_VALUE) { in _io__WindowsConsoleIO___init___impl()
[all …]
/external/libcups/cups/
Ddir.c81 if (dp->dir != INVALID_HANDLE_VALUE) in cupsDirClose()
123 dp->dir = INVALID_HANDLE_VALUE; in cupsDirOpen()
158 if (dp->dir == INVALID_HANDLE_VALUE) in cupsDirRead()
165 if (dp->dir == INVALID_HANDLE_VALUE) in cupsDirRead()
215 if (dp->dir != INVALID_HANDLE_VALUE) in cupsDirRewind()
218 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/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/flac/src/share/grabbag/
Dfile.c139 if(h1 == INVALID_HANDLE_VALUE || h2 == INVALID_HANDLE_VALUE) in grabbag__file_are_same()
149 if(h1 != INVALID_HANDLE_VALUE) in grabbag__file_are_same()
151 if(h2 != INVALID_HANDLE_VALUE) in grabbag__file_are_same()
/external/llvm-project/libcxx/src/filesystem/
Ddirectory_iterator.cpp108 __ds.__stream_ = INVALID_HANDLE_VALUE; in __dir_stream()
112 : __stream_(INVALID_HANDLE_VALUE), __root_(root) { in __dir_stream()
114 if (__stream_ == INVALID_HANDLE_VALUE) { in __dir_stream()
125 if (__stream_ == INVALID_HANDLE_VALUE) in ~__dir_stream()
130 bool good() const noexcept { return __stream_ != INVALID_HANDLE_VALUE; } in good()
156 __stream_ = INVALID_HANDLE_VALUE; in close()
160 HANDLE __stream_{INVALID_HANDLE_VALUE};
/external/libcxx/src/filesystem/
Ddirectory_iterator.cpp106 __ds.__stream_ = INVALID_HANDLE_VALUE; in __dir_stream()
110 : __stream_(INVALID_HANDLE_VALUE), __root_(root) { in __dir_stream()
112 if (__stream_ == INVALID_HANDLE_VALUE) { in __dir_stream()
123 if (__stream_ == INVALID_HANDLE_VALUE) in ~__dir_stream()
128 bool good() const noexcept { return __stream_ != INVALID_HANDLE_VALUE; } in good()
154 __stream_ = INVALID_HANDLE_VALUE; in close()
158 HANDLE __stream_{INVALID_HANDLE_VALUE};
/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()
667 _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/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/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/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/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc113 if (hfile_ != NULL && hfile_ != INVALID_HANDLE_VALUE) { in ~WindowsRandomAccessFile()
190 if (hfile_ != NULL && hfile_ != INVALID_HANDLE_VALUE) { in ~WindowsWritableFile()
243 assert(INVALID_HANDLE_VALUE != hfile_); in Close()
254 hfile_ = INVALID_HANDLE_VALUE; in Close()
328 if (INVALID_HANDLE_VALUE == hfile) { in NewRandomAccessFile()
349 if (INVALID_HANDLE_VALUE == hfile) { in NewWritableFile()
370 if (INVALID_HANDLE_VALUE == hfile) { in NewAppendableFile()
409 if (INVALID_HANDLE_VALUE == hfile) { in NewReadOnlyMemoryRegionFromFile()
493 if (find_handle == INVALID_HANDLE_VALUE) { in GetChildren()
/external/angle/util/windows/
Dtest_utils_win.cpp139 mProcessInfo.hProcess = INVALID_HANDLE_VALUE; in WindowsProcess()
140 mProcessInfo.hThread = INVALID_HANDLE_VALUE; in WindowsProcess()
263 if (mProcessInfo.hProcess != INVALID_HANDLE_VALUE) in ~WindowsProcess()
267 if (mProcessInfo.hThread != INVALID_HANDLE_VALUE) in ~WindowsProcess()
332 if (mProcessInfo.hProcess == INVALID_HANDLE_VALUE) in getExitCode()
/external/flac/src/share/win_utf8_io/
Dwin_utf8_io.c159 HANDLE handle = INVALID_HANDLE_VALUE; in CreateFile_utf8()
187 if(hOut != INVALID_HANDLE_VALUE && hOut != NULL) in win_get_console_width()
203 if (hOut == INVALID_HANDLE_VALUE || hOut == NULL || GetFileType(hOut) != FILE_TYPE_CHAR) in wprint_console()
211 if (hErr == INVALID_HANDLE_VALUE || hErr == NULL || GetFileType(hErr) != FILE_TYPE_CHAR) in wprint_console()
/external/libchrome/ipc/
Dipc_platform_file.cc47 HANDLE raw_handle = INVALID_HANDLE_VALUE; in GetPlatformFileForTransit()
51 if (handle == INVALID_HANDLE_VALUE || in GetPlatformFileForTransit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProgram.inc133 return INVALID_HANDLE_VALUE;
152 return INVALID_HANDLE_VALUE;
155 return INVALID_HANDLE_VALUE;
160 if (h == INVALID_HANDLE_VALUE) {
218 si.hStdInput = INVALID_HANDLE_VALUE;
219 si.hStdOutput = INVALID_HANDLE_VALUE;
220 si.hStdError = INVALID_HANDLE_VALUE;
226 if (si.hStdInput == INVALID_HANDLE_VALUE) {
231 if (si.hStdOutput == INVALID_HANDLE_VALUE) {
250 if (si.hStdError == INVALID_HANDLE_VALUE) {
[all …]

123456789