Home | History | Annotate | Download | only in Modules

Lines Matching defs:getaddrinfo

19 - socket.gaierror: exception raised for getaddrinfo/getnameinfo errors,
37 - socket.getaddrinfo(host, port [, family, socktype, proto, flags])
86 /* for getaddrinfo thread safety test on old versions of OS X */
192 /* On systems on which getaddrinfo() is believed to not be thread-safe,
193 (this includes the getaddrinfo emulation) protect access with a lock.
195 getaddrinfo is thread-safe on Mac OS X 10.5 and later. Originally it was
199 includes the requirement that getaddrinfo be thread-safe. See issue #25924.
206 http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/net/getaddrinfo.c.diff?r1=1.82&r2=1.83
356 /* On OS X, getaddrinfo returns no error indication of lookup
380 #define getaddrinfo fake_getaddrinfo
383 #include "getaddrinfo.c"
616 v = Py_BuildValue("(is)", error, "getaddrinfo failed");
848 thread to be in gethostbyname or getaddrinfo */
877 error = getaddrinfo(NULL, "0", &hints, &res);
879 /* We assume that those thread-unsafe getaddrinfo() versions
881 subsequent call to getaddrinfo() does not destroy the
949 error = getaddrinfo(name, NULL, &hints, &res);
955 error = getaddrinfo(name, NULL, &hints, &res);
4158 /* Python interface to getaddrinfo(host, port). */
4178 if (!PyArg_ParseTuple(args, "OO|iiii:getaddrinfo",
4194 "getaddrinfo() argument 1 must be string or None");
4209 "getaddrinfo() argument 2 must be integer or string");
4214 /* On OSX upto at least OSX 10.8 getaddrinfo crashes
4228 error = getaddrinfo(hptr, pptr, &hints, &res0);
4270 "getaddrinfo(host, port [, family, socktype, proto, flags])\n\
4313 error = getaddrinfo(hostp, pbuf, &hints, &res);
4460 {"getaddrinfo", socket_getaddrinfo,