Lines Matching refs:NULL
37 char *service = NULL; in Java_android_net_cts_DnsTest_testNativeDns()
40 int res = getaddrinfo(node, service, NULL, &answer); in Java_android_net_cts_DnsTest_testNativeDns()
49 while (current != NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
66 answer = NULL; in Java_android_net_cts_DnsTest_testNativeDns()
74 res = getaddrinfo(node, service, NULL, &answer); in Java_android_net_cts_DnsTest_testNativeDns()
82 while (current != NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
99 answer = NULL; in Java_android_net_cts_DnsTest_testNativeDns()
122 res = getnameinfo((const struct sockaddr*)&sa4, sizeof(sa4), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns()
128 if (strstr(buf, "google.com") == NULL && strstr(buf, "dns.google") == NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
135 res = getnameinfo((const struct sockaddr*)&sa6, sizeof(sa6), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns()
141 if (strstr(buf, "google.com") == NULL && strstr(buf, "dns.google") == NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
149 if (my_hostent == NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
153 if ((my_hostent->h_addr_list == NULL) || (*my_hostent->h_addr_list == NULL)) { in Java_android_net_cts_DnsTest_testNativeDns()
159 while (*current != NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
171 if (my_hostent == NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
179 if (my_hostent->h_name == NULL) return JNI_FALSE; in Java_android_net_cts_DnsTest_testNativeDns()