Searched refs:byte (Results 1 – 12 of 12) sorted by relevance
/nanopb-3.4.0/tests/alltypes_proto3/ |
D | SConscript | 14 # match byte-per-byte to the protoc output.
|
/nanopb-3.4.0/ |
D | pb_encode.c | 576 pb_byte_t byte = (pb_byte_t)(low & 0x7F); in pb_encode_varint_32() local 581 byte |= 0x80; in pb_encode_varint_32() 582 buffer[i++] = byte; in pb_encode_varint_32() 583 byte = (pb_byte_t)(low & 0x7F); in pb_encode_varint_32() 589 byte = (pb_byte_t)(byte | ((high & 0x07) << 4)); in pb_encode_varint_32() 594 byte |= 0x80; in pb_encode_varint_32() 595 buffer[i++] = byte; in pb_encode_varint_32() 596 byte = (pb_byte_t)(high & 0x7F); in pb_encode_varint_32() 601 buffer[i++] = byte; in pb_encode_varint_32() 611 pb_byte_t byte = (pb_byte_t)value; in pb_encode_varint() local [all …]
|
D | pb_decode.c | 172 pb_byte_t byte; in pb_decode_varint32_eof() local 175 if (!pb_readbyte(stream, &byte)) in pb_decode_varint32_eof() 188 if ((byte & 0x80) == 0) in pb_decode_varint32_eof() 191 result = byte; in pb_decode_varint32_eof() 197 result = byte & 0x7F; in pb_decode_varint32_eof() 201 if (!pb_readbyte(stream, &byte)) in pb_decode_varint32_eof() 208 bool valid_extension = ((byte & 0x7F) == 0x00 || in pb_decode_varint32_eof() 209 ((result >> 31) != 0 && byte == sign_extension)); in pb_decode_varint32_eof() 218 if ((byte & 0x70) != 0 && (byte & 0x78) != 0x78) in pb_decode_varint32_eof() 222 result |= (uint32_t)(byte & 0x0F) << bitpos; in pb_decode_varint32_eof() [all …]
|
/nanopb-3.4.0/tests/alltypes/ |
D | SConscript | 15 # match byte-per-byte to the protoc output.
|
/nanopb-3.4.0/tests/without_64bit/ |
D | SConscript | 30 # match byte-per-byte to the protoc output.
|
/nanopb-3.4.0/tests/site_scons/platforms/stm32/ |
D | stm32_ram.ld | 121 /* Location counter can end up 2byte aligned with narrow Thumb code but 123 which must be 4byte aligned */
|
/nanopb-3.4.0/generator/proto/ |
D | nanopb.proto | 39 DS_1 = 1; // 1 word; up to 15 byte fields, no arrays 40 DS_2 = 2; // 2 words; up to 4095 byte fields, 4095 entry arrays 41 DS_4 = 4; // 4 words; up to 2^32-1 byte fields, 2^16-1 entry arrays
|
/nanopb-3.4.0/tests/decode_unittests/ |
D | decode_unittests.c | 27 uint8_t byte; in callback_check() local 32 if (!pb_read(stream, &byte, 1)) in callback_check() 35 if (byte != ref->bytes[i]) in callback_check()
|
/nanopb-3.4.0/docs/ |
D | reference.md | 177 Type used for storing byte-sized data, such as raw binary input and 184 bits need to be used for each byte. 214 | `PB_LTYPE_BYTES` |0x06 |Structure with `size_t` field and byte array. 317 An byte array with a field for storing the length: 733 | buf | Pointer to byte array to read from. 734 | bufsize | Size of the byte array. Typically length of the message to be decoded.
|
D | concepts.md | 168 `(nanopb).max_size` is also set, then bytes map to an inline byte
|
D | migration.md | 248 by a null byte, which is read as zero tag value. Most other protobuf
|
/nanopb-3.4.0/generator/proto/google/protobuf/ |
D | descriptor.proto | 347 // byte sequence to a string field. 349 // However, an extension field still accepts non-UTF-8 byte sequences. 869 // the last relevant byte (so the length of the text = end - begin).
|