Lines Matching refs:ret

1332         PyObject *ret = NULL;
1334 ret = Py_BuildValue("Oi", addrobj, ntohs(a->sin_port));
1337 return ret;
1387 PyObject *ret = NULL;
1389 ret = Py_BuildValue("OiII",
1396 return ret;
1409 PyObject *ret = NULL;
1411 ret = Py_BuildValue("Oi",
1416 return ret;
1425 PyObject *ret = NULL;
1427 ret = Py_BuildValue("Oi",
1432 return ret;
1442 PyObject *ret = NULL;
1443 ret = Py_BuildValue("i", _BT_HCI_MEMB(a, dev));
1444 return ret;
3733 PyObject *ret = NULL;
3764 ret = PyTuple_Pack(2, buf, addr);
3769 return ret;
5575 PyObject *ret = NULL;
5584 ret = make_ipv4_addr(&addrbuf);
5587 return ret;
5752 PyObject *ret = NULL;
5799 ret = gethost_common(h, SAS2SA(&addr), sizeof(addr),
5806 return ret;
5827 PyObject *ret = NULL;
5897 ret = gethost_common(h, SAS2SA(&addr), sizeof(addr), af);
5903 return ret;
6117 int ret;
6132 ret = socketpair(family, type | SOCK_CLOEXEC, proto, sv);
6134 if (ret >= 0) {
6140 ret = socketpair(family, type, proto, sv);
6147 ret = socketpair(family, type, proto, sv);
6151 if (ret < 0)
6676 PyObject *ret = (PyObject *)NULL;
6753 ret = Py_BuildValue("Ns", name, pbuf);
6758 return ret;
6820 int ret;
6821 if ((ret = GetIfTable2Ex(MibIfTableRaw, &tbl)) != NO_ERROR) {
6823 // ret is used instead of GetLastError()
6824 return PyErr_SetFromWindowsErr(ret);
6829 if ((ret = ConvertInterfaceLuidToNameW(&r.InterfaceLuid, buf,
6833 // ret is used instead of GetLastError()
6834 return PyErr_SetFromWindowsErr(ret);
7130 int ret;
7131 ret = WSAStartup(0x0101, &WSAData);
7132 switch (ret) {
7147 PyErr_Format(PyExc_ImportError, "WSAStartup failed: error code %d", ret);