Lines Matching refs:buf

45             char buf[256];  in Java_android_net_cts_DnsTest_testNativeDns()  local
48 buf, sizeof(buf)); in Java_android_net_cts_DnsTest_testNativeDns()
50 ALOGD(" %s", buf); in Java_android_net_cts_DnsTest_testNativeDns()
53 buf, sizeof(buf)); in Java_android_net_cts_DnsTest_testNativeDns()
55 ALOGD(" %s", buf); in Java_android_net_cts_DnsTest_testNativeDns()
78 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
81 buf, sizeof(buf)); in Java_android_net_cts_DnsTest_testNativeDns()
82 ALOGD(" %s", buf); in Java_android_net_cts_DnsTest_testNativeDns()
86 buf, sizeof(buf)); in Java_android_net_cts_DnsTest_testNativeDns()
87 ALOGD(" %s", buf); in Java_android_net_cts_DnsTest_testNativeDns()
114 char buf[NI_MAXHOST]; in Java_android_net_cts_DnsTest_testNativeDns() local
117 res = getnameinfo((const struct sockaddr*)&sa4, sizeof(sa4), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns()
123 if (strstr(buf, "google.com") == NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
125 GoogleDNSIpV4Address, buf); in Java_android_net_cts_DnsTest_testNativeDns()
129 memset(buf, 0, sizeof(buf)); in Java_android_net_cts_DnsTest_testNativeDns()
130 res = getnameinfo((const struct sockaddr*)&sa6, sizeof(sa6), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns()
136 if (strstr(buf, "google.com") == NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
137 ALOGD("getnameinfo(%s) didn't return google.com: %s", GoogleDNSIpV6Address2, buf); in Java_android_net_cts_DnsTest_testNativeDns()
154 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
155 inet_ntop(my_hostent->h_addrtype, *current, buf, sizeof(buf)); in Java_android_net_cts_DnsTest_testNativeDns()
156 ALOGD("gethostbyname(www.youtube.com) gave %s", buf); in Java_android_net_cts_DnsTest_testNativeDns()