Searched refs:tmpbuf (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | resolv_unit_test.cpp | 1211 char tmpbuf[MAXPACKET]; in TEST_F() local 1213 int rv = resolv_gethostbyname("jiababuei", config.ai_family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() 1255 char tmpbuf[MAXPACKET]; in TEST_F() local 1257 int rv = resolv_gethostbyname(hostname, family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F() 1277 char tmpbuf[MAXPACKET]; in TEST_F() local 1279 int rv = resolv_gethostbyname("v4only", AF_INET6, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() 1318 char tmpbuf[MAXPACKET]; in TEST_F() local 1320 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F() 1338 char tmpbuf[MAXPACKET]; in TEST_F() local 1340 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F() [all …]
|
D | DnsProxyListener.cpp | 1150 char tmpbuf[MAXPACKET]; in run() local 1156 rv = resolv_gethostbyname(mName, mAf, &hbuf, tmpbuf, sizeof tmpbuf, &mNetContext, &hp, in run() 1168 doDns64Synthesis(&rv, &hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run() 1318 char tmpbuf[MAXPACKET]; in run() local 1323 rv = resolv_gethostbyaddr(mAddress, mAddressLen, mAddressFamily, &hbuf, tmpbuf, in run() 1324 sizeof tmpbuf, &mNetContext, &hp, &event); in run() 1332 doDns64ReverseLookup(&hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run()
|
/packages/modules/DnsResolver/tests/ |
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()
|