/nanopb-2.7.6/tests/backwards_compatibility/ |
D | alltypes_legacy.c | 11 pb_byte_t SubMessage_DEFAULT[] = {0x0a, 0x01, 0x31, 0x10, 0x02, 0x1d, 0x03, 0x00, 0x00, 0x00, 0x00}; 12 pb_byte_t EmptyMessage_DEFAULT[] = {0x00}; 13 pb_byte_t Limits_DEFAULT[] = {0x08, 0xff, 0xff, 0xff, 0xff, 0x07, 0x10, 0x81, 0x80, 0x80, 0x80, 0xf… 14 pb_byte_t AllTypes_DEFAULT[] = {0xc8, 0x02, 0xc9, 0x1f, 0xd0, 0x02, 0xca, 0x1f, 0xd8, 0x02, 0xcb, 0…
|
D | alltypes_legacy.h | 323 extern pb_byte_t SubMessage_default[]; 325 extern pb_byte_t EmptyMessage_default[]; 327 extern pb_byte_t Limits_default[]; 329 extern pb_byte_t AllTypes_default[];
|
/nanopb-2.7.6/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()
|
/nanopb-2.7.6/ |
D | pb_encode.c | 23 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 52 static bool checkreturn buf_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in buf_write() 55 pb_byte_t *dest = (pb_byte_t*)stream->state; in buf_write() 64 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer() 81 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() 541 const pb_byte_t zero = 0; in pb_encode_ex() 573 pb_byte_t buffer[10]; in pb_encode_varint_32() 574 pb_byte_t byte = (pb_byte_t)(low & 0x7F); in pb_encode_varint_32() 581 byte = (pb_byte_t)(low & 0x7F); in pb_encode_varint_32() 587 byte = (pb_byte_t)(byte | ((high & 0x07) << 4)); in pb_encode_varint_32() [all …]
|
D | pb_encode.h | 38 bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 156 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | pb_decode.h | 37 bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); 134 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t msglen); 139 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | pb_decode.c | 24 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count); 26 static bool checkreturn read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, pb_byte_t *b… 70 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() 73 const pb_byte_t *source = (const pb_byte_t*)stream->state; in buf_read() 74 stream->state = (pb_byte_t*)stream->state + count; in buf_read() 85 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() 94 pb_byte_t tmp[16]; in pb_read() 124 static bool checkreturn pb_readbyte(pb_istream_t *stream, pb_byte_t *buf) in pb_readbyte() 133 *buf = *(const pb_byte_t*)stream->state; in pb_readbyte() 134 stream->state = (pb_byte_t*)stream->state + 1; in pb_readbyte() [all …]
|
D | pb_common.c | 336 const pb_byte_t *s = (const pb_byte_t*)str; in pb_validate_utf8()
|
D | pb.h | 269 typedef uint_least8_t pb_byte_t; typedef 283 const pb_byte_t *default_value; 332 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } 337 pb_byte_t bytes[1];
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb_encode.h | 38 bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 104 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 124 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 156 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size);
|
D | pb_decode.h | 37 bool (*callback)(pb_istream_t *stream, pb_byte_t *buf, size_t count); 134 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t msglen); 139 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | pb.h | 269 typedef uint_least8_t pb_byte_t; typedef 283 const pb_byte_t *default_value; 332 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } 337 pb_byte_t bytes[1];
|
/nanopb-2.7.6/tests/fixed_count/ |
D | fixed_count_unittests.c | 13 pb_byte_t buffer[Message1_size]; in main() 39 pb_byte_t input[] = {0x08, 0x00, 0x08, 0x01, 0x08, 0x02, 0x08, 0x03}; in main() 59 pb_byte_t buffer[Message2_size]; in main() 88 pb_byte_t buffer[Message3_size]; in main()
|
/nanopb-2.7.6/tests/regression/issue_547/ |
D | test.c | 8 pb_byte_t buf[512]; in main()
|
/nanopb-2.7.6/tests/regression/issue_247/ |
D | padding.c | 21 pb_byte_t buf[128] = {0}; in main()
|
/nanopb-2.7.6/tests/regression/issue_558/ |
D | mixed.c | 10 pb_byte_t buf[64]; in main()
|
/nanopb-2.7.6/tests/fuzztest/ |
D | flakystream.c | 4 bool flakystream_callback(pb_istream_t *stream, pb_byte_t *buf, size_t count) in flakystream_callback()
|
/nanopb-2.7.6/tests/regression/issue_544/ |
D | submsg_callback.c | 24 pb_byte_t buf[64]; in main()
|
/nanopb-2.7.6/tests/regression/issue_249/ |
D | test.c | 36 pb_byte_t buf[128] = {0}; in main()
|
/nanopb-2.7.6/tests/sort_by_tag/ |
D | sort_by_tag.c | 10 pb_byte_t buf[256]; in main()
|
/nanopb-2.7.6/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() 90 pb_byte_t opt_fbytes[4] = {'3', '0', '5', '9'}; in main()
|
/nanopb-2.7.6/tests/raw_decode/ |
D | raw_decode.c | 13 static pb_byte_t g_history[HISTORY_LEN];
|
/nanopb-2.7.6/docs/ |
D | reference.md | 162 ### pb_byte_t subsection 167 typedef uint_least8_t pb_byte_t; 206 | `PB_LTYPE_FIXED_LENGTH_BYTES` |0x0B |Inline `pb_byte_t` array of fixed size. 241 const pb_byte_t *default_value; 308 pb_byte_t bytes[1]; 457 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 474 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 637 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); 716 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); 729 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | concepts.md | 203 .pb.h: `PB_BYTES_ARRAY_T(16) data;`, where the struct contains `{pb_size_t size; pb_byte_t bytes[n]… 207 .pb.h: `pb_byte_t data[16];`
|