Home
last modified time | relevance | path

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

/nanopb-3.4.0/
Dpb_decode.c53 #define pb_int64_t int32_t macro
56 #define pb_int64_t int64_t macro
1355 bool pb_decode_svarint(pb_istream_t *stream, pb_int64_t *dest) in pb_decode_svarint()
1362 *dest = (pb_int64_t)(~(value >> 1)); in pb_decode_svarint()
1364 *dest = (pb_int64_t)(value >> 1); in pb_decode_svarint()
1452 pb_int64_t svalue; in pb_dec_varint()
1453 pb_int64_t clamped; in pb_dec_varint()
1471 if (field->data_size == sizeof(pb_int64_t)) in pb_dec_varint()
1472 svalue = (pb_int64_t)value; in pb_dec_varint()
1478 if (field->data_size == sizeof(pb_int64_t)) in pb_dec_varint()
[all …]
Dpb_encode.c41 #define pb_int64_t int32_t macro
44 #define pb_int64_t int64_t macro
624 bool checkreturn pb_encode_svarint(pb_ostream_t *stream, pb_int64_t value) in pb_encode_svarint()
805 pb_int64_t value = 0; in pb_enc_varint()
813 else if (field->data_size == sizeof(pb_int64_t)) in pb_enc_varint()
814 value = *(const pb_int64_t*)field->pData; in pb_enc_varint()