Searched refs:grpc_socket_mutator (Results 1 – 15 of 15) sorted by relevance
/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_mutator.h | 32 bool (*mutate_fd)(int fd, grpc_socket_mutator* mutator); 34 int (*compare)(grpc_socket_mutator* a, grpc_socket_mutator* b); 36 void (*destroy)(grpc_socket_mutator* mutator); 40 struct grpc_socket_mutator { struct 46 void grpc_socket_mutator_init(grpc_socket_mutator* mutator, argument 50 grpc_arg grpc_socket_mutator_to_arg(grpc_socket_mutator* mutator); 53 bool grpc_socket_mutator_mutate_fd(grpc_socket_mutator* mutator, int fd); 56 int grpc_socket_mutator_compare(grpc_socket_mutator* a, grpc_socket_mutator* b); 58 grpc_socket_mutator* grpc_socket_mutator_ref(grpc_socket_mutator* mutator); 59 void grpc_socket_mutator_unref(grpc_socket_mutator* mutator);
|
D | socket_mutator.cc | 29 void grpc_socket_mutator_init(grpc_socket_mutator* mutator, in grpc_socket_mutator_init() 35 grpc_socket_mutator* grpc_socket_mutator_ref(grpc_socket_mutator* mutator) { in grpc_socket_mutator_ref() 40 bool grpc_socket_mutator_mutate_fd(grpc_socket_mutator* mutator, int fd) { in grpc_socket_mutator_mutate_fd() 44 int grpc_socket_mutator_compare(grpc_socket_mutator* a, in grpc_socket_mutator_compare() 45 grpc_socket_mutator* b) { in grpc_socket_mutator_compare() 48 grpc_socket_mutator* sma = a; in grpc_socket_mutator_compare() 49 grpc_socket_mutator* smb = b; in grpc_socket_mutator_compare() 58 void grpc_socket_mutator_unref(grpc_socket_mutator* mutator) { in grpc_socket_mutator_unref() 65 return grpc_socket_mutator_ref(static_cast<grpc_socket_mutator*>(p)); in socket_mutator_arg_copy() 69 grpc_socket_mutator_unref(static_cast<grpc_socket_mutator*>(p)); in socket_mutator_arg_destroy() [all …]
|
D | tcp_server_utils_posix_common.cc | 180 grpc_socket_mutator* mutator = static_cast<grpc_socket_mutator*>( in grpc_tcp_server_prepare_socket()
|
D | socket_utils_posix.h | 92 grpc_error* grpc_set_socket_with_mutator(int fd, grpc_socket_mutator* mutator);
|
D | tcp_client_posix.cc | 89 grpc_socket_mutator* mutator = static_cast<grpc_socket_mutator*>( in prepare_socket()
|
D | socket_utils_common_posix.cc | 316 grpc_error* grpc_set_socket_with_mutator(int fd, grpc_socket_mutator* mutator) { in grpc_set_socket_with_mutator()
|
/external/grpc-grpc/test/cpp/server/ |
D | server_builder_with_socket_mutator_test.cc | 40 bool mock_socket_mutator_mutate_fd(int, grpc_socket_mutator*); 41 int mock_socket_mutator_compare(grpc_socket_mutator*, grpc_socket_mutator*); 42 void mock_socket_mutator_destroy(grpc_socket_mutator*); 50 class MockSocketMutator : public grpc_socket_mutator { 58 bool mock_socket_mutator_mutate_fd(int fd, grpc_socket_mutator* m) { in mock_socket_mutator_mutate_fd() 64 int mock_socket_mutator_compare(grpc_socket_mutator* a, in mock_socket_mutator_compare() 65 grpc_socket_mutator* b) { in mock_socket_mutator_compare() 69 void mock_socket_mutator_destroy(grpc_socket_mutator* m) { in mock_socket_mutator_destroy()
|
/external/grpc-grpc/test/core/iomgr/ |
D | socket_utils_test.cc | 39 grpc_socket_mutator base; 43 static bool mutate_fd(int fd, grpc_socket_mutator* mutator) { in mutate_fd() 62 static void destroy_test_mutator(grpc_socket_mutator* mutator) { in destroy_test_mutator() 68 static int compare_test_mutator(grpc_socket_mutator* a, in compare_test_mutator() 69 grpc_socket_mutator* b) { in compare_test_mutator() 111 grpc_set_socket_with_mutator(sock, (grpc_socket_mutator*)&mutator))); in main() 116 grpc_set_socket_with_mutator(sock, (grpc_socket_mutator*)&mutator))); in main() 121 grpc_set_socket_with_mutator(sock, (grpc_socket_mutator*)&mutator))); in main() 125 sock, reinterpret_cast<grpc_socket_mutator*>(&mutator)); in main()
|
/external/grpc-grpc/test/cpp/common/ |
D | channel_arguments_test.cc | 35 class TestSocketMutator : public grpc_socket_mutator { 49 bool test_mutator_mutate_fd(int fd, grpc_socket_mutator* mutator) { in test_mutator_mutate_fd() 54 int test_mutator_compare(grpc_socket_mutator* a, grpc_socket_mutator* b) { in test_mutator_compare() 58 void test_mutator_destroy(grpc_socket_mutator* mutator) { in test_mutator_destroy()
|
/external/grpc-grpc/include/grpc/impl/codegen/ |
D | grpc_types.h | 73 typedef struct grpc_socket_mutator grpc_socket_mutator; typedef
|
/external/grpc-grpc/src/core/lib/channel/ |
D | channel_args.h | 96 grpc_channel_args* a, grpc_socket_mutator* mutator);
|
D | channel_args.cc | 309 grpc_channel_args* a, grpc_socket_mutator* mutator) { in grpc_channel_args_set_socket_mutator()
|
/external/grpc-grpc/include/grpcpp/support/ |
D | channel_arguments.h | 80 void SetSocketMutator(grpc_socket_mutator* mutator);
|
/external/grpc-grpc/test/core/channel/ |
D | channel_args_test.cc | 137 grpc_socket_mutator mutator; in test_set_socket_mutator()
|
/external/grpc-grpc/src/cpp/common/ |
D | channel_arguments.cc | 91 void ChannelArguments::SetSocketMutator(grpc_socket_mutator* mutator) { in SetSocketMutator()
|