Searched refs:tmpbuf (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 1251 char tmpbuf[MAXPACKET]; in TEST_F() local 1253 int rv = resolv_gethostbyname("jiababuei", config.ai_family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() 1295 char tmpbuf[MAXPACKET]; in TEST_F() local 1297 int rv = resolv_gethostbyname(hostname, family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() 1317 char tmpbuf[MAXPACKET]; in TEST_F() local 1319 int rv = resolv_gethostbyname("v4only", AF_INET6, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() 1358 char tmpbuf[MAXPACKET]; in TEST_F() local 1360 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F() 1378 char tmpbuf[MAXPACKET]; in TEST_F() local 1380 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() [all …]
|
D | resolv_gold_test.cpp | 213 char tmpbuf[MAXPACKET]; in VerifyGetHostByName() local 216 const int rv = resolv_gethostbyname(args.host().c_str(), args.family(), &hbuf, tmpbuf, in VerifyGetHostByName() 217 sizeof(tmpbuf), &netcontext, &hp, &event); in VerifyGetHostByName()
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 1134 char tmpbuf[MAXPACKET]; in run() local 1141 rv = resolv_gethostbyname(name, mAf, &hbuf, tmpbuf, sizeof tmpbuf, &mNetContext, &hp, in run() 1153 doDns64Synthesis(&rv, &hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run() 1294 char tmpbuf[MAXPACKET]; in run() local 1299 rv = resolv_gethostbyaddr(&mAddress, mAddressLen, mAddressFamily, &hbuf, tmpbuf, in run() 1300 sizeof tmpbuf, &mNetContext, &hp, &event); in run() 1308 doDns64ReverseLookup(&hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run()
|