/nanopb-3.4.0/examples/simple/ |
D | simple.c | 11 bool status; in main() local 31 status = pb_encode(&stream, SimpleMessage_fields, &message); in main() 35 if (!status) in main() 56 status = pb_decode(&stream, SimpleMessage_fields, &message); in main() 59 if (!status) in main()
|
/nanopb-3.4.0/examples/cmake_simple/ |
D | simple.c | 11 bool status; in main() local 31 status = pb_encode(&stream, SimpleMessage_fields, &message); in main() 35 if (!status) in main() 56 status = pb_decode(&stream, SimpleMessage_fields, &message); in main() 59 if (!status) in main()
|
/nanopb-3.4.0/examples/conan_dependency/src/ |
D | simple.c | 11 bool status; in main() local 31 status = pb_encode(&stream, SimpleMessage_fields, &message); in main() 35 if (!status) in main() 56 status = pb_decode(&stream, SimpleMessage_fields, &message); in main() 59 if (!status) in main()
|
/nanopb-3.4.0/examples/using_union_messages/ |
D | decode.c | 47 bool status; in decode_unionmessage_contents() local 51 status = pb_decode(&substream, messagetype, dest_struct); in decode_unionmessage_contents() 53 return status; in decode_unionmessage_contents() 64 bool status = false; in main() local 69 status = decode_unionmessage_contents(&stream, MsgType1_fields, &msg); in main() 75 status = decode_unionmessage_contents(&stream, MsgType2_fields, &msg); in main() 81 status = decode_unionmessage_contents(&stream, MsgType3_fields, &msg); in main() 85 if (!status) in main()
|
D | encode.c | 52 bool status = false; in main() local 58 status = encode_unionmessage(&stream, MsgType1_fields, &msg); in main() 64 status = encode_unionmessage(&stream, MsgType2_fields, &msg); in main() 70 status = encode_unionmessage(&stream, MsgType3_fields, &msg); in main() 78 if (!status) in main()
|
/nanopb-3.4.0/tests/oneof/ |
D | decode_oneof.c | 15 int status = 0; in test_oneof_1() local 51 return status; in test_oneof_1() 59 int status = 0; in test_oneof_2() local 88 return status; in test_oneof_2() 114 int status = 0; in main() local 118 status = test_oneof_1(&stream, option); in main() 120 if (status != 0) in main() 121 return status; in main() 124 status = test_oneof_2(&stream, option); in main() 126 if (status != 0) in main() [all …]
|
/nanopb-3.4.0/examples/cmake_relpath/ |
D | simple.c | 11 bool status; in main() local 32 status = pb_encode(&stream, SimpleMessage_fields, &message); in main() 36 if (!status) in main() 57 status = pb_decode(&stream, SimpleMessage_fields, &message); in main() 60 if (!status) in main()
|
/nanopb-3.4.0/tests/fuzztest/ |
D | fuzztest.c | 67 bool status; in do_decode() local 91 status = pb_decode_ex(&stream, msgtype, msg, flags); in do_decode() 93 if (status) in do_decode() 100 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream)); in do_decode() 101 assert(status); in do_decode() 109 return status; in do_decode() 114 bool status; in do_stream_decode() local 122 status = pb_decode(&stream.stream, msgtype, msg); in do_stream_decode() 124 if (status) in do_stream_decode() 131 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream.stream)); in do_stream_decode() [all …]
|
/nanopb-3.4.0/tests/regression/issue_322/ |
D | defaults.c | 7 int status = 0; in check_defaults() local 21 return status; in check_defaults() 26 int status = 0; in main() local 31 status += check_defaults(&msg); in main() 39 status += check_defaults(&msg); in main() 42 return status; in main()
|
/nanopb-3.4.0/tests/io_errors/ |
D | io_errors.c | 58 bool status; in main() local 70 status = pb_decode(&stream, AllTypes_fields, &msg); in main() 71 if (status != false) in main() 87 status = pb_decode(&stream, AllTypes_fields, &msg); in main() 89 if (!status) in main() 98 bool status; in main() local 111 status = pb_encode(&stream, AllTypes_fields, &msg); in main() 112 if (status != false) in main() 129 status = pb_encode(&stream, AllTypes_fields, &msg); in main() 131 if (!status) in main()
|
/nanopb-3.4.0/tests/site_scons/platforms/avr/ |
D | avr_io.c | 54 int status; in main() local 68 status = app_main(g_args.argc + 1, argv); in main() 72 status = 255; in main() 77 if (status) in main() 79 fprintf(stderr, "Error exit: %d\n", status); in main() 89 return status; in main()
|
/nanopb-3.4.0/tests/anonymous_oneof/ |
D | decode_oneof.c | 15 int status = 0; in test_oneof_1() local 51 return status; in test_oneof_1() 77 int status = 0; in main() local 81 status = test_oneof_1(&stream, option); in main() 83 if (status != 0) in main() 84 return status; in main()
|
/nanopb-3.4.0/tests/enum_to_string/ |
D | enum_to_string.c | 7 int status = 0; in main() local 14 if (status != 0) in main() 17 return status; in main()
|
/nanopb-3.4.0/tests/regression/issue_838/ |
D | enum_to_string.cxx | 7 int status = 0; in main() local 14 if (status != 0) in main() 17 return status; in main()
|
/nanopb-3.4.0/tests/msgid/ |
D | encode_msgid.c | 54 bool status = false; in main() local 68 status = encode_MyMessage1(&stream); in main() 72 status = encode_MyMessage2(&stream); in main() 76 status = encode_MyMessage3(&stream); in main() 79 if (status) in main()
|
/nanopb-3.4.0/tests/cxx_descriptor/ |
D | message_descriptor.cc | 15 int status = 0; in main() local 26 if (status != 0) fprintf(stdout, "\n\nSome tests FAILED!\n"); in main() 28 return status; in main()
|
/nanopb-3.4.0/tests/regression/issue_494/ |
D | oneof_size.cc | 6 int status = 0; in main() local 18 return status; in main()
|
/nanopb-3.4.0/tests/stackusage/ |
D | stackusage.c | 48 bool status; in do_encode() local 60 status = pb_encode(&stream, SettingsGroup_fields, &msg); in do_encode() 62 assert(status); in do_encode() 70 bool status; in do_decode() local 72 status = pb_decode(&stream, SettingsGroup_fields, &msg); in do_decode() 73 assert(status); in do_decode()
|
/nanopb-3.4.0/tests/regression/issue_453/ |
D | test.c | 6 int status = 0; in main() local 10 return status; in main()
|
/nanopb-3.4.0/tests/enum_minmax/ |
D | enumminmax_unittests.c | 6 int status = 0; in main() local 15 return status; in main()
|
/nanopb-3.4.0/tests/regression/GHSA-gcx3-7m76-287p/ |
D | test.c | 28 bool status; in main() local 34 status = pb_decode(&stream, MyMessage_fields, &msg); in main() 35 assert(!status); in main()
|
/nanopb-3.4.0/tests/regression/issue_647/ |
D | repro.c | 8 int status = 0; in main() local 15 return status; in main()
|
/nanopb-3.4.0/tests/any_type/ |
D | decode_any.c | 15 bool status; in main() local 37 status = pb_decode(&stream, google_protobuf_Duration_fields, &duration); in main() 38 assert(status); in main()
|
D | encode_any.c | 15 bool status; in main() local 28 status = pb_encode(&stream, google_protobuf_Duration_fields, &duration); in main() 29 assert(status); in main()
|
/nanopb-3.4.0/tests/infinity_nan/ |
D | infinity_nan_test.c | 10 int status = 0; in check_floats() local 40 return status == 0; in check_floats() 45 int status = 0; in main() local 61 return status; in main()
|