Lines Matching defs:buf
198 char buf[512];
200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err);
220 char buf[512];
222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err);
249 char buf[512];
251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err);
271 char buf[4]; // Use too small buffer.
273 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err);
281 char buf[4]; // Use too small buffer.
283 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err);
292 char buf[4]; // Use too small buffer.
294 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err);