Searched refs:substream (Results 1 – 7 of 7) sorted by relevance
/external/nanopb-c/ |
D | pb_decode.c | 317 bool checkreturn pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream) in pb_make_string_substream() argument 323 *substream = *stream; in pb_make_string_substream() 324 if (substream->bytes_left < size) in pb_make_string_substream() 327 substream->bytes_left = size; in pb_make_string_substream() 332 void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream) in pb_close_string_substream() argument 334 stream->state = substream->state; in pb_close_string_substream() 337 stream->errmsg = substream->errmsg; in pb_close_string_substream() 433 pb_istream_t substream; in decode_static_field() local 434 if (!pb_make_string_substream(stream, &substream)) in decode_static_field() 437 while (substream.bytes_left > 0 && *size < iter->pos->array_size) in decode_static_field() [all …]
|
D | pb_encode.c | 508 pb_ostream_t substream = PB_OSTREAM_SIZING; in pb_encode_submessage() local 512 if (!pb_encode(&substream, fields, src_struct)) in pb_encode_submessage() 515 stream->errmsg = substream.errmsg; in pb_encode_submessage() 520 size = substream.bytes_written; in pb_encode_submessage() 533 substream.callback = stream->callback; in pb_encode_submessage() 534 substream.state = stream->state; in pb_encode_submessage() 535 substream.max_size = size; in pb_encode_submessage() 536 substream.bytes_written = 0; in pb_encode_submessage() 538 substream.errmsg = NULL; in pb_encode_submessage() 541 status = pb_encode(&substream, fields, src_struct); in pb_encode_submessage() [all …]
|
D | pb_decode.h | 142 bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); 143 void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream);
|
/external/nanopb-c/examples/using_union_messages/ |
D | decode.c | 47 pb_istream_t substream; in decode_unionmessage_contents() local 49 if (!pb_make_string_substream(stream, &substream)) in decode_unionmessage_contents() 52 status = pb_decode(&substream, fields, dest_struct); in decode_unionmessage_contents() 53 pb_close_string_substream(stream, &substream); in decode_unionmessage_contents()
|
/external/nanopb-c/docs/ |
D | reference.rst | 735 Decode the length for a field with wire type *PB_WT_STRING* and create a substream for reading the … 737 bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); 740 :substream: New substream that has limited length. Filled in by the function. 743 …eger from the stream. This is interpreted as a number of bytes, and the substream is set up so tha… 747 Close the substream created with `pb_make_string_substream`_. :: 749 void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); 752 :substream: Substream to close 754 This function copies back the state from the substream to the parent stream. 755 It must be called after done with the substream.
|
/external/kernel-headers/original/uapi/sound/ |
D | emu10k1.h | 340 unsigned int substream; /* substream number */ member
|
/external/libvpx/libvpx/ |
D | CHANGELOG | 276 for each substream.
|