Home
last modified time | relevance | path

Searched refs:src_struct (Results 1 – 7 of 7) 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);
78 … pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
82 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
164 bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
Dpb_encode.c494 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode() argument
497 if (!pb_field_iter_begin(&iter, fields, pb_const_cast(src_struct))) in pb_encode()
518 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_delimited() argument
520 return pb_encode_submessage(stream, fields, src_struct); in pb_encode_delimited()
523 …l pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_nullterminated() argument
527 if (!pb_encode(stream, fields, src_struct)) in pb_encode_nullterminated()
533 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct) in pb_get_encoded_size() argument
537 if (!pb_encode(&stream, fields, src_struct)) in pb_get_encoded_size()
682 …eturn pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_submessage() argument
689 if (!pb_encode(&substream, fields, src_struct)) in pb_encode_submessage()
[all …]
/external/grpc-grpc/third_party/nanopb/
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.c372 bool checkreturn pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode() argument
375 if (!pb_field_iter_begin(&iter, fields, remove_const(src_struct))) in pb_encode()
396 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_delimited() argument
398 return pb_encode_submessage(stream, fields, src_struct); in pb_encode_delimited()
401 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct) in pb_get_encoded_size() argument
405 if (!pb_encode(&stream, fields, src_struct)) in pb_get_encoded_size()
521 …eturn pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) in pb_encode_submessage() argument
528 if (!pb_encode(&substream, fields, src_struct)) in pb_encode_submessage()
557 status = pb_encode(&substream, fields, src_struct); in pb_encode_submessage()
/external/libxcam/wrapper/gstreamer/
Dgstxcamfilter.cpp615 GstStructure *sink_struct, *src_struct; in gst_xcam_filter_transform_caps() local
648 src_struct = gst_caps_get_structure (src_caps, 0); in gst_xcam_filter_transform_caps()
650 gst_structure_set (src_struct, "width", G_TYPE_INT, src_width, in gst_xcam_filter_transform_caps()
662 src_struct = gst_caps_get_structure (src_caps, 0); in gst_xcam_filter_transform_caps()
663 if (!gst_structure_get_int (src_struct, "width", &src_width)) { in gst_xcam_filter_transform_caps()
667 if (!gst_structure_get_int (src_struct, "height", &src_height)) { in gst_xcam_filter_transform_caps()
684 if (!gst_structure_get_fraction (src_struct, "framerate", &fps_n, &fps_d) && in gst_xcam_filter_transform_caps()
690 gst_structure_set (src_struct, "width", G_TYPE_INT, src_width, in gst_xcam_filter_transform_caps()
/external/grpc-grpc/third_party/nanopb/docs/
Dreference.rst433 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
437 :src_struct: Pointer to the data that will be serialized.
446 … bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
465 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
469 :src_struct: Pointer to the data that will be serialized.
561 …bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
/external/nanopb-c/docs/
Dreference.rst443 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
447 :src_struct: Pointer to the data that will be serialized.
456 … bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
475 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
479 :src_struct: Pointer to the data that will be serialized.
571 …bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);