Home
last modified time | relevance | path

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

12

/external/grpc-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()
Dslice.cc46 grpc_slice out = GRPC_SLICE_MALLOC(GRPC_SLICE_LENGTH(s)); in grpc_slice_copy()
199 grpc_slice slice = GRPC_SLICE_MALLOC(length); in grpc_slice_from_copied_buffer()
489 grpc_slice copy = GRPC_SLICE_MALLOC(GRPC_SLICE_LENGTH(a)); in grpc_slice_dup()
Db64.cc194 grpc_slice result = GRPC_SLICE_MALLOC(b64_len); in grpc_base64_decode_with_len()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dbin_encoder.cc56 grpc_slice output = GRPC_SLICE_MALLOC(output_length); in grpc_chttp2_base64_encode()
109 output = GRPC_SLICE_MALLOC(nbits / 8 + (nbits % 8 != 0)); in grpc_chttp2_huffman_compress()
176 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.cc60 output = GRPC_SLICE_MALLOC(9 + 6 * n); in grpc_chttp2_settings_create()
81 grpc_slice output = GRPC_SLICE_MALLOC(9); in grpc_chttp2_settings_ack_create()
Dframe_rst_stream.cc34 grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); in grpc_chttp2_rst_stream_create()
Dframe_ping.cc33 grpc_slice slice = GRPC_SLICE_MALLOC(9 + 8); in grpc_chttp2_ping_create()
Dframe_window_update.cc31 grpc_slice slice = GRPC_SLICE_MALLOC(frame_size); in grpc_chttp2_window_update_create()
Dframe_goaway.cc154 grpc_slice header = GRPC_SLICE_MALLOC(9 + 4 + 4); in grpc_chttp2_goaway_append()
Dframe_data.cc80 hdr = GRPC_SLICE_MALLOC(header_size); in grpc_chttp2_encode_data()
Dchttp2_transport.cc2252 http_status_hdr = GRPC_SLICE_MALLOC(13); in close_from_api()
2270 content_type_hdr = GRPC_SLICE_MALLOC(31); in close_from_api()
2307 status_hdr = GRPC_SLICE_MALLOC(15 + (grpc_status >= 10)); in close_from_api()
2336 message_pfx = GRPC_SLICE_MALLOC(14 + msg_len_len); in close_from_api()
2358 hdr = GRPC_SLICE_MALLOC(9); in close_from_api()
/external/grpc-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()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc125 ep->read_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE); in flush_read_staging_buffer()
251 ep->write_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE); in flush_write_staging_buffer()
420 ep->write_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE); in grpc_secure_endpoint_create()
421 ep->read_staging_buffer = GRPC_SLICE_MALLOC(STAGING_BUFFER_SIZE); in grpc_secure_endpoint_create()
/external/grpc-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()
/external/grpc-grpc/src/core/lib/surface/
Dbyte_buffer_reader.cc116 grpc_slice out_slice = GRPC_SLICE_MALLOC(input_size); in grpc_byte_buffer_reader_readall()
/external/grpc-grpc/include/grpc/
Dslice.h70 #define GRPC_SLICE_MALLOC(len) grpc_slice_malloc(len) macro
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc112 read_buf_ = GRPC_SLICE_MALLOC(4192); in RegisterForOnReadableLocked()
203 grpc_slice out = GRPC_SLICE_MALLOC(total); in FlattenIovec()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector_test.cc62 grpc_slice slice = GRPC_SLICE_MALLOC(length); in create_random_slice_buffer()
Dalts_grpc_record_protocol_test.cc60 grpc_slice slice = GRPC_SLICE_MALLOC(slice_length); in create_random_slice_buffer()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc144 slice = GRPC_SLICE_MALLOC(encoded_length); in grpc_grpclb_request_encode()
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_windows.cc233 tcp->read_slice = GRPC_SLICE_MALLOC(8192); in win_read()
/external/grpc-grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc267 grpc_slice path_with_query_slice = GRPC_SLICE_MALLOC(estimated_len); in update_path_for_get()

12