Lines Matching defs:getaddrinfo
19 - socket.gaierror: exception raised for getaddrinfo/getnameinfo errors,
36 - socket.getaddrinfo(host, port [, family, type, proto, flags])
96 /* for getaddrinfo thread safety test on old versions of OS X */
412 /* On OS X, getaddrinfo returns no error indication of lookup
436 #define getaddrinfo fake_getaddrinfo
439 #include "getaddrinfo.c"
662 v = Py_BuildValue("(is)", error, "getaddrinfo failed");
1047 thread to be in gethostbyname or getaddrinfo */
1074 error = getaddrinfo(NULL, "0", &hints, &res);
1076 /* We assume that those thread-unsafe getaddrinfo() versions
1078 subsequent call to getaddrinfo() does not destroy the
1148 * fallback to getaddrinfo(), which can handle translation from interface
1181 error = getaddrinfo(name, NULL, &hints, &res);
1187 error = getaddrinfo(name, NULL, &hints, &res);
6531 /* Python interface to getaddrinfo(host, port). */
6552 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO|iiii:getaddrinfo",
6569 "getaddrinfo() argument 1 must be string or None");
6592 /* On OSX up to at least OSX 10.8 getaddrinfo crashes
6600 if (PySys_Audit("socket.getaddrinfo", "OOiii",
6611 error = getaddrinfo(hptr, pptr, &hints, &res0);
6655 "getaddrinfo(host, port [, family, type, proto, flags])\n\
6708 error = getaddrinfo(hostp, pbuf, &hints, &res);
7084 {"getaddrinfo", _PyCFunction_CAST(socket_getaddrinfo),