Home
last modified time | relevance | path

Searched refs:errno_compat (Results 1 – 5 of 5) sorted by relevance

/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()
438 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ReorderNameSpaces()
478 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ReorderNameSpaces()
482 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ReorderNameSpaces()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1583 err = translate_errno( n > 0, errno_compat(), kWriteErr ); in mDNSPlatformSendUDP()
2258 check_translated_errno( err == 0, errno_compat(), kNameErr ); in SetupNiceName()
2929 err = translate_errno( IsValidSocket( sock ), errno_compat(), kUnknownErr ); in SetupSocket()
2939 check_translated_errno( err == 0, errno_compat(), kOptionErr ); in SetupSocket()
2961 check_translated_errno( err == 0, errno_compat(), kOptionErr ); in SetupSocket()
2978 check_translated_errno( err == 0, errno_compat(), kUnknownErr ); in SetupSocket()
2984 check_translated_errno( err == 0, errno_compat(), kOptionErr ); in SetupSocket()
2993 check_translated_errno( err == 0, errno_compat(), kOptionErr ); in SetupSocket()
2999 check_translated_errno( err == 0, errno_compat(), kOptionErr ); in SetupSocket()
3005 check_translated_errno( err == 0, errno_compat(), kOptionErr ); in SetupSocket()
[all …]
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c1380 check( errno_compat() == WSAEWOULDBLOCK ); in ServiceSpecificRun()
1637 err = translate_errno( gStopEvent, errno_compat(), kNoResourcesErr ); in SetupNotifications()
1647 err = translate_errno( IsValidSocket( sock ), errno_compat(), kUnknownErr ); in SetupNotifications()
1656 err = translate_errno( err == 0, errno_compat(), kUnknownErr ); in SetupNotifications()
1664 check( errno_compat() == WSAEWOULDBLOCK ); in SetupNotifications()
1668 err = translate_errno( err == 0, errno_compat(), kUnknownErr ); in SetupNotifications()
1676 check_translated_errno( err == 0, errno_compat(), kNameErr ); in SetupNotifications()
/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()
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/
DCommonServices.h435 #define errno_compat() (int) GetLastError() macro
447 #define errno_compat() errno