Searched refs:encoded_slice (Results 1 – 3 of 3) sorted by relevance
/third_party/grpc/test/core/tsi/alts/handshaker/ |
D | transport_security_common_api_test.cc | 57 grpc_slice encoded_slice; in test_success() local 58 GPR_ASSERT(grpc_gcp_rpc_protocol_versions_encode(&version, &encoded_slice)); in test_success() 61 grpc_gcp_rpc_protocol_versions_decode(encoded_slice, &decoded_version)); in test_success() 63 grpc_slice_unref(encoded_slice); in test_success() 68 grpc_slice encoded_slice; in test_failure() local 78 GPR_ASSERT(!grpc_gcp_rpc_protocol_versions_encode(nullptr, &encoded_slice)); in test_failure() 80 GPR_ASSERT(!grpc_gcp_rpc_protocol_versions_decode(encoded_slice, nullptr)); in test_failure() 82 GPR_ASSERT(grpc_gcp_rpc_protocol_versions_encode(&version, &encoded_slice)); in test_failure() 84 &encoded_slice, GRPC_SLICE_LENGTH(encoded_slice) - 1); in test_failure() 85 grpc_slice_unref(encoded_slice); in test_failure()
|
/third_party/grpc/test/core/slice/ |
D | percent_encoding_test.cc | 47 grpc_slice encoded_slice = in test_vector() local 51 GPR_ASSERT(grpc_strict_percent_decode_slice(encoded_slice, dict, in test_vector() 54 grpc_permissive_percent_decode_slice(encoded_slice); in test_vector() 72 GPR_ASSERT(grpc_slice_eq(encoded_slice, raw2encoded_slice)); in test_vector() 78 grpc_slice_unref(encoded_slice); in test_vector() 98 grpc_slice encoded_slice = in test_nonconformant_vector() local 101 GPR_ASSERT(!grpc_strict_percent_decode_slice(encoded_slice, dict, in test_nonconformant_vector() 104 grpc_permissive_percent_decode_slice(encoded_slice); in test_nonconformant_vector() 117 grpc_slice_unref(encoded_slice); in test_nonconformant_vector()
|
/third_party/grpc/test/cpp/grpclb/ |
D | grpclb_api_test.cc | 88 grpc_slice encoded_slice = in TEST_F() local 94 grpc_core::GrpcLbResponseParse(encoded_slice, arena.ptr(), &resp)); in TEST_F() 95 grpc_slice_unref(encoded_slice); in TEST_F() 116 const grpc_slice encoded_slice = grpc_slice_from_copied_buffer( in TEST_F() local 122 grpc_core::GrpcLbResponseParse(encoded_slice, arena.ptr(), &resp)); in TEST_F() 123 grpc_slice_unref(encoded_slice); in TEST_F()
|