| /src/crypto/krb5/src/ccapi/common/win/OldCC/ |
| H A D | util.cxx | 83 return GetLastError(); in alloc_textual_sid() 132 if (size == 0) status = GetLastError(); in alloc_token_user() 136 status = GetLastError(); in alloc_token_user() 141 status = GetLastError(); in alloc_token_user() 168 if ((name_len == 0) || (domain_len == 0)) status = GetLastError(); in alloc_username() 171 if (!(name = (LPSTR)malloc_alloc_p(name_len))) status = GetLastError(); in alloc_username() 175 if (!(domain = (LPSTR)malloc_alloc_p(domain_len))) status = GetLastError(); in alloc_username() 179 …!LookupAccountSidA(NULL, Sid, name, &name_len, domain, &domain_len, &snu)) status = GetLastError(); in alloc_username() 194 if (!*pname) status = GetLastError(); in alloc_username() 206 return GetLastError(); in get_authentication_id() [all …]
|
| H A D | secure.cxx | 58 s_error = GetLastError(); in Attach() 73 error = GetLastError(); in Detach() 92 status = GetLastError(); in Token() 134 m_Error = GetLastError(); in SecureClient() 140 m_Error = GetLastError(); in SecureClient() 149 m_Error = cci_check_error(GetLastError()); in ~SecureClient() 154 m_Error = cci_check_error(GetLastError()); in ~SecureClient()
|
| /src/contrib/wpa/wpa_supplicant/ |
| H A D | main_winsvc.c | 247 (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 …]
|
| H A D | ctrl_iface_named_pipe.c | 107 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() 513 dst, (int) GetLastError()); in wpa_supplicant_ctrl_iface_send() [all …]
|
| H A D | config_winreg.c | 519 name, val, (int) GetLastError()); in wpa_config_write_reg_dword() 552 "error %d", name, val, (int) GetLastError()); in wpa_config_write_reg_string() 661 (unsigned int) ret, (int) GetLastError()); in wpa_config_delete_subkeys() 678 (unsigned int) ret, (int) GetLastError()); in wpa_config_delete_subkeys() 689 (unsigned int) ret, (int) GetLastError()); in wpa_config_delete_subkeys() 862 (unsigned int) ret, (int) GetLastError()); in wpa_config_write_network() 877 name, (unsigned int) ret, (int) GetLastError()); in wpa_config_write_network() 986 (unsigned int) ret, (int) GetLastError()); in wpa_config_write_blob() 996 (int) GetLastError()); in wpa_config_write_blob() 1031 (int) GetLastError()); in wpa_config_write()
|
| /src/contrib/unbound/util/ |
| H A D | locks.c | 205 log_win_err("TlsAlloc Failed(OUT_OF_INDEXES)", GetLastError()); in ub_thread_key_create() 213 log_win_err("TlsSetValue failed", GetLastError()); in ub_thread_key_set() 220 if(ret == NULL && GetLastError() != ERROR_SUCCESS) { in ub_thread_key_get() 221 log_win_err("TlsGetValue failed", GetLastError()); in ub_thread_key_get() 239 log_win_err("CreateThread failed", GetLastError()); in ub_thread_create() 254 GetLastError()); in ub_thread_join() 257 GetLastError()); in ub_thread_join() 261 log_win_err("CloseHandle(Thread) failed", GetLastError()); in ub_thread_join()
|
| /src/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIOWindows.cpp | 40 GetLastError()); in IsFile() 48 GetLastError()); in IsFile() 67 Path.c_str(), GetLastError()); in IsFile() 84 Path.c_str(), GetLastError()); in IsDirectory() 101 DWORD LastError = GetLastError(); in FileSize() 130 if (GetLastError() == ERROR_FILE_NOT_FOUND) in ListFilesInDirRecursive() 152 DWORD LastError = GetLastError(); in ListFilesInDirRecursive() 181 DWORD LastError = GetLastError(); in IterateDirRecursive() 204 DWORD LastError = GetLastError(); in IterateDirRecursive() 407 GetLastError()); in MkDir() [all …]
|
| /src/contrib/wpa/src/l2_packet/ |
| H A D | l2_packet_ndis.c | 131 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() 318 "failed: %d", (int) GetLastError()); in l2_packet_rx_event() 341 (int) GetLastError()); in l2_ndisuio_set_ether_type() 439 "thread: %d", (int) GetLastError()); in l2_packet_init() 495 "failed: %d", (int) GetLastError()); in l2_packet_deinit()
|
| /src/contrib/libarchive/libarchive/ |
| H A D | archive_util.c | 270 la_dosmaperr(GetLastError()); in __archive_mktempx() 293 if (GetLastError() != ERROR_FILE_NOT_FOUND) { in __archive_mktempx() 294 la_dosmaperr(GetLastError()); in __archive_mktempx() 304 la_dosmaperr(GetLastError()); in __archive_mktempx() 334 la_dosmaperr(GetLastError()); in __archive_mktempx() 340 la_dosmaperr(GetLastError()); in __archive_mktempx() 357 la_dosmaperr(GetLastError()); in __archive_mktempx() 363 la_dosmaperr(GetLastError()); in __archive_mktempx() 405 if (GetLastError() == ERROR_FILE_EXISTS) in __archive_mktempx() 408 la_dosmaperr(GetLastError()); in __archive_mktempx() [all …]
|
| /src/contrib/libpcap/ |
| H A D | pcap-npf.c | 227 GetLastError(), "Error calling PacketRequest"); in oid_get_request() 266 GetLastError(), "PacketGetStats error"); in pcap_stats_npf() 323 GetLastError(), "PacketGetStatsEx error"); in pcap_stats_ex_npf() 422 GetLastError(), "Error calling PacketRequest"); in pcap_oid_set_request_npf() 452 GetLastError(), "Error queueing packets"); in pcap_sendqueue_transmit_npf() 614 DWORD errcode = GetLastError(); in pcap_read_npf() 987 GetLastError(), "send error: PacketSendPacket failed"); in pcap_inject_npf() 1076 DWORD errcode = GetLastError(); in pcap_activate_npf() 1122 GetLastError(), "Cannot determine the network type"); in pcap_activate_npf() 1258 GetLastError(), "Cannot set the time stamp mode to TIMESTAMPMODE_SINGLE_SYNCHRONIZATION"); in pcap_activate_npf() [all …]
|
| /src/crypto/krb5/src/ccapi/lib/win/OldCC/ |
| H A D | client.cxx | 152 if (!hEvent) status = GetLastError(); in find_server() 175 status = GetLastError(); in find_server() 209 status = GetLastError(); in make_random_challenge() 215 status = GetLastError(); in make_random_challenge() 227 cci_check_error(GetLastError()); in make_random_challenge() 266 status = GetLastError(); in authenticate_server() 272 if (!pvalue) status = GetLastError(); in authenticate_server()
|
| /src/contrib/ntp/libntp/lib/isc/win32/ |
| H A D | thread.c | 81 return (TlsSetValue(key, value) ? 0 : GetLastError()); in isc_thread_key_setspecific() 88 return ((*key != -1) ? 0 : GetLastError()); in isc_thread_key_create() 93 return (TlsFree(key) ? 0 : GetLastError()); in isc_thread_key_delete()
|
| /src/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_environment.cpp | 107 DWORD error = GetLastError(); in __kmp_env_get() 122 DWORD error = GetLastError(); in __kmp_env_get() 160 DWORD error = GetLastError(); in __kmp_env_exists() 194 DWORD error = GetLastError(); in __kmp_env_set() 201 DWORD error = GetLastError(); in __kmp_env_set() 217 DWORD error = GetLastError(); in __kmp_env_unset() 444 DWORD error = GetLastError(); in __kmp_env_blk_init()
|
| /src/crypto/krb5/src/include/ |
| H A D | k5-thread.h | 318 ((M)->h = CreateMutex(NULL, FALSE, NULL)) ? 0 : GetLastError()) 321 ((M)->h = CreateMutex(NULL, FALSE, NULL)) ? 0 : GetLastError()) 323 (CloseHandle((M)->h) ? ((M)->h = 0, 0) : GetLastError()) 331 return GetLastError(); in k5_win_mutex_lock() 346 ReleaseMutex((M)->h) ? 0 : GetLastError())
|
| /src/crypto/heimdal/lib/krb5/ |
| H A D | expand_path.c | 62 GetLastError()); in _expand_temp_folder() 159 DWORD le = GetLastError(); in _expand_userid() 166 le = GetLastError(); in _expand_userid() 178 if (GetLastError() != ERROR_INSUFFICIENT_BUFFER) { in _expand_userid() 182 GetLastError()); in _expand_userid() 207 krb5_set_error_message(context, rv, "GetTokenInformation() failed. GLE=%d", GetLastError()); in _expand_userid() 213 krb5_set_error_message(context, rv, "Can't convert SID to string. GLE=%d", GetLastError()); in _expand_userid()
|
| /src/crypto/krb5/src/windows/leash/ |
| H A D | LeashAboutBox.cpp | 189 return GetLastError(); in SetVersionInfo() 194 return GetLastError(); in SetVersionInfo() 202 retval = GetLastError(); in SetVersionInfo() 209 retval = GetLastError(); in SetVersionInfo() 221 retval = GetLastError() || ERROR_NOT_ENOUGH_MEMORY; in SetVersionInfo() 232 retval = GetLastError() || ERROR_NOT_ENOUGH_MEMORY; in SetVersionInfo()
|
| /src/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 93 return mapWindowsError(::GetLastError()); 172 return mapWindowsError(::GetLastError()); 208 return mapWindowsError(::GetLastError()); 233 return mapWindowsError(::GetLastError()); 248 DWORD LastError = ::GetLastError(); 267 return mapWindowsError(::GetLastError()); 300 std::error_code EC = mapWindowsError(::GetLastError()); 320 DWORD Err = ::GetLastError(); 379 return mapWindowsError(GetLastError()); 432 return mapWindowsError(::GetLastError()); [all …]
|
| /src/crypto/krb5/src/lib/krb5/os/ |
| H A D | expand_path.c | 62 GetLastError()); in expand_temp_folder() 158 DWORD le = GetLastError(); in expand_userid() 165 le = GetLastError(); in expand_userid() 175 if (GetLastError() != ERROR_INSUFFICIENT_BUFFER) { in expand_userid() 178 GetLastError()); in expand_userid() 201 "GetTokenInformation() failed. GLE=%d", GetLastError()); in expand_userid() 207 "Can't convert SID to string. GLE=%d", GetLastError()); in expand_userid()
|
| /src/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | emutls.c | 166 win_abort(GetLastError(), "_aligned_malloc"); in emutls_memalign_alloc() 192 win_error(GetLastError(), "_aligned_malloc"); in emutls_init() 200 win_error(GetLastError(), "TlsAlloc"); in emutls_init() 218 win_abort(GetLastError(), "TlsSetValue"); in emutls_setspecific() 224 const DWORD err = GetLastError(); in emutls_getspecific()
|
| /src/crypto/krb5/src/windows/kfwlogon/ |
| H A D | kfwcommon.c | 367 if ( GetLastError() == ERROR_ALREADY_EXISTS ) { in KFW_initialize() 745 DebugEvent("KFW_set_ccache_dacl - ConvertStringSidToSid GLE = 0x%x", GetLastError()); in KFW_set_ccache_dacl() 758 if ( GetLastError() == ERROR_INSUFFICIENT_BUFFER ) { in KFW_set_ccache_dacl() 763 DebugEvent("GetTokenInformation failed: GLE = %lX", GetLastError()); in KFW_set_ccache_dacl() 778 DebugEvent("KFW_set_ccache_dacl - LocalAlloc GLE = 0x%x", GetLastError()); in KFW_set_ccache_dacl() 797 gle = GetLastError(); in KFW_set_ccache_dacl() 808 gle = GetLastError(); in KFW_set_ccache_dacl() 820 gle = GetLastError(); in KFW_set_ccache_dacl() 856 DebugEvent("KFW_set_ccache_dacl - ConvertStringSidToSid GLE = 0x%x", GetLastError()); in KFW_set_ccache_dacl_with_user_sid() 875 DebugEvent("KFW_set_ccache_dacl - LocalAlloc GLE = 0x%x", GetLastError()); in KFW_set_ccache_dacl_with_user_sid() [all …]
|
| H A D | kfwlogon.c | 163 …nt("ConfigureLogonScript %s requires %d bytes gle=0x%x", lpTemp, dwLogonScriptLen, GetLastError()); in ConfigureLogonScript() 170 DebugEvent("ConfigureLogonScript - MultiByteToWideChar failed gle = 0x%x", GetLastError()); in ConfigureLogonScript() 174 DebugEvent("LocalAlloc failed gle=0x%x", GetLastError()); in ConfigureLogonScript() 234 …LogonId->HighPart, lpLogonId->LowPart, interactive, rv != 0 ? station : "failure", GetLastError()); in NPLogonNotify() 534 DebugEvent("KFW_Logon_Event - MoveFileEx failed GLE = 0x%x", GetLastError()); in KFW_Logon_Event() 616 commandline, GetLastError()); in LogonEventHandlerA()
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_win.cpp | 143 GetLastError(), raw_report); in MmapOrDie() 159 ReportMunmapFailureAndDie(addr, size, GetLastError(), raw_report); in UnmapOrDie() 166 error_t last_error = GetLastError(); in ReturnNullptrOnOOMOrDie() 198 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDieOnFatalError() 218 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDieOnFatalError() 261 SanitizerToolName, size, size, fixed_addr, GetLastError()); in MmapFixedNoReserve() 281 ReportMmapFailureAndDie(size, mem_type, "allocate", GetLastError()); in MmapFixedOrDie() 339 SanitizerToolName, size, size, fixed_addr, GetLastError()); in MmapFixedNoAccess() 348 SanitizerToolName, size, size, GetLastError()); in MmapNoAccess() 768 *last_error = GetLastError(); in OpenFile() [all …]
|
| /src/crypto/krb5/src/ccapi/server/win/ |
| H A D | ccs_os_server.cpp | 564 eNum = GetLastError( ); in printError() 824 status = GetLastError(); in sid_check() 841 status = GetLastError(); in sid_check() 846 status = GetLastError(); in sid_check() 851 status = GetLastError(); in sid_check() 857 if (len == 0) status = GetLastError(); in sid_check() 862 status = GetLastError(); in sid_check() 867 status = GetLastError(); in sid_check()
|
| /src/contrib/ntp/util/ |
| H A D | sht.c | 91 0, GetLastError (), 0, mbuf, sizeof (mbuf), 0); in getShmTime() 92 int x=GetLastError (); in getShmTime() 102 0, GetLastError (), 0, mbuf, sizeof (mbuf), 0); in getShmTime()
|
| /src/contrib/wpa/src/drivers/ |
| H A D | driver_ndis.c | 472 "failed (oid=%08x): %d", oid, (int) GetLastError()); in ndis_get_oid() 552 "(oid=%08x) failed: %d", oid, (int) GetLastError()); in ndis_set_oid() 1883 "ReadMsgQueue failed: %d", (int) GetLastError()); in ndisuio_notification_receive() 1951 (int) GetLastError()); in ndisuio_notification_deinit() 1958 (int) GetLastError()); in ndisuio_notification_deinit() 1985 (int) GetLastError()); in ndisuio_notification_init() 1999 (int) GetLastError()); in ndisuio_notification_init() 2021 (int) GetLastError()); in ndisuio_notification_init() 2055 error = (int) GetLastError(); in wpa_driver_ndis_get_names() 2383 "device: %d", (int) GetLastError()); in wpa_driver_ndis_rebind_adapter() [all …]
|