Home
last modified time | relevance | path

Searched refs:grpc_slice_str_cmp (Results 1 – 25 of 98) sorted by relevance

1234

/external/grpc-grpc/test/core/slice/
Dslice_string_helpers_test.cc76 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "one")); in test_strsplit()
77 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[1], "two")); in test_strsplit()
78 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[2], "three")); in test_strsplit()
79 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[3], "four")); in test_strsplit()
87 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "one two three four")); in test_strsplit()
95 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "foo")); in test_strsplit()
96 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[1], "")); in test_strsplit()
104 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "")); in test_strsplit()
105 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[1], "foo")); in test_strsplit()
113 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "")); in test_strsplit()
[all …]
Db64_test.cc171 GPR_ASSERT(grpc_slice_str_cmp(decoded, "foobar") == 0); in test_unpadded_decode()
176 GPR_ASSERT(grpc_slice_str_cmp(decoded, "fooba") == 0); in test_unpadded_decode()
181 GPR_ASSERT(grpc_slice_str_cmp(decoded, "foob") == 0); in test_unpadded_decode()
186 GPR_ASSERT(grpc_slice_str_cmp(decoded, "foo") == 0); in test_unpadded_decode()
191 GPR_ASSERT(grpc_slice_str_cmp(decoded, "fo") == 0); in test_unpadded_decode()
196 GPR_ASSERT(grpc_slice_str_cmp(decoded, "f") == 0); in test_unpadded_decode()
/external/grpc-grpc/test/core/http/
Dformat_request_test.cc39 GPR_ASSERT(0 == grpc_slice_str_cmp(slice, in test_format_get_request()
66 GPR_ASSERT(0 == grpc_slice_str_cmp(slice, in test_format_post_request()
94 GPR_ASSERT(0 == grpc_slice_str_cmp(slice, in test_format_post_request_no_body()
125 GPR_ASSERT(0 == grpc_slice_str_cmp( in test_format_post_request_content_type_override()
/external/grpc-grpc/test/core/memory_usage/
Dserver.cc247 if (0 == grpc_slice_str_cmp(s->call_details.method, in main()
252 grpc_slice_str_cmp(s->call_details.method, in main()
257 grpc_slice_str_cmp(s->call_details.method, in main()
261 } else if (0 == grpc_slice_str_cmp(s->call_details.method, in main()
266 } else if (0 == grpc_slice_str_cmp(s->call_details.method, in main()
/external/grpc-grpc/test/core/bad_client/tests/
Dsimple_request.cc107 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in verifier()
108 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in verifier()
Dlarge_metadata.cc113 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in server_verifier_sends_too_much_metadata()
114 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in server_verifier_sends_too_much_metadata()
Dduplicate_header.cc75 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in verifier()
76 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in verifier()
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_parser_test.cc44 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(md), ekey) == 0); in onhdr()
45 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDVALUE(md), evalue) == 0); in onhdr()
/external/grpc-grpc/test/core/end2end/
Ddualstack_socket_test.cc244 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in test_connect()
245 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_connect()
247 grpc_slice_str_cmp(call_details.host, "foo.test.google.fr")); in test_connect()
Dend2end_test_utils.cc48 GPR_ASSERT(0 == grpc_slice_str_cmp(str, pattern)); in validate_host_override_string()
/external/grpc-grpc/test/core/end2end/tests/
Dmax_message_length.cc259 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_max_message_length_on_request()
265 grpc_slice_str_cmp( in test_max_message_length_on_request()
454 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_max_message_length_on_response()
457 grpc_slice_str_cmp( in test_max_message_length_on_response()
Dfilter_call_init_fails.cc172 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "access denied")); in test_server_channel_filter()
261 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "access denied")); in test_client_channel_filter()
351 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "access denied")); in test_client_subchannel_filter()
374 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "access denied")); in test_client_subchannel_filter()
Ddisappearing_server.cc166 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in do_request_and_shutdown_server()
167 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in do_request_and_shutdown_server()
Dserver_finishes_request.cc174 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in simple_request_body()
175 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
Dhigh_initial_seqno.cc180 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in simple_request_body()
181 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
Dkeepalive_timeout.cc199 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "keepalive watchdog timeout")); in test_keepalive_timeout()
200 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_keepalive_timeout()
Ddefault_host.cc194 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in test_invoke_simple_request()
195 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_invoke_simple_request()
Dregistered_call.cc178 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in simple_request_body()
179 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
Dcall_host_override.cc205 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in test_invoke_simple_request()
206 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_invoke_simple_request()
Dmax_connection_age.cc208 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_max_age_forcibly_close()
343 GPR_ASSERT(0 == grpc_slice_str_cmp(details, "xyz")); in test_max_age_gracefully_close()
344 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_max_age_gracefully_close()
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Dgpr_slice.h50 #define gpr_slice_str_cmp grpc_slice_str_cmp
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Dgpr_slice.h50 #define gpr_slice_str_cmp grpc_slice_str_cmp
/external/grpc-grpc/include/grpc/impl/codegen/
Dgpr_slice.h50 #define gpr_slice_str_cmp grpc_slice_str_cmp
/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_oauth2.cc48 if (grpc_slice_str_cmp(md[i].key, key) == 0 && in find_metadata()
49 grpc_slice_str_cmp(md[i].value, value) == 0) { in find_metadata()
/external/grpc-grpc/test/core/transport/
Dmetadata_test.cc79 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(m1), "a") == 0); in test_create_metadata()
80 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDVALUE(m1), "b") == 0); in test_create_metadata()
81 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDVALUE(m3), "c") == 0); in test_create_metadata()

1234