Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 15 of 15) sorted by relevance

/system/extras/multinetwork/
Dcommon.cpp122 std::string inetSockaddrToString(const sockaddr* sa) { in inetSockaddrToString() argument
123 const bool is_ipv6 = (sa->sa_family == AF_INET6); in inetSockaddrToString()
126 getnameinfo(sa, is_ipv6 ? sizeof(sockaddr_in6) : sizeof(sockaddr_in), in inetSockaddrToString()
Dcommon.h53 std::string inetSockaddrToString(const sockaddr* sa);
/system/extras/ANRdaemon/
DANRdaemon.cpp487 struct sigaction sa; in register_sighandler() local
496 sa.sa_flags = 0; in register_sighandler()
497 sa.sa_mask = block_mask; in register_sighandler()
498 sa.sa_handler = handle_signal; in register_sighandler()
499 sigaction(SIGQUIT, &sa, NULL); in register_sighandler()
500 sigaction(SIGSTOP, &sa, NULL); in register_sighandler()
501 sigaction(SIGCONT, &sa, NULL); in register_sighandler()
502 sigaction(SIGUSR1, &sa, NULL); in register_sighandler()
/system/core/adb/
Dadb.cpp517 SECURITY_ATTRIBUTES* sa) { in _create_anonymous_pipe() argument
520 if (!CreatePipe(&pipe_read_raw, &pipe_write_raw, sa, 0)) { in _create_anonymous_pipe()
664 SECURITY_ATTRIBUTES sa; in launch_server() local
665 sa.nLength = sizeof(sa); in launch_server()
666 sa.lpSecurityDescriptor = NULL; in launch_server()
667 sa.bInheritHandle = TRUE; in launch_server()
679 FILE_SHARE_READ | FILE_SHARE_WRITE, &sa, OPEN_EXISTING, in launch_server()
692 if (!_create_anonymous_pipe(&ack_read, &ack_write, &sa)) { in launch_server()
696 if (!_create_anonymous_pipe(&stdout_read, &stdout_write, &sa)) { in launch_server()
700 if (!_create_anonymous_pipe(&stderr_read, &stderr_write, &sa)) { in launch_server()
Dcommandline.cpp645 struct sigaction sa; in RemoteShell() local
646 memset(&sa, 0, sizeof(sa)); in RemoteShell()
647 sa.sa_handler = [](int) {}; in RemoteShell()
648 sa.sa_flags = 0; in RemoteShell()
649 sigaction(SIGWINCH, &sa, nullptr); in RemoteShell()
/system/netd/tests/dns_responder/
Ddns_responder.cpp62 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
64 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str()
695 sockaddr_storage sa; in requestHandler() local
696 socklen_t sa_len = sizeof(sa); in requestHandler()
700 (sockaddr*) &sa, &sa_len); in requestHandler()
712 reinterpret_cast<const sockaddr*>(&sa), sa_len); in requestHandler()
714 addr2str(reinterpret_cast<const sockaddr*>(&sa), sa_len); in requestHandler()
Ddns_tls_frontend.cpp71 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
73 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str()
/system/netd/server/
DMDnsSdListener.cpp314 const struct sockaddr *const sa, uint32_t ttl, void *inContext) { in MDnsSdListenerGetAddrInfoCallback() argument
328 if (sa->sa_family == AF_INET) { in MDnsSdListenerGetAddrInfoCallback()
329 inet_ntop(sa->sa_family, &(((struct sockaddr_in *)sa)->sin_addr), addr, sizeof(addr)); in MDnsSdListenerGetAddrInfoCallback()
331 inet_ntop(sa->sa_family, &(((struct sockaddr_in6 *)sa)->sin6_addr), addr, sizeof(addr)); in MDnsSdListenerGetAddrInfoCallback()
DSockDiagTest.cpp181 bool fillDiagAddr(__be32 addr[4], const sockaddr *sa) { in fillDiagAddr() argument
182 switch (sa->sa_family) { in fillDiagAddr()
184 sockaddr_in *sin = (sockaddr_in *) sa; in fillDiagAddr()
189 sockaddr_in6 *sin6 = (sockaddr_in6 *) sa; in fillDiagAddr()
DMDnsSdListener.h45 const struct sockaddr *const sa, uint32_t ttl, void *inContext);
/system/ca-certificates/files/
Db0f3e76e.028 Issuer: C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
32 Subject: C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
/system/ca-certificates/google/files/
Db0f3e76e.028 Issuer: C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
32 Subject: C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
/system/core/libnetutils/
Difc_utils.c226 static void init_sockaddr_in(struct sockaddr *sa, in_addr_t addr) in init_sockaddr_in() argument
228 struct sockaddr_in *sin = (struct sockaddr_in *) sa; in init_sockaddr_in()
/system/ca-certificates/google/
Droots.pem916 # Issuer: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
917 # Subject: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
/system/timezone/input_data/android/
Dcountryzones.txt2777 isoCode:"sa"