/external/nanopb-c/ |
D | pb_encode.c | 25 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 72 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write() 75 pb_byte_t *dest = (pb_byte_t*)stream->state; in buf_write() 84 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer() 101 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() 525 const pb_byte_t zero = 0; in pb_encode_nullterminated() 551 pb_byte_t buffer[10]; in pb_encode_negative_varint() 557 buffer[i] = (pb_byte_t)((value & 0x7F) | 0x80); in pb_encode_negative_varint() 576 pb_byte_t buffer[10]; in pb_encode_varint() 581 pb_byte_t v = (pb_byte_t)value; in pb_encode_varint() [all …]
|
D | pb_encode.h | 38 bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 95 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 115 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 147 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | pb_decode.c | 26 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); 27 static bool checkreturn read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, pb_byte_t *b… 85 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() 88 const pb_byte_t *source = (const pb_byte_t*)stream->state; in buf_read() 89 stream->state = (pb_byte_t*)stream->state + count; in buf_read() 100 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() 106 pb_byte_t tmp[16]; in pb_read() 136 static bool checkreturn pb_readbyte(pb_istream_t *stream, pb_byte_t *buf) in pb_readbyte() 145 *buf = *(const pb_byte_t*)stream->state; in pb_readbyte() 146 stream->state = (pb_byte_t*)stream->state + 1; in pb_readbyte() [all …]
|
D | pb_decode.h | 37 bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); 118 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); 123 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | pb.h | 226 typedef uint_least8_t pb_byte_t; typedef 268 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } 273 pb_byte_t bytes[1];
|
/external/grpc-grpc/third_party/nanopb/ |
D | pb_encode.c | 25 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 60 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write() 62 pb_byte_t *dest = (pb_byte_t*)stream->state; in buf_write() 71 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer() 88 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() 417 pb_byte_t buffer[10]; in pb_encode_varint() 422 pb_byte_t v = (pb_byte_t)value; in pb_encode_varint() 428 buffer[i] = (pb_byte_t)((value & 0x7F) | 0x80); in pb_encode_varint() 451 pb_byte_t bytes[4]; in pb_encode_fixed32() 452 bytes[0] = (pb_byte_t)(val & 0xFF); in pb_encode_fixed32() [all …]
|
D | pb_encode.h | 38 bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 89 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 109 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 133 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | pb_decode.c | 26 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); 28 static bool checkreturn read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, pb_byte_t *b… 76 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() 78 const pb_byte_t *source = (const pb_byte_t*)stream->state; in buf_read() 79 stream->state = (pb_byte_t*)stream->state + count; in buf_read() 90 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() 96 pb_byte_t tmp[16]; in pb_read() 126 static bool checkreturn pb_readbyte(pb_istream_t *stream, pb_byte_t *buf) in pb_readbyte() 135 *buf = *(const pb_byte_t*)stream->state; in pb_readbyte() 136 stream->state = (pb_byte_t*)stream->state + 1; in pb_readbyte() [all …]
|
D | pb_decode.h | 37 bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); 106 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); 111 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | pb.h | 221 typedef uint_least8_t pb_byte_t; typedef 261 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } 266 pb_byte_t bytes[1];
|
/external/nanopb-c/tests/inline/ |
D | inline.expected | 1 pb_byte_t data\[32\]; 3 pb_byte_t data\[64\];
|
D | inline_unittests.c | 21 pb_byte_t msg1_buffer[Message1_size]; in main() 42 pb_byte_t msg2_buffer[Message2_size]; in main()
|
/external/grpc-grpc/third_party/nanopb/tests/inline/ |
D | inline.expected | 1 pb_byte_t data\[32\]; 3 pb_byte_t data\[64\];
|
D | inline_unittests.c | 21 pb_byte_t msg1_buffer[Message1_size]; in main() 42 pb_byte_t msg2_buffer[Message2_size]; in main()
|
/external/nanopb-c/tests/fixed_count/ |
D | fixed_count_unittests.c | 14 pb_byte_t buffer[Message1_size]; in main() 38 pb_byte_t buffer[Message2_size]; in main() 65 pb_byte_t buffer[Message3_size]; in main()
|
/external/nanopb-c/tests/alltypes_pointer/ |
D | encode_alltypes_pointer.c | 35 pb_byte_t req_fbytes[4] = {'1', '0', '1', '9'}; in main() 66 pb_byte_t rep_fbytes[5][4] = {{0}, {0}, {0}, {0}, {'2', '0', '1', '9'}}; in main() 88 pb_byte_t opt_fbytes[4] = {'3', '0', '5', '9'}; in main()
|
/external/nanopb-c/tests/regression/issue_247/ |
D | padding.c | 21 pb_byte_t buf[128] = {0}; in main()
|
/external/nanopb-c/tests/regression/issue_249/ |
D | test.c | 36 pb_byte_t buf[128] = {0}; in main()
|
/external/grpc-grpc/third_party/nanopb/docs/ |
D | reference.rst | 204 pb_byte_t section in pb.h 208 typedef uint_least8_t pb_byte_t; 233 PB_LTYPE_FIXED_LENGTH_BYTES 0x09 Inline *pb_byte_t* array of fixed size. 293 pb_byte_t bytes[1]; 408 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 420 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 530 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); 590 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); 600 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | concepts.rst | 164 … | pb_byte_t bytes[40]; 167 required bytes data = 1 [(nanopb).max_size = 40, (nanopb.type) = FT_INLINE]; | pb_byte_t data[40…
|
D | migration.rst | 23 one of them being a new *pb_byte_t* typedef. This in turn uses *uint_least8_t*
|
/external/nanopb-c/docs/ |
D | reference.rst | 214 pb_byte_t section in pb.h 218 typedef uint_least8_t pb_byte_t; 243 PB_LTYPE_FIXED_LENGTH_BYTES 0x09 Inline *pb_byte_t* array of fixed size. 303 pb_byte_t bytes[1]; 418 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 430 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 540 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); 600 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); 610 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | concepts.rst | 165 … | pb_byte_t bytes[40]; 168 required bytes data = 1 [(nanopb).max_size = 40, (nanopb).fixed_length = true]; | pb_byte_t data[40…
|
D | migration.rst | 67 one of them being a new *pb_byte_t* typedef. This in turn uses *uint_least8_t*
|