/nanopb-3.4.0/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-3.4.0/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-3.4.0/ |
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() 54 pb_byte_t *dest = (pb_byte_t*)stream->state; in buf_write() 57 memcpy(dest, buf, count * sizeof(pb_byte_t)); in buf_write() 62 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize) in pb_ostream_from_buffer() 83 bool checkreturn pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count) in pb_write() 543 const pb_byte_t zero = 0; in pb_encode_ex() 575 pb_byte_t buffer[10]; in pb_encode_varint_32() 576 pb_byte_t byte = (pb_byte_t)(low & 0x7F); in pb_encode_varint_32() 583 byte = (pb_byte_t)(low & 0x7F); 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); 128 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t msglen); 133 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… 68 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() 70 const pb_byte_t *source = (const pb_byte_t*)stream->state; in buf_read() 71 stream->state = (pb_byte_t*)stream->state + count; in buf_read() 75 memcpy(buf, source, count * sizeof(pb_byte_t)); in buf_read() 81 bool checkreturn pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in pb_read() 90 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() [all …]
|
D | pb_common.c | 336 const pb_byte_t *s = (const pb_byte_t*)str; in pb_validate_utf8()
|
D | pb.h | 305 typedef uint_least8_t pb_byte_t; typedef 319 const pb_byte_t *default_value; 368 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } 373 pb_byte_t bytes[1];
|
/nanopb-3.4.0/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); 128 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t msglen); 133 bool pb_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
|
D | pb.h | 305 typedef uint_least8_t pb_byte_t; typedef 319 const pb_byte_t *default_value; 368 #define PB_BYTES_ARRAY_T(n) struct { pb_size_t size; pb_byte_t bytes[n]; } 373 pb_byte_t bytes[1];
|
/nanopb-3.4.0/tests/regression/issue_547/ |
D | test.c | 8 pb_byte_t buf[512]; in main()
|
/nanopb-3.4.0/tests/regression/issue_247/ |
D | padding.c | 21 pb_byte_t buf[128] = {0}; in main()
|
/nanopb-3.4.0/tests/fixed_count/ |
D | fixed_count_unittests.c | 14 pb_byte_t buffer[Message1_size]; in main() 40 pb_byte_t input[] = {0x08, 0x00, 0x08, 0x01, 0x08, 0x02, 0x08, 0x03}; in main() 60 pb_byte_t buffer[Message2_size]; in main() 89 pb_byte_t buffer[Message3_size]; in main() 139 pb_byte_t buffer[256]; in main()
|
/nanopb-3.4.0/tests/regression/issue_558/ |
D | mixed.c | 10 pb_byte_t buf[64]; in main()
|
/nanopb-3.4.0/tests/fuzztest/ |
D | flakystream.c | 4 bool flakystream_callback(pb_istream_t *stream, pb_byte_t *buf, size_t count) in flakystream_callback()
|
/nanopb-3.4.0/tests/regression/issue_544/ |
D | submsg_callback.c | 24 pb_byte_t buf[64]; in main()
|
/nanopb-3.4.0/tests/regression/issue_249/ |
D | test.c | 36 pb_byte_t buf[128] = {0}; in main()
|
/nanopb-3.4.0/tests/sort_by_tag/ |
D | sort_by_tag.c | 10 pb_byte_t buf[256]; in main()
|
/nanopb-3.4.0/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-3.4.0/tests/raw_decode/ |
D | raw_decode.c | 13 static pb_byte_t g_history[HISTORY_LEN];
|
/nanopb-3.4.0/docs/ |
D | reference.md | 175 ### pb_byte_t subsection 180 typedef uint_least8_t pb_byte_t; 219 | `PB_LTYPE_FIXED_LENGTH_BYTES` |0x0B |Inline `pb_byte_t` array of fixed size. 254 const pb_byte_t *default_value; 321 pb_byte_t bytes[1]; 470 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize); 487 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count); 650 bool pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size); 729 pb_istream_t pb_istream_from_buffer(const pb_byte_t *buf, size_t bufsize); 742 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];`
|