Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/net/
Dgethnamaddr.c593 android_read_hostent(FILE* proxy, struct hostent* hp, char* hbuf, size_t hbuflen, int *he) in android_read_hostent() argument
597 if (fread(buf, 1, sizeof(buf), proxy) != sizeof(buf)) return NULL; in android_read_hostent()
603 fread(&size, 1, sizeof(size), proxy); in android_read_hostent()
608 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent()
618 if (fread(ptr, 1, size, proxy) != size) return NULL; in android_read_hostent()
626 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent()
636 if (fread(ptr, 1, size, proxy) != size) return NULL; in android_read_hostent()
654 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent()
657 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent()
664 if (fread(&size, 1, sizeof(size), proxy) != sizeof(size)) return NULL; in android_read_hostent()
[all …]
Dgetaddrinfo.c423 FILE* proxy = android_open_proxy(); in android_getaddrinfo_proxy() local
424 if (proxy == NULL) { in android_getaddrinfo_proxy()
431 if (fprintf(proxy, "getaddrinfo %s %s %d %d %d %d %u", in android_getaddrinfo_proxy()
442 if (fputc(0, proxy) == EOF || in android_getaddrinfo_proxy()
443 fflush(proxy) != 0) { in android_getaddrinfo_proxy()
449 if (fread(buf, 1, sizeof(buf), proxy) != sizeof(buf)) { in android_getaddrinfo_proxy()
456 fread(buf, 1, sizeof(buf), proxy); in android_getaddrinfo_proxy()
464 if (!readBE32(proxy, &have_more)) { in android_getaddrinfo_proxy()
493 readBE32(proxy, &ai->ai_flags) && in android_getaddrinfo_proxy()
494 readBE32(proxy, &ai->ai_family) && in android_getaddrinfo_proxy()
[all …]
/bionic/libc/kernel/uapi/linux/
Datmlec.h92 } proxy; member