Home
last modified time | relevance | path

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

/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()
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()
Dload_file.cc45 error = GRPC_OS_ERROR(errno, "fopen"); in grpc_load_file()
56 error = GRPC_OS_ERROR(errno, "fread"); in grpc_load_file()
Dwakeup_fd_pipe.cc41 return GRPC_OS_ERROR(errno, "pipe"); in pipe_init()
67 return GRPC_OS_ERROR(errno, "read"); in pipe_consume()
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()
Dtcp_server_utils_posix_common.cc190 err = GRPC_OS_ERROR(errno, "bind"); in grpc_tcp_server_prepare_socket()
195 err = GRPC_OS_ERROR(errno, "listen"); in grpc_tcp_server_prepare_socket()
203 err = GRPC_OS_ERROR(errno, "getsockname"); in grpc_tcp_server_prepare_socket()
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()
Dev_poll_posix.cc1072 work_combine_error(&error, GRPC_OS_ERROR(errno, "poll"));
/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()