Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 7 of 7) sorted by relevance

/nanopb-3.4.0/tests/regression/issue_407/
Dtest_extensions.c16 pb_extension_t ext = pb_extension_init_zero; in main() local
24 msg.extensions = &ext; in main()
25 ext.type = &ExtMessage_ext_message_ext; in main()
26 ext.dest = &extmsg; in main()
27 ext.next = NULL; in main()
48 pb_extension_t ext = pb_extension_init_zero; in main() local
52 msg.extensions = &ext; in main()
53 ext.type = &ExtMessage_ext_message_ext; in main()
54 ext.dest = &extmsg; in main()
55 ext.next = NULL; in main()
[all …]
/nanopb-3.4.0/tests/regression/issue_342/
Dtest_extensions.c24 pb_extension_t ext = {0}; in main() local
28 ext.type = &string_extension; in main()
29 ext.dest = &callback_def; in main()
30 msg.extensions = &ext; in main()
40 pb_extension_t ext = {0}; in main() local
43 ext.type = &string_extension; in main()
45 msg.extensions = &ext; in main()
/nanopb-3.4.0/tests/fuzztest/
Dgenerate_message.c53 pb_extension_t ext = pb_extension_init_zero; in generate_message() local
63 ext.type = &alltypes_static_TestExtension_testextension; in generate_message()
64 ext.dest = &extmsg; in generate_message()
65 ext.next = NULL; in generate_message()
66 msg.extensions = &ext; in generate_message()
Dfuzztest.c73 pb_extension_t ext = pb_extension_init_zero; in do_decode() local
77 ext.type = &alltypes_static_TestExtension_testextension; in do_decode()
78 ext.dest = &extmsg; in do_decode()
79 ext.next = NULL; in do_decode()
83 ((alltypes_static_AllTypes*)msg)->extensions = &ext; in do_decode()
87 ((alltypes_pointer_AllTypes*)msg)->extensions = &ext; in do_decode()
208 pb_extension_t ext = pb_extension_init_zero; in do_roundtrip() local
210 ext.type = &alltypes_static_TestExtension_testextension; in do_roundtrip()
211 ext.dest = &extmsg; in do_roundtrip()
212 ext.next = NULL; in do_roundtrip()
[all …]
/nanopb-3.4.0/
Dpb_decode.c875 pb_extension_t *ext = *(pb_extension_t* const *)field->pData; in pb_field_set_to_default() local
876 while (ext != NULL) in pb_field_set_to_default()
879 if (pb_field_iter_begin_extension(&ext_iter, ext)) in pb_field_set_to_default()
881 ext->found = false; in pb_field_set_to_default()
885 ext = ext->next; in pb_field_set_to_default()
1245 pb_extension_t *ext = *(pb_extension_t**)field->pData; in pb_release_single_field() local
1246 while (ext != NULL) in pb_release_single_field()
1249 if (pb_field_iter_begin_extension(&ext_iter, ext)) in pb_release_single_field()
1253 ext = ext->next; in pb_release_single_field()
/nanopb-3.4.0/extra/
DFindNanopb.cmake236 get_filename_component(ext ${depends_file} EXT)
237 if(ext STREQUAL ".options")
/nanopb-3.4.0/generator/
Dnanopb_generator.py2118 for ext in self.extensions:
2119 yield ext.extension_def(self.dependencies) + '\n'
2227 ext = subdesc.options.Extensions[ext_type]
2228 new_options.MergeFrom(ext)