Home
last modified time | relevance | path

Searched refs:GPR_ICMP (Results 1 – 18 of 18) sorted by relevance

/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc153 if (sc == nullptr || other == nullptr) return GPR_ICMP(sc, other); in grpc_security_connector_cmp()
154 int c = GPR_ICMP(sc->vtable, other->vtable); in grpc_security_connector_cmp()
163 int c = GPR_ICMP(sc1->channel_creds, sc2->channel_creds); in grpc_channel_security_connector_cmp()
165 c = GPR_ICMP(sc1->request_metadata_creds, sc2->request_metadata_creds); in grpc_channel_security_connector_cmp()
167 c = GPR_ICMP((void*)sc1->check_call_host, (void*)sc2->check_call_host); in grpc_channel_security_connector_cmp()
169 c = GPR_ICMP((void*)sc1->cancel_check_call_host, in grpc_channel_security_connector_cmp()
172 return GPR_ICMP((void*)sc1->add_handshakers, (void*)sc2->add_handshakers); in grpc_channel_security_connector_cmp()
179 int c = GPR_ICMP(sc1->server_creds, sc2->server_creds); in grpc_server_security_connector_cmp()
181 return GPR_ICMP((void*)sc1->add_handshakers, (void*)sc2->add_handshakers); in grpc_server_security_connector_cmp()
460 c = GPR_ICMP(c1->expected_targets, c2->expected_targets);
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_mutator.cc46 int c = GPR_ICMP(a, b); in grpc_socket_mutator_compare()
50 c = GPR_ICMP(sma->vtable, smb->vtable); in grpc_socket_mutator_compare()
Dsocket_factory_posix.cc50 int c = GPR_ICMP(a, b); in grpc_socket_factory_compare()
54 c = GPR_ICMP(sma->vtable, smb->vtable); in grpc_socket_factory_compare()
Dresource_quota.cc739 static int rq_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in rq_cmp()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc140 int c = GPR_ICMP(a->type, b->type); in cmp_arg()
148 return GPR_ICMP(a->value.integer, b->value.integer); in cmp_arg()
150 c = GPR_ICMP(a->value.pointer.p, b->value.pointer.p); in cmp_arg()
152 c = GPR_ICMP(a->value.pointer.vtable, b->value.pointer.vtable); in cmp_arg()
169 if (c == 0) c = GPR_ICMP(*a, *b); in cmp_key_stable()
316 int c = GPR_ICMP(a->num_args, b->num_args); in grpc_channel_args_compare()
/external/grpc-grpc/src/core/lib/surface/
Dchannel_init.cc72 int c = GPR_ICMP(sa->priority, sb->priority); in compare_slots()
74 return GPR_ICMP(sa->insertion_order, sb->insertion_order); in compare_slots()
/external/grpc-grpc/src/core/lib/slice/
Dslice_hash_table.h94 static int DefaultValueCmp(const T& a, const T& b) { return GPR_ICMP(a, b); } in DefaultValueCmp()
179 const int value_fns_cmp = GPR_ICMP((void*)value_cmp_a, (void*)value_cmp_b); in Cmp()
/external/grpc-grpc/src/core/lib/security/credentials/
Dcredentials.cc158 static int credentials_pointer_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in credentials_pointer_cmp()
254 return GPR_ICMP(a, b); in server_credentials_pointer_cmp()
/external/grpc-grpc/src/core/lib/gpr/
Duseful.h60 #define GPR_ICMP(a, b) ((a) < (b) ? -1 : ((a) > (b) ? 1 : 0)) macro
/external/grpc-grpc/test/core/iomgr/
Dsocket_utils_test.cc74 return GPR_ICMP(ma->option_value, mb->option_value); in compare_test_mutator()
Dudp_server_test.cc152 return GPR_ICMP(a, b); in test_socket_factory_compare()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_channelz.cc38 int client_channel_channelz_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in client_channel_channelz_cmp()
Dsubchannel_index.cc78 int c = GPR_ICMP(a->args.filter_count, b->args.filter_count); in grpc_subchannel_key_compare()
/external/grpc-grpc/test/core/slice/
Dslice_hash_table_test.cc131 return GPR_ICMP(a.get(), b.get()); in PointerCmp()
/external/grpc-grpc/test/core/channel/
Dchannel_args_test.cc169 static int fake_pointer_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in fake_pointer_cmp()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc231 static int response_generator_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in response_generator_cmp()
/external/grpc-grpc/test/cpp/common/
Dchannel_arguments_test.cc55 return GPR_ICMP(a, b); in test_mutator_compare()
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.cc318 static int auth_context_pointer_cmp(void* a, void* b) { return GPR_ICMP(a, b); }