Home
last modified time | relevance | path

Searched refs:gethostbyname_r (Results 1 – 25 of 34) sorted by relevance

12

/external/curl/lib/
Dhostip4.c174 h = gethostbyname_r(hostname,
193 (void)gethostbyname_r(hostname,
260 res = gethostbyname_r(hostname,
Dcurl_config.h.cmake205 /* Define to 1 if you have the gethostbyname_r function. */
208 /* gethostbyname_r() takes 3 args */
211 /* gethostbyname_r() takes 5 args */
214 /* gethostbyname_r() takes 6 args */
Dcurl_config.h.in246 /* Define to 1 if you have the gethostbyname_r function. */
249 /* gethostbyname_r() takes 3 args */
252 /* gethostbyname_r() takes 5 args */
255 /* gethostbyname_r() takes 6 args */
/external/curl/CMake/
DCurlTests.c139 rc = gethostbyname_r(address, &h, &hdata); in main()
142 rc = gethostbyname_r(address, &h, buffer, 8192, &h_errnop); in main()
146 rc = gethostbyname_r(address, &h, buffer, 8192, &hp, &h_errnop); in main()
/external/libevent/
Dconfigure.ac405 # Check for gethostbyname_r in all its glorious incompatible versions.
409 [Define this if you have any gethostbyname_r()])
411 AC_CHECK_FUNC(gethostbyname_r, [
412 AC_MSG_CHECKING([how many arguments gethostbyname_r() wants])
421 (void)gethostbyname_r(cp1,h1,cp2,i1,&h2,&i2);
425 [Define this if gethostbyname_r takes 6 arguments])
434 (void)gethostbyname_r(cp1,h1,cp2,i1,&i2);
438 [Define this if gethostbyname_r takes 5 arguments])
447 (void) gethostbyname_r(cp1,h1,&hd);
451 [Define this if gethostbyname_r takes 3 arguments])
Dconfig.h.in88 /* Define this if you have any gethostbyname_r() */
91 /* Define this if gethostbyname_r takes 3 arguments */
94 /* Define this if gethostbyname_r takes 5 arguments */
97 /* Define this if gethostbyname_r takes 6 arguments */
Devutil.c1473 r = gethostbyname_r(nodename, &hostent, buf, sizeof(buf), &ent, in evutil_getaddrinfo()
1478 ent = gethostbyname_r(nodename, &hostent, buf, sizeof(buf), in evutil_getaddrinfo()
1484 err = gethostbyname_r(nodename, &hostent, &data); in evutil_getaddrinfo()
Dconfigure14247 (void)gethostbyname_r(cp1,h1,cp2,i1,&h2,&i2);
14277 (void)gethostbyname_r(cp1,h1,cp2,i1,&i2);
14307 (void) gethostbyname_r(cp1,h1,&hd);
/external/ltp/testcases/kernel/syscalls/gethostbyname_r/
Dgethostbyname_r01.c84 retval = gethostbyname_r(name, &resbuf, temp.buffer, in check_vulnerable()
/external/syslinux/core/lwip/src/include/lwip/
Dnetdb.h111 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \ macro
/external/curl/m4/
Dcurl-reentrant.m4290 dnl makes function gethostbyname_r compiler visible.
294 AC_LANG_FUNC_LINK_TRY([gethostbyname_r])
301 AC_EGREP_CPP([gethostbyname_r],[
307 AC_EGREP_CPP([gethostbyname_r],[
Dcurl-functions.m42699 dnl Verify if gethostbyname_r is available, prototyped,
2714 AC_MSG_CHECKING([if gethostbyname_r can be linked])
2716 AC_LANG_FUNC_LINK_TRY([gethostbyname_r])
2726 AC_MSG_CHECKING([if gethostbyname_r is prototyped])
2727 AC_EGREP_CPP([gethostbyname_r],[
2740 AC_MSG_CHECKING([if gethostbyname_r takes 3 args.])
2745 if(0 != gethostbyname_r(0, 0, 0))
2758 AC_MSG_CHECKING([if gethostbyname_r takes 5 args.])
2763 if(0 != gethostbyname_r(0, 0, 0, 0, 0))
2776 AC_MSG_CHECKING([if gethostbyname_r takes 6 args.])
[all …]
/external/python/cpython2/
Dpyconfig.h.in295 /* Define this if you have some version of gethostbyname_r() */
298 /* Define this if you have the 3-arg version of gethostbyname_r(). */
301 /* Define this if you have the 5-arg version of gethostbyname_r(). */
304 /* Define this if you have the 6-arg version of gethostbyname_r(). */
Dconfigure.ac3677 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
3679 [Define this if you have some version of gethostbyname_r()])
3681 AC_CHECK_FUNC(gethostbyname_r, [
3683 AC_MSG_CHECKING([gethostbyname_r with 6 args])
3695 (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
3699 [Define this if you have the 6-arg version of gethostbyname_r().])
3703 AC_MSG_CHECKING([gethostbyname_r with 5 args])
3713 (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
3718 [Define this if you have the 5-arg version of gethostbyname_r().])
3722 AC_MSG_CHECKING([gethostbyname_r with 3 args])
[all …]
Dconfigure12645 (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
12682 (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
12717 (void) gethostbyname_r(name, he, &data);
/external/python/cpython3/
Dpyconfig.h.in384 /* Define this if you have some version of gethostbyname_r() */
387 /* Define this if you have the 3-arg version of gethostbyname_r(). */
390 /* Define this if you have the 5-arg version of gethostbyname_r(). */
393 /* Define this if you have the 6-arg version of gethostbyname_r(). */
Dconfigure.ac4066 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
4068 [Define this if you have some version of gethostbyname_r()])
4070 AC_CHECK_FUNC(gethostbyname_r, [
4072 AC_MSG_CHECKING([gethostbyname_r with 6 args])
4084 (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
4088 [Define this if you have the 6-arg version of gethostbyname_r().])
4092 AC_MSG_CHECKING([gethostbyname_r with 5 args])
4102 (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
4107 [Define this if you have the 5-arg version of gethostbyname_r().])
4111 AC_MSG_CHECKING([gethostbyname_r with 3 args])
[all …]
Dconfigure13623 (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
13660 (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
13695 (void) gethostbyname_r(name, he, &data);
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1095 TEST(MemorySanitizer, gethostbyname_r) { in TEST() argument
1100 int res = gethostbyname_r("localhost", &he, buf, sizeof(buf), &result, &err); in TEST()
1113 int res = gethostbyname_r("bad-host-name", &he, buf, sizeof(buf), &result, &err); in TEST()
1123 gethostbyname_r("localhost", &he, buf, sizeof(buf), &result, &err); in TEST()
/external/python/cpython2/Modules/
Dsocketmodule.c3489 gethostbyname_r(name, &hp_allocated, buf, buf_len,
3492 h = gethostbyname_r(name, &hp_allocated, buf, buf_len, &errnop);
3495 result = gethostbyname_r(name, &hp_allocated, &data);
/external/ltp/testcases/kernel/syscalls/
D.gitignore332 /gethostbyname_r/gethostbyname_r01
/external/python/cpython3/Modules/
Dsocketmodule.c5140 gethostbyname_r(name, &hp_allocated, buf, buf_len,
5143 h = gethostbyname_r(name, &hp_allocated, buf, buf_len, &errnop);
5146 result = gethostbyname_r(name, &hp_allocated, &data);
/external/curl/docs/
DFAQ1302 B - gethostbyname_r() with 3 arguments
1303 C - gethostbyname_r() with 5 arguments
1304 D - gethostbyname_r() with 6 arguments
/external/curl/
DCMakeLists.txt854 check_symbol_exists(gethostbyname_r "${CURL_INCLUDES}" HAVE_GETHOSTBYNAME_R)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc2253 INTERCEPTOR(int, gethostbyname_r, char *name, struct __sanitizer_hostent *ret,
2257 COMMON_INTERCEPTOR_ENTER(ctx, gethostbyname_r, name, ret, buf, buflen, result,
2262 int res = REAL(gethostbyname_r)(name, ret, buf, buflen, result, h_errnop);
2271 #define INIT_GETHOSTBYNAME_R COMMON_INTERCEPT_FUNCTION(gethostbyname_r);

12