/external/nanopb-c/examples/using_union_messages/ |
decode.c | 47 pb_istream_t substream; local 49 if (!pb_make_string_substream(stream, &substream)) 52 status = pb_decode(&substream, fields, dest_struct); 53 pb_close_string_substream(stream, &substream);
|
/external/nanopb-c/ |
pb_decode.c | 285 * a substream. Size is maximum size on call, and actual size on return. 314 /* Decode string length from stream and return a substream with limited length. 315 * Remember to close the substream using pb_close_string_substream(). 317 bool checkreturn pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream) 323 *substream = *stream; 324 if (substream->bytes_left < size) 327 substream->bytes_left = size; 332 void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream) 334 stream->state = substream->state; 337 stream->errmsg = substream->errmsg 433 pb_istream_t substream; local 616 pb_istream_t substream; local 636 pb_istream_t substream; local 909 pb_istream_t substream; local 1160 pb_istream_t substream; local [all...] |
pb_decode.h | 141 /* Make a limited-length substream for reading a PB_WT_STRING field. */ 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);
|
pb_encode.c | 507 /* First calculate the message size using a non-writing substream. */ 508 pb_ostream_t substream = PB_OSTREAM_SIZING; local 512 if (!pb_encode(&substream, fields, src_struct)) 515 stream->errmsg = substream.errmsg; 520 size = substream.bytes_written; 531 /* Use a substream to verify that a callback doesn't write more than 533 substream.callback = stream->callback; 534 substream.state = stream->state; 535 substream.max_size = size; 536 substream.bytes_written = 0 [all...] |
/external/chromium_org/courgette/ |
streams.h | 85 // Initializes |substream| to yield |length| bytes from |this| stream, 88 bool ShareSubstream(size_t offset, size_t length, SourceStream* substream); 90 // Initializes |substream| to yield |length| bytes from |this| stream, 93 bool ShareSubstream(size_t length, SourceStream* substream) { 94 return ShareSubstream(0, length, substream); 97 // Reads |length| bytes from |this| stream. Initializes |substream| to yield 100 bool ReadSubstream(size_t length, SourceStream* substream); 213 // Returns a pointer to a substream.
|
streams.cc | 161 SourceStream* substream) { 166 substream->Init(current_ + offset, length); 170 bool SourceStream::ReadSubstream(size_t length, SourceStream* substream) { 171 if (!ShareSubstream(0, length, substream))
|
/bionic/libc/kernel/uapi/sound/ |
emu10k1.h | 342 unsigned int substream; member in struct:snd_emu10k1_fx8010_pcm_rec
|
/external/kernel-headers/original/uapi/sound/ |
emu10k1.h | 333 unsigned int substream; /* substream number */ member in struct:snd_emu10k1_fx8010_pcm_rec 335 unsigned int channels; /* 16-bit channels count, zero = remove this substream */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/alsa/sound/ |
emu10k1.h | 269 unsigned int subdevice; /* subdevice (substream) number */ 318 unsigned int substream; /* substream number */ member in struct:__anon45377 320 unsigned int channels; /* 16-bit channels count, zero = remove this substream */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/sound/ |
emu10k1.h | 331 unsigned int substream; /* substream number */ member in struct:snd_emu10k1_fx8010_pcm_rec 333 unsigned int channels; /* 16-bit channels count, zero = remove this substream */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/sound/ |
emu10k1.h | 269 unsigned int subdevice; /* subdevice (substream) number */ 318 unsigned int substream; /* substream number */ member in struct:__anon47113 320 unsigned int channels; /* 16-bit channels count, zero = remove this substream */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sound/ |
emu10k1.h | 331 unsigned int substream; /* substream number */ member in struct:snd_emu10k1_fx8010_pcm_rec 333 unsigned int channels; /* 16-bit channels count, zero = remove this substream */
|