Home
last modified time | relevance | path

Searched refs:fdobj (Results 1 – 6 of 6) sorted by relevance

/third_party/grpc/src/core/lib/iomgr/
Dtcp_client_posix.cc287 grpc_fd* fdobj = grpc_fd_create(fd, name.c_str(), true); in grpc_tcp_client_create_from_prepared_fd() local
290 *ep = grpc_tcp_client_create_from_fd(fdobj, channel_args, in grpc_tcp_client_create_from_prepared_fd()
300 grpc_fd_orphan(fdobj, nullptr, nullptr, "tcp_client_connect_error"); in grpc_tcp_client_create_from_prepared_fd()
305 grpc_pollset_set_add_fd(interested_parties, fdobj); in grpc_tcp_client_create_from_prepared_fd()
310 ac->fd = fdobj; in grpc_tcp_client_create_from_prepared_fd()
321 ac->addr_str.c_str(), fdobj); in grpc_tcp_client_create_from_prepared_fd()
Dtcp_server_posix.cc248 grpc_fd* fdobj = grpc_fd_create(fd, name.c_str(), true); in on_read() local
255 grpc_pollset_add_fd(read_notifier_pollset, fdobj); in on_read()
267 grpc_tcp_create(fdobj, sp->server->channel_args, addr_str.c_str()), in on_read()
594 grpc_fd* fdobj = grpc_fd_create(fd, name.c_str(), true); in Handle() local
599 grpc_pollset_add_fd(read_notifier_pollset, fdobj); in Handle()
609 grpc_tcp_create(fdobj, s_->channel_args, addr_str.c_str()), in Handle()
/third_party/python/Modules/_io/
Dfileio.c396 PyObject *fdobj; local
403 fdobj = PyObject_CallFunction(opener, "Oi", nameobj, flags);
404 if (fdobj == NULL)
406 if (!PyLong_Check(fdobj)) {
407 Py_DECREF(fdobj);
413 self->fd = _PyLong_AsInt(fdobj);
414 Py_DECREF(fdobj);
/third_party/python/Modules/
Dsignalmodule.c732 PyObject *fdobj; local
740 &fdobj, &warn_on_full_buffer))
743 sockfd = PyLong_AsSocket_t(fdobj);
D_posixsubprocess.c164 PyObject* fdobj = PyTuple_GET_ITEM(py_fds_to_keep, i); in make_inheritable() local
165 long fd = PyLong_AsLong(fdobj); in make_inheritable()
Dsocketmodule.c5092 PyObject *fdobj = NULL; local
5106 &family, &type, &proto, &fdobj))
5111 if (fdobj == NULL || fdobj == Py_None)
5120 if (fdobj != NULL && fdobj != Py_None) {
5123 if (PyBytes_Check(fdobj)) {
5125 if (PyBytes_GET_SIZE(fdobj) != sizeof(info)) {
5131 memcpy(&info, PyBytes_AS_STRING(fdobj), sizeof(info));
5154 fd = PyLong_AsSocket_t(fdobj);
5919 socket_close(PyObject *self, PyObject *fdobj) argument
5924 fd = PyLong_AsSocket_t(fdobj);
[all …]