Home
last modified time | relevance | path

Searched refs:pb_field_t (Results 1 – 25 of 76) sorted by relevance

1234

/external/nanopb-c/
Dpb_encode.c23 typedef bool (*pb_encoder_t)(pb_ostream_t *stream, const pb_field_t *field, const void *src) checkr…
26 static bool checkreturn encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pDa…
27 static bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pDa…
29 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const…
31 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *sr…
32 static bool checkreturn pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *s…
33 static bool checkreturn pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *s…
34 static bool checkreturn pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *s…
35 static bool checkreturn pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *s…
36 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, const void *src…
[all …]
Dpb_decode.c24 typedef bool (*pb_decoder_t)(pb_istream_t *stream, const pb_field_t *field, void *dest) checkreturn;
36 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct);
37 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_t *field, void *dest);
39 static bool checkreturn pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
40 static bool checkreturn pb_dec_svarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
41 static bool checkreturn pb_dec_fixed32(pb_istream_t *stream, const pb_field_t *field, void *dest);
42 static bool checkreturn pb_dec_fixed64(pb_istream_t *stream, const pb_field_t *field, void *dest);
43 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest);
44 static bool checkreturn pb_dec_string(pb_istream_t *stream, const pb_field_t *field, void *dest);
45 static bool checkreturn pb_dec_submessage(pb_istream_t *stream, const pb_field_t *field, void *dest…
[all …]
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 bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[], const void *src_stru…
82 bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
124 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
164 bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
Dpb_decode.h68 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
80 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
86 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
91 bool pb_decode_delimited_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
98 bool pb_decode_nullterminated(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
105 void pb_release(const pb_field_t fields[], void *dest_struct);
/external/grpc-grpc/third_party/nanopb/
Dpb_encode.c23 typedef bool (*pb_encoder_t)(pb_ostream_t *stream, const pb_field_t *field, const void *src) checkr…
26 static bool checkreturn encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pDa…
27 static bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pDa…
29 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const…
30 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *sr…
31 static bool checkreturn pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *s…
32 static bool checkreturn pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *s…
33 static bool checkreturn pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *s…
34 static bool checkreturn pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *s…
35 static bool checkreturn pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, const void *src…
[all …]
Dpb_decode.c24 typedef bool (*pb_decoder_t)(pb_istream_t *stream, const pb_field_t *field, void *dest) checkreturn;
37 static void pb_message_set_to_defaults(const pb_field_t fields[], void *dest_struct);
38 static bool checkreturn pb_dec_varint(pb_istream_t *stream, const pb_field_t *field, void *dest);
39 static bool checkreturn pb_dec_uvarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
40 static bool checkreturn pb_dec_svarint(pb_istream_t *stream, const pb_field_t *field, void *dest);
41 static bool checkreturn pb_dec_fixed32(pb_istream_t *stream, const pb_field_t *field, void *dest);
42 static bool checkreturn pb_dec_fixed64(pb_istream_t *stream, const pb_field_t *field, void *dest);
43 static bool checkreturn pb_dec_bytes(pb_istream_t *stream, const pb_field_t *field, void *dest);
44 static bool checkreturn pb_dec_string(pb_istream_t *stream, const pb_field_t *field, void *dest);
45 static bool checkreturn pb_dec_submessage(pb_istream_t *stream, const pb_field_t *field, void *dest…
[all …]
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);
118 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
148 bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
Dpb_decode.h68 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
80 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
86 bool pb_decode_delimited(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct);
93 void pb_release(const pb_field_t fields[], void *dest_struct);
Dpb_common.h16 const pb_field_t *start; /* Start of the pb_field_t array */
17 const pb_field_t *pos; /* Current position of the iterator */
27 bool pb_field_iter_begin(pb_field_iter_t *iter, const pb_field_t *fields, void *dest_struct);
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/
Dload_balancer.pb.h132 extern const pb_field_t grpc_lb_v1_LoadBalanceRequest_fields[3];
133 extern const pb_field_t grpc_lb_v1_InitialLoadBalanceRequest_fields[2];
134 extern const pb_field_t grpc_lb_v1_ClientStatsPerToken_fields[3];
135 extern const pb_field_t grpc_lb_v1_ClientStats_fields[7];
136 extern const pb_field_t grpc_lb_v1_LoadBalanceResponse_fields[3];
137 extern const pb_field_t grpc_lb_v1_InitialLoadBalanceResponse_fields[3];
138 extern const pb_field_t grpc_lb_v1_ServerList_fields[2];
139 extern const pb_field_t grpc_lb_v1_Server_fields[5];
Dload_balancer.pb.c12 const pb_field_t grpc_lb_v1_LoadBalanceRequest_fields[3] = {
18 const pb_field_t grpc_lb_v1_InitialLoadBalanceRequest_fields[2] = {
23 const pb_field_t grpc_lb_v1_ClientStatsPerToken_fields[3] = {
29 const pb_field_t grpc_lb_v1_ClientStats_fields[7] = {
39 const pb_field_t grpc_lb_v1_LoadBalanceResponse_fields[3] = {
45 const pb_field_t grpc_lb_v1_InitialLoadBalanceResponse_fields[3] = {
51 const pb_field_t grpc_lb_v1_ServerList_fields[2] = {
56 const pb_field_t grpc_lb_v1_Server_fields[5] = {
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dhandshaker.pb.h216 extern const pb_field_t grpc_gcp_Endpoint_fields[4];
217 extern const pb_field_t grpc_gcp_Identity_fields[3];
218 extern const pb_field_t grpc_gcp_StartClientHandshakeReq_fields[10];
219 extern const pb_field_t grpc_gcp_ServerHandshakeParameters_fields[3];
220 extern const pb_field_t grpc_gcp_StartServerHandshakeReq_fields[7];
221 extern const pb_field_t grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_fields[3];
222 extern const pb_field_t grpc_gcp_NextHandshakeMessageReq_fields[2];
223 extern const pb_field_t grpc_gcp_HandshakerReq_fields[4];
224 extern const pb_field_t grpc_gcp_HandshakerResult_fields[8];
225 extern const pb_field_t grpc_gcp_HandshakerStatus_fields[3];
[all …]
Dalts_handshaker_service_api_util.h119 bool encode_string_or_bytes_cb(pb_ostream_t* stream, const pb_field_t* field,
126 bool encode_repeated_identity_cb(pb_ostream_t* stream, const pb_field_t* field,
130 bool encode_repeated_string_cb(pb_ostream_t* stream, const pb_field_t* field,
136 bool decode_string_or_bytes_cb(pb_istream_t* stream, const pb_field_t* field,
142 bool decode_repeated_identity_cb(pb_istream_t* stream, const pb_field_t* field,
146 bool decode_repeated_string_cb(pb_istream_t* stream, const pb_field_t* field,
Dhandshaker.pb.c12 const pb_field_t grpc_gcp_Endpoint_fields[4] = {
19 const pb_field_t grpc_gcp_Identity_fields[3] = {
25 const pb_field_t grpc_gcp_StartClientHandshakeReq_fields[10] = {
38 const pb_field_t grpc_gcp_ServerHandshakeParameters_fields[3] = {
44 const pb_field_t grpc_gcp_StartServerHandshakeReq_fields[7] = {
54 const pb_field_t grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_fields[3] = {
60 const pb_field_t grpc_gcp_NextHandshakeMessageReq_fields[2] = {
65 const pb_field_t grpc_gcp_HandshakerReq_fields[4] = {
72 const pb_field_t grpc_gcp_HandshakerResult_fields[8] = {
83 const pb_field_t grpc_gcp_HandshakerStatus_fields[3] = {
[all …]
Dalts_handshaker_service_api_util.cc77 bool encode_string_or_bytes_cb(pb_ostream_t* stream, const pb_field_t* field, in encode_string_or_bytes_cb()
85 bool encode_repeated_identity_cb(pb_ostream_t* stream, const pb_field_t* field, in encode_repeated_identity_cb()
98 bool encode_repeated_string_cb(pb_ostream_t* stream, const pb_field_t* field, in encode_repeated_string_cb()
112 bool decode_string_or_bytes_cb(pb_istream_t* stream, const pb_field_t* field, in decode_string_or_bytes_cb()
124 bool decode_repeated_identity_cb(pb_istream_t* stream, const pb_field_t* field, in decode_repeated_identity_cb()
135 bool decode_repeated_string_cb(pb_istream_t* stream, const pb_field_t* field, in decode_repeated_string_cb()
/external/nanopb-c/tests/alltypes_proto3_callback/
Dencode_alltypes_callback.c13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_varint()
19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_svarint()
25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed32()
31 static bool write_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed64()
37 static bool write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_string()
43 static bool write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_submsg()
50 static bool write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_emptymsg()
57 static bool write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_varint()
71 static bool write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_svarint()
85 static bool write_repeated_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_fixed32()
[all …]
Ddecode_alltypes_callback.c18 static bool read_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_varint()
28 static bool read_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_svarint()
38 static bool read_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed32()
48 static bool read_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed64()
58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string()
70 static bool read_submsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_submsg()
84 static bool read_emptymsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_emptymsg()
90 static bool read_repeated_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_varint()
101 static bool read_repeated_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_svarint()
112 static bool read_repeated_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_fixed32()
[all …]
/external/grpc-grpc/third_party/nanopb/tests/alltypes_callback/
Dencode_alltypes_callback.c13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_varint()
19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_svarint()
25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed32()
31 static bool write_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed64()
37 static bool write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_string()
43 static bool write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_submsg()
50 static bool write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_emptymsg()
57 static bool write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_varint()
71 static bool write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_svarint()
85 static bool write_repeated_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_fixed32()
[all …]
Ddecode_alltypes_callback.c18 static bool read_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_varint()
28 static bool read_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_svarint()
38 static bool read_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed32()
48 static bool read_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed64()
58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string()
70 static bool read_submsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_submsg()
81 static bool read_emptymsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_emptymsg()
87 static bool read_repeated_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_varint()
98 static bool read_repeated_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_svarint()
109 static bool read_repeated_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_fixed32()
[all …]
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_varint()
19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_svarint()
25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed32()
31 static bool write_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_fixed64()
37 static bool write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_string()
43 static bool write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_submsg()
50 static bool write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_emptymsg()
57 static bool write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_varint()
71 static bool write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_svarint()
85 static bool write_repeated_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in write_repeated_fixed32()
[all …]
Ddecode_alltypes_callback.c18 static bool read_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_varint()
28 static bool read_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_svarint()
38 static bool read_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed32()
48 static bool read_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_fixed64()
58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string()
70 static bool read_submsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_submsg()
85 static bool read_emptymsg(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_emptymsg()
91 static bool read_repeated_varint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_varint()
102 static bool read_repeated_svarint(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_svarint()
113 static bool read_repeated_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_repeated_fixed32()
[all …]
/external/grpc-grpc/third_party/nanopb/tests/callbacks/
Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string()
19 bool encode_int32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_int32()
27 bool encode_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_fixed32()
37 bool encode_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_fixed64()
47 bool encode_repeatedstring(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_repeatedstring()
/external/nanopb-c/tests/callbacks/
Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string()
19 bool encode_int32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_int32()
27 bool encode_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_fixed32()
37 bool encode_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_fixed64()
47 bool encode_repeatedstring(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_repeatedstring()
/external/nanopb-c/examples/using_union_messages/
Ddecode.c17 const pb_field_t* decode_unionmessage_type(pb_istream_t *stream) in decode_unionmessage_type()
27 const pb_field_t *field; in decode_unionmessage_type()
45 bool decode_unionmessage_contents(pb_istream_t *stream, const pb_field_t fields[], void *dest_struc… in decode_unionmessage_contents()
64 const pb_field_t *type = decode_unionmessage_type(&stream); in main()
/external/grpc-grpc/third_party/nanopb/examples/using_union_messages/
Ddecode.c17 const pb_field_t* decode_unionmessage_type(pb_istream_t *stream) in decode_unionmessage_type()
27 const pb_field_t *field; in decode_unionmessage_type()
45 bool decode_unionmessage_contents(pb_istream_t *stream, const pb_field_t fields[], void *dest_struc… in decode_unionmessage_contents()
64 const pb_field_t *type = decode_unionmessage_type(&stream); in main()

1234