Home
last modified time | relevance | path

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

/nanopb-2.7.6/
Dpb_decode.c53 #define pb_int64_t int32_t macro
56 #define pb_int64_t int64_t macro
1337 bool pb_decode_svarint(pb_istream_t *stream, pb_int64_t *dest) in pb_decode_svarint()
1344 *dest = (pb_int64_t)(~(value >> 1)); in pb_decode_svarint()
1346 *dest = (pb_int64_t)(value >> 1); in pb_decode_svarint()
1434 pb_int64_t svalue; in pb_dec_varint()
1435 pb_int64_t clamped; in pb_dec_varint()
1453 if (field->data_size == sizeof(pb_int64_t)) in pb_dec_varint()
1454 svalue = (pb_int64_t)value; in pb_dec_varint()
1460 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
622 bool checkreturn pb_encode_svarint(pb_ostream_t *stream, pb_int64_t value) in pb_encode_svarint()
792 pb_int64_t value = 0; in pb_enc_varint()
800 else if (field->data_size == sizeof(pb_int64_t)) in pb_enc_varint()
801 value = *(const pb_int64_t*)field->pData; in pb_enc_varint()