Home
last modified time | relevance | path

Searched refs:grpc_byte_buffer (Results 1 – 25 of 151) sorted by relevance

1234567

/external/grpc-grpc/src/core/lib/surface/
Dbyte_buffer.cc28 grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slices, in grpc_raw_byte_buffer_create()
34 grpc_byte_buffer* grpc_raw_compressed_byte_buffer_create( in grpc_raw_compressed_byte_buffer_create()
38 grpc_byte_buffer* bb = in grpc_raw_compressed_byte_buffer_create()
39 static_cast<grpc_byte_buffer*>(gpr_malloc(sizeof(grpc_byte_buffer))); in grpc_raw_compressed_byte_buffer_create()
50 grpc_byte_buffer* grpc_raw_byte_buffer_from_reader( in grpc_raw_byte_buffer_from_reader()
52 grpc_byte_buffer* bb = in grpc_raw_byte_buffer_from_reader()
53 static_cast<grpc_byte_buffer*>(gpr_malloc(sizeof(grpc_byte_buffer))); in grpc_raw_byte_buffer_from_reader()
65 grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) { in grpc_byte_buffer_copy()
75 void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) { in grpc_byte_buffer_destroy()
86 size_t grpc_byte_buffer_length(grpc_byte_buffer* bb) { in grpc_byte_buffer_length()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dbyte_buffer.cc28 grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slices, in grpc_raw_byte_buffer_create()
34 grpc_byte_buffer* grpc_raw_compressed_byte_buffer_create( in grpc_raw_compressed_byte_buffer_create()
38 grpc_byte_buffer* bb = in grpc_raw_compressed_byte_buffer_create()
39 static_cast<grpc_byte_buffer*>(gpr_malloc(sizeof(grpc_byte_buffer))); in grpc_raw_compressed_byte_buffer_create()
50 grpc_byte_buffer* grpc_raw_byte_buffer_from_reader( in grpc_raw_byte_buffer_from_reader()
52 grpc_byte_buffer* bb = in grpc_raw_byte_buffer_from_reader()
53 static_cast<grpc_byte_buffer*>(gpr_malloc(sizeof(grpc_byte_buffer))); in grpc_raw_byte_buffer_from_reader()
65 grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) { in grpc_byte_buffer_copy()
75 void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) { in grpc_byte_buffer_destroy()
86 size_t grpc_byte_buffer_length(grpc_byte_buffer* bb) { in grpc_byte_buffer_length()
/external/grpc-grpc/include/grpc/impl/codegen/
Dbyte_buffer.h34 GRPCAPI grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slices,
43 GRPCAPI grpc_byte_buffer* grpc_raw_compressed_byte_buffer_create(
50 GRPCAPI grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb);
53 GRPCAPI size_t grpc_byte_buffer_length(grpc_byte_buffer* bb);
56 GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer* byte_buffer);
65 grpc_byte_buffer* buffer);
81 GRPCAPI grpc_byte_buffer* grpc_raw_byte_buffer_from_reader(
Dbyte_buffer_reader.h26 struct grpc_byte_buffer;
29 struct grpc_byte_buffer* buffer_in;
30 struct grpc_byte_buffer* buffer_out;
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Dbyte_buffer.h34 GRPCAPI grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slices,
43 GRPCAPI grpc_byte_buffer* grpc_raw_compressed_byte_buffer_create(
50 GRPCAPI grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb);
53 GRPCAPI size_t grpc_byte_buffer_length(grpc_byte_buffer* bb);
56 GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer* bb);
65 grpc_byte_buffer* buffer);
94 GRPCAPI grpc_byte_buffer* grpc_raw_byte_buffer_from_reader(
Dbyte_buffer_reader.h26 struct grpc_byte_buffer;
29 struct grpc_byte_buffer* buffer_in;
30 struct grpc_byte_buffer* buffer_out;
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Dbyte_buffer.h34 GRPCAPI grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slices,
43 GRPCAPI grpc_byte_buffer* grpc_raw_compressed_byte_buffer_create(
50 GRPCAPI grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb);
53 GRPCAPI size_t grpc_byte_buffer_length(grpc_byte_buffer* bb);
56 GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer* bb);
65 grpc_byte_buffer* buffer);
94 GRPCAPI grpc_byte_buffer* grpc_raw_byte_buffer_from_reader(
Dbyte_buffer_reader.h26 struct grpc_byte_buffer;
29 struct grpc_byte_buffer* buffer_in;
30 struct grpc_byte_buffer* buffer_out;
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dbyte_buffer.h44 void* UnaryDeserializeHelper(grpc_call*, grpc_byte_buffer*, ::grpc::Status*,
78 static_assert(std::is_same<decltype(buffer_), grpc_byte_buffer*>::value, in ByteBuffer()
81 static_assert(sizeof(ByteBuffer) == sizeof(grpc_byte_buffer*), in ByteBuffer()
151 grpc_byte_buffer* tmp = other->buffer_; in Swap()
167 friend void* internal::UnaryDeserializeHelper(grpc_call*, grpc_byte_buffer*,
184 grpc_byte_buffer* buffer_;
187 void set_buffer(grpc_byte_buffer* buf) { in set_buffer()
194 grpc_byte_buffer* c_buffer() { return buffer_; } in c_buffer()
195 grpc_byte_buffer** c_buffer_ptr() { return &buffer_; } in c_buffer_ptr()
205 operator grpc_byte_buffer*() { return bbuf_->buffer_; }
[all …]
Dcore_codegen.h78 grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) override;
79 void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) override;
80 size_t grpc_byte_buffer_length(grpc_byte_buffer* bb) override;
83 grpc_byte_buffer* buffer) override;
91 grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice,
Dcore_codegen_interface.h84 virtual grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) = 0;
85 virtual void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) = 0;
86 virtual size_t grpc_byte_buffer_length(grpc_byte_buffer* bb)
90 grpc_byte_buffer* buffer)
99 virtual grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice,
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dbyte_buffer.h44 void* UnaryDeserializeHelper(grpc_call*, grpc_byte_buffer*, ::grpc::Status*,
78 static_assert(std::is_same<decltype(buffer_), grpc_byte_buffer*>::value, in ByteBuffer()
81 static_assert(sizeof(ByteBuffer) == sizeof(grpc_byte_buffer*), in ByteBuffer()
151 grpc_byte_buffer* tmp = other->buffer_; in Swap()
167 friend void* internal::UnaryDeserializeHelper(grpc_call*, grpc_byte_buffer*,
184 grpc_byte_buffer* buffer_;
187 void set_buffer(grpc_byte_buffer* buf) { in set_buffer()
194 grpc_byte_buffer* c_buffer() { return buffer_; } in c_buffer()
195 grpc_byte_buffer** c_buffer_ptr() { return &buffer_; } in c_buffer_ptr()
205 operator grpc_byte_buffer*() { return bbuf_->buffer_; }
[all …]
Dcore_codegen.h78 grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) override;
79 void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) override;
80 size_t grpc_byte_buffer_length(grpc_byte_buffer* bb) override;
83 grpc_byte_buffer* buffer) override;
91 grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice,
Dcore_codegen_interface.h84 virtual grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) = 0;
85 virtual void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) = 0;
86 virtual size_t grpc_byte_buffer_length(grpc_byte_buffer* bb)
90 grpc_byte_buffer* buffer)
99 virtual grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice,
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dbyte_buffer.h72 static_assert(std::is_same<decltype(buffer_), grpc_byte_buffer*>::value, in ByteBuffer()
75 static_assert(sizeof(ByteBuffer) == sizeof(grpc_byte_buffer*), in ByteBuffer()
129 grpc_byte_buffer* tmp = other->buffer_; in Swap()
157 grpc_byte_buffer* buffer_;
160 void set_buffer(grpc_byte_buffer* buf) { in set_buffer()
167 grpc_byte_buffer* c_buffer() { return buffer_; } in c_buffer()
168 grpc_byte_buffer** c_buffer_ptr() { return &buffer_; } in c_buffer_ptr()
175 operator grpc_byte_buffer*() { return bbuf_->buffer_; }
176 operator grpc_byte_buffer**() { return &bbuf_->buffer_; }
Dcore_codegen.h74 grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) override;
75 void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) override;
76 size_t grpc_byte_buffer_length(grpc_byte_buffer* bb) override;
79 grpc_byte_buffer* buffer) override;
85 grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice,
Dcore_codegen_interface.h82 virtual grpc_byte_buffer* grpc_byte_buffer_copy(grpc_byte_buffer* bb) = 0;
83 virtual void grpc_byte_buffer_destroy(grpc_byte_buffer* bb) = 0;
84 virtual size_t grpc_byte_buffer_length(grpc_byte_buffer* bb)
88 grpc_byte_buffer* buffer)
95 virtual grpc_byte_buffer* grpc_raw_byte_buffer_create(grpc_slice* slice,
/external/grpc-grpc/test/core/surface/
Dbyte_buffer_reader_test.cc39 grpc_byte_buffer* buffer; in test_read_one_slice()
61 grpc_byte_buffer* buffer; in test_read_one_slice_malloc()
84 grpc_byte_buffer* buffer; in test_read_none_compressed_slice()
106 grpc_byte_buffer* buffer; in test_read_corrupted_slice()
123 grpc_byte_buffer* buffer; in read_compressed_slice()
175 grpc_byte_buffer *buffer, *buffer_from_reader; in test_byte_buffer_from_reader()
202 grpc_byte_buffer* buffer; in test_readall()
236 grpc_byte_buffer* buffer; in test_byte_buffer_copy()
237 grpc_byte_buffer* copied_buffer; in test_byte_buffer_copy()
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DNSData+GRPC.m27 static void MallocAndCopyByteBufferToCharArray(grpc_byte_buffer *buffer, size_t *length,
54 static grpc_byte_buffer *CopyCharArrayToNewByteBuffer(const char *array, size_t length) {
56 grpc_byte_buffer *buffer = grpc_raw_byte_buffer_create(&slice, 1);
62 + (instancetype)grpc_dataWithByteBuffer:(grpc_byte_buffer *)buffer { argument
70 // TODO(jcanizales): grpc_byte_buffer is reference-counted, so we can
72 // that wraps the grpc_byte_buffer. Then enumerateByteRangesUsingBlock:
81 - (grpc_byte_buffer *)grpc_byteBuffer {
82 // Some implementations of NSData, as well as grpc_byte_buffer, support O(1)
DNSData+GRPC.h21 struct grpc_byte_buffer;
24 + (instancetype)grpc_dataWithByteBuffer:(struct grpc_byte_buffer *)buffer;
25 - (struct grpc_byte_buffer *)grpc_byteBuffer;
/external/grpc-grpc/src/cpp/common/
Dcore_codegen.cc36 struct grpc_byte_buffer;
93 grpc_byte_buffer* CoreCodegen::grpc_byte_buffer_copy(grpc_byte_buffer* bb) { in grpc_byte_buffer_copy()
97 void CoreCodegen::grpc_byte_buffer_destroy(grpc_byte_buffer* bb) { in grpc_byte_buffer_destroy()
101 size_t CoreCodegen::grpc_byte_buffer_length(grpc_byte_buffer* bb) { in grpc_byte_buffer_length()
117 grpc_byte_buffer* buffer) { in grpc_byte_buffer_reader_init()
131 grpc_byte_buffer* CoreCodegen::grpc_raw_byte_buffer_create(grpc_slice* slice, in grpc_raw_byte_buffer_create()
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dcore_codegen.cc36 struct grpc_byte_buffer;
97 grpc_byte_buffer* CoreCodegen::grpc_byte_buffer_copy(grpc_byte_buffer* bb) { in grpc_byte_buffer_copy()
101 void CoreCodegen::grpc_byte_buffer_destroy(grpc_byte_buffer* bb) { in grpc_byte_buffer_destroy()
105 size_t CoreCodegen::grpc_byte_buffer_length(grpc_byte_buffer* bb) { in grpc_byte_buffer_length()
131 grpc_byte_buffer* buffer) { in grpc_byte_buffer_reader_init()
150 grpc_byte_buffer* CoreCodegen::grpc_raw_byte_buffer_create(grpc_slice* slice, in grpc_raw_byte_buffer_create()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_client.cc85 static grpc_byte_buffer* get_serialized_start_client(alts_tsi_event* event) { in get_serialized_start_client()
109 grpc_byte_buffer* buffer = nullptr; in get_serialized_start_client()
125 grpc_byte_buffer* buffer = get_serialized_start_client(event); in handshaker_client_start_client()
139 static grpc_byte_buffer* get_serialized_start_server( in get_serialized_start_server()
157 grpc_byte_buffer* buffer = nullptr; in get_serialized_start_server()
173 grpc_byte_buffer* buffer = get_serialized_start_server(event, bytes_received); in handshaker_client_start_server()
187 static grpc_byte_buffer* get_serialized_next(grpc_slice* bytes_received) { in get_serialized_next()
195 grpc_byte_buffer* buffer = nullptr; in get_serialized_next()
211 grpc_byte_buffer* buffer = get_serialized_next(bytes_received); in handshaker_client_next()
/external/grpc-grpc/src/php/ext/grpc/
Dbyte_buffer.c27 grpc_byte_buffer *string_to_byte_buffer(char *string, size_t length) { in string_to_byte_buffer()
29 grpc_byte_buffer *buffer = grpc_raw_byte_buffer_create(&slice, 1); in string_to_byte_buffer()
34 void byte_buffer_to_string(grpc_byte_buffer *buffer, char **out_string, in byte_buffer_to_string()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_byte_buffer.c29 grpc_byte_buffer* grpc_rb_s_to_byte_buffer(char* string, size_t length) { in grpc_rb_s_to_byte_buffer()
31 grpc_byte_buffer* buffer = grpc_raw_byte_buffer_create(&slice, 1); in grpc_rb_s_to_byte_buffer()
36 VALUE grpc_rb_byte_buffer_to_s(grpc_byte_buffer* buffer) { in grpc_rb_byte_buffer_to_s()

1234567