/nanopb-2.7.6/tests/decode_unittests/ |
D | decode_unittests.c | 307 TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 0)) in main() 308 TEST((s = S("\x08\x01\x08\x02"), pb_decode(&s, IntegerArray_fields, &dest) in main() 311 … TEST(pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 10 && dest.data[9] == 10) in main() 313 TEST(!pb_decode(&s, IntegerArray_fields, &dest)) in main() 321 TEST((s = S("\x0A\x00"), pb_decode(&s, IntegerArray_fields, &dest) in main() 323 TEST((s = S("\x0A\x01\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main() 325 …TEST((s = S("\x0A\x0A\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A"), pb_decode(&s, IntegerArray_fields… in main() 327 …TEST((s = S("\x0A\x0B\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B"), !pb_decode(&s, IntegerArray_f… in main() 330 TEST((s = S("\x0A\xFF"), !pb_decode(&s, IntegerArray_fields, &dest))) in main() 331 TEST((s = S("\x0A\x01"), !pb_decode(&s, IntegerArray_fields, &dest))) in main() [all …]
|
/nanopb-2.7.6/ |
D | BUILD.bazel | 11 "pb_decode.c", 17 "pb_decode.h",
|
D | CMakeLists.txt | 94 pb_decode.h 95 pb_decode.c) 114 pb_decode.h 115 pb_decode.c) 136 install(FILES pb.h pb_common.h pb_encode.h pb_decode.h
|
/nanopb-2.7.6/tests/regression/issue_342/ |
D | SConscript | 2 # Possible null-pointer dereference in pb_decode.c 8 '$COMMON/pb_decode.o', '$COMMON/pb_encode.o', '$COMMON/pb_common.o'])
|
/nanopb-2.7.6/tests/regression/issue_249/ |
D | SConscript | 1 # Regression test for Issue 249: proto3 mode pb_decode() corrupts callback fields 8 "$COMMON/pb_decode.o",
|
/nanopb-2.7.6/tests/regression/issue_259/ |
D | callback_pointer.c | 15 TEST(pb_decode(&stream, MainMessage_fields, &msg)); in main() 22 TEST(pb_decode(&stream, MainMessage_fields, &msg)); in main()
|
/nanopb-2.7.6/tests/common/ |
D | SConscript | 12 # Binaries of the pb_decode.c and pb_encode.c 16 strict.Object("pb_decode.o", "$NANOPB/pb_decode.c") 21 # Binaries of pb_decode etc. with malloc support 40 malloc_strict.Object("pb_decode_with_malloc.o", "$NANOPB/pb_decode.c")
|
/nanopb-2.7.6/tests/msgid/ |
D | decode_msgid.c | 27 if (!pb_decode(stream, MyMessage1_fields, &msg)) in handle_MyMessage1() 38 if (!pb_decode(stream, MyMessage2_fields, &msg)) in handle_MyMessage2() 50 if (!pb_decode(stream, MyMessage3_fields, &msg)) in handle_MyMessage3()
|
/nanopb-2.7.6/tests/missing_fields/ |
D | missing_fields.c | 32 if (!pb_decode(&stream, MissingField_fields, &msg)) in main() 44 if (pb_decode(&stream, AllFields_fields, &msg)) in main()
|
/nanopb-2.7.6/tests/fixed_count/ |
D | fixed_count_unittests.c | 32 TEST(pb_decode(&istream, Message1_fields, &msg_b)); in main() 46 TEST(pb_decode(&stream, Message1_fields, &msg)); in main() 50 TEST(!pb_decode(&stream, Message1_fields, &msg)); in main() 54 TEST(!pb_decode(&stream, Message1_fields, &msg)); in main() 81 TEST(pb_decode(&istream, Message2_fields, &msg_b)); in main() 131 TEST(pb_decode(&istream, Message3_fields, &msg_b)); in main()
|
/nanopb-2.7.6/tests/splint/ |
D | SConscript | 8 env.Command('pb_decode.splint', '$NANOPB/pb_decode.c',
|
/nanopb-2.7.6/tests/any_type/ |
D | decode_any.c | 23 if (!pb_decode(&stream, BaseMessage_fields, &msg)) in main() 37 status = pb_decode(&stream, google_protobuf_Duration_fields, &duration); in main()
|
/nanopb-2.7.6/spm-test/objc/ |
D | objc-header.m | 3 #include "pb_decode.h"
|
D | objc-qualified.m | 3 #include "nanopb/pb_decode.h"
|
/nanopb-2.7.6/tests/regression/issue_544/ |
D | submsg_callback.c | 12 if (!pb_decode(stream, SubMessage_fields, submsg)) in msg_callback() 49 if (!pb_decode(&istream, MyMessage_fields, &msg)) in main()
|
/nanopb-2.7.6/tests/regression/issue_485/ |
D | SConscript | 4 env.Match('pb_decode_c.matched', ["$NANOPB/pb_decode.c", 'uint8.expected']) 5 env.Match('pb_decode_h.matched', ["$NANOPB/pb_decode.h", 'uint8.expected'])
|
/nanopb-2.7.6/tests/inline/ |
D | inline_unittests.c | 33 TEST(pb_decode(&istream, Message1_fields, &msg1_deserialized)); in main() 54 TEST(pb_decode(&istream, Message2_fields, &msg2_deserialized)); in main() 64 TEST(pb_decode(&istream, Message2_fields, &msg2_deserialized)); in main()
|
/nanopb-2.7.6/tests/cxx_main_program/ |
D | SConscript | 13 env.Command("pb_decode.cxx", "#../pb_decode.c", c) 22 dec = env.Program(["decode_alltypes.cxx", "alltypes.pb.cxx", "pb_decode.cxx", "pb_common.cxx"])
|
/nanopb-2.7.6/tests/regression/issue_647/ |
D | repro.c | 12 TEST(!pb_decode(&stream, Repro_fields, &repro)); in main()
|
/nanopb-2.7.6/tests/regression/issue_617/ |
D | test_oneof.c | 17 TEST(pb_decode(&stream, TestMessage_fields, &msg)); in main()
|
/nanopb-2.7.6/tests/float_double_conversion/ |
D | float_double_conversion.c | 61 TEST(pb_decode(&stream, &FloatMsg_msg, &msg)); in main() 75 TEST(pb_decode(&stream, &DoubleMsg_msg, &msg)); in main()
|
/nanopb-2.7.6/tests/stackusage/ |
D | SConscript | 6 test = env.Program(["stackusage.c", "stackusage.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.o"…
|
/nanopb-2.7.6/examples/simple/ |
D | README.txt | 12 * pb_decode() to decode a message 27 simple.c simple.pb.c pb_encode.c pb_decode.c pb_common.c
|
/nanopb-2.7.6/tests/regression/issue_322/ |
D | SConscript | 10 "$COMMON/pb_decode.o",
|
/nanopb-2.7.6/tests/sort_by_tag/ |
D | SConscript | 6 test = env.Program(["sort_by_tag.c", "sort_by_tag.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_decode.…
|