Searched refs:tmpbuf (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 1444 char tmpbuf[MAXPACKET]; in TEST_F() local 1446 int rv = resolv_gethostbyname("jiababuei", config.ai_family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() 1488 char tmpbuf[MAXPACKET]; in TEST_F() local 1490 int rv = resolv_gethostbyname(hostname, family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() 1510 char tmpbuf[MAXPACKET]; in TEST_F() local 1512 int rv = resolv_gethostbyname("v4only", AF_INET6, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() 1551 char tmpbuf[MAXPACKET]; in TEST_F() local 1553 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F() 1571 char tmpbuf[MAXPACKET]; in TEST_F() local 1573 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() [all …]
|
D | resolv_gold_test.cpp | 212 char tmpbuf[MAXPACKET]; in VerifyGetHostByName() local 215 const int rv = resolv_gethostbyname(args.host().c_str(), args.family(), &hbuf, tmpbuf, in VerifyGetHostByName() 216 sizeof(tmpbuf), &netcontext, &hp, &event); in VerifyGetHostByName()
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 1138 char tmpbuf[MAXPACKET]; in run() local 1145 rv = resolv_gethostbyname(name, mAf, &hbuf, tmpbuf, sizeof tmpbuf, &mNetContext, &hp, in run() 1157 doDns64Synthesis(&rv, &hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run() 1300 char tmpbuf[MAXPACKET]; in run() local 1305 rv = resolv_gethostbyaddr(&mAddress, mAddressLen, mAddressFamily, &hbuf, tmpbuf, in run() 1306 sizeof tmpbuf, &mNetContext, &hp, &event); in run() 1314 doDns64ReverseLookup(&hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run()
|