Home
last modified time | relevance | path

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

/nanopb-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/
Dpb_decode.c864 pb_extension_t *ext = *(pb_extension_t* const *)field->pData; in pb_field_set_to_default() local
865 while (ext != NULL) in pb_field_set_to_default()
868 if (pb_field_iter_begin_extension(&ext_iter, ext)) in pb_field_set_to_default()
870 ext->found = false; in pb_field_set_to_default()
874 ext = ext->next; in pb_field_set_to_default()
1234 pb_extension_t *ext = *(pb_extension_t**)field->pData; in pb_release_single_field() local
1235 while (ext != NULL) in pb_release_single_field()
1238 if (pb_field_iter_begin_extension(&ext_iter, ext)) in pb_release_single_field()
1242 ext = ext->next; in pb_release_single_field()
/nanopb-2.7.6/extra/
DFindNanopb.cmake236 get_filename_component(ext ${depends_file} EXT)
237 if(ext STREQUAL ".options")
/nanopb-2.7.6/generator/
Dnanopb_generator.py1896 for ext in self.extensions:
1897 yield ext.extension_def(self.dependencies) + '\n'
2004 ext = subdesc.options.Extensions[ext_type]
2005 new_options.MergeFrom(ext)