Home
last modified time | relevance | path

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

12345678910>>...12

/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()
333 (int) GetLastError()); in wpa_supplicant_ctrl_iface_rx()
367 (int) GetLastError()); in wpa_supplicant_ctrl_iface_receive()
414 sddl, (int) GetLastError()); in ctrl_iface_parse()
510 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/python/cpython2/PC/VS8.0/
Dkill_python.c46 printf("CreateToolhelp32Snapshot[1] failed: %d\n", GetLastError()); in main()
51 printf("Module32FirstW[1] failed: %d\n", GetLastError()); in main()
93 printf("CreateToolhelp32Snapshot[2] failed: %d\n", GetLastError()); in main()
98 printf("Process32FirstW failed: %d\n", GetLastError()); in main()
132 printf("Module32FirstW[2] failed: %d\n", GetLastError()); in main()
150 printf("OpenProcess failed: %d\n", GetLastError()); in main()
157 printf("TerminateProcess failed: %d\n", GetLastError()); in main()
/external/python/cpython2/PC/VS9.0/
Dkill_python.c46 printf("CreateToolhelp32Snapshot[1] failed: %d\n", GetLastError()); in main()
51 printf("Module32FirstW[1] failed: %d\n", GetLastError()); in main()
93 printf("CreateToolhelp32Snapshot[2] failed: %d\n", GetLastError()); in main()
98 printf("Process32FirstW failed: %d\n", GetLastError()); in main()
132 printf("Module32FirstW[2] failed: %d\n", GetLastError()); in main()
150 printf("OpenProcess failed: %d\n", GetLastError()); in main()
157 printf("TerminateProcess failed: %d\n", GetLastError()); in main()
/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()
/external/libusb/libusb/os/
Dwince_usb.c54 error_code = retval ? retval : GetLastError(); in windows_error_str()
62 format_error = GetLastError(); in windows_error_str()
158 r = translate_driver_error(GetLastError()); in init_device()
290 int libusbErr = translate_driver_error(GetLastError()); in wince_get_device_list()
299 r = translate_driver_error(GetLastError()); in wince_get_device_list()
383 return translate_driver_error(GetLastError()); in wince_get_active_config_descriptor()
398 return translate_driver_error(GetLastError()); in wince_get_config_descriptor()
411 return translate_driver_error(GetLastError()); in wince_get_configuration()
427 return translate_driver_error(GetLastError()); in wince_set_configuration()
439 return translate_driver_error(GetLastError()); in wince_claim_interface()
[all …]
/external/libcxx/src/support/win32/
Dthread_win32.cpp128 auto __ec = GetLastError(); in __libcpp_condvar_timedwait()
158 return GetLastError(); in __libcpp_execute_once()
209 return GetLastError(); in __libcpp_thread_create()
225 return GetLastError(); in __libcpp_thread_join()
227 return GetLastError(); in __libcpp_thread_join()
234 return GetLastError(); in __libcpp_thread_detach()
259 return GetLastError(); in __libcpp_tls_create()
271 return GetLastError(); in __libcpp_tls_set()
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc78 ((last_error = GetLastError()) != ERROR_IO_PENDING)) { in pread()
86 result = (::GetLastError() == ERROR_HANDLE_EOF) ? 0 : -1; in pread()
158 ::GetLastError()); in Append()
175 ::GetLastError()); in Close()
185 "FlushFileBuffers failed for: " + filename_, ::GetLastError()); in Flush()
248 return IOErrorFromWindowsError(context, ::GetLastError()); in NewRandomAccessFile()
268 return IOErrorFromWindowsError(context, ::GetLastError()); in NewWritableFile()
288 return IOErrorFromWindowsError(context, ::GetLastError()); in NewAppendableFile()
296 return IOErrorFromWindowsError(context, ::GetLastError()); in NewAppendableFile()
327 ::GetLastError()); in NewReadOnlyMemoryRegionFromFile()
[all …]
/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/skqp/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/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc50 return windows_error(::GetLastError());
60 return windows_error(::GetLastError());
78 return windows_error(::GetLastError());
90 return windows_error(::GetLastError());
104 return windows_error(::GetLastError());
146 return windows_error(::GetLastError());
167 return make_error_code(windows_error(::GetLastError()));
177 return windows_error(::GetLastError());
200 return windows_error(::GetLastError());
214 error_code ec = windows_error(::GetLastError());
[all …]
/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.cc60 << Subprocess::Win32ErrorMessage(GetLastError()); in CloseHandleOrDie()
85 GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError()); in Start()
88 GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError()); in Start()
95 << Win32ErrorMessage(GetLastError()); in Start()
100 << Win32ErrorMessage(GetLastError()); in Start()
114 << Win32ErrorMessage(GetLastError()); in Start()
138 process_start_error_ = GetLastError(); in Start()
182 << Win32ErrorMessage(GetLastError()); in Communicate()
231 << Win32ErrorMessage(GetLastError()); in Communicate()
240 << Win32ErrorMessage(GetLastError()); in Communicate()
/external/syslinux/win/
Dntfssect.c73 rc = GetLastError(); in NtfsSectGetFileVcnExtent()
124 rc = GetLastError(); in NtfsSectGetVolumeHandle()
164 rc = GetLastError(); in NtfsSectGetVolumeInfo()
215 rc = GetLastError(); in NtfsSectGetVolumeInfoFromFileName()
247 rc = GetLastError(); in NtfsSectGetVolumePartitionLba()
306 rc = GetLastError(); in NtfsSectLoadXpFuncs()
318 rc = GetLastError(); in NtfsSectLoadXpFuncs()
330 rc = GetLastError(); in NtfsSectLoadXpFuncs()
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c316 err = translate_errno( ok, (OSStatus) GetLastError(), kInUseErr ); in Main()
403 err = translate_errno( size > 0, (OSStatus) GetLastError(), kPathErr ); in InstallService()
409 err = translate_errno( scm, (OSStatus) GetLastError(), kOpenErr ); in InstallService()
415 err = translate_errno( service, (OSStatus) GetLastError(), kDuplicateErr ); in InstallService()
428 err = translate_errno( ok, (OSStatus) GetLastError(), kInUseErr ); in InstallService()
464 err = translate_errno( scm, (OSStatus) GetLastError(), kOpenErr ); in RemoveService()
468 err = translate_errno( service, (OSStatus) GetLastError(), kNotFoundErr ); in RemoveService()
474 err = translate_errno( ok, (OSStatus) GetLastError(), kAuthenticationErr ); in RemoveService()
480 check_translated_errno( ok, (OSStatus) GetLastError(), kAuthenticationErr ); in RemoveService()
484 err = translate_errno( ok, (OSStatus) GetLastError(), kDeletedErr ); in RemoveService()
[all …]
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp180 return windows_error(::GetLastError()); in GetFileNameFromHandle()
192 return windows_error(::GetLastError()); in GetFileNameFromHandle()
199 return windows_error(::GetLastError()); in GetFileNameFromHandle()
207 return windows_error(::GetLastError()); in GetFileNameFromHandle()
255 ec = windows_error(::GetLastError()); in FindProgram()
278 return windows_error(::GetLastError()); in EnableDebugPrivileges()
288 return windows_error(::GetLastError()); in EnableDebugPrivileges()
302 return windows_error(::GetLastError()); in EnableDebugPrivileges()
403 << "': " << error_code(windows_error(::GetLastError())).message() in main()
431 ec = windows_error(::GetLastError()); in main()
[all …]
/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()
/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/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()
363 << std::error_code(windows_error(::GetLastError())).message() in main()
391 ec = windows_error(::GetLastError()); in main()
426 DWORD LastError = ::GetLastError(); in main()
546 ec = windows_error(::GetLastError()); in main()
/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/libcups/cups/
Dtls-sspi.c456 if (GetLastError() == NTE_EXISTS) in httpLoadCredentials()
460 …tials: CryptAcquireContext failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpLoadCredentials()
470 …tials: CertOpenSystemStore failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpLoadCredentials()
478 …Credentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpLoadCredentials()
492 …Credentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpLoadCredentials()
579 if (GetLastError() == NTE_EXISTS) in httpSaveCredentials()
583 …tials: CryptAcquireContext failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpSaveCredentials()
593 …tials: CertOpenSystemStore failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpSaveCredentials()
601 …Credentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpSaveCredentials()
615 …Credentials: CertStrToName failed: %s", http_sspi_strerror(error, sizeof(error), GetLastError()))); in httpSaveCredentials()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc92 GetLastError(), raw_report); in MmapOrDie()
110 SanitizerToolName, size, size, addr, GetLastError()); in UnmapOrDie()
127 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
134 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
148 GetLastError()); in MmapAlignedOrDie()
155 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
166 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
187 SanitizerToolName, size, size, fixed_addr, GetLastError()); in MmapFixedNoReserve()
200 ReportMmapFailureAndDie(size, mem_type, "allocate", GetLastError()); in MmapFixedOrDie()
217 SanitizerToolName, size, size, fixed_addr, GetLastError()); in MmapFixedNoAccess()
[all …]

12345678910>>...12