Home
last modified time | relevance | path

Searched refs:pb_uint64_t (Results 1 – 2 of 2) sorted by relevance

/nanopb-3.4.0/
Dpb_encode.c42 #define pb_uint64_t uint32_t macro
45 #define pb_uint64_t uint64_t macro
173 if (!pb_encode_varint(stream, (pb_uint64_t)size)) in encode_array()
606 bool checkreturn pb_encode_varint(pb_ostream_t *stream, pb_uint64_t value) in pb_encode_varint()
626 pb_uint64_t zigzagged; in pb_encode_svarint()
627 pb_uint64_t mask = ((pb_uint64_t)-1) >> 1; /* Satisfy clang -fsanitize=integer */ in pb_encode_svarint()
629 zigzagged = ~(((pb_uint64_t)value & mask) << 1); in pb_encode_svarint()
631 zigzagged = (pb_uint64_t)value << 1; in pb_encode_svarint()
676 pb_uint64_t tag = ((pb_uint64_t)field_number << 3) | wiretype; in pb_encode_tag()
717 if (!pb_encode_varint(stream, (pb_uint64_t)size)) in pb_encode_string()
[all …]
Dpb_decode.c54 #define pb_uint64_t uint32_t macro
57 #define pb_uint64_t uint64_t macro
1357 pb_uint64_t value; in pb_decode_svarint()
1428 pb_uint64_t value, clamped; in pb_dec_varint()
1433 if (field->data_size == sizeof(pb_uint64_t)) in pb_dec_varint()
1434 clamped = *(pb_uint64_t*)field->pData = value; in pb_dec_varint()
1451 pb_uint64_t value; in pb_dec_varint()