OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:grpc_slice
(Results
126 - 150
of
362
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/grpc-grpc/test/core/bad_ssl/servers/
cert.cc
38
grpc_slice
cert_slice, key_slice;
/external/grpc-grpc/test/cpp/util/
slice_test.cc
108
grpc_slice
s = grpc_slice_from_copied_string(kContent);
114
grpc_slice
s = grpc_slice_from_copied_string(kContent);
121
grpc_slice
s = grpc_slice_from_copied_string(kContent);
124
grpc_slice
c_slice = spp.c_slice();
/external/grpc-grpc/test/core/http/
parser_test.cc
40
grpc_slice
input_slice = grpc_slice_from_copied_string(request_text);
43
grpc_slice
* slices;
98
grpc_slice
input_slice = grpc_slice_from_copied_string(response_text);
101
grpc_slice
* slices;
152
grpc_slice
input_slice = grpc_slice_from_copied_string(response_text);
155
grpc_slice
* slices;
185
grpc_slice
input_slice = grpc_slice_from_copied_string(request_text);
188
grpc_slice
* slices;
/external/grpc-grpc/include/grpc/impl/codegen/
grpc_types.h
435
grpc_slice
key;
436
grpc_slice
value;
482
grpc_slice
method;
483
grpc_slice
host;
573
grpc_slice
* status_details;
599
grpc_slice
* status_details;
/external/grpc-grpc/test/core/compression/
message_compress_test.cc
41
static void assert_passthrough(
grpc_slice
value,
50
grpc_slice
final;
110
static
grpc_slice
repeated(char c, size_t length) {
111
grpc_slice
out = grpc_slice_malloc(length);
132
static
grpc_slice
create_test_value(test_value id) {
302
grpc_slice
slice = create_test_value(static_cast<test_value>(m));
/external/grpc-grpc/test/core/security/
secure_endpoint_test.cc
39
size_t slice_size,
grpc_slice
* leftover_slices, size_t leftover_nslices,
78
grpc_slice
encrypted_leftover;
80
grpc_slice
plain = leftover_slices[i];
140
grpc_slice
s =
149
grpc_slice
s =
176
grpc_slice
s =
/external/grpc-grpc/test/cpp/cocoapods/generic/
generic.mm
44
static
grpc_slice
merge_slices(
grpc_slice
* slices, size_t nslices) {
48
grpc_slice
out;
70
grpc_slice
* c_slices = new
grpc_slice
[slices.size()];
74
grpc_slice
a = merge_slices(c_slices, slices.size());
75
grpc_slice
b = grpc_slice_from_copied_string(str);
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
bin_decoder.cc
83
size_t grpc_chttp2_base64_infer_length_after_decode(const
grpc_slice
& slice) {
161
grpc_slice
grpc_chttp2_base64_decode(
grpc_slice
input) {
165
grpc_slice
output;
205
grpc_slice
grpc_chttp2_base64_decode_with_length(
grpc_slice
input,
208
grpc_slice
output = GRPC_SLICE_MALLOC(output_length);
frame_settings.cc
48
grpc_slice
grpc_chttp2_settings_create(uint32_t* old_settings,
53
grpc_slice
output;
80
grpc_slice
grpc_chttp2_settings_ack_create(void) {
81
grpc_slice
output = GRPC_SLICE_MALLOC(9);
114
grpc_slice
slice, int is_last) {
/external/grpc-grpc/include/grpc/
grpc.h
214
grpc_completion_queue* completion_queue,
grpc_slice
method,
215
const
grpc_slice
* host, gpr_timespec deadline, void* reserved);
451
GRPCAPI int grpc_header_key_is_legal(
grpc_slice
slice);
455
GRPCAPI int grpc_header_nonbin_value_is_legal(
grpc_slice
slice);
458
GRPCAPI int grpc_is_binary_header(
grpc_slice
slice);
/external/grpc-grpc/src/core/lib/slice/
slice_hash_table.h
38
/// The keys are \a
grpc_slice
objects. The values can be any type.
48
grpc_slice
key;
69
const T* Get(const
grpc_slice
& key) const;
91
void Add(
grpc_slice
key, T& value);
140
void SliceHashTable<T>::Add(
grpc_slice
key, T& value) {
158
const T* SliceHashTable<T>::Get(const
grpc_slice
& key) const {
/external/grpc-grpc/include/grpcpp/impl/codegen/
byte_buffer.h
63
// is identical to that of a
grpc_slice
: it has a
grpc_slice
field, and
65
static_assert(std::is_same<decltype(slices[0].slice_),
grpc_slice
>::value,
66
"Slice must have same representation as
grpc_slice
");
67
static_assert(sizeof(Slice) == sizeof(
grpc_slice
),
68
"Slice must have same representation as
grpc_slice
");
83
reinterpret_cast<
grpc_slice
*>(const_cast<Slice*>(slices)), nslices);
proto_buffer_reader.h
138
grpc_slice
* slice() { return &slice_; }
143
grpc_byte_buffer_reader reader_; ///< internal object to read \a
grpc_slice
145
grpc_slice
slice_; ///< current slice passed back to the caller
proto_buffer_writer.h
132
// It's dangerous to keep an inlined
grpc_slice
as the backup slice, since
154
const int block_size_; ///< size to alloc for each new \a
grpc_slice
needed
160
grpc_slice
backup_slice_; ///< holds space we can still write to, if the
162
grpc_slice
slice_; ///< current slice passed back to the caller
/external/grpc-grpc/src/core/lib/iomgr/
error.h
134
grpc_error* grpc_error_create(const char* file, int line,
grpc_slice
desc,
178
grpc_slice
str) GRPC_MUST_USE_RESULT;
182
grpc_slice
* s);
/external/grpc-grpc/test/core/end2end/fuzzers/
client_fuzzer.cc
35
static void discard_write(
grpc_slice
slice) {}
70
grpc_slice
host = grpc_slice_from_static_string("localhost");
81
grpc_slice
details = grpc_empty_slice();
/external/grpc-grpc/test/core/util/
mock_endpoint.cc
36
void (*on_write)(
grpc_slice
slice);
119
grpc_endpoint* grpc_mock_endpoint_create(void (*on_write)(
grpc_slice
slice),
134
void grpc_mock_endpoint_put_read(grpc_endpoint* ep,
grpc_slice
slice) {
/external/grpc-grpc/test/cpp/codegen/
proto_utils_test.cc
35
const
grpc_slice
& backup_slice() const { return writer_->backup_slice_; }
36
const
grpc_slice
& slice() const { return writer_->slice_; }
56
// pointer returned by Next() due to the interaction between
grpc_slice
inlining
127
grpc_slice
s;
/external/grpc-grpc/test/cpp/grpclb/
grpclb_api_test.cc
60
grpc_slice
slice = grpc_grpclb_request_encode(c_req);
77
grpc_slice
encoded_slice =
104
const
grpc_slice
encoded_slice = grpc_slice_from_copied_buffer(
/external/grpc-grpc/test/core/end2end/tests/
invoke_large_request.cc
85
static
grpc_slice
large_slice(void) {
86
grpc_slice
slice = grpc_slice_malloc(1000000);
111
grpc_slice
request_payload_slice = large_slice();
112
grpc_slice
response_payload_slice = large_slice();
130
grpc_slice
details;
222
grpc_slice
status_details = grpc_slice_from_static_string("xyz");
payload.cc
86
/* Creates and returns a
grpc_slice
containing random alphanumeric characters.
88
static
grpc_slice
generate_random_slice() {
98
grpc_slice
out = grpc_slice_from_copied_string(output);
108
grpc_slice
request_payload_slice = generate_random_slice();
109
grpc_slice
response_payload_slice = generate_random_slice();
128
grpc_slice
details;
220
grpc_slice
status_details = grpc_slice_from_static_string("xyz");
stream_compression_payload.cc
89
/* Creates and returns a
grpc_slice
containing random alphanumeric characters.
91
static
grpc_slice
generate_random_slice() {
101
grpc_slice
out = grpc_slice_from_copied_string(output);
111
grpc_slice
request_payload_slice = generate_random_slice();
112
grpc_slice
response_payload_slice = generate_random_slice();
131
grpc_slice
details;
223
grpc_slice
status_details = grpc_slice_from_static_string("xyz");
/external/grpc-grpc/test/core/iomgr/
endpoint_tests.cc
52
size_t count_slices(
grpc_slice
* slices, size_t nslices, int* current_data) {
77
static
grpc_slice
* allocate_blocks(size_t num_bytes, size_t slice_size,
80
grpc_slice
* slices =
81
static_cast<
grpc_slice
*>(gpr_malloc(sizeof(
grpc_slice
) * nslices));
139
grpc_slice
* slices = nullptr;
/external/grpc-grpc/test/core/memory_usage/
client.cc
48
grpc_slice
details;
75
grpc_slice
hostname = grpc_slice_from_static_string("localhost");
114
grpc_slice
call_type) {
142
grpc_slice
hostname = grpc_slice_from_static_string("localhost");
154
grpc_slice
response = grpc_byte_buffer_reader_readall(&reader);
189
grpc_slice
slice = grpc_slice_from_copied_string("x");
/external/grpc-grpc/src/core/lib/transport/
byte_stream.cc
62
grpc_error* SliceBufferByteStream::Pull(
grpc_slice
* slice) {
122
grpc_error* ByteStreamCache::CachingByteStream::Pull(
grpc_slice
* slice) {
Completed in 1953 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>