Home
last modified time | relevance | path

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

/nanopb-2.7.6/
Dpb_decode.c1410 pb_uint64_t value, clamped; in pb_dec_varint() local
1416 clamped = *(pb_uint64_t*)field->pData = value; in pb_dec_varint()
1418 clamped = *(uint32_t*)field->pData = (uint32_t)value; in pb_dec_varint()
1420 clamped = *(uint_least16_t*)field->pData = (uint_least16_t)value; in pb_dec_varint()
1422 clamped = *(uint_least8_t*)field->pData = (uint_least8_t)value; in pb_dec_varint()
1426 if (clamped != value) in pb_dec_varint()
1435 pb_int64_t clamped; in pb_dec_varint() local
1461 clamped = *(pb_int64_t*)field->pData = svalue; in pb_dec_varint()
1463 clamped = *(int32_t*)field->pData = (int32_t)svalue; in pb_dec_varint()
1465 clamped = *(int_least16_t*)field->pData = (int_least16_t)svalue; in pb_dec_varint()
[all …]