/external/grpc-grpc/include/grpc/ |
slice.h | 33 GPRAPI grpc_slice grpc_slice_ref(grpc_slice s); 41 GPRAPI void grpc_slice_unref(grpc_slice s); 44 GPRAPI grpc_slice grpc_slice_copy(grpc_slice s); 49 GPRAPI grpc_slice grpc_slice_new(void* p, size_t len, void (*destroy)(void*)); 55 GPRAPI grpc_slice grpc_slice_new_with_user_data(void* p, size_t len, 61 GPRAPI grpc_slice grpc_slice_new_with_len(void* p, size_t len, 67 GPRAPI grpc_slice grpc_slice_malloc(size_t length); 68 GPRAPI grpc_slice grpc_slice_malloc_large(size_t length) [all...] |
/external/grpc-grpc/src/core/lib/security/security_connector/ |
load_system_roots.h | 25 grpc_slice LoadSystemRootCerts();
|
load_system_roots_fallback.cc | 28 grpc_slice LoadSystemRootCerts() { return grpc_empty_slice(); }
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
bin_encoder.h | 28 grpc_slice grpc_chttp2_base64_encode(grpc_slice input); 32 grpc_slice grpc_chttp2_huffman_compress(grpc_slice input); 35 grpc_slice x = grpc_chttp2_base64_encode(input); 36 grpc_slice y = grpc_chttp2_huffman_compress(x); 39 grpc_slice grpc_chttp2_base64_encode_and_huffman_compress(grpc_slice input);
|
bin_decoder.h | 45 grpc_slice grpc_chttp2_base64_decode(grpc_slice input); 50 grpc_slice grpc_chttp2_base64_decode_with_length(grpc_slice input, 54 size_t grpc_chttp2_base64_infer_length_after_decode(const grpc_slice& slice);
|
/external/grpc-grpc/src/core/lib/slice/ |
percent_encoding.h | 49 grpc_slice grpc_percent_encode_slice(grpc_slice slice, 57 bool grpc_strict_percent_decode_slice(grpc_slice slice_in, 59 grpc_slice* slice_out); 63 grpc_slice grpc_permissive_percent_decode_slice(grpc_slice slice_in);
|
slice_internal.h | 27 grpc_slice grpc_slice_ref_internal(grpc_slice slice); 28 void grpc_slice_unref_internal(grpc_slice slice); 35 bool grpc_slice_is_interned(grpc_slice slice); 44 grpc_slice grpc_slice_maybe_static_intern(grpc_slice slice, 46 uint32_t grpc_static_slice_hash(grpc_slice s); 47 int grpc_static_slice_eq(grpc_slice a, grpc_slice b);
|
slice_traits.h | 27 bool grpc_slice_is_legal_header(grpc_slice s); 28 bool grpc_slice_is_legal_nonbin_header(grpc_slice s); 29 bool grpc_slice_is_bin_suffixed(grpc_slice s);
|
slice_string_helpers.h | 33 char* grpc_dump_slice(grpc_slice slice, uint32_t flags); 37 void grpc_slice_split(grpc_slice str, const char* sep, grpc_slice_buffer* dst); 42 void grpc_slice_split_without_space(grpc_slice str, const char* sep, 45 bool grpc_parse_slice_to_uint32(grpc_slice str, uint32_t* result);
|
/external/grpc-grpc/test/core/util/ |
mock_endpoint.h | 24 grpc_endpoint* grpc_mock_endpoint_create(void (*on_write)(grpc_slice slice), 27 grpc_slice slice);
|
parse_hexstring.h | 24 grpc_slice parse_hexstring(const char* hexstring);
|
slice_splitter.h | 39 void grpc_split_slices(grpc_slice_split_mode mode, grpc_slice* src_slices, 40 size_t src_slice_count, grpc_slice** dst_slices, 44 grpc_slice* src_slices, size_t src_slice_count, 49 grpc_slice grpc_slice_merge(grpc_slice* slices, size_t nslices);
|
slice_splitter.cc | 39 void grpc_split_slices(grpc_slice_split_mode mode, grpc_slice* src_slices, 40 size_t src_slice_count, grpc_slice** dst_slices, 48 *dst_slices = static_cast<grpc_slice*>( 49 gpr_malloc(sizeof(grpc_slice) * src_slice_count)); 61 *dst_slices = static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice))); 78 static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice) * length)); 91 grpc_slice* src_slices, size_t src_slice_count, 93 grpc_slice* slices [all...] |
/external/grpc-grpc/src/core/lib/surface/ |
validate_metadata.h | 27 grpc_error* grpc_validate_header_key_is_legal(grpc_slice slice); 28 grpc_error* grpc_validate_header_nonbin_value_is_legal(grpc_slice slice);
|
/external/grpc-grpc/src/core/lib/compression/ |
algorithm_metadata.h | 29 grpc_slice grpc_compression_algorithm_slice( 35 grpc_slice str); 54 grpc_message_compression_algorithm_from_slice(grpc_slice str); 59 grpc_slice str);
|
/external/grpc-grpc/src/core/lib/http/ |
format_request.h | 27 grpc_slice grpc_httpcli_format_get_request(const grpc_httpcli_request* request); 28 grpc_slice grpc_httpcli_format_post_request(const grpc_httpcli_request* request, 31 grpc_slice grpc_httpcli_format_connect_request(
|
/external/grpc-grpc/src/core/lib/security/transport/ |
auth_filters.h | 31 const char* url_scheme, grpc_slice call_host, grpc_slice call_method,
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
alts_tsi_handshaker_private.h | 47 alts_tsi_handshaker* handshaker, grpc_slice* slice); 49 grpc_slice alts_tsi_handshaker_get_recv_bytes_for_testing(
|
alts_handshaker_service_api_util.cc | 44 destroy_slice(static_cast<grpc_slice*>(identity->hostname.arg)); 45 destroy_slice(static_cast<grpc_slice*>(identity->service_account.arg)); 56 destroy_slice((grpc_slice*)field->data); 62 grpc_slice* create_slice(const char* data, size_t size) { 63 grpc_slice slice = grpc_slice_from_copied_buffer(data, size); 64 grpc_slice* cb_slice = 65 static_cast<grpc_slice*>(gpr_zalloc(sizeof(*cb_slice))); 70 void destroy_slice(grpc_slice* slice) { 79 grpc_slice* slice = static_cast<grpc_slice*>(*arg) [all...] |
alts_tsi_event.h | 48 grpc_slice details; 54 grpc_slice target_name; 75 grpc_slice target_name,
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
core_codegen.h | 83 grpc_slice* slice) override; 85 grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice, 87 grpc_slice grpc_slice_new_with_user_data(void* p, size_t len, 90 grpc_slice grpc_slice_new_with_len(void* p, size_t len, 92 grpc_slice grpc_empty_slice() override; 93 grpc_slice grpc_slice_malloc(size_t length) override; 94 void grpc_slice_unref(grpc_slice slice) override; 95 grpc_slice grpc_slice_ref(grpc_slice slice) override; 96 grpc_slice grpc_slice_split_tail(grpc_slice* s, size_t split) override [all...] |
core_codegen_interface.h | 93 grpc_slice* slice) = 0; 95 virtual grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice, 97 virtual grpc_slice grpc_slice_new_with_user_data(void* p, size_t len, 100 virtual grpc_slice grpc_slice_new_with_len(void* p, size_t len, 110 virtual grpc_slice grpc_empty_slice() = 0; 111 virtual grpc_slice grpc_slice_malloc(size_t length) = 0; 112 virtual void grpc_slice_unref(grpc_slice slice) = 0; 113 virtual grpc_slice grpc_slice_ref(grpc_slice slice) = 0; 114 virtual grpc_slice grpc_slice_split_tail(grpc_slice* s, size_t split) = 0 [all...] |
/external/grpc-grpc/test/core/end2end/ |
end2end_test_utils.cc | 34 const grpc_slice* get_host_override_slice(const char* str, 38 static grpc_slice ret; 45 void validate_host_override_string(const char* pattern, grpc_slice str,
|
/external/grpc-grpc/test/core/transport/chttp2/ |
bin_decoder_test.cc | 34 static void expect_slice_eq(grpc_slice expected, grpc_slice slice, 49 static grpc_slice base64_encode(const char* s) { 50 grpc_slice ss = grpc_slice_from_copied_string(s); 51 grpc_slice out = grpc_chttp2_base64_encode(ss); 56 static grpc_slice base64_decode(const char* s) { 57 grpc_slice ss = grpc_slice_from_copied_string(s); 58 grpc_slice out = grpc_chttp2_base64_decode(ss); 63 static grpc_slice base64_decode_with_length(const char* s, 65 grpc_slice ss = grpc_slice_from_copied_string(s) [all...] |
bin_encoder_test.cc | 34 static void expect_slice_eq(grpc_slice expected, grpc_slice slice, 49 static grpc_slice B64(const char* s) { 50 grpc_slice ss = grpc_slice_from_copied_string(s); 51 grpc_slice out = grpc_chttp2_base64_encode(ss); 56 static grpc_slice HUFF(const char* s) { 57 grpc_slice ss = grpc_slice_from_copied_string(s); 58 grpc_slice out = grpc_chttp2_huffman_compress(ss); 69 grpc_slice input = grpc_slice_from_copied_buffer(s, len); 70 grpc_slice base64 = grpc_chttp2_base64_encode(input) [all...] |