Lines Matching refs:uaddr
118 static int dns_gethtbyaddr(const unsigned char* uaddr, int len, int af,
505 const u_char* uaddr = (const u_char*) addr; in android_gethostbyaddrfornetcontext_real() local
520 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ; in android_gethostbyaddrfornetcontext_real()
521 addr = uaddr; in android_gethostbyaddrfornetcontext_real()
545 if (_hf_gethtbyaddr(uaddr, len, af, &info)) { in android_gethostbyaddrfornetcontext_real()
546 int error = dns_gethtbyaddr(uaddr, len, af, netcontext, &info); in android_gethostbyaddrfornetcontext_real()
797 static int dns_gethtbyaddr(const unsigned char* uaddr, int len, int af, in dns_gethtbyaddr() argument
808 (void) snprintf(qbuf, sizeof(qbuf), "%u.%u.%u.%u.in-addr.arpa", (uaddr[3] & 0xff), in dns_gethtbyaddr()
809 (uaddr[2] & 0xff), (uaddr[1] & 0xff), (uaddr[0] & 0xff)); in dns_gethtbyaddr()
816 advance = snprintf(qp, (size_t)(ep - qp), "%x.%x.", uaddr[n] & 0xf, in dns_gethtbyaddr()
817 ((unsigned int) uaddr[n] >> 4) & 0xf); in dns_gethtbyaddr()
863 memcpy(bf, uaddr, (size_t) info->hp->h_length); in dns_gethtbyaddr()