Home
last modified time | relevance | path

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

12345

/external/chromium/base/files/
Dfile_path_watcher_win.cc24 FilePathWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {} in FilePathWatcherImpl()
116 if (handle_ != INVALID_HANDLE_VALUE) in CancelOnMessageLoopThread()
174 if (handle_ != INVALID_HANDLE_VALUE) in OnObjectSignaled()
187 if (*handle != INVALID_HANDLE_VALUE) { in SetupWatchHandle()
193 *handle = INVALID_HANDLE_VALUE; in SetupWatchHandle()
218 if (handle_ != INVALID_HANDLE_VALUE) in UpdateWatch()
237 if (handle_ != INVALID_HANDLE_VALUE) in UpdateWatch()
256 HANDLE temp_handle = INVALID_HANDLE_VALUE; in UpdateWatch()
259 if (temp_handle == INVALID_HANDLE_VALUE) in UpdateWatch()
271 handle_ = INVALID_HANDLE_VALUE; in DestroyWatch()
/external/webkit/Source/WebCore/platform/win/
DWin32Handle.h37 Win32Handle() : m_handle(INVALID_HANDLE_VALUE) { } in Win32Handle()
47 m_handle = INVALID_HANDLE_VALUE; in clear()
50 bool isValid() const { return m_handle != INVALID_HANDLE_VALUE; } in isValid()
53 HANDLE release() { HANDLE ret = m_handle; m_handle = INVALID_HANDLE_VALUE; return ret; } in release()
DPathWalker.h41 bool isValid() const { return m_handle != INVALID_HANDLE_VALUE; } in isValid()
/external/dbus/dbus/
Ddbus-file-win.c125 if (hnd == INVALID_HANDLE_VALUE) in _dbus_file_get_contents()
229 hnd = INVALID_HANDLE_VALUE; in _dbus_string_save_to_file()
268 INVALID_HANDLE_VALUE); in _dbus_string_save_to_file()
269 if (hnd == INVALID_HANDLE_VALUE) in _dbus_string_save_to_file()
317 hnd = INVALID_HANDLE_VALUE; in _dbus_string_save_to_file()
338 if (hnd != INVALID_HANDLE_VALUE) in _dbus_string_save_to_file()
378 INVALID_HANDLE_VALUE); in _dbus_create_file_exclusively()
379 if (hnd == INVALID_HANDLE_VALUE) in _dbus_create_file_exclusively()
Ddbus-sysdeps-wince-glue.c413 hMapping = CreateFileMappingA(INVALID_HANDLE_VALUE, in OpenFileMappingA()
415 if (hMapping != INVALID_HANDLE_VALUE) in OpenFileMappingA()
422 hMapping = INVALID_HANDLE_VALUE; in OpenFileMappingA()
544 return INVALID_HANDLE_VALUE; in CreateFileA()
660 return INVALID_HANDLE_VALUE; in CreateFileMappingA()
751 return INVALID_HANDLE_VALUE; in FindFirstFileA()
754 if (result != INVALID_HANDLE_VALUE) in FindFirstFileA()
762 result = INVALID_HANDLE_VALUE; in FindFirstFileA()
800 return INVALID_HANDLE_VALUE; in CreateMutexA()
/external/chromium/net/disk_cache/
Dfile_win.cc69 : init_(true), mixed_(true), platform_file_(INVALID_HANDLE_VALUE), in File()
83 if (INVALID_HANDLE_VALUE == platform_file_) in Init()
93 if (INVALID_HANDLE_VALUE == sync_platform_file_) in Init()
103 if (INVALID_HANDLE_VALUE != platform_file_) in ~File()
105 if (INVALID_HANDLE_VALUE != sync_platform_file_) in ~File()
111 return (INVALID_HANDLE_VALUE == platform_file_) ? sync_platform_file_ : in platform_file()
118 return (INVALID_HANDLE_VALUE != platform_file_ || in IsValid()
119 INVALID_HANDLE_VALUE != sync_platform_file_); in IsValid()
/external/chromium/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/webkit/Source/WebKit2/Platform/CoreIPC/win/
DConnectionWin.cpp96 if (m_connectionPipe == INVALID_HANDLE_VALUE) in platformInvalidate()
108 m_connectionPipe = INVALID_HANDLE_VALUE; in platformInvalidate()
113 if (m_connectionPipe == INVALID_HANDLE_VALUE) in readEventHandler()
235 if (m_connectionPipe == INVALID_HANDLE_VALUE) in writeEventHandler()
288 if (m_connectionPipe == INVALID_HANDLE_VALUE) in sendOutgoingMessage()
/external/wpa_supplicant_8/wpa_supplicant/
Dwin_if_list.c62 INVALID_HANDLE_VALUE); in ndisuio_open()
63 if (h == INVALID_HANDLE_VALUE) in ndisuio_open()
72 return INVALID_HANDLE_VALUE; in ndisuio_open()
134 if (ndisuio == INVALID_HANDLE_VALUE) in ndisuio_enum_bindings()
Dctrl_iface_named_pipe.c151 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe()
181 if (dst->pipe == INVALID_HANDLE_VALUE) { in ctrl_open_pipe()
238 if (dst->pipe != INVALID_HANDLE_VALUE) { in ctrl_close_pipe()
591 dst->pipe = INVALID_HANDLE_VALUE; in global_open_pipe()
612 if (dst->pipe == INVALID_HANDLE_VALUE) { in global_open_pipe()
669 if (dst->pipe != INVALID_HANDLE_VALUE) { in global_close_pipe()
/external/wpa_supplicant/
Dwin_if_list.c62 INVALID_HANDLE_VALUE); in ndisuio_open()
63 if (h == INVALID_HANDLE_VALUE) in ndisuio_open()
72 return INVALID_HANDLE_VALUE; in ndisuio_open()
134 if (ndisuio == INVALID_HANDLE_VALUE) in ndisuio_enum_bindings()
Dctrl_iface_named_pipe.c151 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe()
181 if (dst->pipe == INVALID_HANDLE_VALUE) { in ctrl_open_pipe()
238 if (dst->pipe != INVALID_HANDLE_VALUE) { in ctrl_close_pipe()
590 dst->pipe = INVALID_HANDLE_VALUE; in global_open_pipe()
611 if (dst->pipe == INVALID_HANDLE_VALUE) { in global_open_pipe()
668 if (dst->pipe != INVALID_HANDLE_VALUE) { in global_close_pipe()
/external/chromium/base/
Dsync_socket_win.cc31 static const SyncSocket::Handle kInvalidHandle = INVALID_HANDLE_VALUE;
67 if (handles[0] == INVALID_HANDLE_VALUE && in CreatePair()
72 } while (handles[0] == INVALID_HANDLE_VALUE); in CreatePair()
81 if (handles[1] == INVALID_HANDLE_VALUE) { in CreatePair()
Dfile_util_win.cc100 if (find_handle != INVALID_HANDLE_VALUE) { in CountFilesCreatedAfter()
224 if (target_file != INVALID_HANDLE_VALUE) in ReplaceFile()
331 if (dir == INVALID_HANDLE_VALUE) in PathIsWritable()
847 find_handle_(INVALID_HANDLE_VALUE) { in FileEnumerator()
861 find_handle_(INVALID_HANDLE_VALUE) { in FileEnumerator()
868 if (find_handle_ != INVALID_HANDLE_VALUE) in ~FileEnumerator()
913 find_handle_ = INVALID_HANDLE_VALUE; in Next()
917 if (INVALID_HANDLE_VALUE == find_handle_) { in Next()
958 : file_(INVALID_HANDLE_VALUE), in MemoryMappedFile()
959 file_mapping_(INVALID_HANDLE_VALUE), in MemoryMappedFile()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/
Dwin_if_list.c62 INVALID_HANDLE_VALUE); in ndisuio_open()
63 if (h == INVALID_HANDLE_VALUE) in ndisuio_open()
72 return INVALID_HANDLE_VALUE; in ndisuio_open()
134 if (ndisuio == INVALID_HANDLE_VALUE) in ndisuio_enum_bindings()
Dctrl_iface_named_pipe.c151 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe()
181 if (dst->pipe == INVALID_HANDLE_VALUE) { in ctrl_open_pipe()
238 if (dst->pipe != INVALID_HANDLE_VALUE) { in ctrl_close_pipe()
591 dst->pipe = INVALID_HANDLE_VALUE; in global_open_pipe()
612 if (dst->pipe == INVALID_HANDLE_VALUE) { in global_open_pipe()
669 if (dst->pipe != INVALID_HANDLE_VALUE) { in global_close_pipe()
/external/chromium/net/base/
Dfile_stream_win.cc122 : file_(INVALID_HANDLE_VALUE), in FileStream()
146 if (file_ != INVALID_HANDLE_VALUE) in Close()
150 if (file_ != INVALID_HANDLE_VALUE) { in Close()
152 file_ = INVALID_HANDLE_VALUE; in Close()
164 if (file_ == INVALID_HANDLE_VALUE) { in Open()
180 return file_ != INVALID_HANDLE_VALUE; in IsOpen()
/external/chromium/third_party/libjingle/source/talk/base/
Dfileutils.cc59 : handle_(INVALID_HANDLE_VALUE) { in DirectoryIterator()
68 if (handle_ != INVALID_HANDLE_VALUE) in DirectoryIterator()
82 if (handle_ != INVALID_HANDLE_VALUE) in DirectoryIterator()
86 if (handle_ == INVALID_HANDLE_VALUE) in DirectoryIterator()
Dwinping.cc142 : dll_(0), hping_(INVALID_HANDLE_VALUE), create_(0), close_(0), send_(0), in WinPing()
160 if (hping_ == INVALID_HANDLE_VALUE) { in WinPing()
177 if ((hping_ != INVALID_HANDLE_VALUE) && close_) { in ~WinPing()
/external/chromium/chrome/browser/diagnostics/
Ddiagnostics_main.cc66 : std_out_(INVALID_HANDLE_VALUE), in WinConsole()
67 std_in_(INVALID_HANDLE_VALUE) { in WinConsole()
119 return ((std_out_ != INVALID_HANDLE_VALUE) && in SetIOHandles()
120 (std_in_ != INVALID_HANDLE_VALUE)); in SetIOHandles()
/external/webkit/Source/WebCore/platform/wince/
DFileSystemWinCE.cpp62 if (hFile == INVALID_HANDLE_VALUE) in getFileInfo()
108 return hFile != INVALID_HANDLE_VALUE; in fileExists()
192 handle = INVALID_HANDLE_VALUE; in openTemporaryFile()
307 if (INVALID_HANDLE_VALUE != hFind) { in listDirectory()
/external/qemu/distrib/sdl-1.2.12/src/file/
DSDL_rwops.c61 context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* mark this as unusable */ in win32_file_open()
115 if (h==INVALID_HANDLE_VALUE) { in win32_file_open()
131 if (!context || context->hidden.win32io.h == INVALID_HANDLE_VALUE) { in win32_file_seek()
171 if (!context || context->hidden.win32io.h == INVALID_HANDLE_VALUE || total_need<=0 || !size) in win32_file_read()
217 if (!context || context->hidden.win32io.h==INVALID_HANDLE_VALUE || total_bytes<=0 || !size) in win32_file_write()
245 if (context->hidden.win32io.h != INVALID_HANDLE_VALUE) { in win32_file_close()
247 context->hidden.win32io.h = INVALID_HANDLE_VALUE; /* to be sure */ in win32_file_close()
/external/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/chromium/base/win/
Devent_trace_consumer.h97 if (reinterpret_cast<TRACEHANDLE>(INVALID_HANDLE_VALUE) == trace_handle) in OpenRealtimeSession()
113 if (reinterpret_cast<TRACEHANDLE>(INVALID_HANDLE_VALUE) == trace_handle) in OpenFileSession()
/external/bluetooth/glib/gio/
Dgwin32volumemonitor.c180 found = (find_handle != INVALID_HANDLE_VALUE); in get_connected_drives()
212 if (find_handle != INVALID_HANDLE_VALUE) in get_connected_drives()

12345