Home
last modified time | relevance | path

Searched refs:GRPC_SLICE_MALLOC (Results 1 – 25 of 26) sorted by relevance

12

/third_party/grpc/src/core/lib/slice/
Dpercent_encoding.cc61 grpc_slice out = GRPC_SLICE_MALLOC(output_length); in grpc_percent_encode_slice()
115 *slice_out = GRPC_SLICE_MALLOC(out_length); in grpc_strict_percent_decode_slice()
153 grpc_slice out = GRPC_SLICE_MALLOC(out_length); in grpc_permissive_percent_decode_slice()
Db64.cc193 grpc_slice result = GRPC_SLICE_MALLOC(b64_len); in grpc_base64_decode_with_len()
Dslice.cc43 grpc_slice out = GRPC_SLICE_MALLOC(GRPC_SLICE_LENGTH(s)); in grpc_slice_copy()
595 grpc_slice copy = GRPC_SLICE_MALLOC(GRPC_SLICE_LENGTH(a)); in grpc_slice_dup()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dbin_encoder.cc55 grpc_slice output = GRPC_SLICE_MALLOC(output_length); in grpc_chttp2_base64_encode()
108 output = GRPC_SLICE_MALLOC(nbits / 8 + (nbits % 8 != 0)); in grpc_chttp2_huffman_compress()
175 grpc_slice output = GRPC_SLICE_MALLOC(max_output_length); in grpc_chttp2_base64_encode_and_huffman_compress()
Dbin_decoder.cc185 output = GRPC_SLICE_MALLOC(output_length); in grpc_chttp2_base64_decode()
208 grpc_slice output = GRPC_SLICE_MALLOC(output_length); in grpc_chttp2_base64_decode_with_length()
Dframe_settings.cc61 output = GRPC_SLICE_MALLOC(9 + 6 * n); in grpc_chttp2_settings_create()
82 grpc_slice output = GRPC_SLICE_MALLOC(9); in grpc_chttp2_settings_ack_create()
Dframe_window_update.cc33 grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); in grpc_chttp2_window_update_create()
Dframe_rst_stream.cc37 grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); in grpc_chttp2_rst_stream_create()
Dframe_ping.cc34 grpc_slice slice = GRPC_SLICE_MALLOC(9 + 8); in grpc_chttp2_ping_create()
Dframe_goaway.cc154 grpc_slice header = GRPC_SLICE_MALLOC(9 + 4 + 4); in grpc_chttp2_goaway_append()
Dframe_data.cc72 hdr = GRPC_SLICE_MALLOC(header_size); in grpc_chttp2_encode_data()
Dchttp2_transport.cc2228 http_status_hdr = GRPC_SLICE_MALLOC(13); in close_from_api()
2246 content_type_hdr = GRPC_SLICE_MALLOC(31); in close_from_api()
2283 status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10)); in close_from_api()
2312 message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_len); in close_from_api()
2334 hdr = GRPC_SLICE_MALLOC(9); in close_from_api()
/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_integrity_only_record_protocol.cc49 grpc_slice protected_slice = GRPC_SLICE_MALLOC(protected_frame_size); in alts_grpc_integrity_only_extra_copy_protect()
95 grpc_slice header_slice = GRPC_SLICE_MALLOC(rp->header_length); in alts_grpc_integrity_only_protect()
96 grpc_slice tag_slice = GRPC_SLICE_MALLOC(rp->tag_length); in alts_grpc_integrity_only_protect()
Dalts_grpc_privacy_integrity_record_protocol.cc50 grpc_slice protected_slice = GRPC_SLICE_MALLOC(protected_frame_size); in alts_grpc_privacy_integrity_protect()
91 grpc_slice unprotected_slice = GRPC_SLICE_MALLOC(unprotected_frame_size); in alts_grpc_privacy_integrity_unprotect()
/third_party/grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc97 grpc_slice read_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE);
98 grpc_slice write_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE);
152 ep->read_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE); in flush_read_staging_buffer()
278 ep->write_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE); in flush_write_staging_buffer()
/third_party/grpc/src/core/lib/compression/
Dmessage_compress.cc40 grpc_slice outbuf = GRPC_SLICE_MALLOC(OUTPUT_BLOCK_SIZE); in zlib_body()
55 outbuf = GRPC_SLICE_MALLOC(OUTPUT_BLOCK_SIZE); in zlib_body()
Dstream_compression_gzip.cc52 grpc_slice slice_out = GRPC_SLICE_MALLOC(slice_size); in gzip_flate()
/third_party/grpc/src/core/lib/surface/
Dbyte_buffer_reader.cc88 grpc_slice out_slice = GRPC_SLICE_MALLOC(input_size); in grpc_byte_buffer_reader_readall()
/third_party/grpc/include/grpc/
Dslice.h70 #define GRPC_SLICE_MALLOC(len) grpc_slice_malloc(len) macro
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc150 read_buf_ = GRPC_SLICE_MALLOC(4192); in RegisterForOnReadableLocked()
302 grpc_slice out = GRPC_SLICE_MALLOC(total); in FlattenIovec()
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector_test.cc63 grpc_slice slice = GRPC_SLICE_MALLOC(length); in create_random_slice_buffer()
Dalts_grpc_record_protocol_test.cc61 grpc_slice slice = GRPC_SLICE_MALLOC(slice_length); in create_random_slice_buffer()
/third_party/grpc/src/core/ext/filters/client_channel/health/
Dhealth_check_client.cc194 grpc_slice request_slice = GRPC_SLICE_MALLOC(buf_length); in EncodeRequest()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_windows.cc273 GRPC_SLICE_MALLOC(DEFAULT_TARGET_READ_SIZE)); in win_read()
/third_party/grpc/src/core/tsi/
Dfake_transport_security.cc421 grpc_slice slice = GRPC_SLICE_MALLOC(TSI_FAKE_FRAME_HEADER_SIZE); in fake_zero_copy_grpc_protector_protect()

12