/external/grpc-grpc/src/core/lib/compression/ |
D | compression_internal.cc | 36 if (grpc_slice_eq(str, GRPC_MDSTR_IDENTITY)) in grpc_message_compression_algorithm_from_slice() 38 if (grpc_slice_eq(str, GRPC_MDSTR_DEFLATE)) in grpc_message_compression_algorithm_from_slice() 40 if (grpc_slice_eq(str, GRPC_MDSTR_GZIP)) return GRPC_MESSAGE_COMPRESS_GZIP; in grpc_message_compression_algorithm_from_slice() 46 if (grpc_slice_eq(str, GRPC_MDSTR_IDENTITY)) return GRPC_STREAM_COMPRESS_NONE; in grpc_stream_compression_algorithm_from_slice() 47 if (grpc_slice_eq(str, GRPC_MDSTR_GZIP)) return GRPC_STREAM_COMPRESS_GZIP; in grpc_stream_compression_algorithm_from_slice() 247 if (grpc_slice_eq(value, GRPC_MDSTR_IDENTITY)) { in grpc_message_compression_algorithm_parse() 250 } else if (grpc_slice_eq(value, GRPC_MDSTR_DEFLATE)) { in grpc_message_compression_algorithm_parse() 253 } else if (grpc_slice_eq(value, GRPC_MDSTR_GZIP)) { in grpc_message_compression_algorithm_parse() 266 if (grpc_slice_eq(value, GRPC_MDSTR_IDENTITY)) { in grpc_stream_compression_algorithm_parse() 269 } else if (grpc_slice_eq(value, GRPC_MDSTR_GZIP)) { in grpc_stream_compression_algorithm_parse()
|
D | compression.cc | 45 if (grpc_slice_eq(name, GRPC_MDSTR_IDENTITY)) { in grpc_compression_algorithm_parse() 48 } else if (grpc_slice_eq(name, GRPC_MDSTR_DEFLATE)) { in grpc_compression_algorithm_parse() 51 } else if (grpc_slice_eq(name, GRPC_MDSTR_GZIP)) { in grpc_compression_algorithm_parse() 54 } else if (grpc_slice_eq(name, GRPC_MDSTR_STREAM_SLASH_GZIP)) { in grpc_compression_algorithm_parse() 151 if (grpc_slice_eq(str, GRPC_MDSTR_IDENTITY)) return GRPC_COMPRESS_NONE; in grpc_compression_algorithm_from_slice() 152 if (grpc_slice_eq(str, GRPC_MDSTR_DEFLATE)) return GRPC_COMPRESS_DEFLATE; in grpc_compression_algorithm_from_slice() 153 if (grpc_slice_eq(str, GRPC_MDSTR_GZIP)) return GRPC_COMPRESS_GZIP; in grpc_compression_algorithm_from_slice() 154 if (grpc_slice_eq(str, GRPC_MDSTR_STREAM_SLASH_GZIP)) in grpc_compression_algorithm_from_slice()
|
D | stream_compression.cc | 68 if (grpc_slice_eq(value, GRPC_MDSTR_IDENTITY)) { in grpc_stream_compression_method_parse() 72 } else if (grpc_slice_eq(value, GRPC_MDSTR_GZIP)) { in grpc_stream_compression_method_parse()
|
/external/grpc-grpc/test/core/compression/ |
D | algorithm_test.cc | 51 GPR_ASSERT(grpc_slice_eq(mdstr, grpc_compression_algorithm_slice(parsed))); in test_algorithm_mesh() 62 GPR_ASSERT(grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_GRPC_ENCODING)); in test_algorithm_mesh() 71 grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_CONTENT_ENCODING)); in test_algorithm_mesh() 97 GPR_ASSERT(grpc_slice_eq( in test_algorithm_failure() 100 GPR_ASSERT(grpc_slice_eq( in test_algorithm_failure()
|
/external/grpc-grpc/test/core/transport/ |
D | byte_stream_test.cc | 67 EXPECT_TRUE(grpc_slice_eq(input[i], output)); in TEST() 98 EXPECT_TRUE(grpc_slice_eq(input[0], output)); in TEST() 145 EXPECT_TRUE(grpc_slice_eq(input[i], output)); in TEST() 178 EXPECT_TRUE(grpc_slice_eq(input[0], output)); in TEST() 187 EXPECT_TRUE(grpc_slice_eq(input[i], output)); in TEST() 221 EXPECT_TRUE(grpc_slice_eq(input[0], output)); in TEST() 228 EXPECT_TRUE(grpc_slice_eq(input[i], output)); in TEST() 235 EXPECT_TRUE(grpc_slice_eq(input[1], output)); in TEST()
|
D | metadata_test.cc | 77 GPR_ASSERT(grpc_slice_eq(GRPC_MDKEY(m3), GRPC_MDKEY(m1))); in test_create_metadata() 78 GPR_ASSERT(!grpc_slice_eq(GRPC_MDVALUE(m3), GRPC_MDVALUE(m1))); in test_create_metadata()
|
/external/grpc-grpc/test/core/slice/ |
D | percent_encoding_test.cc | 70 GPR_ASSERT(grpc_slice_eq(raw_slice, encoded2raw_slice)); in test_vector() 71 GPR_ASSERT(grpc_slice_eq(raw_slice, encoded2raw_permissive_slice)); in test_vector() 72 GPR_ASSERT(grpc_slice_eq(encoded_slice, raw2encoded_slice)); in test_vector() 113 grpc_slice_eq(permissive_unencoded_slice, encoded2raw_permissive_slice)); in test_nonconformant_vector()
|
D | percent_encode_fuzzer.cc | 46 GPR_ASSERT(grpc_slice_eq(input, decoded_output)); in test() 47 GPR_ASSERT(grpc_slice_eq(input, permissive_decoded_output)); in test()
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 352 if (!grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDKEY(ent))) continue; in grpc_chttp2_hptbl_find() 354 r.has_value = grpc_slice_eq(GRPC_MDVALUE(md), GRPC_MDVALUE(ent)); in grpc_chttp2_hptbl_find() 363 if (!grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDKEY(ent))) continue; in grpc_chttp2_hptbl_find() 365 r.has_value = grpc_slice_eq(GRPC_MDVALUE(md), GRPC_MDVALUE(ent)); in grpc_chttp2_hptbl_find()
|
D | incoming_metadata.cc | 56 if (grpc_slice_eq(GRPC_MDKEY(l->md), GRPC_MDKEY(elem))) { in grpc_chttp2_incoming_metadata_buffer_replace_or_add()
|
D | hpack_encoder.cc | 230 if (grpc_slice_eq(c->entries_keys[HASH_FRAGMENT_2(key_hash)], in add_key_with_index() 233 } else if (grpc_slice_eq(c->entries_keys[HASH_FRAGMENT_3(key_hash)], in add_key_with_index() 541 if (grpc_slice_eq(c->entries_keys[HASH_FRAGMENT_2(key_hash)], in hpack_enc() 551 if (grpc_slice_eq(c->entries_keys[HASH_FRAGMENT_3(key_hash)], in hpack_enc()
|
/external/grpc-grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 216 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_PATH)) { in RecvInitialMetadataFilter() 219 grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_AUTHORITY)) { in RecvInitialMetadataFilter() 228 } else if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_LB_TOKEN)) { in RecvInitialMetadataFilter() 285 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_LB_COST_BIN)) { in SendTrailingMetadataFilter()
|
/external/grpc-grpc/test/core/transport/chttp2/ |
D | bin_encoder_test.cc | 36 if (!grpc_slice_eq(slice, expected)) { in expect_slice_eq() 73 if (!grpc_slice_eq(expect, got)) { in expect_combined_equiv()
|
D | varint_test.cc | 38 GPR_ASSERT(grpc_slice_eq(expect, slice)); in test_varint()
|
D | bin_decoder_test.cc | 36 if (!grpc_slice_eq(slice, expected)) { in expect_slice_eq()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | metadata.cc | 289 if (grpc_slice_eq(key, md->key) && grpc_slice_eq(value, md->value)) { in grpc_mdelem_create() 519 return grpc_slice_eq(GRPC_MDKEY(a), GRPC_MDKEY(b)) && in grpc_mdelem_eq() 520 grpc_slice_eq(GRPC_MDVALUE(a), GRPC_MDVALUE(b)); in grpc_mdelem_eq()
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | retry.cc | 198 GPR_ASSERT(!grpc_slice_eq(request_metadata_recv.metadata[i].key, in test_retry() 246 if (grpc_slice_eq(request_metadata_recv.metadata[i].key, in test_retry() 249 grpc_slice_eq(request_metadata_recv.metadata[i].value, GRPC_MDSTR_1)); in test_retry()
|
/external/grpc-grpc/src/core/lib/slice/ |
D | slice_intern.cc | 190 grpc_slice_eq(grpc_static_slice_table[ent.idx], slice)) { in grpc_slice_maybe_static_intern() 215 grpc_slice_eq(grpc_static_slice_table[ent.idx], slice)) { in grpc_slice_intern() 228 if (s->hash == hash && grpc_slice_eq(slice, materialize(s))) { in grpc_slice_intern()
|
D | slice_weak_hash_table.h | 60 return grpc_slice_eq(entry.key(), key) ? entry.value() : nullptr; in Get()
|
D | slice.cc | 418 int grpc_slice_eq(grpc_slice a, grpc_slice b) { in grpc_slice_eq() function 441 return grpc_slice_eq(a, b); in grpc_slice_is_equivalent() 475 return grpc_slice_eq(haystack, needle) ? 0 : -1; in grpc_slice_slice()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | server_auth_filter.cc | 89 if (grpc_slice_eq(GRPC_MDKEY(md), consumed_md->key) && in remove_consumed_md() 90 grpc_slice_eq(GRPC_MDVALUE(md), consumed_md->value)) in remove_consumed_md()
|
/external/grpc-grpc/test/core/end2end/ |
D | cq_verifier.cc | 97 if (grpc_slice_eq(md[i].key, key) && grpc_slice_eq(md[i].value, value)) { in has_metadata_slices()
|
/external/grpc-grpc/include/grpc/ |
D | slice.h | 135 GPRAPI int grpc_slice_eq(grpc_slice a, grpc_slice b);
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 786 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_STATUS) && in OnInitialHeader() 790 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in OnInitialHeader() 830 if (grpc_slice_eq(GRPC_MDKEY(md), GRPC_MDSTR_GRPC_TIMEOUT)) { in OnHeaderTimeout()
|
/external/grpc-grpc/src/core/ext/transport/cronet/transport/ |
D | cronet_transport.cc | 743 if (grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_SCHEME) || in convert_metadata_to_cronet_headers() 744 grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_AUTHORITY)) { in convert_metadata_to_cronet_headers() 750 if (grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_METHOD)) { in convert_metadata_to_cronet_headers() 751 if (grpc_slice_eq(GRPC_MDVALUE(mdelem), GRPC_MDSTR_PUT)) { in convert_metadata_to_cronet_headers() 761 if (grpc_slice_eq(GRPC_MDKEY(mdelem), GRPC_MDSTR_PATH)) { in convert_metadata_to_cronet_headers() 793 if (grpc_slice_eq(GRPC_MDKEY(head->md), GRPC_MDSTR_AUTHORITY)) { in header_has_authority()
|