Lines Matching refs:proxy
425 FILE* proxy = fdopen(__netdClientDispatch.dnsOpenProxy(), "r+"); in android_getaddrinfo_proxy() local
426 if (proxy == NULL) { in android_getaddrinfo_proxy()
432 if (fprintf(proxy, "getaddrinfo %s %s %d %d %d %d %u", in android_getaddrinfo_proxy()
443 if (fputc(0, proxy) == EOF || in android_getaddrinfo_proxy()
444 fflush(proxy) != 0) { in android_getaddrinfo_proxy()
450 if (fread(buf, 1, sizeof(buf), proxy) != sizeof(buf)) { in android_getaddrinfo_proxy()
457 fread(buf, 1, sizeof(buf), proxy); in android_getaddrinfo_proxy()
465 if (!readBE32(proxy, &have_more)) { in android_getaddrinfo_proxy()
494 readBE32(proxy, &ai->ai_flags) && in android_getaddrinfo_proxy()
495 readBE32(proxy, &ai->ai_family) && in android_getaddrinfo_proxy()
496 readBE32(proxy, &ai->ai_socktype) && in android_getaddrinfo_proxy()
497 readBE32(proxy, &ai->ai_protocol) && in android_getaddrinfo_proxy()
498 readBE32(proxy, &addr_len); in android_getaddrinfo_proxy()
510 if (fread(ai->ai_addr, addr_len, 1, proxy) != 1) { in android_getaddrinfo_proxy()
517 if (!readBE32(proxy, &name_len)) { in android_getaddrinfo_proxy()
522 if (fread(ai->ai_canonname, name_len, 1, proxy) != 1) { in android_getaddrinfo_proxy()
543 if (proxy != NULL) { in android_getaddrinfo_proxy()
544 fclose(proxy); in android_getaddrinfo_proxy()