Home
last modified time | relevance | path

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

/nanopb-3.4.0/
Dpb_decode.c1428 pb_uint64_t value, clamped; in pb_dec_varint() local
1434 clamped = *(pb_uint64_t*)field->pData = value; in pb_dec_varint()
1436 clamped = *(uint32_t*)field->pData = (uint32_t)value; in pb_dec_varint()
1438 clamped = *(uint_least16_t*)field->pData = (uint_least16_t)value; in pb_dec_varint()
1440 clamped = *(uint_least8_t*)field->pData = (uint_least8_t)value; in pb_dec_varint()
1444 if (clamped != value) in pb_dec_varint()
1453 pb_int64_t clamped; in pb_dec_varint() local
1479 clamped = *(pb_int64_t*)field->pData = svalue; in pb_dec_varint()
1481 clamped = *(int32_t*)field->pData = (int32_t)svalue; in pb_dec_varint()
1483 clamped = *(int_least16_t*)field->pData = (int_least16_t)svalue; in pb_dec_varint()
[all …]