Home
last modified time | relevance | path

Searched refs:GetLastError (Results 1 – 25 of 178) sorted by relevance

12345678

/external/wpa_supplicant_8/wpa_supplicant/
Dmain_winsvc.c247 (int) GetLastError()); in svc_thread()
263 printf("OpenSCManager failed: %d\n", (int) GetLastError()); in register_service()
273 printf("CreateService failed: %d\n\n", (int) GetLastError()); in register_service()
282 (int) GetLastError()); in register_service()
304 printf("OpenSCManager failed: %d\n", (int) GetLastError()); in unregister_service()
310 printf("OpenService failed: %d\n\n", (int) GetLastError()); in unregister_service()
322 (int) GetLastError()); in unregister_service()
331 printf("DeleteService failed: %d\n", (int) GetLastError()); in unregister_service()
357 (int) GetLastError()); in service_ctrl_handler()
370 (int) GetLastError()); in service_start()
[all …]
Dctrl_iface_named_pipe.c107 err = GetLastError(); in ctrl_broken_pipe()
150 (int) GetLastError()); in ctrl_open_pipe()
177 (int) GetLastError()); in ctrl_open_pipe()
183 (int) GetLastError()); in ctrl_open_pipe()
189 err = GetLastError(); in ctrl_open_pipe()
271 (int) GetLastError()); in ctrl_iface_write_completed()
334 (int) GetLastError()); in wpa_supplicant_ctrl_iface_rx()
368 (int) GetLastError()); in wpa_supplicant_ctrl_iface_receive()
415 sddl, (int) GetLastError()); in ctrl_iface_parse()
511 dst, (int) GetLastError()); in wpa_supplicant_ctrl_iface_send()
[all …]
/external/deqp/execserver/
DxsWin32TestProcess.cpp82 throw Error(GetLastError(), "CreateEvent() failed"); in Event()
93 throw Error(GetLastError(), "SetEvent() failed"); in setSignaled()
99 throw Error(GetLastError(), "ResetEvent() failed"); in reset()
147 DWORD err = GetLastError(); in run()
160 throw Error(GetLastError(), "GetOverlappedResult() failed"); in run()
163 throw Error(GetLastError(), "Writing to pipe failed (pipe closed?)"); in run()
171 throw Error(GetLastError(), "CancelIo() failed"); in run()
175 throw Error(GetLastError(), "WaitForMultipleObjects() failed"); in run()
245 DWORD err = GetLastError(); in run()
272 DWORD err = GetLastError(); in run()
[all …]
/external/dbus/dbus/
Ddbus-file-win.c74 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_file_read()
127 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_file_get_contents()
137 if (fsize == 0xFFFFFFFF && GetLastError() != NO_ERROR) in _dbus_file_get_contents()
139 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_file_get_contents()
271 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_string_save_to_file()
301 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_string_save_to_file()
313 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_string_save_to_file()
325 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_string_save_to_file()
346 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_string_save_to_file()
384 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_create_file_exclusively()
[all …]
Ddbus-sysdeps-wince-glue.c419 if (GetLastError () != ERROR_ALREADY_EXISTS) in OpenFileMappingA()
505 _dbus_win_warn_win_error ("LocalAlloc failed", GetLastError ()); in _dbus_getsid()
550 err = GetLastError (); in CreateFileA()
570 err = GetLastError (); in DeleteFileA()
598 err = GetLastError (); in MoveFileA()
619 err = GetLastError (); in GetFileAttributesA()
640 err = GetLastError (); in GetFileAttributesExA()
669 err = GetLastError (); in CreateFileMappingA()
689 err = GetLastError (); in CreateDirectoryA()
709 err = GetLastError (); in RemoveDirectoryA()
[all …]
Ddbus-sysdeps-util-win.c100 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_write_pid_file()
130 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_write_pid_file()
143 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_write_pid_file()
357 _dbus_win_set_error_from_win_error (error, GetLastError ()); in _dbus_stat()
513 if (GetLastError() == ERROR_NO_MORE_FILES) in _dbus_opendir()
527 int saved_err = GetLastError(); in _dbus_readdir()
536 if (GetLastError() == ERROR_NO_MORE_FILES) in _dbus_readdir()
600 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_directory_open()
648 if (GetLastError() != 0) in _dbus_directory_get_next_file()
650 char *emsg = _dbus_win_error_string (GetLastError ()); in _dbus_directory_get_next_file()
/external/webrtc/webrtc/modules/desktop_capture/win/
Ddesktop.cc26 << GetLastError(); in ~Desktop()
37 if (rv || GetLastError() != ERROR_INSUFFICIENT_BUFFER) in GetName()
44 LOG(LS_ERROR) << "Failed to query the desktop name: " << GetLastError(); in GetName()
67 << GetLastError(); in SetThreadDesktop()
82 << GetLastError(); in GetDesktop()
103 << GetLastError(); in GetThreadDesktop()
Dscreen_capturer_win_magnifier.cc94 << GetLastError(); in Capture()
207 LOG_F(LS_WARNING) << "Failed to call SetWindowPos: " << GetLastError() in CaptureImage()
222 LOG_F(LS_WARNING) << "Failed to call MagSetWindowSource: " << GetLastError() in CaptureImage()
284 << "error from MagInitialize " << GetLastError(); in InitializeMagnifier()
296 << "error from GetModulehandleExA " << GetLastError(); in InitializeMagnifier()
325 << "error from creating host window " << GetLastError(); in InitializeMagnifier()
342 << GetLastError(); in InitializeMagnifier()
357 << GetLastError(); in InitializeMagnifier()
368 << GetLastError(); in InitializeMagnifier()
Dcursor.cc116 << GetLastError(); in CreateMouseCursorFromHCursor()
132 << GetLastError(); in CreateMouseCursorFromHCursor()
160 << GetLastError(); in CreateMouseCursorFromHCursor()
180 << GetLastError(); in CreateMouseCursorFromHCursor()
/external/skia/src/utils/win/
DSkDWrite.cpp31 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in create_dwrite_factory()
59 HRM(HRESULT_FROM_WIN32(GetLastError()), in sk_cstring_to_wchar()
65 HRM(HRESULT_FROM_WIN32(GetLastError()), "Could not convert wchar to utf-8."); in sk_cstring_to_wchar()
78 HRM(HRESULT_FROM_WIN32(GetLastError()), in sk_wchar_to_skstring()
85 HRM(HRESULT_FROM_WIN32(GetLastError()), "Could not convert utf-8 to wchar."); in sk_wchar_to_skstring()
119 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in SkGetGetUserDefaultLocaleNameProc()
/external/webrtc/webrtc/base/
Dwinping.cc155 LOG(LERROR) << "LoadLibrary: " << GetLastError(); in WinPing()
163 LOG(LERROR) << "GetProcAddress(ICMP_*): " << GetLastError(); in WinPing()
168 LOG(LERROR) << "IcmpCreateFile: " << GetLastError(); in WinPing()
176 LOG(LERROR) << "GetProcAddress(ICMP6_*): " << GetLastError(); in WinPing()
181 LOG(LERROR) << "Icmp6CreateFile: " << GetLastError(); in WinPing()
196 LOG(WARNING) << "IcmpCloseHandle: " << GetLastError(); in ~WinPing()
200 LOG(WARNING) << "Icmp6CloseHandle: " << GetLastError(); in ~WinPing()
257 DWORD error = GetLastError(); in Ping()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc58 << Subprocess::Win32ErrorMessage(GetLastError()); in CloseHandleOrDie()
83 GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError()); in Start()
86 GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError()); in Start()
93 << Win32ErrorMessage(GetLastError()); in Start()
98 << Win32ErrorMessage(GetLastError()); in Start()
112 << Win32ErrorMessage(GetLastError()); in Start()
136 process_start_error_ = GetLastError(); in Start()
180 << Win32ErrorMessage(GetLastError()); in Communicate()
229 << Win32ErrorMessage(GetLastError()); in Communicate()
238 << Win32ErrorMessage(GetLastError()); in Communicate()
/external/lzma/CPP/Windows/
DSynchronization.h33 return ::GetLastError();
40 return ::GetLastError(); in Open()
91 …{ return (::WaitForSingleObject(_handle, timeoutInterval) == WAIT_OBJECT_0 ? 0 : ::GetLastError())…
101 return ::GetLastError();
109 return ::GetLastError(); in Open()
114 return ::ReleaseMutex(_handle) ? 0 : ::GetLastError(); in Release()
DWindow.cpp119 return (::GetLastError() == ERROR_SUCCESS); in GetText()
123 return (::GetLastError() != ERROR_SUCCESS); in GetText()
135 return (::GetLastError() == ERROR_SUCCESS); in GetText()
139 return (::GetLastError() == ERROR_SUCCESS); in GetText()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_ndis.c131 DWORD err = GetLastError(); in l2_packet_send()
142 (int) GetLastError()); in l2_packet_send()
149 (int) GetLastError()); in l2_packet_send()
167 DWORD err = GetLastError(); in l2_packet_rx_thread_try_read()
239 (int) GetLastError()); in l2_packet_rx_thread()
257 DWORD err = GetLastError(); in l2_ndisuio_start_read()
317 "failed: %d", (int) GetLastError()); in l2_packet_rx_event()
340 (int) GetLastError()); in l2_ndisuio_set_ether_type()
438 "thread: %d", (int) GetLastError()); in l2_packet_init()
494 "failed: %d", (int) GetLastError()); in l2_packet_deinit()
/external/lzma/C/
D7zFile.c48 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_Open()
72 return (p->handle != INVALID_HANDLE_VALUE) ? 0 : GetLastError(); in File_OpenW()
84 return GetLastError(); in File_Close()
117 return GetLastError(); in File_Read()
152 return GetLastError(); in File_Write()
187 WRes res = GetLastError(); in File_Seek()
220 DWORD res = GetLastError(); in File_GetLength()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_control_c.cc53 printf("SetEnvironmentVariableW failed (0x%8lx).\n", GetLastError()); in run_parent()
84 printf("CreateProcess failed (0x%08lx).\n", GetLastError()); in run_parent()
91 printf("WaitForSingleObject failed (0x%08lx).\n", GetLastError()); in run_parent()
99 printf("GetExitCodeProcess failed (0x%08lx).\n", GetLastError()); in run_parent()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp187 return windows_error(::GetLastError()); in GetFileNameFromHandle()
199 return windows_error(::GetLastError()); in GetFileNameFromHandle()
206 return windows_error(::GetLastError()); in GetFileNameFromHandle()
214 return windows_error(::GetLastError()); in GetFileNameFromHandle()
250 ec = windows_error(::GetLastError()); in FindProgram()
365 << std::error_code(windows_error(::GetLastError())).message() in main()
393 ec = windows_error(::GetLastError()); in main()
428 DWORD LastError = ::GetLastError(); in main()
548 ec = windows_error(::GetLastError()); in main()
/external/llvm/lib/Support/Windows/
DPath.inc82 return mapWindowsError(::GetLastError());
173 return mapWindowsError(::GetLastError());
193 DWORD LastError = ::GetLastError();
212 return mapWindowsError(::GetLastError());
232 std::error_code EC = mapWindowsError(::GetLastError());
239 std::error_code EC = mapWindowsError(::GetLastError());
269 DWORD ReplaceError = ::GetLastError();
280 DWORD MoveError = ::GetLastError();
309 DWORD LastError = ::GetLastError();
381 DWORD Err = ::GetLastError();
[all …]
/external/fio/os/windows/
Dposix.c133 error = GetLastError(); in GetNumLogicalProcessors()
296 errno = win_to_posix_error(GetLastError()); in mmap()
305 errno = win_to_posix_error(GetLastError()); in munmap()
468 errno = win_to_posix_error(GetLastError()); in mlock()
476 errno = win_to_posix_error(GetLastError()); in mlock()
482 errno = win_to_posix_error(GetLastError()); in mlock()
493 errno = win_to_posix_error(GetLastError()); in munlock()
535 errno = win_to_posix_error(GetLastError()); in fsync()
568 errno = win_to_posix_error(GetLastError()); in shmat()
573 errno = win_to_posix_error(GetLastError()); in shmat()
[all …]
/external/zlib/src/contrib/minizip/
Diowin32.c208 DWORD dwErr = GetLastError(); in win32_read_file_func()
230 DWORD dwErr = GetLastError(); in win32_write_file_func()
249 if (GetLastError() != NO_ERROR) in MySetFilePointerEx()
273 DWORD dwErr = GetLastError(); in win32_tell_file_func()
297 DWORD dwErr = GetLastError(); in win32_tell64_file_func()
336 DWORD dwErr = GetLastError(); in win32_seek_file_func()
375 DWORD dwErr = GetLastError(); in win32_seek64_file_func()
/external/skia/tools/
Dwin_lcid.cpp17 wprintf(L"Locale %s had error %d\n", pStr, GetLastError()); in MyFuncLocaleEx()
23 wprintf(L"Error %d getting LCID\n", GetLastError()); in MyFuncLocaleEx()
/external/parameter-framework/upstream/test/tmpfile/windows/
DTmpFile.cpp66 return "Could not format error " + to_string(error) + ": " + to_string(::GetLastError()); in formatError()
77 auto error = ::GetLastError(); in mktmp()
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc156 fprintf(stderr, "~AutoSymSrv: SymCleanup: error %d\n", GetLastError()); in ~AutoSymSrv()
241 GetLastError(), in LocateFile()
252 GetLastError(), in LocateFile()
280 DWORD error = GetLastError(); in LocateFile()
325 GetLastError(), in LocateFile()
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Dwin32.py74 GetLastError = _stdcall_libraries['kernel32'].GetLastError variable
75 GetLastError.restype = DWORD
76 GetLastError.argtypes = []

12345678