Home
last modified time | relevance | path

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

/external/nanopb-c/
Dpb_encode.h67 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
72 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
76 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
148 bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
Dpb_encode.c336 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode() argument
339 const void *pData = src_struct; in pb_encode()
376 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_delimited() argument
378 return pb_encode_submessage(stream, fields, src_struct); in pb_encode_delimited()
381 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct) in pb_get_encoded_size() argument
385 if (!pb_encode(&stream, fields, src_struct)) in pb_get_encoded_size()
505 …eturn pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_submessage() argument
512 if (!pb_encode(&substream, fields, src_struct)) in pb_encode_submessage()
541 status = pb_encode(&substream, fields, src_struct); in pb_encode_submessage()
/external/nanopb-c/docs/
Dreference.rst410 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
414 :src_struct: Pointer to the data that will be serialized.
423 … bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
527 …bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);