Searched refs:sbuf (Results 1 – 4 of 4) sorted by relevance
/system/netd/resolv/ |
D | res_send.cpp | 1168 char sbuf[NI_MAXSERV]; in Aerror() local 1172 if (getnameinfo(address, (socklen_t) alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), in Aerror() 1176 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror() 1177 sbuf[sizeof(sbuf) - 1] = '\0'; in Aerror() 1179 LOG(DEBUG) << __func__ << ": " << string << " ([" << hbuf << "]." << sbuf in Aerror()
|
D | res_cache.cpp | 1735 char sbuf[NI_MAXSERV]; in resolv_set_nameservers_for_net() local 1736 snprintf(sbuf, sizeof(sbuf), "%u", NAMESERVER_PORT); in resolv_set_nameservers_for_net() 1741 int rt = getaddrinfo_numeric(servers[i], sbuf, hints, &nsaddrinfo[i]); in resolv_set_nameservers_for_net()
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 444 syncsendbuf sbuf; in SendLargeFile() local 445 sbuf.id = ID_DATA; in SendLargeFile() 447 int bytes_read = adb_read(lfd, sbuf.data, max - sizeof(SyncRequest)); in SendLargeFile() 455 sbuf.size = bytes_read; in SendLargeFile() 456 WriteOrDie(lpath, rpath, &sbuf, sizeof(SyncRequest) + bytes_read); in SendLargeFile()
|
/system/security/keystore/ |
D | key_store_service.cpp | 88 struct stat sbuf; in hadFactoryResetSinceIdRotation() local 89 if (stat(kTimestampFilePath, &sbuf) == 0) { in hadFactoryResetSinceIdRotation() 90 double diff_secs = difftime(time(nullptr), sbuf.st_ctime); in hadFactoryResetSinceIdRotation()
|