/third_party/grpc/test/core/transport/ |
D | metadata_test.cc | 70 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), in test_create_metadata() 71 maybe_intern(grpc_slice_from_static_string("b"), intern_values)); in test_create_metadata() 73 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), in test_create_metadata() 74 maybe_intern(grpc_slice_from_static_string("b"), intern_values)); in test_create_metadata() 76 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), in test_create_metadata() 77 maybe_intern(grpc_slice_from_static_string("c"), intern_values)); in test_create_metadata() 108 maybe_intern(grpc_slice_from_static_string("a"), intern_keys), in test_create_many_ephemeral_metadata() 130 grpc_slice_intern(grpc_slice_from_static_string("a")), in test_create_many_persistant_metadata() 131 grpc_slice_intern(grpc_slice_from_static_string(buffer))); in test_create_many_persistant_metadata() 137 grpc_slice_intern(grpc_slice_from_static_string("a")), in test_create_many_persistant_metadata() [all …]
|
D | byte_stream_test.cc | 50 grpc_slice_from_static_string("foo"), in TEST() 51 grpc_slice_from_static_string("bar"), in TEST() 82 grpc_slice_from_static_string("foo"), in TEST() 83 grpc_slice_from_static_string("bar"), in TEST() 126 grpc_slice_from_static_string("foo"), in TEST() 127 grpc_slice_from_static_string("bar"), in TEST() 161 grpc_slice_from_static_string("foo"), in TEST() 162 grpc_slice_from_static_string("bar"), in TEST() 203 grpc_slice_from_static_string("foo"), in TEST() 204 grpc_slice_from_static_string("bar"), in TEST()
|
D | status_metadata_test.cc | 44 GRPC_MDSTR_GRPC_STATUS, grpc_slice_from_static_string("10")); in TEST() 51 GRPC_MDSTR_GRPC_STATUS, grpc_slice_from_static_string("NaN")); in TEST()
|
/third_party/grpc/test/core/end2end/tests/ |
D | trailing_metadata.cc | 99 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), in test_request_response_with_metadata_and_payload() 100 grpc_slice_from_static_string("val1"), in test_request_response_with_metadata_and_payload() 103 {grpc_slice_from_static_string("key2"), in test_request_response_with_metadata_and_payload() 104 grpc_slice_from_static_string("val2"), in test_request_response_with_metadata_and_payload() 107 grpc_metadata meta_s[2] = {{grpc_slice_from_static_string("key3"), in test_request_response_with_metadata_and_payload() 108 grpc_slice_from_static_string("val3"), in test_request_response_with_metadata_and_payload() 111 {grpc_slice_from_static_string("key4"), in test_request_response_with_metadata_and_payload() 112 grpc_slice_from_static_string("val4"), in test_request_response_with_metadata_and_payload() 115 grpc_metadata meta_t[2] = {{grpc_slice_from_static_string("key5"), in test_request_response_with_metadata_and_payload() 116 grpc_slice_from_static_string("val5"), in test_request_response_with_metadata_and_payload() [all …]
|
D | binary_metadata.cc | 100 {grpc_slice_from_static_string("key1-bin"), in test_request_response_with_metadata_and_payload() 101 grpc_slice_from_static_string( in test_request_response_with_metadata_and_payload() 105 {grpc_slice_from_static_string("key2-bin"), in test_request_response_with_metadata_and_payload() 106 grpc_slice_from_static_string( in test_request_response_with_metadata_and_payload() 111 {grpc_slice_from_static_string("key3-bin"), in test_request_response_with_metadata_and_payload() 112 grpc_slice_from_static_string( in test_request_response_with_metadata_and_payload() 116 {grpc_slice_from_static_string("key4-bin"), in test_request_response_with_metadata_and_payload() 117 grpc_slice_from_static_string( in test_request_response_with_metadata_and_payload() 140 grpc_slice_from_static_string("/foo"), nullptr, in test_request_response_with_metadata_and_payload() 229 grpc_slice status_string = grpc_slice_from_static_string( in test_request_response_with_metadata_and_payload()
|
D | simple_metadata.cc | 99 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), in test_request_response_with_metadata_and_payload() 100 grpc_slice_from_static_string("val1"), in test_request_response_with_metadata_and_payload() 103 {grpc_slice_from_static_string("key2"), in test_request_response_with_metadata_and_payload() 104 grpc_slice_from_static_string("val2"), in test_request_response_with_metadata_and_payload() 107 grpc_metadata meta_s[2] = {{grpc_slice_from_static_string("key3"), in test_request_response_with_metadata_and_payload() 108 grpc_slice_from_static_string("val3"), in test_request_response_with_metadata_and_payload() 111 {grpc_slice_from_static_string("key4"), in test_request_response_with_metadata_and_payload() 112 grpc_slice_from_static_string("val4"), in test_request_response_with_metadata_and_payload() 134 grpc_slice_from_static_string("/foo"), nullptr, in test_request_response_with_metadata_and_payload() 223 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_request_response_with_metadata_and_payload()
|
D | simple_cacheable_request.cc | 101 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), in test_cacheable_request_response_with_metadata_and_payload() 102 grpc_slice_from_static_string("val1"), in test_cacheable_request_response_with_metadata_and_payload() 105 {grpc_slice_from_static_string("key2"), in test_cacheable_request_response_with_metadata_and_payload() 106 grpc_slice_from_static_string("val2"), in test_cacheable_request_response_with_metadata_and_payload() 109 grpc_metadata meta_s[2] = {{grpc_slice_from_static_string("key3"), in test_cacheable_request_response_with_metadata_and_payload() 110 grpc_slice_from_static_string("val3"), in test_cacheable_request_response_with_metadata_and_payload() 113 {grpc_slice_from_static_string("key4"), in test_cacheable_request_response_with_metadata_and_payload() 114 grpc_slice_from_static_string("val4"), in test_cacheable_request_response_with_metadata_and_payload() 136 grpc_slice_from_static_string("/foo"), nullptr, in test_cacheable_request_response_with_metadata_and_payload() 225 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_cacheable_request_response_with_metadata_and_payload()
|
D | authority_not_supported.cc | 93 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), in test_with_authority_header() 94 grpc_slice_from_static_string("val1"), in test_with_authority_header() 97 {grpc_slice_from_static_string("key2"), in test_with_authority_header() 98 grpc_slice_from_static_string("val2"), in test_with_authority_header() 113 grpc_slice host = grpc_slice_from_static_string("foo.test.google.fr"); in test_with_authority_header() 116 grpc_slice_from_static_string("/foo"), &host, in test_with_authority_header()
|
D | hpack_size.cc | 252 extra_metadata[0].key = grpc_slice_from_static_string("hobbit-first-name"); in simple_request_body() 253 extra_metadata[0].value = grpc_slice_from_static_string( in simple_request_body() 255 extra_metadata[1].key = grpc_slice_from_static_string("hobbit-second-name"); in simple_request_body() 256 extra_metadata[1].value = grpc_slice_from_static_string( in simple_request_body() 258 extra_metadata[2].key = grpc_slice_from_static_string("dragon"); in simple_request_body() 260 grpc_slice_from_static_string(dragons[index % GPR_ARRAY_SIZE(dragons)]); in simple_request_body() 264 grpc_slice_from_static_string("/foo"), nullptr, in simple_request_body() 318 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in simple_request_body()
|
D | load_reporting_hook.cc | 117 grpc_slice request_payload_slice = grpc_slice_from_static_string(request_msg); in request_response_with_payload() 119 grpc_slice_from_static_string(response_msg); in request_response_with_payload() 142 grpc_slice_from_static_string(method_name), in request_response_with_payload() 233 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in request_response_with_payload() 289 initial_lr_metadata.value = grpc_slice_from_static_string("client-token"); in test_load_reporting_hook() 294 trailing_lr_metadata.value = grpc_slice_from_static_string("server-token"); in test_load_reporting_hook()
|
D | retry_streaming_after_commit.cc | 107 grpc_slice request_payload_slice = grpc_slice_from_static_string("foo"); in test_retry_streaming_after_commit() 108 grpc_slice request2_payload_slice = grpc_slice_from_static_string("bar"); in test_retry_streaming_after_commit() 109 grpc_slice response_payload_slice = grpc_slice_from_static_string("baz"); in test_retry_streaming_after_commit() 110 grpc_slice response2_payload_slice = grpc_slice_from_static_string("quux"); in test_retry_streaming_after_commit() 155 grpc_slice_from_static_string("/service/method"), in test_retry_streaming_after_commit() 168 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_retry_streaming_after_commit()
|
D | retry_server_pushback_disabled.cc | 110 grpc_slice request_payload_slice = grpc_slice_from_static_string("foo"); in test_retry_server_pushback_disabled() 111 grpc_slice response_payload_slice = grpc_slice_from_static_string("bar"); in test_retry_server_pushback_disabled() 127 pushback_md.value = grpc_slice_from_static_string("-1"); in test_retry_server_pushback_disabled() 155 grpc_slice_from_static_string("/service/method"), in test_retry_server_pushback_disabled() 168 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_retry_server_pushback_disabled()
|
D | retry_server_pushback_delay.cc | 109 grpc_slice request_payload_slice = grpc_slice_from_static_string("foo"); in test_retry_server_pushback_delay() 110 grpc_slice response_payload_slice = grpc_slice_from_static_string("bar"); in test_retry_server_pushback_delay() 126 pushback_md.value = grpc_slice_from_static_string("2000"); in test_retry_server_pushback_delay() 154 grpc_slice_from_static_string("/service/method"), in test_retry_server_pushback_delay() 167 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_retry_server_pushback_delay()
|
D | retry_exceeds_buffer_size_in_initial_batch.cc | 112 grpc_slice request_payload_slice = grpc_slice_from_static_string("foo"); in test_retry_exceeds_buffer_size_in_initial_batch() 113 grpc_slice response_payload_slice = grpc_slice_from_static_string("bar"); in test_retry_exceeds_buffer_size_in_initial_batch() 156 grpc_slice_from_static_string("/service/method"), in test_retry_exceeds_buffer_size_in_initial_batch() 169 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_retry_exceeds_buffer_size_in_initial_batch()
|
D | retry_disabled.cc | 110 grpc_slice request_payload_slice = grpc_slice_from_static_string("foo"); in test_retry_disabled() 111 grpc_slice response_payload_slice = grpc_slice_from_static_string("bar"); in test_retry_disabled() 153 grpc_slice_from_static_string("/service/method"), in test_retry_disabled() 166 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_retry_disabled()
|
/third_party/grpc/test/core/iomgr/ |
D | error_test.cc | 69 grpc_slice_from_static_string("longer message")); in test_set_get_str() 81 grpc_slice_from_static_string("message")); in test_copy_and_unref() 91 error1, GRPC_ERROR_STR_SYSCALL, grpc_slice_from_static_string("syscall")); in test_copy_and_unref() 110 GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_static_string("message")); in test_create_referencing() 123 GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_static_string("message")); in test_create_referencing_many() 129 GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_static_string("message 3")); in test_create_referencing_many() 147 grpc_slice_from_static_string("message")); in print_error_string() 158 grpc_slice_from_static_string("message for child 1")); in print_error_string_reference() 163 grpc_slice_from_static_string("message for child 2")); in print_error_string_reference() 201 grpc_slice_from_static_string("message for child 2")); in test_overflow()
|
/third_party/grpc/test/core/channel/ |
D | channel_trace_test.cc | 86 grpc_slice_from_static_string("simple trace")); in AddSimpleTrace() 134 grpc_slice_from_static_string("trace three")); in TEST() 136 grpc_slice_from_static_string("trace four error")); in TEST() 162 grpc_slice_from_static_string("subchannel one created"), sc1); in TEST() 180 grpc_slice_from_static_string("LB channel two created"), sc2); in TEST() 183 grpc_slice_from_static_string("subchannel one inactive"), sc1); in TEST() 210 grpc_slice_from_static_string("subchannel one created"), sc1); in TEST() 220 grpc_slice_from_static_string("connection one created"), conn1); in TEST() 232 grpc_slice_from_static_string("subchannel two created"), sc2); in TEST() 237 grpc_slice_from_static_string("subchannel one inactive"), sc1); in TEST() [all …]
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_hpack.cc | 191 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() 225 grpc_slice_intern(grpc_slice_from_static_string("abc")), in GetElems() 226 grpc_slice_from_static_string("def"))}; in GetElems() 234 return {grpc_mdelem_from_slices(grpc_slice_from_static_string("abc"), in GetElems() 235 grpc_slice_from_static_string("def"))}; in GetElems() 244 return {grpc_mdelem_from_slices(grpc_slice_from_static_string("abc-bin"), 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() [all …]
|
/third_party/grpc/test/core/transport/chttp2/ |
D | hpack_table_test.cc | 172 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("abc"), in test_find() 173 grpc_slice_from_static_string("xyz")); in test_find() 176 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("abc"), in test_find() 177 grpc_slice_from_static_string("123")); in test_find() 180 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("x"), in test_find() 181 grpc_slice_from_static_string("1")); in test_find() 232 elem = grpc_mdelem_from_slices(grpc_slice_from_static_string("test"), in test_find()
|
D | hpack_encoder_test.cc | 175 grpc_slice value_slice = grpc_slice_from_static_string(value); in verify() 180 grpc_slice_intern(grpc_slice_from_static_string(key)), value_slice); in verify() 259 grpc_slice_intern(grpc_slice_from_static_string(key)), in verify_continuation_headers() 260 grpc_slice_intern(grpc_slice_from_static_string(value))); in verify_continuation_headers() 346 grpc_slice_intern(grpc_slice_from_static_string(key)), in verify_table_size_change_match_elem_size() 347 grpc_slice_intern(grpc_slice_from_static_string(value))); in verify_table_size_change_match_elem_size()
|
/third_party/grpc/test/core/compression/ |
D | stream_compression_test.cc | 70 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress() 103 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress_with_output_size_constraint() 153 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_simple_compress_decompress_with_large_data() 184 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_drop_context() 193 slice = grpc_slice_from_static_string(test_str2); in test_stream_compression_drop_context() 253 grpc_slice slice = grpc_slice_from_static_string(test_str); in test_stream_compression_sync_flush() 272 slice = grpc_slice_from_static_string(test_str2); in test_stream_compression_sync_flush()
|
/third_party/grpc/src/objective-c/tests/CronetTests/ |
D | CronetUnitTests.mm | 123 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 124 grpc_slice_from_static_string("val1"), 127 {grpc_slice_from_static_string("key2"), 128 grpc_slice_from_static_string("val2"), 151 grpc_slice_from_static_string("/foo"), NULL, deadline, NULL); 253 grpc_metadata meta_c[2] = {{grpc_slice_from_static_string("key1"), 254 grpc_slice_from_static_string("val1"), 257 {grpc_slice_from_static_string("key2"), 258 grpc_slice_from_static_string("val2"), 281 grpc_slice_from_static_string("/foo"), NULL, deadline, NULL);
|
/third_party/grpc/test/core/end2end/ |
D | invalid_call_argument_test.cc | 72 grpc_slice host = grpc_slice_from_static_string("nonexistant"); in prepare_test() 75 grpc_slice_from_static_string("/Foo"), &host, g_state.deadline, in prepare_test() 87 grpc_slice host = grpc_slice_from_static_string("bar"); in prepare_test() 90 grpc_slice_from_static_string("/Foo"), &host, g_state.deadline, in prepare_test() 289 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_send_server_status_from_client() 480 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_send_status_from_server_with_invalid_flags() 503 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_too_many_trailing_metadata() 525 grpc_slice status_details = grpc_slice_from_static_string("xyz"); in test_send_server_status_twice() 591 metadata.key = grpc_slice_from_static_string(":start_with_colon"); in test_invalid_initial_metadata_reserved_key() 592 metadata.value = grpc_slice_from_static_string("value"); in test_invalid_initial_metadata_reserved_key()
|
/third_party/grpc/test/core/fling/ |
D | client.cc | 79 grpc_slice host = grpc_slice_from_static_string("localhost"); in step_ping_pong_request() 82 grpc_slice_from_static_string("/Reflector/reflectUnary"), &host, in step_ping_pong_request() 97 grpc_slice host = grpc_slice_from_static_string("localhost"); in init_ping_pong_stream() 100 grpc_slice_from_static_string("/Reflector/reflectStream"), &host, in init_ping_pong_stream()
|
/third_party/grpc/src/core/lib/security/credentials/iam/ |
D | iam_credentials.cc | 56 grpc_slice_from_static_string(GRPC_IAM_AUTHORIZATION_TOKEN_METADATA_KEY), in grpc_google_iam_credentials() 61 grpc_slice_from_static_string(GRPC_IAM_AUTHORITY_SELECTOR_METADATA_KEY), in grpc_google_iam_credentials()
|