Home
last modified time | relevance | path

Searched refs:GRPC_OS_ERROR (Results 1 – 25 of 27) sorted by relevance

12

/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc54 return GRPC_OS_ERROR(errno, "fcntl"); in grpc_set_socket_nonblocking()
64 return GRPC_OS_ERROR(errno, "fcntl"); in grpc_set_socket_nonblocking()
76 return GRPC_OS_ERROR(errno, "setsockopt(SO_NOSIGPIPE)"); in grpc_set_socket_no_sigpipe_if_possible()
79 return GRPC_OS_ERROR(errno, "getsockopt(SO_NOSIGPIPE)"); in grpc_set_socket_no_sigpipe_if_possible()
93 return GRPC_OS_ERROR(errno, "setsockopt(IP_PKTINFO)"); in grpc_set_socket_ip_pktinfo_if_possible()
104 return GRPC_OS_ERROR(errno, "setsockopt(IPV6_RECVPKTINFO)"); in grpc_set_socket_ipv6_recvpktinfo_if_possible()
114 : GRPC_OS_ERROR(errno, "setsockopt(SO_SNDBUF)"); in grpc_set_socket_sndbuf()
121 : GRPC_OS_ERROR(errno, "setsockopt(SO_RCVBUF)"); in grpc_set_socket_rcvbuf()
128 return GRPC_OS_ERROR(errno, "fcntl"); in grpc_set_socket_cloexec()
138 return GRPC_OS_ERROR(errno, "fcntl"); in grpc_set_socket_cloexec()
[all …]
Dwakeup_fd_eventfd.cc37 return GRPC_OS_ERROR(errno, "eventfd"); in eventfd_create()
51 return GRPC_OS_ERROR(errno, "eventfd_read"); in eventfd_consume()
63 return GRPC_OS_ERROR(errno, "eventfd_write"); in eventfd_wakeup()
Dload_file.cc45 error = GRPC_OS_ERROR(errno, "fopen"); in grpc_load_file()
56 error = GRPC_OS_ERROR(errno, "fread"); in grpc_load_file()
Dtcp_server_utils_posix_ifaddrs.cc73 err = GRPC_OS_ERROR(errno, "bind"); in get_unused_port()
79 err = GRPC_OS_ERROR(errno, "getsockname"); in get_unused_port()
111 return GRPC_OS_ERROR(errno, "getifaddrs"); in grpc_tcp_server_add_all_local_addrs()
Dwakeup_fd_pipe.cc41 return GRPC_OS_ERROR(errno, "pipe"); in pipe_init()
67 return GRPC_OS_ERROR(errno, "read"); in pipe_consume()
Dtcp_server_utils_posix_common.cc191 err = GRPC_OS_ERROR(errno, "bind"); in grpc_tcp_server_prepare_socket()
196 err = GRPC_OS_ERROR(errno, "listen"); in grpc_tcp_server_prepare_socket()
204 err = GRPC_OS_ERROR(errno, "getsockname"); in grpc_tcp_server_prepare_socket()
Dtcp_client_posix.cc174 error = GRPC_OS_ERROR(errno, "getsockopt"); in on_writable()
205 error = GRPC_OS_ERROR(so_error, "connect"); in on_writable()
210 error = GRPC_OS_ERROR(so_error, "getsockopt(SO_ERROR)"); in on_writable()
311 GRPC_CLOSURE_SCHED(closure, GRPC_OS_ERROR(errno, "connect")); in grpc_tcp_client_create_from_prepared_fd()
Dev_epollsig_linux.cc367 append_error(error, GRPC_OS_ERROR(errno, err_msg), err_desc); in polling_island_add_fds_locked()
406 append_error(error, GRPC_OS_ERROR(errno, err_msg), err_desc); in polling_island_add_wakeup_fd_locked()
427 append_error(error, GRPC_OS_ERROR(errno, err_msg), err_desc); in polling_island_remove_all_fds_locked()
455 append_error(error, GRPC_OS_ERROR(errno, err_msg), err_desc); in polling_island_remove_fd_locked()
490 append_error(error, GRPC_OS_ERROR(errno, "epoll_create1"), err_desc); in polling_island_create()
997 err = GRPC_OS_ERROR(err_num, "pthread_kill");
1225 append_error(error, GRPC_OS_ERROR(errno, err_msg), err_desc);
Derror.h207 #define GRPC_OS_ERROR(err, call_name) \ macro
Dtcp_posix.cc450 tcp_annotate_error(GRPC_OS_ERROR(errno, "recvmsg"), tcp)); in tcp_do_read()
584 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "setsockopt"), tcp); in tcp_write_with_timestamps()
848 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "sendmsg"), tcp); in tcp_flush()
852 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "sendmsg"), tcp); in tcp_flush()
Dev_epollex_linux.cc552 return GRPC_OS_ERROR(errno, "epoll_create1");
570 err = GRPC_OS_ERROR(errno, "epoll_ctl");
688 append_error(&error, GRPC_OS_ERROR(errno, "epoll_ctl"), err_desc);
1006 if (r < 0) return GRPC_OS_ERROR(errno, "epoll_wait");
Dev_epoll1_linux.cc510 return GRPC_OS_ERROR(errno, "epoll_ctl"); in pollset_global_init()
715 if (r < 0) return GRPC_OS_ERROR(errno, "epoll_wait"); in do_epoll_wait()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc61 return GRPC_OS_ERROR(errno, "setsockopt(SO_ZEROCOPY)"); in grpc_set_socket_zerocopy()
65 return GRPC_OS_ERROR(ENOSYS, "setsockopt(SO_ZEROCOPY)"); in grpc_set_socket_zerocopy()
73 return GRPC_OS_ERROR(errno, "fcntl"); in grpc_set_socket_nonblocking()
83 return GRPC_OS_ERROR(errno, "fcntl"); in grpc_set_socket_nonblocking()
95 return GRPC_OS_ERROR(errno, "setsockopt(SO_NOSIGPIPE)"); in grpc_set_socket_no_sigpipe_if_possible()
98 return GRPC_OS_ERROR(errno, "getsockopt(SO_NOSIGPIPE)"); in grpc_set_socket_no_sigpipe_if_possible()
117 return GRPC_OS_ERROR(errno, "setsockopt(IP_PKTINFO)"); in grpc_set_socket_ip_pktinfo_if_possible()
130 return GRPC_OS_ERROR(errno, "setsockopt(IPV6_RECVPKTINFO)"); in grpc_set_socket_ipv6_recvpktinfo_if_possible()
140 : GRPC_OS_ERROR(errno, "setsockopt(SO_SNDBUF)"); in grpc_set_socket_sndbuf()
147 : GRPC_OS_ERROR(errno, "setsockopt(SO_RCVBUF)"); in grpc_set_socket_rcvbuf()
[all …]
Dwakeup_fd_eventfd.cc38 return GRPC_OS_ERROR(errno, "eventfd"); in eventfd_create()
50 return GRPC_OS_ERROR(errno, "eventfd_read"); in eventfd_consume()
62 return GRPC_OS_ERROR(errno, "eventfd_write"); in eventfd_wakeup()
Dload_file.cc45 error = GRPC_OS_ERROR(errno, "fopen"); in grpc_load_file()
57 error = GRPC_OS_ERROR(errno, "fread"); in grpc_load_file()
Dtcp_server_utils_posix_ifaddrs.cc76 err = GRPC_OS_ERROR(errno, "bind"); in get_unused_port()
82 err = GRPC_OS_ERROR(errno, "getsockname"); in get_unused_port()
114 return GRPC_OS_ERROR(errno, "getifaddrs"); in grpc_tcp_server_add_all_local_addrs()
Dwakeup_fd_pipe.cc41 return GRPC_OS_ERROR(errno, "pipe"); in pipe_init()
67 return GRPC_OS_ERROR(errno, "read"); in pipe_consume()
Dtcp_server_utils_posix_common.cc188 err = GRPC_OS_ERROR(errno, "bind"); in grpc_tcp_server_prepare_socket()
193 err = GRPC_OS_ERROR(errno, "listen"); in grpc_tcp_server_prepare_socket()
201 err = GRPC_OS_ERROR(errno, "getsockname"); in grpc_tcp_server_prepare_socket()
Dtcp_client_posix.cc169 error = GRPC_OS_ERROR(errno, "getsockopt"); in on_writable()
201 error = GRPC_OS_ERROR(so_error, "connect"); in on_writable()
206 error = GRPC_OS_ERROR(so_error, "getsockopt(SO_ERROR)"); in on_writable()
296 grpc_error* error = GRPC_OS_ERROR(errno, "connect"); in grpc_tcp_client_create_from_prepared_fd()
Derror.h257 #define GRPC_OS_ERROR(err, call_name) \ macro
Dtcp_posix.cc773 tcp_annotate_error(GRPC_OS_ERROR(errno, "recvmsg"), tcp)); in tcp_do_read()
1373 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "sendmsg"), tcp); in do_tcp_flush_zerocopy()
1377 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "sendmsg"), tcp); in do_tcp_flush_zerocopy()
1483 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "sendmsg"), tcp); in tcp_flush()
1488 *error = tcp_annotate_error(GRPC_OS_ERROR(errno, "sendmsg"), tcp); in tcp_flush()
Dev_epollex_linux.cc564 return GRPC_OS_ERROR(errno, "epoll_create1");
583 err = GRPC_OS_ERROR(errno, "epoll_ctl");
635 append_error(&error, GRPC_OS_ERROR(errno, "epoll_ctl"), err_desc);
956 if (r < 0) return GRPC_OS_ERROR(errno, "epoll_wait");
Dev_epoll1_linux.cc529 return GRPC_OS_ERROR(errno, "epoll_ctl"); in pollset_global_init()
735 if (r < 0) return GRPC_OS_ERROR(errno, "epoll_wait"); in do_epoll_wait()
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_posix_test.cc239 return GRPC_OS_ERROR(errno, "Failed to create socket"); in tcp_connect()
246 return GRPC_OS_ERROR(errno, "connect"); in tcp_connect()
Derror_test.cc177 grpc_error* error = GRPC_OS_ERROR(fake_errno, syscall); in test_os_error()

12