Home
last modified time | relevance | path

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

/system/weaved/buffet/
Dsocket_stream.cc41 std::string GetIPAddress(const sockaddr* sa) { in GetIPAddress() argument
44 switch (sa->sa_family) { in GetIPAddress()
47 &(reinterpret_cast<const sockaddr_in*>(sa)->sin_addr), str, in GetIPAddress()
55 &(reinterpret_cast<const sockaddr_in6*>(sa)->sin6_addr), in GetIPAddress()
62 addr = base::StringPrintf("<Unknown address family: %d>", sa->sa_family); in GetIPAddress()
/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.cpp485 struct sigaction sa; in register_sighandler() local
494 sa.sa_flags = 0; in register_sighandler()
495 sa.sa_mask = block_mask; in register_sighandler()
496 sa.sa_handler = handle_signal; in register_sighandler()
497 sigaction(SIGQUIT, &sa, NULL); in register_sighandler()
498 sigaction(SIGSTOP, &sa, NULL); in register_sighandler()
499 sigaction(SIGCONT, &sa, NULL); in register_sighandler()
500 sigaction(SIGUSR1, &sa, NULL); in register_sighandler()
/system/core/adb/
Dadb.cpp488 SECURITY_ATTRIBUTES* sa) { in _create_anonymous_pipe() argument
491 if (!CreatePipe(&pipe_read_raw, &pipe_write_raw, sa, 0)) { in _create_anonymous_pipe()
615 SECURITY_ATTRIBUTES sa; in launch_server() local
616 sa.nLength = sizeof(sa); in launch_server()
617 sa.lpSecurityDescriptor = NULL; in launch_server()
618 sa.bInheritHandle = TRUE; in launch_server()
630 FILE_SHARE_READ | FILE_SHARE_WRITE, &sa, OPEN_EXISTING, in launch_server()
643 if (!_create_anonymous_pipe(&ack_read, &ack_write, &sa)) { in launch_server()
647 if (!_create_anonymous_pipe(&stdout_read, &stdout_write, &sa)) { in launch_server()
651 if (!_create_anonymous_pipe(&stderr_read, &stderr_write, &sa)) { in launch_server()
Dcommandline.cpp681 struct sigaction sa; in RemoteShell() local
682 memset(&sa, 0, sizeof(sa)); in RemoteShell()
683 sa.sa_handler = [](int) {}; in RemoteShell()
684 sa.sa_flags = 0; in RemoteShell()
685 sigaction(SIGWINCH, &sa, nullptr); in RemoteShell()
/system/netd/tests/
Ddns_responder.cpp58 std::string addr2str(const sockaddr* sa, socklen_t sa_len) { in addr2str() argument
60 int rv = getnameinfo(sa, sa_len, host_str, sizeof(host_str), nullptr, 0, in addr2str()
685 sockaddr_storage sa; in requestHandler() local
686 socklen_t sa_len = sizeof(sa); in requestHandler()
690 (sockaddr*) &sa, &sa_len); in requestHandler()
702 reinterpret_cast<const sockaddr*>(&sa), sa_len); in requestHandler()
704 addr2str(reinterpret_cast<const sockaddr*>(&sa), sa_len); in requestHandler()
/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()
DMDnsSdListener.h45 const struct sockaddr *const sa, uint32_t ttl, void *inContext);
/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/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/core/libnetutils/
Difc_utils.c230 static void init_sockaddr_in(struct sockaddr *sa, in_addr_t addr) in init_sockaddr_in() argument
232 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/connectivity/shill/mobile_operator_db/
Dserviceproviders.prototxt12775 country : "sa"
12801 country : "sa"
12808 apn : "jawalnet.com.sa"
12819 country : "sa"