Home
last modified time | relevance | path

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

12345678910>>...16

/external/chromium_org/sandbox/win/src/
Drestricted_token.cc34 return ::GetLastError(); in Init()
40 return ::GetLastError(); in Init()
123 return ::GetLastError(); in GetRestrictedTokenHandle()
127 return ::GetLastError(); in GetRestrictedTokenHandle()
130 return ::GetLastError(); in GetRestrictedTokenHandle()
148 return ::GetLastError(); in GetRestrictedTokenHandle()
169 return ::GetLastError(); in GetRestrictedTokenHandleForImpersonation()
185 return ::GetLastError(); in GetRestrictedTokenHandleForImpersonation()
204 return ::GetLastError(); in AddAllSidsForDenyOnly()
214 return ::GetLastError(); in AddAllSidsForDenyOnly()
[all …]
Dservice_resolver_unittest.cc164 EXPECT_EQ(STATUS_SUCCESS, ret) << "NtClose, last error: " << ::GetLastError(); in TEST()
168 ::GetLastError(); in TEST()
172 ::GetLastError(); in TEST()
176 ::GetLastError(); in TEST()
191 EXPECT_EQ(STATUS_SUCCESS, ret) << "NtClose, last error: " << ::GetLastError(); in TEST()
195 ::GetLastError(); in TEST()
199 ::GetLastError(); in TEST()
203 ::GetLastError(); in TEST()
212 EXPECT_EQ(STATUS_SUCCESS, ret) << "NtClose, last error: " << ::GetLastError(); in TEST()
216 ::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 …]
Djob.cc25 return ::GetLastError(); in Init()
73 return ::GetLastError(); in Init()
81 return ::GetLastError(); in Init()
94 return ::GetLastError(); in UserHandleGrantAccess()
111 return ::GetLastError(); in AssignProcessToJob()
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 …]
Dprocess_mitigations.cc51 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
62 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
81 ERROR_ACCESS_DENIED != ::GetLastError() && return_on_fail) { in ApplyProcessMitigationsToCurrentProcess()
103 ERROR_ACCESS_DENIED != ::GetLastError() && return_on_fail) { in ApplyProcessMitigationsToCurrentProcess()
130 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
143 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
155 ERROR_ACCESS_DENIED != ::GetLastError()) { in ApplyProcessMitigationsToCurrentProcess()
167 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/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/chromium/base/
Dsha1_win.cc21 LOG(ERROR) << "CryptAcquireContext failed: " << GetLastError(); in SHA1HashString()
28 LOG(ERROR) << "CryptCreateHash failed: " << GetLastError(); in SHA1HashString()
34 LOG(ERROR) << "CryptHashData failed: " << GetLastError(); in SHA1HashString()
43 LOG(ERROR) << "CryptGetHashParam(HP_HASHSIZE) failed: " << GetLastError(); in SHA1HashString()
53 LOG(ERROR) << "CryptGetHashParam(HP_HASHVAL) failed: " << GetLastError(); in SHA1HashString()
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
Dprocesses_and_threads.cc20 "Error %d\r\n", ::GetLastError()); in TestProcesses()
38 ::GetLastError()); in TestProcesses()
48 DWORD err_code = ::GetLastError(); in TestProcesses()
64 "Error %d\r\n", ::GetLastError()); in TestThreads()
92 DWORD err_code = ::GetLastError(); in TestThreads()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dwinping.cc171 LOG(LERROR) << "LoadLibrary: " << GetLastError(); in WinPing()
179 LOG(LERROR) << "GetProcAddress(ICMP_*): " << GetLastError(); in WinPing()
184 LOG(LERROR) << "IcmpCreateFile: " << GetLastError(); in WinPing()
192 LOG(LERROR) << "GetProcAddress(ICMP6_*): " << GetLastError(); in WinPing()
197 LOG(LERROR) << "Icmp6CreateFile: " << GetLastError(); in WinPing()
212 LOG(WARNING) << "IcmpCloseHandle: " << GetLastError(); in ~WinPing()
216 LOG(WARNING) << "Icmp6CloseHandle: " << GetLastError(); in ~WinPing()
275 DWORD error = GetLastError(); in Ping()
/external/chromium_org/net/base/
Dfile_stream_context_win.cc80 IOResult error = IOResult::FromOSError(GetLastError()); in GetFileSize()
98 IOResult error = IOResult::FromOSError(GetLastError()); in ReadAsync()
117 IOResult error = IOResult::FromOSError(GetLastError()); in ReadSync()
138 IOResult error = IOResult::FromOSError(GetLastError()); in WriteAsync()
155 IOResult error = IOResult::FromOSError(GetLastError()); in WriteSync()
166 IOResult error = IOResult::FromOSError(GetLastError()); in Truncate()
189 return IOResult::FromOSError(GetLastError()); in SeekFileImpl()
196 return IOResult::FromOSError(GetLastError()); in FlushFileImpl()
205 return IOResult::FromOSError(GetLastError()); in CloseFileImpl()
/external/qemu/android/utils/
Dmapfile.c85 errno = GetLastError(); in mapfile_open()
101 errno = GetLastError(); in mapfile_close()
118 errno = GetLastError(); in mapfile_read()
139 (GetLastError() != NO_ERROR)) { in mapfile_read_at()
140 errno = GetLastError(); in mapfile_read_at()
221 errno = GetLastError(); in mapfile_map()
243 errno = GetLastError(); in mapfile_unmap()
/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/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/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/chromium_org/base/test/
Dtest_process_killer_win.cc52 << GetLastError(); in GetCommandLineForProcess()
73 << GetLastError(); in GetCommandLineForProcess()
89 << GetLastError(); in GetCommandLineForProcess()
106 << "last error = " << GetLastError(); in GetCommandLineForProcess()
119 << "last error = " << GetLastError(); in GetCommandLineForProcess()
/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()
119 DWORD error = GetLastError(); in ReadConfig()
153 DWORD error = GetLastError(); in WriteConfigFileToTemp()
176 DWORD error = GetLastError(); in WriteConfigFileToTemp()
184 DWORD error = GetLastError(); in WriteConfigFileToTemp()
201 DWORD error = GetLastError(); in MoveConfigFileFromTemp()
391 DWORD error = GetLastError(); in StartDaemon()
400 DWORD error = GetLastError(); in StartDaemon()
431 DWORD error = GetLastError(); in StopDaemon()
441 DWORD error = GetLastError(); in StopDaemon()
[all …]
/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()
482 "failed: %d", (int) GetLastError()); in l2_packet_deinit()
/external/llvm/lib/Support/Windows/
DPath.inc56 return windows_error(::GetLastError());
66 return windows_error(::GetLastError());
84 return windows_error(::GetLastError());
96 return windows_error(::GetLastError());
110 return windows_error(::GetLastError());
171 return windows_error(::GetLastError());
182 return windows_error(::GetLastError());
205 error_code ec = windows_error(::GetLastError());
218 // GetLastError(), so just return invalid_handle.
230 error_code EC = make_error_code(windows_error(::GetLastError()));
[all …]

12345678910>>...16