Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 171) sorted by relevance

1234567

/nanopb-3.4.0/tests/namingstyle/
Dtest_naming_style_c.c13 main_message_t message = MAIN_MESSAGE_INIT_ZERO; in main() local
16 message.lucky_number = 13; in main()
17 message.required_number = 1; in main()
18 message.repeated_number[0] = 1; in main()
19 message.repeated_ints = NULL; in main()
21 message.my_enum1 = MY_ENUM1_ENUM_THIRD; in main()
22 message.my_enum2 = MY_ENUM2_ENUM2_ENTRY; in main()
23 message.my_enum3 = MY_ENUM2_ENUM2_ENTRY; in main()
24 message.my_enum4.arg = NULL; in main()
26 message.string_values1 = NULL; in main()
[all …]
/nanopb-3.4.0/tests/regression/issue_338/
Dbigvalue.proto5 message BigData {
9 message BigEvent {
46 message BigValue1 {
51 message BigValue2 {
56 message BigValue3 {
61 message BigValue4 {
66 message BigValue5 {
71 message BigValue6 {
76 message BigValue7 {
81 message BigValue8 {
[all …]
/nanopb-3.4.0/examples/cmake_relpath/
Dsimple.c22 SimpleMessage message = SimpleMessage_init_zero; in main() local
28 message.lucky_number = 13; in main()
29 message.unlucky.number = 42; in main()
32 status = pb_encode(&stream, SimpleMessage_fields, &message); in main()
51 SimpleMessage message = SimpleMessage_init_zero; in main() local
57 status = pb_decode(&stream, SimpleMessage_fields, &message); in main()
67 printf("Your lucky number was %d!\n", message.lucky_number); in main()
68 printf("Your unlucky number was %u!\n", message.unlucky.number); in main()
/nanopb-3.4.0/tests/common/
Dunittestproto.proto5 message IntegerArray {
9 message FloatArray {
13 message StringMessage {
17 message BytesMessage {
21 message CallbackArray {
22 // We cheat a bit and use this message for testing other types, too.
28 message IntegerContainer {
32 message CallbackContainer {
36 message CallbackContainerContainer {
40 message StringPointerContainer {
/nanopb-3.4.0/tests/regression/issue_395/
Dtest.proto3 message Error
6 string message = 2; field
9 message SubSubAMessage
14 message SubSubBMessage
19 message SubMessage
25 message Reply
/nanopb-3.4.0/examples/simple/
Dsimple.c22 SimpleMessage message = SimpleMessage_init_zero; in main() local
28 message.lucky_number = 13; in main()
31 status = pb_encode(&stream, SimpleMessage_fields, &message); in main()
50 SimpleMessage message = SimpleMessage_init_zero; in main() local
56 status = pb_decode(&stream, SimpleMessage_fields, &message); in main()
66 printf("Your lucky number was %d!\n", (int)message.lucky_number); in main()
/nanopb-3.4.0/examples/cmake_simple/
Dsimple.c22 SimpleMessage message = SimpleMessage_init_zero; in main() local
28 message.lucky_number = 13; in main()
31 status = pb_encode(&stream, SimpleMessage_fields, &message); in main()
50 SimpleMessage message = SimpleMessage_init_zero; in main() local
56 status = pb_decode(&stream, SimpleMessage_fields, &message); in main()
66 printf("Your lucky number was %d!\n", message.lucky_number); in main()
/nanopb-3.4.0/examples/conan_dependency/src/
Dsimple.c22 SimpleMessage message = SimpleMessage_init_zero; in main() local
28 message.lucky_number = 13; in main()
31 status = pb_encode(&stream, SimpleMessage_fields, &message); in main()
50 SimpleMessage message = SimpleMessage_init_zero; in main() local
56 status = pb_decode(&stream, SimpleMessage_fields, &message); in main()
66 printf("Your lucky number was %d!\n", message.lucky_number); in main()
/nanopb-3.4.0/tests/options/
Doptions.proto12 message Message1
18 message Message2
25 message Message3
33 message Message4
47 message EnumTest
52 // Short enum names inside message
53 message Message5
65 message my_packed_struct
72 message Message6
79 message SkippedMessage
[all …]
/nanopb-3.4.0/tests/multiple_files/subdir/
Dmultifile2.proto7 message Callback2Message {
12 message SmallMessage {
16 message OneofMessage {
23 message Enums {
28 message SubdirMessage {
/nanopb-3.4.0/tests/regression/issue_380/
Dmanglenames.proto4 message A {
5 message B {
11 message AP {
12 message B {
/nanopb-3.4.0/tests/regression/issue_141/
Dtestproto.proto5 message SubMessage
10 message OneOfMessage
22 message topMessage {
31 message MyMessage1 {
37 message MyMessage2 {
42 message MyMessage3 {
47 message MyMessage4 {
/nanopb-3.4.0/tests/oneof/
Doneof.proto5 message SubMessage
10 /* Oneof in a message with other fields */
11 message OneOfMessage
23 /* Oneof in a message by itself */
24 message PlainOneOfMessage
/nanopb-3.4.0/tests/regression/issue_545/
Dsubmsg_callback.proto5 message SubMessage3 {
9 message SubMessage2 {
15 message SubMessage1 {
19 message MainMessage {
/nanopb-3.4.0/tests/regression/issue_494/
Dsubmessage.proto3 message SubMessage1
8 message SubMessage2
13 message SubMessage3
/nanopb-3.4.0/tests/regression/issue_524/
Dsubmessage.proto5 message SubMessage1
10 message SubMessage2
15 message SubMessage3
/nanopb-3.4.0/tests/regression/issue_637/
Doneof.proto5 message FirstOneof {}
7 message Bar {
14 message Foo {
/nanopb-3.4.0/tests/message_sizes/
Dmessages1.proto8 message MessageInfo {
13 message MessageResponseInfo {
19 message MessageHeader {
25 message MessageResponse {
/nanopb-3.4.0/tests/regression/issue_522/
Duenum.proto13 message Reading {
18 message Lora {
24 message Meta {
31 message Packet {
/nanopb-3.4.0/tests/regression/issue_746/
Dtest.proto8 message Outer1
10 message Inner
16 message Outer2
18 message Inner
/nanopb-3.4.0/tests/fixed_count/
Dfixed_count.proto7 message Message1
12 message Message2
17 message Message3
23 message SubMessage {
27 message Message4 {
/nanopb-3.4.0/examples/using_union_messages/
Dunionproto.proto2 // with nanopb, without allocating memory for all the message types.
10 message MsgType1
15 message MsgType2
20 message MsgType3
26 message UnionMessage
/nanopb-3.4.0/tests/typename_mangling/
Dwith_package.proto5 message TopLevelMessage {
12 message NestedMessage {
15 message NestedLevel2 {
18 message NestedLevel3 {
/nanopb-3.4.0/tests/stackusage/
Dstackusage.proto3 message Property
25 message SettingsGroup
27 message Settings
29 message Command
/nanopb-3.4.0/tests/regression/issue_487/
Dtest.proto4 message TopLevel {
8 message NestedTypeA {
11 message NestedTypeB {

1234567