/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_client_posix.cc | 255 grpc_fd** fdobj) { in grpc_tcp_client_prepare_fd() argument 261 *fdobj = nullptr; in grpc_tcp_client_prepare_fd() 285 *fdobj = grpc_fd_create(fd, name, true); in grpc_tcp_client_prepare_fd() 292 grpc_pollset_set* interested_parties, grpc_closure* closure, grpc_fd* fdobj, in grpc_tcp_client_create_from_prepared_fd() argument 295 const int fd = grpc_fd_wrapped_fd(fdobj); in grpc_tcp_client_create_from_prepared_fd() 304 *ep = grpc_tcp_client_create_from_fd(fdobj, channel_args, addr_str); in grpc_tcp_client_create_from_prepared_fd() 310 grpc_fd_orphan(fdobj, nullptr, nullptr, "tcp_client_connect_error"); in grpc_tcp_client_create_from_prepared_fd() 315 grpc_pollset_set_add_fd(interested_parties, fdobj); in grpc_tcp_client_create_from_prepared_fd() 320 ac->fd = fdobj; in grpc_tcp_client_create_from_prepared_fd() 331 ac->addr_str, fdobj); in grpc_tcp_client_create_from_prepared_fd() [all …]
|
D | tcp_client_posix.h | 51 grpc_fd** fdobj); 64 grpc_pollset_set* interested_parties, grpc_closure* closure, grpc_fd* fdobj,
|
D | tcp_server_posix.cc | 229 grpc_fd* fdobj = grpc_fd_create(fd, name, true); in on_read() local 236 grpc_pollset_add_fd(read_notifier_pollset, fdobj); in on_read() 247 grpc_tcp_create(fdobj, sp->server->channel_args, addr_str), in on_read()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | tcp_client_posix.cc | 287 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()
|
D | tcp_server_posix.cc | 248 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()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 395 PyObject *fdobj; local 402 fdobj = PyObject_CallFunction(opener, "Oi", nameobj, flags); 403 if (fdobj == NULL) 405 if (!PyLong_Check(fdobj)) { 406 Py_DECREF(fdobj); 412 self->fd = _PyLong_AsInt(fdobj); 413 Py_DECREF(fdobj);
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 679 PyObject *fdobj; in signal_set_wakeup_fd() local 687 &fdobj, &warn_on_full_buffer)) in signal_set_wakeup_fd() 690 sockfd = PyLong_AsSocket_t(fdobj); in signal_set_wakeup_fd()
|
D | socketmodule.c | 5136 PyObject *fdobj = NULL; local 5150 &family, &type, &proto, &fdobj)) 5155 if (fdobj == NULL || fdobj == Py_None) 5164 if (fdobj != NULL && fdobj != Py_None) { 5167 if (PyBytes_Check(fdobj)) { 5169 if (PyBytes_GET_SIZE(fdobj) != sizeof(info)) { 5175 memcpy(&info, PyBytes_AS_STRING(fdobj), sizeof(info)); 5199 if (PyFloat_Check(fdobj)) { 5205 fd = PyLong_AsSocket_t(fdobj); 5970 socket_close(PyObject *self, PyObject *fdobj) argument [all …]
|
D | _posixsubprocess.c | 194 PyObject* fdobj = PyTuple_GET_ITEM(py_fds_to_keep, i); in make_inheritable() local 195 long fd = PyLong_AsLong(fdobj); in make_inheritable()
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 859 posix_fildes(PyObject *fdobj, int (*func)(int)) in posix_fildes() argument 863 fd = PyObject_AsFileDescriptor(fdobj); in posix_fildes() 1842 posix_fchdir(PyObject *self, PyObject *fdobj) in posix_fchdir() argument 1844 return posix_fildes(fdobj, fchdir); in posix_fchdir() 2038 posix_fsync(PyObject *self, PyObject *fdobj) in posix_fsync() argument 2040 return posix_fildes(fdobj, fsync); in posix_fsync() 2056 posix_fdatasync(PyObject *self, PyObject *fdobj) in posix_fdatasync() argument 2058 return posix_fildes(fdobj, fdatasync); in posix_fdatasync()
|