Home
last modified time | relevance | path

Searched refs:grpc_slice_intern (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_metadata.cc54 grpc_slice_unref(grpc_slice_intern(slice)); in BM_SliceIntern()
62 gpr_slice slice = grpc_slice_intern(grpc_slice_from_static_string("abc")); in BM_SliceReIntern()
64 grpc_slice_unref(grpc_slice_intern(slice)); in BM_SliceReIntern()
74 grpc_slice_intern(GRPC_MDSTR_GZIP); in BM_SliceInternStaticMetadata()
84 grpc_slice_intern(slice); in BM_SliceInternEqualToStaticMetadata()
105 gpr_slice k = grpc_slice_intern(grpc_slice_from_static_string("key")); in BM_MetadataFromInternedSlices()
106 gpr_slice v = grpc_slice_intern(grpc_slice_from_static_string("value")); in BM_MetadataFromInternedSlices()
121 gpr_slice k = grpc_slice_intern(grpc_slice_from_static_string("key")); in BM_MetadataFromInternedSlicesAlreadyInIndex()
122 gpr_slice v = grpc_slice_intern(grpc_slice_from_static_string("value")); in BM_MetadataFromInternedSlicesAlreadyInIndex()
138 gpr_slice k = grpc_slice_intern(grpc_slice_from_static_string("key")); in BM_MetadataFromInternedKey()
[all …]
Dbm_chttp2_hpack.cc191 grpc_slice_intern(grpc_slice_from_static_string("abc")), in GetElems()
192 grpc_slice_intern(grpc_slice_from_static_string("def")))}; in GetElems()
203 grpc_slice_intern(grpc_slice_from_static_string("abc-bin")), in GetElems()
204 grpc_slice_intern(bytes))}; in GetElems()
225 grpc_slice_intern(grpc_slice_from_static_string("abc")), in GetElems()
268 grpc_slice_intern(grpc_slice_from_static_string("/foo/bar"))), in GetElems()
270 grpc_slice_intern(grpc_slice_from_static_string( in GetElems()
277 grpc_slice_intern(grpc_slice_from_static_string( in GetElems()
293 grpc_slice_intern(grpc_slice_from_static_string( in GetElems()
296 grpc_slice_intern(grpc_slice_from_static_string( in GetElems()
[all …]
Dbm_chttp2_transport.cc290 grpc_slice_intern(grpc_slice_from_static_string("/foo/bar"))), in GetElems()
292 grpc_slice_intern(grpc_slice_from_static_string( in GetElems()
299 grpc_slice_intern(grpc_slice_from_static_string( in GetElems()
/external/grpc-grpc/test/core/transport/
Dmetadata_test.cc47 grpc_slice out = intern ? grpc_slice_intern(in) : grpc_slice_ref(in); in maybe_intern()
127 grpc_slice_intern(grpc_slice_from_static_string("a")), in test_create_many_persistant_metadata()
128 grpc_slice_intern(grpc_slice_from_static_string(buffer))); in test_create_many_persistant_metadata()
134 grpc_slice_intern(grpc_slice_from_static_string("a")), in test_create_many_persistant_metadata()
135 grpc_slice_intern(grpc_slice_from_static_string(buffer))); in test_create_many_persistant_metadata()
234 strs[i] = grpc_slice_intern(grpc_slice_from_static_string(buffer)); in test_things_stick_around()
257 test = grpc_slice_intern(grpc_slice_from_static_string(buffer)); in test_things_stick_around()
282 grpc_slice_intern(grpc_slice_from_static_string("abc")), in test_user_data_works()
283 grpc_slice_intern(grpc_slice_from_static_string("123"))); in test_user_data_works()
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_encoder_test.cc77 value_slice = grpc_slice_intern(value_slice); in verify()
80 grpc_slice_intern(grpc_slice_from_static_string(key)), value_slice); in verify()
203 grpc_slice_intern(grpc_slice_from_static_string(key)), in verify_table_size_change_match_elem_size()
204 grpc_slice_intern(grpc_slice_from_static_string(value))); in verify_table_size_change_match_elem_size()
/external/grpc-grpc/test/core/slice/
Dslice_test.cc253 grpc_slice interned1 = grpc_slice_intern(src1); in test_slice_interning()
254 grpc_slice interned2 = grpc_slice_intern(src2); in test_slice_interning()
275 grpc_slice_intern(grpc_static_slice_table[i]))); in test_static_slice_interning()
288 grpc_slice_intern(copy).refcount); in test_static_slice_copy_interning()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc185 grpc_slice_intern(grpc_slice_from_static_string(static_table[i].key)), in grpc_chttp2_hptbl_init()
186 grpc_slice_intern( in grpc_chttp2_hptbl_init()
Dhpack_parser.cc664 s = grpc_slice_intern(str->data.referenced); in take_string()
672 s = grpc_slice_intern(grpc_slice_from_static_buffer( in take_string()
/external/grpc-grpc/src/core/ext/filters/http/
Dclient_authority_filter.cc106 grpc_slice_intern(grpc_slice_from_static_string(default_authority_str)); in init_channel_elem()
/external/grpc-grpc/include/grpc/
Dslice.h76 GPRAPI grpc_slice grpc_slice_intern(grpc_slice slice);
/external/grpc-grpc/
Dgrpc.def157 grpc_slice_intern
/external/grpc-grpc/src/core/lib/surface/
Dchannel.cc373 grpc_slice_intern(grpc_slice_from_static_string(method))); in grpc_channel_register_call()
377 grpc_slice_intern(grpc_slice_from_static_string(host))) in grpc_channel_register_call()
Dserver.cc1142 host = grpc_slice_intern(grpc_slice_from_static_string(rm->host)); in grpc_server_setup_transport()
1147 method = grpc_slice_intern(grpc_slice_from_static_string(rm->method)); in grpc_server_setup_transport()
/external/grpc-grpc/src/core/ext/transport/inproc/
Dinproc_transport.cc216 grpc_mdelem_from_slices(grpc_slice_intern(GRPC_MDKEY(elem->md)), in fill_in_metadata()
217 grpc_slice_intern(GRPC_MDVALUE(elem->md))); in fill_in_metadata()
1181 g_fake_path_key = grpc_slice_intern(key_tmp); in grpc_inproc_transport_init()
1187 g_fake_auth_key = grpc_slice_intern(auth_tmp); in grpc_inproc_transport_init()
/external/grpc-grpc/test/core/surface/
Dpublic_headers_must_be_c89.c216 printf("%lx", (unsigned long) grpc_slice_intern); in main()
/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc204 grpc_slice grpc_slice_intern(grpc_slice slice) { in grpc_slice_intern() function
/external/grpc-grpc/src/core/lib/transport/
Dmetadata_batch.cc59 grpc_slice key_interned = grpc_slice_intern(GRPC_MDKEY(l->md)); in assert_valid_callouts()
/external/grpc-grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc406 grpc_slice key = grpc_slice_intern( in convert_cronet_array_to_metadata()
411 value = grpc_slice_intern(grpc_chttp2_base64_decode_with_length( in convert_cronet_array_to_metadata()
414 value = grpc_slice_intern( in convert_cronet_array_to_metadata()
/external/grpc-grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc532 result = grpc_slice_intern(grpc_slice_from_static_string(tmp)); in user_agent_from_args()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h511 #define grpc_slice_intern grpc_slice_intern_import macro
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc92 grpc_slice r = intern ? grpc_slice_intern(s) : grpc_slice_ref(s); in maybe_intern()