Lines Matching refs:translate_errno
257 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()
446 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ReorderNameSpaces()
453 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ReorderNameSpaces()
478 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ReorderNameSpaces()
482 err = translate_errno( err == 0, errno_compat(), WSAEINVAL ); in ReorderNameSpaces()