Searched refs:buf2 (Results 1 - 7 of 7) sorted by relevance
/bionic/tests/ |
H A D | buffer_tests.cpp | 309 uint8_t* buf2 = new uint8_t[3*max_test_size]; local 323 buf2, g_double_aligns[i][2], g_double_aligns[i][3])); 348 delete buf2; 420 uint8_t* buf2 = &memory2[pagesize-i]; local 422 test_cmp_func(buf1, buf2, i); 438 uint8_t* buf2 = &memory2[pagesize-j]; local 440 test_miscmp_func(buf1, buf2, i, j);
|
H A D | netdb_test.cpp | 209 char buf2[512]; local 210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err); 231 char buf2[512]; local 232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); 260 char buf2[512]; local 261 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err);
|
H A D | fcntl_test.cpp | 231 char buf2[BUFSIZ]; local 234 ASSERT_TRUE(fgets(buf2, sizeof(buf2), fp2) != NULL); 238 ASSERT_STREQ(expected, buf2);
|
H A D | string_test.cpp | 1259 static void DoStrcmpTest(uint8_t* buf1, uint8_t* buf2, size_t len) { argument 1263 memset(buf2, (32 + (len % 96)), len - 1); 1264 buf2[len-1] = '\0'; 1266 reinterpret_cast<char*>(buf2))); 1270 static void DoStrcmpFailTest(uint8_t* buf1, uint8_t* buf2, size_t len1, size_t len2) { argument 1275 memset(buf2, c, len2 - 1); 1276 buf2[len2-1] = '\0'; 1278 reinterpret_cast<char*>(buf2))); 1290 buf2[len-1] = '\0'; 1295 reinterpret_cast<char*>(buf2))); 1312 DoMemcmpTest(uint8_t* buf1, uint8_t* buf2, size_t len) argument 1318 DoMemcmpFailTest(uint8_t* buf1, uint8_t* buf2, size_t len1, size_t len2) argument [all...] |
H A D | stdio_test.cpp | 917 char buf2[4 * 4096]; local 918 memset(buf2, 0, sizeof(buf2)); 919 ASSERT_EQ(2U, fread(buf2, 4, 4096, fp)); 920 ASSERT_STREQ("0123456789", buf2);
|
/bionic/libc/dns/net/ |
H A D | getaddrinfo.c | 1874 querybuf *buf, *buf2; local 1897 buf2 = malloc(sizeof(*buf2)); 1898 if (buf2 == NULL) { 1923 q2.answer = buf2->buf; 1924 q2.anslen = sizeof(buf2->buf); 1930 free(buf2); 1950 free(buf2); 1957 free(buf2); 1971 free(buf2); [all...] |
/bionic/libc/dns/resolv/ |
H A D | res_send.c | 314 * res_queriesmatch(buf1, eom1, buf2, eom2) 316 * in (buf1,eom1) and (buf2,eom2)? 326 const u_char *buf2, const u_char *eom2) 331 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) 339 (((const HEADER *)(const void *)buf2)->opcode == ns_o_update)) 342 if (qdcount != ntohs(((const HEADER*)(const void *)buf2)->qdcount)) 356 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) 325 res_queriesmatch(const u_char *buf1, const u_char *eom1, const u_char *buf2, const u_char *eom2) argument
|
Completed in 287 milliseconds