/external/grpc-grpc/src/core/lib/security/transport/ |
tsi_error.cc | 27 grpc_slice_from_static_string(tsi_result_to_string(result))),
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
bm_metadata.cc | 35 benchmark::DoNotOptimize(grpc_slice_from_static_string("abc")); 52 gpr_slice slice = grpc_slice_from_static_string("abc"); 62 gpr_slice slice = grpc_slice_intern(grpc_slice_from_static_string("abc")); 82 gpr_slice slice = grpc_slice_from_static_string("gzip"); 92 gpr_slice k = grpc_slice_from_static_string("key"); 93 gpr_slice v = grpc_slice_from_static_string("value"); 105 gpr_slice k = grpc_slice_intern(grpc_slice_from_static_string("key")); 106 gpr_slice v = grpc_slice_intern(grpc_slice_from_static_string("value")); 121 gpr_slice k = grpc_slice_intern(grpc_slice_from_static_string("key")); 122 gpr_slice v = grpc_slice_intern(grpc_slice_from_static_string("value")) [all...] |
bm_chttp2_hpack.cc | 191 grpc_slice_intern(grpc_slice_from_static_string("abc")), 192 grpc_slice_intern(grpc_slice_from_static_string("def")))}; 203 grpc_slice_intern(grpc_slice_from_static_string("abc-bin")), 225 grpc_slice_intern(grpc_slice_from_static_string("abc")), 226 grpc_slice_from_static_string("def"))}; 234 return {grpc_mdelem_from_slices(grpc_slice_from_static_string("abc"), 235 grpc_slice_from_static_string("def"))}; 244 return {grpc_mdelem_from_slices(grpc_slice_from_static_string("abc-bin"), 268 grpc_slice_intern(grpc_slice_from_static_string("/foo/bar"))), 270 grpc_slice_intern(grpc_slice_from_static_string( [all...] |
/external/grpc-grpc/test/core/transport/ |
metadata_test.cc | 67 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), 68 maybe_intern(grpc_slice_from_static_string("b"), intern_values)); 70 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), 71 maybe_intern(grpc_slice_from_static_string("b"), intern_values)); 73 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), 74 maybe_intern(grpc_slice_from_static_string("c"), intern_values)); 105 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), 127 grpc_slice_intern(grpc_slice_from_static_string("a")), 128 grpc_slice_intern(grpc_slice_from_static_string(buffer))); 134 grpc_slice_intern(grpc_slice_from_static_string("a")) [all...] |
status_metadata_test.cc | 44 GRPC_MDSTR_GRPC_STATUS, grpc_slice_from_static_string("10")); 51 GRPC_MDSTR_GRPC_STATUS, grpc_slice_from_static_string("NaN"));
|
byte_stream_test.cc | 48 grpc_slice_from_static_string("foo"), 49 grpc_slice_from_static_string("bar"), 80 grpc_slice_from_static_string("foo"), 81 grpc_slice_from_static_string("bar"), 124 grpc_slice_from_static_string("foo"), 125 grpc_slice_from_static_string("bar"), 159 grpc_slice_from_static_string("foo"), 160 grpc_slice_from_static_string("bar"), 201 grpc_slice_from_static_string("foo"), 202 grpc_slice_from_static_string("bar") [all...] |
/external/grpc-grpc/test/core/end2end/tests/ |
trailing_metadata.cc | 99 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 100 grpc_slice_from_static_string("val1"), 103 {grpc_slice_from_static_string("key2"), 104 grpc_slice_from_static_string("val2"), 107 grpc_metadata meta_s[2] = {{grpc_slice_from_static_string("key3"), 108 grpc_slice_from_static_string("val3"), 111 {grpc_slice_from_static_string("key4"), 112 grpc_slice_from_static_string("val4"), 115 grpc_metadata meta_t[2] = {{grpc_slice_from_static_string("key5"), 116 grpc_slice_from_static_string("val5") [all...] |
binary_metadata.cc | 100 {grpc_slice_from_static_string("key1-bin"), 101 grpc_slice_from_static_string( 105 {grpc_slice_from_static_string("key2-bin"), 106 grpc_slice_from_static_string( 111 {grpc_slice_from_static_string("key3-bin"), 112 grpc_slice_from_static_string( 116 {grpc_slice_from_static_string("key4-bin"), 117 grpc_slice_from_static_string( 140 grpc_slice_from_static_string("/foo"), nullptr, 229 grpc_slice status_string = grpc_slice_from_static_string( [all...] |
simple_cacheable_request.cc | 101 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 102 grpc_slice_from_static_string("val1"), 105 {grpc_slice_from_static_string("key2"), 106 grpc_slice_from_static_string("val2"), 109 grpc_metadata meta_s[2] = {{grpc_slice_from_static_string("key3"), 110 grpc_slice_from_static_string("val3"), 113 {grpc_slice_from_static_string("key4"), 114 grpc_slice_from_static_string("val4"), 136 grpc_slice_from_static_string("/foo"), nullptr, 225 grpc_slice status_details = grpc_slice_from_static_string("xyz") [all...] |
simple_metadata.cc | 99 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 100 grpc_slice_from_static_string("val1"), 103 {grpc_slice_from_static_string("key2"), 104 grpc_slice_from_static_string("val2"), 107 grpc_metadata meta_s[2] = {{grpc_slice_from_static_string("key3"), 108 grpc_slice_from_static_string("val3"), 111 {grpc_slice_from_static_string("key4"), 112 grpc_slice_from_static_string("val4"), 134 grpc_slice_from_static_string("/foo"), nullptr, 223 grpc_slice status_details = grpc_slice_from_static_string("xyz") [all...] |
hpack_size.cc | 249 extra_metadata[0].key = grpc_slice_from_static_string("hobbit-first-name"); 250 extra_metadata[0].value = grpc_slice_from_static_string( 252 extra_metadata[1].key = grpc_slice_from_static_string("hobbit-second-name"); 253 extra_metadata[1].value = grpc_slice_from_static_string( 255 extra_metadata[2].key = grpc_slice_from_static_string("dragon"); 257 grpc_slice_from_static_string(dragons[index % GPR_ARRAY_SIZE(dragons)]); 261 grpc_slice_from_static_string("/foo"), nullptr, 315 grpc_slice status_details = grpc_slice_from_static_string("xyz");
|
authority_not_supported.cc | 93 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 94 grpc_slice_from_static_string("val1"), 97 {grpc_slice_from_static_string("key2"), 98 grpc_slice_from_static_string("val2"), 113 grpc_slice host = grpc_slice_from_static_string("foo.test.google.fr"); 116 grpc_slice_from_static_string("/foo"), &host,
|
load_reporting_hook.cc | 117 grpc_slice request_payload_slice = grpc_slice_from_static_string(request_msg); 119 grpc_slice_from_static_string(response_msg); 142 grpc_slice_from_static_string(method_name), 233 grpc_slice status_details = grpc_slice_from_static_string("xyz"); 289 initial_lr_metadata.value = grpc_slice_from_static_string("client-token"); 294 trailing_lr_metadata.value = grpc_slice_from_static_string("server-token");
|
/external/grpc-grpc/test/core/iomgr/ |
error_test.cc | 69 grpc_slice_from_static_string("longer message")); 81 grpc_slice_from_static_string("message")); 91 error1, GRPC_ERROR_STR_SYSCALL, grpc_slice_from_static_string("syscall")); 110 GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_static_string("message")); 123 GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_static_string("message")); 129 GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_static_string("message 3")); 147 grpc_slice_from_static_string("message")); 158 grpc_slice_from_static_string("message for child 1")); 163 grpc_slice_from_static_string("message for child 2")); 201 grpc_slice_from_static_string("message for child 2")) [all...] |
/external/grpc-grpc/test/core/end2end/ |
end2end_test_utils.cc | 39 ret = grpc_slice_from_static_string(r);
|
connection_refused_test.cc | 85 grpc_slice host = grpc_slice_from_static_string("nonexistant"); 89 grpc_slice_from_static_string("/service/method"),
|
/external/grpc-grpc/test/core/channel/ |
channel_trace_test.cc | 93 grpc_slice_from_static_string("simple trace")); 145 grpc_slice_from_static_string("trace three")); 147 grpc_slice_from_static_string("trace four error")); 173 grpc_slice_from_static_string("subchannel one created"), sc1); 191 grpc_slice_from_static_string("LB channel two created"), sc2); 194 grpc_slice_from_static_string("subchannel one inactive"), sc1); 221 grpc_slice_from_static_string("subchannel one created"), sc1); 231 grpc_slice_from_static_string("connection one created"), conn1); 243 grpc_slice_from_static_string("subchannel two created"), sc2); 248 grpc_slice_from_static_string("subchannel one inactive"), sc1) [all...] |
/external/grpc-grpc/test/core/memory_usage/ |
client.cc | 75 grpc_slice hostname = grpc_slice_from_static_string("localhost"); 78 grpc_slice_from_static_string("/Reflector/reflectUnary"), &hostname, 142 grpc_slice hostname = grpc_slice_from_static_string("localhost"); 226 0, grpc_slice_from_static_string("Reflector/GetBeforeSvrCreation")); 228 0, grpc_slice_from_static_string("Reflector/GetAfterSvrCreation")); 233 0, grpc_slice_from_static_string("Reflector/SimpleSnapshot")); 242 0, grpc_slice_from_static_string("Reflector/SimpleSnapshot")); 256 0, grpc_slice_from_static_string("Reflector/DestroyCalls")); 273 0, grpc_slice_from_static_string("Reflector/SimpleSnapshot"));
|
/external/grpc-grpc/test/core/security/ |
ssl_server_fuzzer.cc | 73 ca_slice = grpc_slice_from_static_string(test_root_cert); 74 cert_slice = grpc_slice_from_static_string(test_server1_cert); 75 key_slice = grpc_slice_from_static_string(test_server1_key);
|
/external/grpc-grpc/include/grpc/impl/codegen/ |
gpr_slice.h | 44 #define gpr_slice_from_static_string grpc_slice_from_static_string
|
/external/grpc-grpc/src/core/lib/security/credentials/iam/ |
iam_credentials.cc | 75 grpc_slice_from_static_string(GRPC_IAM_AUTHORIZATION_TOKEN_METADATA_KEY), 80 grpc_slice_from_static_string(GRPC_IAM_AUTHORITY_SELECTOR_METADATA_KEY),
|
/external/grpc-grpc/test/core/compression/ |
algorithm_test.cc | 48 grpc_slice_from_static_string(name), &parsed)); 94 mdstr = grpc_slice_from_static_string("this-is-an-invalid-algorithm");
|
stream_compression_test.cc | 69 grpc_slice slice = grpc_slice_from_static_string(test_str); 102 grpc_slice slice = grpc_slice_from_static_string(test_str); 152 grpc_slice slice = grpc_slice_from_static_string(test_str); 183 grpc_slice slice = grpc_slice_from_static_string(test_str); 192 slice = grpc_slice_from_static_string(test_str2); 252 grpc_slice slice = grpc_slice_from_static_string(test_str); 271 slice = grpc_slice_from_static_string(test_str2);
|
/external/grpc-grpc/test/core/transport/chttp2/ |
hpack_table_test.cc | 176 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("abc"), 177 grpc_slice_from_static_string("xyz")); 180 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("abc"), 181 grpc_slice_from_static_string("123")); 184 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("x"), 185 grpc_slice_from_static_string("1")); 236 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("test"),
|
/external/grpc-grpc/src/objective-c/tests/CronetUnitTests/ |
CronetUnitTests.m | 140 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 141 grpc_slice_from_static_string("val1"), 144 {grpc_slice_from_static_string("key2"), 145 grpc_slice_from_static_string("val2"), 171 grpc_slice_from_static_string("/foo"), NULL, deadline, NULL); 274 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 275 grpc_slice_from_static_string("val1"), 278 {grpc_slice_from_static_string("key2"), 279 grpc_slice_from_static_string("val2"), 303 grpc_slice_from_static_string("/foo"), NULL, deadline, NULL) [all...] |