Home
last modified time | relevance | path

Searched refs:socket_get_local_port (Results 1 – 4 of 4) sorted by relevance

/system/core/libcutils/tests/
Dsockets_test.cpp104 EXPECT_EQ(port, socket_get_local_port(server)); in TEST()
111 EXPECT_EQ(-1, socket_get_local_port(INVALID_SOCKET)); in TEST()
118 "127.0.0.1", socket_get_local_port(server), SOCK_DGRAM); in TEST()
129 "127.0.0.1", socket_get_local_port(server), SOCK_STREAM); in TEST()
140 "::1", socket_get_local_port(server), SOCK_DGRAM); in TEST()
151 "::1", socket_get_local_port(server), SOCK_STREAM); in TEST()
174 "localhost", socket_get_local_port(server), SOCK_STREAM); in TEST()
/system/core/libcutils/
Dsockets.cpp38 int socket_get_local_port(cutils_socket_t sock) { in socket_get_local_port() function
/system/core/include/cutils/
Dsockets.h137 int socket_get_local_port(cutils_socket_t sock);
/system/core/fastboot/
Dsocket.cpp70 return socket_get_local_port(sock_); in GetLocalPort()