/nanopb-2.7.6/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 280 alltypes.req_int32.funcs.decode = &read_varint; in check_alltypes() 283 alltypes.req_int64.funcs.decode = &read_varint; in check_alltypes() 286 alltypes.req_uint32.funcs.decode = &read_varint; in check_alltypes() 289 alltypes.req_uint32.funcs.decode = &read_varint; in check_alltypes() 292 alltypes.req_uint64.funcs.decode = &read_varint; in check_alltypes() 295 alltypes.req_sint32.funcs.decode = &read_svarint; in check_alltypes() 298 alltypes.req_sint64.funcs.decode = &read_svarint; in check_alltypes() 301 alltypes.req_bool.funcs.decode = &read_varint; in check_alltypes() 304 alltypes.req_fixed32.funcs.decode = &read_fixed32; in check_alltypes() 307 alltypes.req_sfixed32.funcs.decode = &read_fixed32; in check_alltypes() [all …]
|
D | encode_alltypes_callback.c | 277 alltypes.req_int32.funcs.encode = &write_varint; in main() 280 alltypes.req_int64.funcs.encode = &write_varint; in main() 283 alltypes.req_uint32.funcs.encode = &write_varint; in main() 286 alltypes.req_uint32.funcs.encode = &write_varint; in main() 289 alltypes.req_uint64.funcs.encode = &write_varint; in main() 292 alltypes.req_sint32.funcs.encode = &write_svarint; in main() 295 alltypes.req_sint64.funcs.encode = &write_svarint; in main() 298 alltypes.req_bool.funcs.encode = &write_varint; in main() 301 alltypes.req_fixed32.funcs.encode = &write_fixed32; in main() 304 alltypes.req_sfixed32.funcs.encode = &write_fixed32; in main() [all …]
|
/nanopb-2.7.6/tests/alltypes_proto3_callback/ |
D | decode_alltypes_callback.c | 270 alltypes.rep_int32.funcs.decode = &read_repeated_varint; in check_alltypes() 273 alltypes.rep_int64.funcs.decode = &read_repeated_varint; in check_alltypes() 276 alltypes.rep_uint32.funcs.decode = &read_repeated_varint; in check_alltypes() 279 alltypes.rep_uint64.funcs.decode = &read_repeated_varint; in check_alltypes() 282 alltypes.rep_sint32.funcs.decode = &read_repeated_svarint; in check_alltypes() 285 alltypes.rep_sint64.funcs.decode = &read_repeated_svarint; in check_alltypes() 288 alltypes.rep_bool.funcs.decode = &read_repeated_varint; in check_alltypes() 291 alltypes.rep_fixed32.funcs.decode = &read_repeated_fixed32; in check_alltypes() 294 alltypes.rep_sfixed32.funcs.decode = &read_repeated_fixed32; in check_alltypes() 297 alltypes.rep_float.funcs.decode = &read_repeated_fixed32; in check_alltypes() [all …]
|
D | encode_alltypes_callback.c | 239 alltypes.rep_int32.funcs.encode = &write_repeated_varint; in main() 242 alltypes.rep_int64.funcs.encode = &write_repeated_varint; in main() 245 alltypes.rep_uint32.funcs.encode = &write_repeated_varint; in main() 248 alltypes.rep_uint64.funcs.encode = &write_repeated_varint; in main() 251 alltypes.rep_sint32.funcs.encode = &write_repeated_svarint; in main() 254 alltypes.rep_sint64.funcs.encode = &write_repeated_svarint; in main() 257 alltypes.rep_bool.funcs.encode = &write_repeated_varint; in main() 260 alltypes.rep_fixed32.funcs.encode = &write_repeated_fixed32; in main() 263 alltypes.rep_sfixed32.funcs.encode = &write_repeated_fixed32; in main() 266 alltypes.rep_float.funcs.encode = &write_repeated_fixed32; in main() [all …]
|
/nanopb-2.7.6/tests/callbacks/ |
D | encode_callbacks.c | 71 testmessage.stringvalue.funcs.encode = &encode_string; in main() 72 testmessage.int32value.funcs.encode = &encode_int32; in main() 73 testmessage.fixed32value.funcs.encode = &encode_fixed32; in main() 74 testmessage.fixed64value.funcs.encode = &encode_fixed64; in main() 77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main() 78 testmessage.submsg.int32value.funcs.encode = &encode_int32; in main() 79 testmessage.submsg.fixed32value.funcs.encode = &encode_fixed32; in main() 80 testmessage.submsg.fixed64value.funcs.encode = &encode_fixed64; in main() 82 testmessage.repeatedstring.funcs.encode = &encode_repeatedstring; in main()
|
D | decode_callbacks.c | 73 testmessage.submsg.stringvalue.funcs.decode = &print_string; in main() 75 testmessage.submsg.int32value.funcs.decode = &print_int32; in main() 77 testmessage.submsg.fixed32value.funcs.decode = &print_fixed32; in main() 79 testmessage.submsg.fixed64value.funcs.decode = &print_fixed64; in main() 82 testmessage.stringvalue.funcs.decode = &print_string; in main() 84 testmessage.int32value.funcs.decode = &print_int32; in main() 86 testmessage.fixed32value.funcs.decode = &print_fixed32; in main() 88 testmessage.fixed64value.funcs.decode = &print_fixed64; in main() 90 testmessage.repeatedstring.funcs.decode = &print_string; in main()
|
/nanopb-2.7.6/tests/cyclic_messages/ |
D | encode_cyclic_callback.c | 42 tree.left.funcs.encode = encode_tree; in encode_tree() 46 tree.right.funcs.encode = encode_tree; in encode_tree() 84 pair.treeValue.funcs.encode = encode_tree; in encode_dictionary() 100 pair.dictValue.dictItem.funcs.encode = encode_dictionary; in encode_dictionary() 135 dict.dictItem.funcs.encode = encode_dictionary; in main()
|
/nanopb-2.7.6/tests/regression/issue_249/ |
D | test.c | 42 msg.submsg.foo.funcs.encode = &write_array; in main() 51 msg.submsg.foo.funcs.decode = &read_array; in main()
|
/nanopb-2.7.6/tests/oneof_callback/ |
D | decode_oneof.c | 94 msg->array.funcs.decode = print_int32; in msg_callback() 101 msg->strvalue.funcs.decode = print_string; in msg_callback() 139 msg.cb_values.funcs.decode = msg_callback; in main()
|
D | encode_oneof.c | 91 msg.values.submsg1.array.funcs.encode = encode_int32_array; in main() 96 msg.values.submsg2.strvalue.funcs.encode = encode_string; in main()
|
/nanopb-2.7.6/tests/regression/issue_342/ |
D | test_extensions.c | 27 callback_def.funcs.encode = &write_string; in main()
|
/nanopb-2.7.6/tests/regression/issue_544/ |
D | submsg_callback.c | 47 msg.cb_oneof.funcs.decode = msg_callback; in main()
|
/nanopb-2.7.6/ |
D | pb_common.c | 308 if (istream != NULL && pCallback->funcs.decode != NULL) in pb_default_field_callback() 310 return pCallback->funcs.decode(istream, field, &pCallback->arg); in pb_default_field_callback() 313 if (ostream != NULL && pCallback->funcs.encode != NULL) in pb_default_field_callback() 315 return pCallback->funcs.encode(ostream, field, &pCallback->arg); in pb_default_field_callback()
|
D | pb_encode.c | 346 return pCallback->funcs.encode == NULL; in pb_check_proto3_default_value() 925 if (callback->funcs.encode) in pb_enc_submessage() 927 if (!callback->funcs.encode(stream, field, &callback->arg)) in pb_enc_submessage()
|
D | pb_decode.c | 1587 if (callback->funcs.decode) in pb_dec_submessage() 1589 status = callback->funcs.decode(&substream, field, &callback->arg); in pb_dec_submessage()
|
D | pb.h | 367 } funcs; member
|
/nanopb-2.7.6/tests/fuzztest/ |
D | fuzztest.c | 171 msg->rep_int32.funcs.decode = &field_callback; in do_callback_decode() 173 msg->rep_string.funcs.decode = &field_callback; in do_callback_decode() 175 msg->rep_farray.funcs.decode = &field_callback; in do_callback_decode() 177 msg->req_limits.int64_min.funcs.decode = &field_callback; in do_callback_decode() 179 msg->cb_oneof.funcs.decode = &submsg_callback; in do_callback_decode()
|
/nanopb-2.7.6/tests/encode_unittests/ |
D | encode_unittests.c | 320 msg.data.funcs.encode = &fieldcallback; in main() 376 msg.submsg.data.funcs.encode = &fieldcallback; in main() 377 msg2.submsg.submsg.data.funcs.encode = &fieldcallback; in main() 385 msg.submsg.data.funcs.encode = &crazyfieldcallback; in main() 387 msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback; in main()
|
/nanopb-2.7.6/tests/mem_release/ |
D | mem_release.c | 232 msg.subs.funcs.decode = dummy_decode_cb; in test_Garbage()
|
/nanopb-2.7.6/tests/decode_unittests/ |
D | decode_unittests.c | 354 dest.data.funcs.decode = &callback_check; in main()
|
/nanopb-2.7.6/docs/ |
D | migration.md | 527 pointer type, when initializing `funcs.encode` or `funcs.decode`.
|
D | reference.md | 324 } funcs; 338 When calling [pb_encode](#pb_encode), `funcs.encode` is used, and 339 similarly when calling [pb_decode](#pb_decode), `funcs.decode` is used.
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb.h | 367 } funcs; member
|