Home
last modified time | relevance | path

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

12

/third_party/grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc63 if (sc == nullptr || other == nullptr) return GPR_ICMP(sc, other); in grpc_security_connector_cmp()
73 int c = GPR_ICMP(channel_creds(), other_sc->channel_creds()); in channel_security_connector_cmp()
75 return GPR_ICMP(request_metadata_creds(), other_sc->request_metadata_creds()); in channel_security_connector_cmp()
84 return GPR_ICMP(server_creds(), other_sc->server_creds()); in server_security_connector_cmp()
Dssl_utils.cc502 return GPR_ICMP(p, q); in grpc_ssl_session_cache_arg_cmp()
/third_party/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()
/third_party/grpc/src/core/lib/channel/
Dchannel_args.cc148 int c = GPR_ICMP(a->type, b->type); in cmp_arg()
156 return GPR_ICMP(a->value.integer, b->value.integer); in cmp_arg()
158 c = GPR_ICMP(a->value.pointer.p, b->value.pointer.p); in cmp_arg()
160 c = GPR_ICMP(a->value.pointer.vtable, b->value.pointer.vtable); in cmp_arg()
177 if (c == 0) c = GPR_ICMP(*a, *b); in cmp_key_stable()
227 int c = GPR_ICMP(a->num_args, b->num_args); in grpc_channel_args_compare()
/third_party/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()
Dchannel.cc183 int channelz_node_cmp(void* p1, void* p2) { return GPR_ICMP(p1, p2); } in channelz_node_cmp()
/third_party/grpc/src/core/lib/security/credentials/
Dcredentials.cc62 static int credentials_pointer_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in credentials_pointer_cmp()
130 return GPR_ICMP(a, b); in server_credentials_pointer_cmp()
/third_party/grpc/src/core/lib/slice/
Dslice_hash_table.h88 static int DefaultValueCmp(const T& a, const T& b) { return GPR_ICMP(a, b); } in DefaultValueCmp()
173 const int value_fns_cmp = GPR_ICMP((void*)value_cmp_a, (void*)value_cmp_b); in Cmp()
/third_party/grpc/src/core/ext/filters/client_channel/
Dclient_channel_factory.cc34 return GPR_ICMP(factory1, factory2); in factory_arg_cmp()
Dconfig_selector.cc37 int ConfigSelectorArgCmp(void* p, void* q) { return GPR_ICMP(p, q); } in ConfigSelectorArgCmp()
Dsubchannel_pool_interface.cc75 int arg_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in arg_cmp()
Dserver_address.h131 return GPR_ICMP(weight_, other_locality_attr->weight_); in Cmp()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb_balancer_addresses.cc45 return GPR_ICMP(address_list1, address_list2); in BalancerAddressesArgCmp()
/third_party/grpc/src/core/lib/gpr/
Duseful.h60 #define GPR_ICMP(a, b) ((a) < (b) ? -1 : ((a) > (b) ? 1 : 0)) macro
/third_party/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc90 c = GPR_ICMP(expected_targets_, other->expected_targets_); in cmp()
95 return GPR_ICMP(is_lb_channel_, other->is_lb_channel_); in cmp()
/third_party/grpc/test/core/iomgr/
Dsocket_utils_test.cc75 return GPR_ICMP(ma->option_value, mb->option_value); in compare_test_mutator()
Dudp_server_test.cc154 return GPR_ICMP(a, b); in test_socket_factory_compare()
/third_party/grpc/test/core/channel/
Dchannel_args_test.cc74 static int fake_pointer_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in fake_pointer_cmp()
/third_party/grpc/src/core/ext/xds/
Dxds_client_stats.h49 if (lhs == nullptr || rhs == nullptr) return GPR_ICMP(lhs, rhs); in operator()
Dxds_certificate_provider.cc382 int XdsCertificateProviderArgCmp(void* p, void* q) { return GPR_ICMP(p, q); } in XdsCertificateProviderArgCmp()
/third_party/grpc/test/core/slice/
Dslice_hash_table_test.cc133 return GPR_ICMP(a.get(), b.get()); in PointerCmp()
/third_party/grpc/test/cpp/common/
Dchannel_arguments_test.cc56 return GPR_ICMP(a, b); in test_mutator_compare()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc333 static int response_generator_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in response_generator_cmp()
/third_party/grpc/src/core/lib/security/context/
Dsecurity_context.cc291 static int auth_context_pointer_cmp(void* a, void* b) { return GPR_ICMP(a, b); } in auth_context_pointer_cmp()

12