/external/grpc-grpc/test/core/slice/ |
slice_test.cc | 41 grpc_slice slice; 75 grpc_slice slice = grpc_slice_new(&x, 1, do_nothing); 88 grpc_slice slice; 115 grpc_slice slice = grpc_slice_new_with_len(&x, 1, do_nothing_with_len_1); 138 grpc_slice slice; 139 grpc_slice sub; 167 static void check_head_tail(grpc_slice slice, grpc_slice head, 168 grpc_slice tail) { 178 grpc_slice slice [all...] |
percent_encoding_test.cc | 46 grpc_slice raw_slice = grpc_slice_from_copied_buffer(raw, raw_length); 47 grpc_slice encoded_slice = 49 grpc_slice raw2encoded_slice = grpc_percent_encode_slice(raw_slice, dict); 50 grpc_slice encoded2raw_slice; 53 grpc_slice encoded2raw_permissive_slice = 96 grpc_slice permissive_unencoded_slice = grpc_slice_from_copied_buffer( 98 grpc_slice encoded_slice = 100 grpc_slice encoded2raw_slice; 103 grpc_slice encoded2raw_permissive_slice =
|
slice_weak_hash_table_test.cc | 38 grpc_slice BuildRefCountedKey(const char* key_str) { 40 grpc_slice key = grpc_slice_malloc_large(key_length); 48 grpc_slice key = BuildRefCountedKey("key"); 64 grpc_slice key = BuildRefCountedKey("key"); 78 grpc_slice key = BuildRefCountedKey(oss.str().c_str()); 88 grpc_slice key = BuildRefCountedKey(oss.str().c_str());
|
percent_decode_fuzzer.cc | 37 grpc_slice input = grpc_slice_from_copied_buffer((const char*)data, size); 38 grpc_slice output;
|
/external/flatbuffers/include/flatbuffers/ |
grpc.h | 30 // `grpc_slice` and also provides flatbuffers-specific helpers such as `Verify` 31 // and `GetRoot`. Since it is backed by a `grpc_slice`, the underlying buffer 37 Message(grpc_slice slice, bool add_ref) 73 const grpc_slice &BorrowSlice() const { return slice_; } 76 grpc_slice slice_; 81 // SliceAllocator is a gRPC-specific allocator that uses the `grpc_slice` 130 grpc_slice old_slice = slice_; 131 grpc_slice new_slice = grpc_slice_malloc(new_size); 141 grpc_slice &get_slice(uint8_t *p, size_t size) { 147 grpc_slice slice_ [all...] |
/external/grpc-grpc/test/core/surface/ |
byte_buffer_reader_test.cc | 38 grpc_slice slice; 41 grpc_slice first_slice, second_slice; 60 grpc_slice slice; 63 grpc_slice first_slice, second_slice; 83 grpc_slice slice; 86 grpc_slice first_slice, second_slice; 105 grpc_slice slice; 120 grpc_slice input_slice; 125 grpc_slice read_slice; 174 grpc_slice slice [all...] |
/external/grpc-grpc/src/core/lib/slice/ |
slice_buffer.cc | 43 memmove(sb->base_slices, sb->slices, sb->count * sizeof(grpc_slice)); 50 sb->base_slices = static_cast<grpc_slice*>( 51 gpr_malloc(sb->capacity * sizeof(grpc_slice))); 52 memcpy(sb->base_slices, sb->inlined, slice_count * sizeof(grpc_slice)); 54 sb->base_slices = static_cast<grpc_slice*>( 55 gpr_realloc(sb->base_slices, sb->capacity * sizeof(grpc_slice))); 87 grpc_slice* back; 111 size_t grpc_slice_buffer_add_indexed(grpc_slice_buffer* sb, grpc_slice s) { 120 void grpc_slice_buffer_add(grpc_slice_buffer* sb, grpc_slice s) { 128 grpc_slice* back = &sb->slices[n - 1] [all...] |
slice_string_helpers.cc | 30 char* grpc_dump_slice(grpc_slice s, uint32_t flags) { 40 static int slice_find_separator_offset(const grpc_slice str, const char* sep, 71 static void grpc_slice_split_inner(grpc_slice str, const char* sep, 105 void grpc_slice_split(grpc_slice str, const char* sep, grpc_slice_buffer* dst) { 109 void grpc_slice_split_without_space(grpc_slice str, const char* sep, 114 bool grpc_parse_slice_to_uint32(grpc_slice str, uint32_t* result) {
|
percent_encoding.cc | 41 grpc_slice grpc_percent_encode_slice(grpc_slice slice, 61 grpc_slice out = GRPC_SLICE_MALLOC(output_length); 89 bool grpc_strict_percent_decode_slice(grpc_slice slice_in, 91 grpc_slice* slice_out) { 129 grpc_slice grpc_permissive_percent_decode_slice(grpc_slice slice_in) { 153 grpc_slice out = GRPC_SLICE_MALLOC(out_length);
|
/external/grpc-grpc/src/core/lib/surface/ |
validate_metadata.cc | 32 static grpc_error* conforms_to(grpc_slice slice, const uint8_t* legal_bits, 60 grpc_error* grpc_validate_header_key_is_legal(grpc_slice slice) { 76 int grpc_header_key_is_legal(grpc_slice slice) { 80 grpc_error* grpc_validate_header_nonbin_value_is_legal(grpc_slice slice) { 88 int grpc_header_nonbin_value_is_legal(grpc_slice slice) { 92 int grpc_is_binary_header(grpc_slice slice) {
|
/external/grpc-grpc/src/core/lib/transport/ |
metadata.h | 69 const grpc_slice key; 70 const grpc_slice value; 112 grpc_mdelem grpc_mdelem_from_slices(grpc_slice key, grpc_slice value); 123 grpc_slice key, grpc_slice value,
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
alts_handshaker_service_api_test_lib.cc | 78 grpc_slice* slice = 94 grpc_slice* slice = create_slice(record_protocol, strlen(record_protocol)); 108 grpc_slice* slice = create_slice(key_data, size); 116 grpc_slice* slice = create_slice(hostname, strlen(hostname)); 123 grpc_slice* slice = create_slice(service_account, strlen(service_account)); 220 grpc_slice* slice = create_slice(details, strlen(details)); 235 grpc_slice* slice = create_slice(out_frames, size); 280 grpc_slice* slice) { 303 bool grpc_gcp_handshaker_req_decode(grpc_slice slice, 320 /* Check equality of a pair of grpc_slice fields. * [all...] |
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
frame_goaway.h | 56 grpc_slice slice, int is_last); 59 grpc_slice debug_data,
|
hpack_parser.h | 38 grpc_slice referenced; 100 grpc_slice slice); 107 grpc_slice slice, int is_last);
|
/external/grpc-grpc/src/core/lib/compression/ |
compression_internal.h | 77 grpc_slice value, grpc_message_compression_algorithm* algorithm); 82 grpc_slice value, grpc_stream_compression_algorithm* algorithm);
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
transport_security_common_api.h | 102 const grpc_gcp_rpc_protocol_versions* versions, grpc_slice* slice); 115 grpc_slice slice, grpc_gcp_rpc_protocol_versions* versions);
|
alts_tsi_handshaker.h | 79 grpc_slice* details,
|
/external/grpc-grpc/src/php/ext/grpc/ |
byte_buffer.c | 28 grpc_slice slice = grpc_slice_from_copied_buffer(string, length); 44 grpc_slice slice = grpc_byte_buffer_reader_readall(&reader);
|
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
records.pxd.pxi | 16 cdef bytes _slice_bytes(grpc_slice slice) 17 cdef grpc_slice _copy_slice(grpc_slice slice) nogil 18 cdef grpc_slice _slice_from_bytes(bytes value) nogil
|
/external/grpc-grpc/test/core/end2end/ |
end2end_tests.h | 76 const grpc_slice* get_host_override_slice(const char* str, 79 void validate_host_override_string(const char* pattern, grpc_slice str,
|
/external/grpc-grpc/test/core/util/ |
parse_hexstring.cc | 22 grpc_slice parse_hexstring(const char* hexstring) { 27 grpc_slice slice;
|
one_corpus_entry_fuzzer.cc | 33 grpc_slice buffer;
|
/external/grpc-grpc/test/core/compression/ |
algorithm_test.cc | 42 grpc_slice mdstr; 58 grpc_slice value = GRPC_MDVALUE(mdelem); 66 grpc_slice value = GRPC_MDVALUE(mdelem); 84 grpc_slice mdstr;
|
/external/grpc-grpc/test/core/nanopb/ |
fuzzer_response.cc | 35 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size);
|
fuzzer_serverlist.cc | 35 grpc_slice slice = grpc_slice_from_copied_buffer((const char*)data, size);
|