Home
last modified time | relevance | path

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

12345678910>>...15

/external/chromium_org/sandbox/win/src/
Drestricted_token.cc33 return ::GetLastError(); in Init()
39 return ::GetLastError(); in Init()
122 return ::GetLastError(); in GetRestrictedTokenHandle()
126 return ::GetLastError(); in GetRestrictedTokenHandle()
129 return ::GetLastError(); in GetRestrictedTokenHandle()
147 return ::GetLastError(); in GetRestrictedTokenHandle()
168 return ::GetLastError(); in GetRestrictedTokenHandleForImpersonation()
184 return ::GetLastError(); in GetRestrictedTokenHandleForImpersonation()
203 return ::GetLastError(); in AddAllSidsForDenyOnly()
213 return ::GetLastError(); in AddAllSidsForDenyOnly()
[all …]
Dservice_resolver_unittest.cc160 EXPECT_EQ(STATUS_SUCCESS, ret) << "NtClose, last error: " << ::GetLastError(); in TEST()
164 ::GetLastError(); in TEST()
168 ::GetLastError(); in TEST()
172 ::GetLastError(); in TEST()
187 EXPECT_EQ(STATUS_SUCCESS, ret) << "NtClose, last error: " << ::GetLastError(); in TEST()
191 ::GetLastError(); in TEST()
195 ::GetLastError(); in TEST()
199 ::GetLastError(); in TEST()
208 EXPECT_EQ(STATUS_SUCCESS, ret) << "NtClose, last error: " << ::GetLastError(); in TEST()
212 ::GetLastError(); in TEST()
[all …]
Dtarget_process.cc146 return ::GetLastError(); in Create()
156 win_result = ::GetLastError(); in Create()
168 win_result = ::GetLastError(); in Create()
180 win_result = ::GetLastError(); in Create()
196 win_result = ::GetLastError(); // This may or may not be correct. in Create()
259 return ::GetLastError(); in Init()
267 return ::GetLastError(); in Init()
274 return ::GetLastError(); in Init()
288 ::GetLastError() : ERROR_INVALID_FUNCTION; in Init()
296 ::GetLastError() : ERROR_INVALID_FUNCTION; in Init()
[all …]
Dpolicy_target_test.cc27 return ::GetLastError(); in PolicyTargetTest_token()
49 return ::GetLastError(); in PolicyTargetTest_steal()
52 return ::GetLastError(); in PolicyTargetTest_steal()
68 return ::GetLastError(); in PolicyTargetTest_token2()
74 return ::GetLastError(); in PolicyTargetTest_token2()
114 return ::GetLastError(); in PolicyTargetTest_thread()
116 return ::GetLastError(); in PolicyTargetTest_thread()
134 return ::GetLastError(); in PolicyTargetTest_thread2()
136 return ::GetLastError(); in PolicyTargetTest_thread2()
140 return ::GetLastError(); in PolicyTargetTest_thread2()
[all …]
Djob.cc27 return ::GetLastError(); in Init()
75 return ::GetLastError(); in Init()
83 return ::GetLastError(); in Init()
96 return ::GetLastError(); in UserHandleGrantAccess()
113 return ::GetLastError(); in AssignProcessToJob()
Dprocess_mitigations.cc46 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
57 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
76 ERROR_ACCESS_DENIED != ::GetLastError() && return_on_fail) { in ApplyProcessMitigationsToCurrentProcess()
98 ERROR_ACCESS_DENIED != ::GetLastError() && return_on_fail) { in ApplyProcessMitigationsToCurrentProcess()
125 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
138 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
150 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
162 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
Drestricted_token_utils.cc206 return ::GetLastError(); in StartRestrictedProcessInJob()
217 return ::GetLastError(); in StartRestrictedProcessInJob()
225 return ::GetLastError(); in StartRestrictedProcessInJob()
264 error = ::GetLastError(); in SetObjectIntegrityLabel()
269 return::GetLastError(); in SetObjectIntegrityLabel()
310 return ::GetLastError(); in SetTokenIntegrityLevel()
321 return result ? ERROR_SUCCESS : ::GetLastError(); in SetTokenIntegrityLevel()
338 return ::GetLastError(); in SetProcessIntegrityLevel()
/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()
510 dst, (int) GetLastError()); in wpa_supplicant_ctrl_iface_send()
[all …]
/external/chromium_org/sandbox/win/tools/finder/
Dfinder_fs.cc17 DWORD error = ::GetLastError(); in ParseFileSystem()
38 DWORD err_code = ::GetLastError(); in ParseFileSystem()
70 } else if (::GetLastError() != ERROR_ACCESS_DENIED) { in TestFileAccess()
71 Output(FS_ERR, GetLastError(), name); in TestFileAccess()
90 } else if (::GetLastError() != ERROR_ACCESS_DENIED) { in TestFileAccess()
91 Output(FS_ERR, ::GetLastError(), name); in TestFileAccess()
110 } else if (::GetLastError() != ERROR_ACCESS_DENIED) { in TestFileAccess()
111 Output(FS_ERR, GetLastError(), name); in TestFileAccess()
/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/chromium_org/third_party/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()
/external/chromium_org/chrome/browser/hang_monitor/
Dhang_crash_dump_win.cc31 GetLastError(); in CrashDumpAndTerminateHungChildProcess()
37 GetLastError(); in CrashDumpAndTerminateHungChildProcess()
55 GetLastError(); in CrashDumpForHangDebugging()
64 << GetLastError(); in CrashDumpForHangDebugging()
68 GetLastError(); in CrashDumpForHangDebugging()
/external/skia/src/utils/win/
DSkDWrite.cpp29 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in create_dwrite_factory()
58 HRM(HRESULT_FROM_WIN32(GetLastError()), in sk_cstring_to_wchar()
64 HRM(HRESULT_FROM_WIN32(GetLastError()), "Could not convert wchar to utf-8."); in sk_cstring_to_wchar()
73 HRM(HRESULT_FROM_WIN32(GetLastError()), in sk_wchar_to_skstring()
88 HRM(HRESULT_FROM_WIN32(GetLastError()), "Could not convert utf-8 to wchar."); in sk_wchar_to_skstring()
123 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in SkGetGetUserDefaultLocaleNameProc()
/external/chromium_org/third_party/skia/src/utils/win/
DSkDWrite.cpp29 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in create_dwrite_factory()
58 HRM(HRESULT_FROM_WIN32(GetLastError()), in sk_cstring_to_wchar()
64 HRM(HRESULT_FROM_WIN32(GetLastError()), "Could not convert wchar to utf-8."); in sk_cstring_to_wchar()
77 HRM(HRESULT_FROM_WIN32(GetLastError()), in sk_wchar_to_skstring()
84 HRM(HRESULT_FROM_WIN32(GetLastError()), "Could not convert utf-8 to wchar."); in sk_wchar_to_skstring()
118 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in SkGetGetUserDefaultLocaleNameProc()
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
Dprocesses_and_threads.cc20 "Error %ld\r\n", ::GetLastError()); in TestProcesses()
38 ::GetLastError()); in TestProcesses()
48 DWORD err_code = ::GetLastError(); in TestProcesses()
64 "Error %ld\r\n", ::GetLastError()); in TestThreads()
92 DWORD err_code = ::GetLastError(); in TestThreads()
/external/chromium_org/third_party/webrtc/base/
Dwinping.cc154 LOG(LERROR) << "LoadLibrary: " << GetLastError(); in WinPing()
162 LOG(LERROR) << "GetProcAddress(ICMP_*): " << GetLastError(); in WinPing()
167 LOG(LERROR) << "IcmpCreateFile: " << GetLastError(); in WinPing()
175 LOG(LERROR) << "GetProcAddress(ICMP6_*): " << GetLastError(); in WinPing()
180 LOG(LERROR) << "Icmp6CreateFile: " << GetLastError(); in WinPing()
195 LOG(WARNING) << "IcmpCloseHandle: " << GetLastError(); in ~WinPing()
199 LOG(WARNING) << "Icmp6CloseHandle: " << GetLastError(); in ~WinPing()
258 DWORD error = GetLastError(); in Ping()
/external/qemu/android/utils/
Dmapfile.c87 errno = GetLastError(); in mapfile_open()
103 errno = GetLastError(); in mapfile_close()
120 errno = GetLastError(); in mapfile_read()
137 (GetLastError() != NO_ERROR)) { in mapfile_read_at()
138 errno = GetLastError(); in mapfile_read_at()
219 errno = GetLastError(); in mapfile_map()
241 errno = GetLastError(); in mapfile_unmap()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc55 << Subprocess::Win32ErrorMessage(GetLastError()); in CloseHandleOrDie()
80 GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError()); in Start()
83 GOOGLE_LOG(FATAL) << "CreatePipe: " << Win32ErrorMessage(GetLastError()); in Start()
90 << Win32ErrorMessage(GetLastError()); in Start()
95 << Win32ErrorMessage(GetLastError()); in Start()
109 << Win32ErrorMessage(GetLastError()); in Start()
133 process_start_error_ = GetLastError(); in Start()
177 << Win32ErrorMessage(GetLastError()); in Communicate()
226 << Win32ErrorMessage(GetLastError()); in Communicate()
235 << Win32ErrorMessage(GetLastError()); in Communicate()
/external/chromium_org/third_party/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/qemu/util/
Dqemu-thread-win32.c78 error_exit(GetLastError(), __func__); in qemu_cond_init()
85 error_exit(GetLastError(), __func__); in qemu_cond_init()
94 error_exit(GetLastError(), __func__); in qemu_cond_destroy()
99 error_exit(GetLastError(), __func__); in qemu_cond_destroy()
127 error_exit(GetLastError(), __func__); in qemu_cond_signal()
145 error_exit(GetLastError(), __func__); in qemu_cond_broadcast()
218 error_exit(GetLastError(), __func__); in qemu_sem_timedwait()
226 error_exit(GetLastError(), __func__); in qemu_sem_wait()
348 error_exit(GetLastError(), __func__); in qemu_thread_create()
/external/chromium_org/tools/traceline/traceline/
Dsym_resolver.h40 NOTREACHED("SymInitialize failed: %d", GetLastError()); in proc_()
56 NOTREACHED("SymLoadModuleEx(%s) failed: %d", dllname, GetLastError()); in proc_()
69 NOTREACHED("SymEnumerateModules64 failed: %d\n", GetLastError()); in proc_()
77 NOTREACHED("SymGetModuleInfo64 failed: %d\n", GetLastError()); in proc_()
103 NOTREACHED("SymFromName(%s) failed: %d", name, GetLastError()); in Resolve()
157 NOTREACHED("SymCleanup failed: %d", GetLastError()); in ~SymResolver()
/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/chromium_org/third_party/libusb/src/libusb/os/
Dwince_usb.c67 error_code = retval?retval:GetLastError(); in windows_error_str()
75 format_error = GetLastError(); in windows_error_str()
163 r = translate_driver_error(GetLastError()); in init_device()
359 int libusbErr = translate_driver_error(GetLastError()); in wince_get_device_list()
367 r = translate_driver_error(GetLastError()); in wince_get_device_list()
445 return translate_driver_error(GetLastError()); in wince_get_active_config_descriptor()
459 return translate_driver_error(GetLastError()); in wince_get_config_descriptor()
471 return translate_driver_error(GetLastError()); in wince_get_configuration()
487 return translate_driver_error(GetLastError()); in wince_set_configuration()
498 return translate_driver_error(GetLastError()); in wince_claim_interface()
[all …]
/external/chromium_org/remoting/host/win/
Delevated_controller.cc110 DWORD error = GetLastError(); in ReadConfig()
118 DWORD error = GetLastError(); in ReadConfig()
151 DWORD error = GetLastError(); in WriteConfigFileToTemp()
174 DWORD error = GetLastError(); in WriteConfigFileToTemp()
182 DWORD error = GetLastError(); in WriteConfigFileToTemp()
198 DWORD error = GetLastError(); in MoveConfigFileFromTemp()
389 DWORD error = GetLastError(); in StartDaemon()
397 DWORD error = GetLastError(); in StartDaemon()
428 DWORD error = GetLastError(); in StopDaemon()
437 DWORD error = GetLastError(); in StopDaemon()
[all …]

12345678910>>...15