Home
last modified time | relevance | path

Searched refs:grpc_slice_from_copied_string (Results 1 – 25 of 131) sorted by relevance

123456

/external/grpc-grpc/test/core/slice/
Dslice_string_helpers_test.cc54 expect_slice_dump(grpc_slice_from_copied_string(text), GPR_DUMP_ASCII, text); in test_dump_slice()
55 expect_slice_dump(grpc_slice_from_copied_string(long_text), GPR_DUMP_ASCII, in test_dump_slice()
73 str = grpc_slice_from_copied_string("one, two, three, four"); in test_strsplit()
84 str = grpc_slice_from_copied_string("one two three four"); in test_strsplit()
92 str = grpc_slice_from_copied_string("foo,"); in test_strsplit()
101 str = grpc_slice_from_copied_string(",foo"); in test_strsplit()
110 str = grpc_slice_from_copied_string(","); in test_strsplit()
119 str = grpc_slice_from_copied_string(""); in test_strsplit()
140 str = grpc_slice_from_copied_string("one ,two, three , four"); in test_strsplit_nospace()
151 str = grpc_slice_from_copied_string("one two three four "); in test_strsplit_nospace()
[all …]
Dslice_buffer_test.cc26 grpc_slice aaa = grpc_slice_from_copied_string("aaa"); in test_slice_buffer_add()
27 grpc_slice bb = grpc_slice_from_copied_string("bb"); in test_slice_buffer_add()
68 slices[0] = grpc_slice_from_copied_string("aaa"); in test_slice_buffer_move_first()
69 slices[1] = grpc_slice_from_copied_string("bbbb"); in test_slice_buffer_move_first()
70 slices[2] = grpc_slice_from_copied_string("ccc"); in test_slice_buffer_move_first()
Dslice_test.cc239 slice = grpc_slice_from_copied_string(text); in test_slice_from_copied_string_works()
250 grpc_slice src1 = grpc_slice_from_copied_string("hello123456789123456789"); in test_slice_interning()
251 grpc_slice src2 = grpc_slice_from_copied_string("hello123456789123456789"); in test_slice_interning()
/external/grpc-grpc/test/core/transport/chttp2/
Dbin_decoder_test.cc50 grpc_slice ss = grpc_slice_from_copied_string(s); in base64_encode()
57 grpc_slice ss = grpc_slice_from_copied_string(s); in base64_decode()
65 grpc_slice ss = grpc_slice_from_copied_string(s); in base64_decode_with_length()
72 grpc_slice ss = grpc_slice_from_copied_string(s); in base64_infer_length()
Dhpack_table_test.cc134 elem = grpc_mdelem_from_slices(grpc_slice_from_copied_string(key), in test_many_additions()
135 grpc_slice_from_copied_string(value)); in test_many_additions()
158 grpc_slice_from_copied_string(key), grpc_slice_from_copied_string(value)); in find_simple()
237 grpc_slice_from_copied_string(buffer)); in test_find()
Dbin_encoder_test.cc50 grpc_slice ss = grpc_slice_from_copied_string(s); in B64()
57 grpc_slice ss = grpc_slice_from_copied_string(s); in HUFF()
/external/grpc-grpc/test/cpp/util/
Dbyte_buffer_test.cc90 grpc_slice hello = grpc_slice_from_copied_string(kContent1); in TEST_F()
91 grpc_slice world = grpc_slice_from_copied_string(kContent2); in TEST_F()
103 grpc_slice hello = grpc_slice_from_copied_string(kContent1); in TEST_F()
104 grpc_slice world = grpc_slice_from_copied_string(kContent2); in TEST_F()
Dslice_test.cc108 grpc_slice s = grpc_slice_from_copied_string(kContent); in TEST_F()
114 grpc_slice s = grpc_slice_from_copied_string(kContent); in TEST_F()
121 grpc_slice s = grpc_slice_from_copied_string(kContent); in TEST_F()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/fake/
Dfake_credentials.h66 md_(grpc_mdelem_from_slices(grpc_slice_from_copied_string(md_key), in grpc_md_only_test_credentials()
67 grpc_slice_from_copied_string(md_value))), in grpc_md_only_test_credentials()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/iam/
Diam_credentials.cc57 grpc_slice_from_copied_string(token)); in grpc_google_iam_credentials()
62 grpc_slice_from_copied_string(authority_selector)); in grpc_google_iam_credentials()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dresolve_address_posix.cc62 GRPC_ERROR_STR_TARGET_ADDRESS, grpc_slice_from_copied_string(name)); in posix_blocking_resolve_address()
70 GRPC_ERROR_STR_TARGET_ADDRESS, grpc_slice_from_copied_string(name)); in posix_blocking_resolve_address()
110 GRPC_ERROR_STR_TARGET_ADDRESS, grpc_slice_from_copied_string(name)); in posix_blocking_resolve_address()
Derror.h158 grpc_error_create(__FILE__, __LINE__, grpc_slice_from_copied_string(desc), \
167 grpc_error_create(__FILE__, __LINE__, grpc_slice_from_copied_string(desc), \
Derror_cfstream.cc51 file, line, grpc_slice_from_copied_string(error_msg.c_str()), NULL, 0); in grpc_error_create_from_cferror()
/external/grpc-grpc/test/core/compression/
Dmessage_compress_test.cc135 return grpc_slice_from_copied_string("a"); in create_test_value()
144 return grpc_slice_from_copied_string("bad value"); in create_test_value()
245 &input, grpc_slice_from_copied_string("Never gonna give you up")); in test_bad_compression_algorithm()
270 grpc_slice_from_copied_string( in test_bad_decompression_algorithm()
/external/grpc-grpc/src/core/lib/iomgr/
Dresolve_address_posix.cc72 GRPC_ERROR_STR_TARGET_ADDRESS, grpc_slice_from_copied_string(name)); in posix_blocking_resolve_address()
79 GRPC_ERROR_STR_TARGET_ADDRESS, grpc_slice_from_copied_string(name)); in posix_blocking_resolve_address()
119 GRPC_ERROR_STR_TARGET_ADDRESS, grpc_slice_from_copied_string(name)); in posix_blocking_resolve_address()
Derror.h148 grpc_error_create(__FILE__, __LINE__, grpc_slice_from_copied_string(desc), \
157 grpc_error_create(__FILE__, __LINE__, grpc_slice_from_copied_string(desc), \
Derror_cfstream.cc48 file, line, grpc_slice_from_copied_string(error_msg), NULL, 0); in grpc_error_create_from_cferror()
/external/grpc-grpc/src/core/lib/security/credentials/iam/
Diam_credentials.cc76 grpc_slice_from_copied_string(token)); in grpc_google_iam_credentials_create()
81 grpc_slice_from_copied_string(authority_selector)); in grpc_google_iam_credentials_create()
/external/grpc-grpc/test/core/http/
Dparser_test.cc40 grpc_slice input_slice = grpc_slice_from_copied_string(request_text); in test_request_succeeds()
98 grpc_slice input_slice = grpc_slice_from_copied_string(response_text); in test_succeeds()
152 grpc_slice input_slice = grpc_slice_from_copied_string(response_text); in test_fails()
185 grpc_slice input_slice = grpc_slice_from_copied_string(request_text); in test_request_fails()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dsecure_endpoint_test.cc141 grpc_slice_from_copied_string("hello world 12345678900987654321"); in secure_endpoint_create_fixture_tcp_socketpair_leftover()
150 grpc_slice_from_copied_string("hello world 12345678900987654321"); in secure_endpoint_create_fixture_tcp_socketpair_leftover_zero_copy()
177 grpc_slice_from_copied_string("hello world 12345678900987654321"); in test_leftover()
/external/grpc-grpc/test/core/security/
Dsecure_endpoint_test.cc141 grpc_slice_from_copied_string("hello world 12345678900987654321"); in secure_endpoint_create_fixture_tcp_socketpair_leftover()
150 grpc_slice_from_copied_string("hello world 12345678900987654321"); in secure_endpoint_create_fixture_tcp_socketpair_leftover_zero_copy()
177 grpc_slice_from_copied_string("hello world 12345678900987654321"); in test_leftover()
Djwt_verifier_test.cc208 grpc_slice s = grpc_slice_from_copied_string(claims_without_time_constraint); in test_claims_success()
227 grpc_slice s = grpc_slice_from_copied_string(expired_claims); in test_expired_claims_failure()
252 grpc_slice s = grpc_slice_from_copied_string(invalid_claims); in test_invalid_claims_failure()
261 grpc_slice s = grpc_slice_from_copied_string(claims_without_time_constraint); in test_bad_audience_claims_failure()
275 grpc_slice s = grpc_slice_from_copied_string(claims_with_bad_subject); in test_bad_subject_claims_failure()
/external/grpc-grpc/src/core/lib/security/credentials/fake/
Dfake_credentials.cc132 c->md = grpc_mdelem_from_slices(grpc_slice_from_copied_string(md_key), in grpc_md_only_test_credentials_create()
133 grpc_slice_from_copied_string(md_value)); in grpc_md_only_test_credentials_create()
/external/grpc-grpc/test/core/surface/
Dbyte_buffer_reader_test.cc45 slice = grpc_slice_from_copied_string("test"); in test_read_one_slice()
90 slice = grpc_slice_from_copied_string("test"); in test_read_none_compressed_slice()
110 slice = grpc_slice_from_copied_string("test"); in test_read_corrupted_slice()
/external/grpc-grpc/src/core/lib/surface/
Dlame_client.cc66 GRPC_MDSTR_GRPC_STATUS, grpc_slice_from_copied_string(tmp)); in fill_metadata()
69 grpc_slice_from_copied_string(chand->error_message)); in fill_metadata()

123456