Home
last modified time | relevance | path

Searched refs:grpc_slice_from_copied_buffer (Results 1 – 25 of 64) sorted by relevance

123

/third_party/grpc/test/core/slice/
Dpercent_encoding_test.cc46 grpc_slice raw_slice = grpc_slice_from_copied_buffer(raw, raw_length); in test_vector()
48 grpc_slice_from_copied_buffer(encoded, encoded_length); in test_vector()
96 grpc_slice permissive_unencoded_slice = grpc_slice_from_copied_buffer( in test_nonconformant_vector()
99 grpc_slice_from_copied_buffer(encoded, encoded_length); in test_nonconformant_vector()
Dpercent_decode_fuzzer.cc34 grpc_slice input = grpc_slice_from_copied_buffer((const char*)data, size); in LLVMFuzzerTestOneInput()
Dslice_string_helpers_test.cc57 expect_slice_dump(grpc_slice_from_copied_buffer("\x01", 1), GPR_DUMP_HEX, in test_dump_slice()
59 expect_slice_dump(grpc_slice_from_copied_buffer("\x01", 1), in test_dump_slice()
Dpercent_encode_fuzzer.cc35 grpc_slice_from_copied_buffer(reinterpret_cast<const char*>(data), size); in test()
/third_party/grpc/src/core/lib/http/
Dformat_request.cc64 return grpc_slice_from_copied_buffer(req.data(), req.size()); in grpc_httpcli_format_get_request()
92 return grpc_slice_from_copied_buffer(req.data(), req.size()); in grpc_httpcli_format_post_request()
102 return grpc_slice_from_copied_buffer(req.data(), req.size()); in grpc_httpcli_format_connect_request()
/third_party/grpc/include/grpcpp/impl/codegen/
Dslice.h57 : slice_(g_core_codegen_interface->grpc_slice_from_copied_buffer( in Slice()
63 : slice_(g_core_codegen_interface->grpc_slice_from_copied_buffer( in Slice()
138 return g_core_codegen_interface->grpc_slice_from_copied_buffer(str.data(), in SliceFromCopiedString()
/third_party/grpc/test/core/transport/chttp2/
Dbin_encoder_test.cc66 grpc_slice_from_copied_buffer(expected, sizeof(expected) - 1), slice, \
70 grpc_slice input = grpc_slice_from_copied_buffer(s, len); in expect_combined_equiv()
Dvarint_test.cc31 grpc_slice_from_copied_buffer(expect_bytes, expect_length); in test_varint()
/third_party/grpc/test/cpp/microbenchmarks/
Dbm_byte_buffer.cc57 slices.emplace_back(g_core_codegen_interface->grpc_slice_from_copied_buffer( in BM_ByteBufferReader_Next()
90 slices.emplace_back(g_core_codegen_interface->grpc_slice_from_copied_buffer( in BM_ByteBufferReader_Peek()
/third_party/grpc/test/core/http/
Dresponse_fuzzer.cc36 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size); in LLVMFuzzerTestOneInput()
Drequest_fuzzer.cc37 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size); in LLVMFuzzerTestOneInput()
/third_party/grpc/test/core/compression/
Dmessage_decompress_fuzzer.cc45 grpc_slice_from_copied_buffer( in LLVMFuzzerTestOneInput()
Dmessage_compress_fuzzer.cc45 grpc_slice_from_copied_buffer( in LLVMFuzzerTestOneInput()
Dstream_compression_fuzzer.cc40 grpc_slice_from_copied_buffer(reinterpret_cast<const char*>(data), size)); in LLVMFuzzerTestOneInput()
Dstream_decompression_fuzzer.cc40 grpc_slice_from_copied_buffer(reinterpret_cast<const char*>(data), size)); in LLVMFuzzerTestOneInput()
Dmessage_compress_test.cc235 &input, grpc_slice_from_copied_buffer( in test_bad_decompression_data_trailing_garbage()
254 grpc_slice_from_copied_buffer("\x78\xda\xff\xff", 4)); in test_bad_decompression_data_stream()
/third_party/grpc/src/php/ext/grpc/
Dbyte_buffer.c28 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); in string_to_byte_buffer()
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/
DNSData+GRPC.m55 grpc_slice slice = grpc_slice_from_copied_buffer(array, length);
86 // copies (one by self.bytes and another by grpc_slice_from_copied_buffer).
/third_party/grpc/src/ruby/ext/grpc/
Drb_byte_buffer.c30 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); in grpc_rb_s_to_byte_buffer()
/third_party/grpc/include/grpc/impl/codegen/
Dgpr_slice.h43 #define gpr_slice_from_copied_buffer grpc_slice_from_copied_buffer
/third_party/grpc/src/cpp/common/
Dcore_codegen.cc198 grpc_slice CoreCodegen::grpc_slice_from_copied_buffer(const void* buffer, in grpc_slice_from_copied_buffer() function in grpc::CoreCodegen
200 return ::grpc_slice_from_copied_buffer(static_cast<const char*>(buffer), in grpc_slice_from_copied_buffer()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Drecords.pyx.pxi24 return grpc_slice_from_copied_buffer(<const char *>start, length)
32 return grpc_slice_from_copied_buffer(value_ptr, length)
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_utils_test.cc48 grpc_slice slice = grpc_slice_from_copied_buffer(buf, buf_len); in deserialize_response_test()
/third_party/grpc/test/core/security/
Dssl_server_fuzzer.cc69 mock_endpoint, grpc_slice_from_copied_buffer((const char*)data, size)); in LLVMFuzzerTestOneInput()
/third_party/grpc/include/grpc/
Dslice.h90 GPRAPI grpc_slice grpc_slice_from_copied_buffer(const char* source, size_t len);

123