Lines Matching refs:dest

25 static bool checkreturn pb_decode_varint32_eof(pb_istream_t *stream, uint32_t *dest, bool *eof);
170 static bool checkreturn pb_decode_varint32_eof(pb_istream_t *stream, uint32_t *dest, bool *eof) in pb_decode_varint32_eof() argument
232 *dest = result; in pb_decode_varint32_eof()
236 bool checkreturn pb_decode_varint32(pb_istream_t *stream, uint32_t *dest) in pb_decode_varint32() argument
238 return pb_decode_varint32_eof(stream, dest, NULL); in pb_decode_varint32()
242 bool checkreturn pb_decode_varint(pb_istream_t *stream, uint64_t *dest) in pb_decode_varint() argument
260 *dest = result; in pb_decode_varint()
1345 bool pb_decode_bool(pb_istream_t *stream, bool *dest) in pb_decode_bool() argument
1351 *(bool*)dest = (value != 0); in pb_decode_bool()
1355 bool pb_decode_svarint(pb_istream_t *stream, pb_int64_t *dest) in pb_decode_svarint() argument
1362 *dest = (pb_int64_t)(~(value >> 1)); in pb_decode_svarint()
1364 *dest = (pb_int64_t)(value >> 1); in pb_decode_svarint()
1369 bool pb_decode_fixed32(pb_istream_t *stream, void *dest) in pb_decode_fixed32() argument
1381 *(uint32_t*)dest = u.fixed32; in pb_decode_fixed32()
1383 *(uint32_t*)dest = ((uint32_t)u.bytes[0] << 0) | in pb_decode_fixed32()
1392 bool pb_decode_fixed64(pb_istream_t *stream, void *dest) in pb_decode_fixed64() argument
1404 *(uint64_t*)dest = u.fixed64; in pb_decode_fixed64()
1406 *(uint64_t*)dest = ((uint64_t)u.bytes[0] << 0) | in pb_decode_fixed64()
1500 pb_bytes_array_t *dest; in pb_dec_bytes() local
1522 dest = *(pb_bytes_array_t**)field->pData; in pb_dec_bytes()
1529 dest = (pb_bytes_array_t*)field->pData; in pb_dec_bytes()
1532 dest->size = (pb_size_t)size; in pb_dec_bytes()
1533 return pb_read(stream, dest->bytes, (size_t)size); in pb_dec_bytes()
1540 pb_byte_t *dest = (pb_byte_t*)field->pData; in pb_dec_string() local
1564 dest = *(pb_byte_t**)field->pData; in pb_dec_string()
1573 dest[size] = 0; in pb_dec_string()
1575 if (!pb_read(stream, dest, (size_t)size)) in pb_dec_string()
1579 if (!pb_validate_utf8((const char*)dest)) in pb_dec_string()
1662 bool pb_decode_double_as_float(pb_istream_t *stream, float *dest) in pb_decode_double_as_float() argument
1724 *dest = out.f; in pb_decode_double_as_float()