Home
last modified time | relevance | path

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

/system/core/libion/tests/
Ddevice_test.cpp118 void *buf1 = malloc(bigger_than_cache); in blowCache() local
120 memset(buf1, 0xaa, bigger_than_cache); in blowCache()
121 memcpy(buf2, buf1, bigger_than_cache); in blowCache()
122 free(buf1); in blowCache()
/system/netd/resolv/
Dres_send.cpp345 int res_queriesmatch(const u_char* buf1, const u_char* eom1, const u_char* buf2, in res_queriesmatch() argument
347 const u_char* cp = buf1 + HFIXEDSZ; in res_queriesmatch()
348 int qdcount = ntohs(((const HEADER*) (const void*) buf1)->qdcount); in res_queriesmatch()
350 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) return (-1); in res_queriesmatch()
356 if ((((const HEADER*) (const void*) buf1)->opcode == ns_o_update) && in res_queriesmatch()
363 int n = dn_expand(buf1, eom1, cp, tname, sizeof tname); in res_queriesmatch()