Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 6 of 6) sorted by relevance

/system/core/liblog/
Dlogprint.cpp531 struct logger_entry_v2* buf2 = (struct logger_entry_v2*)buf; in android_log_processLogBuffer() local
532 if (buf2->hdr_size) { in android_log_processLogBuffer()
533 if ((buf2->hdr_size < sizeof(((struct log_msg*)NULL)->entry_v1)) || in android_log_processLogBuffer()
534 (buf2->hdr_size > sizeof(((struct log_msg*)NULL)->entry))) { in android_log_processLogBuffer()
538 msg = ((char*)buf2) + buf2->hdr_size; in android_log_processLogBuffer()
539 if (buf2->hdr_size >= sizeof(struct logger_entry_v4)) { in android_log_processLogBuffer()
1019 struct logger_entry_v2* buf2 = (struct logger_entry_v2*)buf; in android_log_processBinaryLogBuffer() local
1020 if (buf2->hdr_size) { in android_log_processBinaryLogBuffer()
1021 if ((buf2->hdr_size < sizeof(((struct log_msg*)NULL)->entry_v1)) || in android_log_processBinaryLogBuffer()
1022 (buf2->hdr_size > sizeof(((struct log_msg*)NULL)->entry))) { in android_log_processBinaryLogBuffer()
[all …]
/system/core/libion/tests/
Ddevice_test.cpp119 void *buf2 = malloc(bigger_than_cache); in blowCache() local
121 memcpy(buf2, buf1, bigger_than_cache); in blowCache()
123 free(buf2); 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
350 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) return (-1); in res_queriesmatch()
357 (((const HEADER*) (const void*) buf2)->opcode == ns_o_update)) in res_queriesmatch()
360 if (qdcount != ntohs(((const HEADER*) (const void*) buf2)->qdcount)) return (0); in res_queriesmatch()
371 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) return (0); in res_queriesmatch()
Dgetaddrinfo.cpp1387 auto buf2 = std::make_unique<querybuf>(); in dns_getaddrinfo() local
1408 q2.answer = buf2->buf; in dns_getaddrinfo()
1409 q2.anslen = sizeof(buf2->buf); in dns_getaddrinfo()
1462 ai = getanswer(buf2.get(), q2.n, q2.name, q2.qtype, pai, &he); in dns_getaddrinfo()
/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp435 unique_fd buf2{dup(buf)}; in TEST_F() local
440 close(buf2.release()); in TEST_F()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp611 std::vector<char> buf2 = RandomBuf(1); in TEST_F() local