Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/
Dres_mkquery.cpp106 int datalen, /* length of data */ in res_nmkquery() argument
174 if (ep - cp < 1 + RRFIXEDSZ + datalen) return (-1); in res_nmkquery()
182 *reinterpret_cast<uint16_t*>(cp) = htons(datalen); in res_nmkquery()
184 if (datalen) { in res_nmkquery()
185 memcpy(cp, data, (size_t) datalen); in res_nmkquery()
186 cp += datalen; in res_nmkquery()
Dres_cache.cpp266 static char* bprint_hexdump(char* p, char* end, const uint8_t* data, int datalen) { in bprint_hexdump() argument
269 while (datalen > 0) { in bprint_hexdump()
270 int avail = datalen; in bprint_hexdump()
294 datalen -= avail; in bprint_hexdump()