Home
last modified time | relevance | path

Searched refs:translate_errno (Results 1 – 13 of 13) sorted by relevance

/external/mdnsresponder/mDNSWindows/
DSecret.c90 err = translate_errno( res == 0, LsaNtStatusToWinError( res ), kUnknownErr ); in LsaGetSecret()
103 err = translate_errno( res == 0, LsaNtStatusToWinError( res ), kUnknownErr ); in LsaGetSecret()
118 err = translate_errno( res == 0, LsaNtStatusToWinError( res ), kUnknownErr ); in LsaGetSecret()
220 err = translate_errno( res == 0, LsaNtStatusToWinError( res ), kUnknownErr ); in LsaSetSecret()
237 err = translate_errno( res == 0, LsaNtStatusToWinError( res ), kUnknownErr ); in LsaSetSecret()
241 err = translate_errno( res == 0, LsaNtStatusToWinError( res ), kUnknownErr ); in LsaSetSecret()
272 err = translate_errno( size > 0, GetLastError(), kUnknownErr ); in MakeLsaStringFromUTF8String()
279 err = translate_errno( size > 0, GetLastError(), kUnknownErr ); in MakeLsaStringFromUTF8String()
316 err = translate_errno( size != 0, GetLastError(), kUnknownErr ); in MakeUTF8StringFromLsaString()
326 err = translate_errno( size != 0, GetLastError(), kUnknownErr ); in MakeUTF8StringFromLsaString()
DVPCDetect.cpp51 err = translate_errno( scm, (OSStatus) GetLastError(), kOpenErr ); in IsVPCRunning()
55 err = translate_errno( service, (OSStatus) GetLastError(), kNotFoundErr ); in IsVPCRunning()
59 err = translate_errno( ok, (OSStatus) GetLastError(), kAuthenticationErr ); in IsVPCRunning()
DmDNSWin32.c329 err = translate_errno( err != SOCKET_ERROR, WSAGetLastError(), kUnknownErr ); in mDNSPlatformInit()
700 err = translate_errno( g_hAAPI32 != NULL, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
714 err = translate_errno( g_lpCryptAcquireContext != NULL, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
724 err = translate_errno( g_lpCryptReleaseContext != NULL, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
734 err = translate_errno( g_lpCryptGenRandom != NULL, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
747 err = translate_errno( bResult, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
753 err = translate_errno( bResult, GetLastError(), mStatus_UnknownErr ); in mDNSPlatformRandomNumber()
992 err = translate_errno( sock->fd != INVALID_SOCKET, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
998 err = translate_errno( err == 0, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
1004 err = translate_errno( err == 0, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
[all …]
DWinServices.cpp86 err = translate_errno( size != 0, GetLastError(), kUnknownErr ); in StringObjectToUTF8String()
/external/mdnsresponder/mDNSWindows/NSPTool/
DNSPTool.c257 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in InstallNSP()
261 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in InstallNSP()
294 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in RemoveNSP()
298 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in RemoveNSP()
331 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in EnableNSP()
335 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in EnableNSP()
371 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ListNameSpaces()
379 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ListNameSpaces()
386 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ListNameSpaces()
438 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ReorderNameSpaces()
[all …]
/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()
484 err = translate_errno( ok, (OSStatus) GetLastError(), kDeletedErr ); in RemoveService()
621 err = translate_errno( sc, GetLastError(), kUnknownErr ); in CheckFirewall()
[all …]
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanelExe.cpp272 err = translate_errno( res != 0, kUnknownErr, kUnknownErr ); in InitInstance()
276 translate_errno( g_nonLocalizedResources, GetLastError(), kUnknownErr ); in InitInstance()
280 err = translate_errno( res != 0, kUnknownErr, kUnknownErr ); in InitInstance()
284 translate_errno( g_localizedResources, GetLastError(), kUnknownErr ); in InitInstance()
312 err = translate_errno( nChars > 0, (OSStatus) GetLastError(), kUnknownErr ); in InitInstance()
/external/mdnsresponder/mDNSWindows/DLL/
Ddllmain.c55 err = translate_errno( sc, GetLastError(), kUnknownErr ); in IsSystemServiceDisabled()
83 err = translate_errno( ok, GetLastError(), kUnknownErr ); in IsSystemServiceDisabled()
/external/mdnsresponder/mDNSWindows/DLLX/
DStringServices.cpp73 err = translate_errno( size != 0, GetLastError(), kUnknownErr ); in BSTRToUTF8()
101 err = translate_errno( size != 0, GetLastError(), kUnknownErr ); in BSTRToUTF8()
/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c312 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in DllRegisterServer()
321 err = translate_errno( err != 0, errno_compat(), kUnknownErr ); in DllRegisterServer()
325 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in DllRegisterServer()
346 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in DllUnregisterServer()
350 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in DllUnregisterServer()
678 …err = translate_errno( ( waitResult == WAIT_OBJECT_0 + 1 ) || ( waitResult == WAIT_OBJECT_0 + 2 ),… in NSPLookupServiceNext()
909 err = translate_errno( n > 0, (OSStatus) GetLastError(), WSAEINVAL ); in QueryCreate()
956 err = translate_errno( s4 != INVALID_SOCKET, errno_compat(), kUnknownErr ); in QueryCreate()
990 err = translate_errno( s6 != INVALID_SOCKET, errno_compat(), kUnknownErr ); in QueryCreate()
/external/mdnsresponder/mDNSShared/
DDebugServices.c1028 err = translate_errno( n > 0, (OSStatus) GetLastError(), kParamErr ); in DebugWindowsEventLogInit()
1046 err = translate_errno( gDebugWindowsEventLogEventSource, (OSStatus) GetLastError(), kParamErr ); in DebugWindowsEventLogInit()
2777 err = translate_errno( 1 != -1, -123, -567 ); in DebugServicesTest()
2780 err = translate_errno( -1 != -1, -123, -567 ); in DebugServicesTest()
2783 err = translate_errno( -1 != -1, 0, -567 ); in DebugServicesTest()
DDebugServices.h471 #define translate_errno( TEST, ERRNO, ALTERNATE_ERROR ) ( ( TEST ) ? 0 : ( ERRNO ) ? ( ERRNO ) : (… macro
/external/mdnsresponder/mDNSWindows/DLL.NET/
Ddnssd_NET.cpp424 err = translate_errno( ok, (OSStatus) GetLastError(), kUnknownErr ); in Dispose()