/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_common_posix.cc | 54 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 …]
|
D | wakeup_fd_eventfd.cc | 37 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()
|
D | load_file.cc | 45 error = GRPC_OS_ERROR(errno, "fopen"); in grpc_load_file() 56 error = GRPC_OS_ERROR(errno, "fread"); in grpc_load_file()
|
D | tcp_server_utils_posix_ifaddrs.cc | 73 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()
|
D | wakeup_fd_pipe.cc | 41 return GRPC_OS_ERROR(errno, "pipe"); in pipe_init() 67 return GRPC_OS_ERROR(errno, "read"); in pipe_consume()
|
D | tcp_server_utils_posix_common.cc | 191 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()
|
D | tcp_client_posix.cc | 174 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()
|
D | ev_epollsig_linux.cc | 367 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);
|
D | error.h | 207 #define GRPC_OS_ERROR(err, call_name) \ macro
|
D | tcp_posix.cc | 450 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()
|
D | ev_epollex_linux.cc | 552 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");
|
D | ev_epoll1_linux.cc | 510 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/ |
D | socket_utils_common_posix.cc | 61 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 …]
|
D | wakeup_fd_eventfd.cc | 38 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()
|
D | load_file.cc | 45 error = GRPC_OS_ERROR(errno, "fopen"); in grpc_load_file() 57 error = GRPC_OS_ERROR(errno, "fread"); in grpc_load_file()
|
D | tcp_server_utils_posix_ifaddrs.cc | 76 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()
|
D | wakeup_fd_pipe.cc | 41 return GRPC_OS_ERROR(errno, "pipe"); in pipe_init() 67 return GRPC_OS_ERROR(errno, "read"); in pipe_consume()
|
D | tcp_server_utils_posix_common.cc | 188 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()
|
D | tcp_client_posix.cc | 169 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()
|
D | error.h | 257 #define GRPC_OS_ERROR(err, call_name) \ macro
|
D | tcp_posix.cc | 773 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()
|
D | ev_epollex_linux.cc | 564 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");
|
D | ev_epoll1_linux.cc | 529 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/ |
D | tcp_server_posix_test.cc | 239 return GRPC_OS_ERROR(errno, "Failed to create socket"); in tcp_connect() 246 return GRPC_OS_ERROR(errno, "connect"); in tcp_connect()
|
D | error_test.cc | 177 grpc_error* error = GRPC_OS_ERROR(fake_errno, syscall); in test_os_error()
|