/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...] |
/bionic/libc/kernel/uapi/sound/ |
emu10k1.h | 345 unsigned int substream; member in struct:snd_emu10k1_fx8010_pcm_rec
|
/external/kernel-headers/original/uapi/sound/ |
emu10k1.h | 340 unsigned int substream; /* substream number */ member in struct:snd_emu10k1_fx8010_pcm_rec 342 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:__anon38686 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 */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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:__anon40555 320 unsigned int channels; /* 16-bit channels count, zero = remove this substream */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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 */
|