/external/grpc-grpc/third_party/nanopb/tests/encode_unittests/ |
D | encode_unittests.c | 201 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "\x0A\x05\x01\x02\x03\x04\x05")) in main() 204 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "")) in main() 207 TEST(!pb_encode(&s, IntegerArray_fields, &msg)) in main() 217 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), in main() 221 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), "")) in main() 224 TEST(!pb_encode(&s, FloatArray_fields, &msg)) in main() 235 TEST((msg.data_count = 10) && pb_encode(&s, FloatArray_fields, &msg)) in main() 238 TEST((msg.data_count = 11) && !pb_encode(&s, FloatArray_fields, &msg)) in main() 249 TEST(WRITES(pb_encode(&s, CallbackArray_fields, &msg), "\x08\x55")) in main() 258 TEST(WRITES(pb_encode(&s, IntegerContainer_fields, &msg), in main() [all …]
|
/external/nanopb-c/tests/encode_unittests/ |
D | encode_unittests.c | 201 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "\x0A\x05\x01\x02\x03\x04\x05")) in main() 204 TEST(WRITES(pb_encode(&s, IntegerArray_fields, &msg), "")) in main() 207 TEST(!pb_encode(&s, IntegerArray_fields, &msg)) in main() 217 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), in main() 221 TEST(WRITES(pb_encode(&s, FloatArray_fields, &msg), "")) in main() 224 TEST(!pb_encode(&s, FloatArray_fields, &msg)) in main() 235 TEST((msg.data_count = 10) && pb_encode(&s, FloatArray_fields, &msg)) in main() 238 TEST((msg.data_count = 11) && !pb_encode(&s, FloatArray_fields, &msg)) in main() 249 TEST(WRITES(pb_encode(&s, CallbackArray_fields, &msg), "\x08\x55")) in main() 258 TEST(WRITES(pb_encode(&s, IntegerContainer_fields, &msg), in main() [all …]
|
/external/nanopb-c/tests/regression/issue_166/ |
D | enum_encoded_size.c | 21 TEST(pb_encode(&s, SignedMsg_fields, &msg1)); in main() 28 TEST(pb_encode(&s, SignedMsg_fields, &msg1)); in main() 37 TEST(pb_encode(&s, UnsignedMsg_fields, &msg2)); in main()
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_166/ |
D | enum_encoded_size.c | 21 TEST(pb_encode(&s, SignedMsg_fields, &msg1)); in main() 28 TEST(pb_encode(&s, SignedMsg_fields, &msg1)); in main() 37 TEST(pb_encode(&s, UnsignedMsg_fields, &msg2)); in main()
|
/external/grpc-grpc/third_party/nanopb/tests/common/ |
D | SConscript | 12 # Binaries of the pb_decode.c and pb_encode.c 17 strict.Object("pb_encode.o", "$NANOPB/pb_encode.c") 41 malloc_strict.Object("pb_encode_with_malloc.o", "$NANOPB/pb_encode.c")
|
/external/nanopb-c/tests/common/ |
D | SConscript | 12 # Binaries of the pb_decode.c and pb_encode.c 17 strict.Object("pb_encode.o", "$NANOPB/pb_encode.c") 41 malloc_strict.Object("pb_encode_with_malloc.o", "$NANOPB/pb_encode.c")
|
/external/nanopb-c/tests/inline/ |
D | inline_unittests.c | 30 TEST(pb_encode(&ostream, Message1_fields, &msg1)); in main() 51 TEST(pb_encode(&ostream, Message2_fields, &msg2)); in main() 62 TEST(pb_encode(&ostream, Message2_fields, &msg2_no_data)); in main()
|
/external/grpc-grpc/third_party/nanopb/tests/inline/ |
D | inline_unittests.c | 30 TEST(pb_encode(&ostream, Message1_fields, &msg1)); in main() 51 TEST(pb_encode(&ostream, Message2_fields, &msg2)); in main() 62 TEST(pb_encode(&ostream, Message2_fields, &msg2_no_data)); in main()
|
/external/nanopb-c/tests/mem_release/ |
D | mem_release.c | 56 if (!pb_encode(&stream, TestMessage_fields, &msg)) in test_TestMessage() 93 TEST(pb_encode(&ostream, TestMessage_fields, &msg)); in test_TestMessage() 129 if (!pb_encode(&stream, OneofMessage_fields, &msg)) in test_OneofMessage() 145 if (!pb_encode(&stream, OneofMessage_fields, &msg)) in test_OneofMessage()
|
/external/grpc-grpc/third_party/nanopb/tests/mem_release/ |
D | mem_release.c | 56 if (!pb_encode(&stream, TestMessage_fields, &msg)) in test_TestMessage() 93 TEST(pb_encode(&ostream, TestMessage_fields, &msg)); in test_TestMessage() 129 if (!pb_encode(&stream, OneofMessage_fields, &msg)) in test_OneofMessage() 145 if (!pb_encode(&stream, OneofMessage_fields, &msg)) in test_OneofMessage()
|
/external/grpc-grpc/third_party/nanopb/tests/cxx_main_program/ |
D | SConscript | 12 env.Command("pb_encode.cxx", "#../pb_encode.c", c) 21 enc = env.Program(["encode_alltypes.cxx", "alltypes.pb.cxx", "pb_encode.cxx", "pb_common.cxx"])
|
/external/nanopb-c/tests/cxx_main_program/ |
D | SConscript | 12 env.Command("pb_encode.cxx", "#../pb_encode.c", c) 21 enc = env.Program(["encode_alltypes.cxx", "alltypes.pb.cxx", "pb_encode.cxx", "pb_common.cxx"])
|
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
D | fuzzstub.c | 86 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 99 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 133 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 146 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
D | fuzztest.c | 190 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg); in do_static_encode() 292 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 305 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 339 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 352 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
/external/nanopb-c/tests/fuzztest/ |
D | fuzzstub.c | 86 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 99 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 133 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 146 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
D | fuzztest.c | 190 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg); in do_static_encode() 292 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 305 status = pb_encode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 339 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 352 status = pb_encode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
/external/grpc-grpc/third_party/ |
D | nanopb.BUILD | 6 "pb_encode.c", 12 "pb_encode.h",
|
/external/nanopb-c/ |
D | BUILD | 14 "pb_encode.h", 19 "pb_encode.c",
|
D | CMakeLists.txt | 69 pb_encode.h 70 pb_encode.c 92 install(FILES pb.h pb_common.h pb_encode.h pb_decode.h
|
/external/grpc-grpc/third_party/nanopb/ |
D | BUILD | 12 "pb_encode.c", 18 "pb_encode.h",
|
/external/nanopb-c/tests/regression/issue_242/ |
D | SConscript | 1 # Regression test for Issue 242: pb_encode does not encode tag for 10 "$COMMON/pb_encode.o",
|
D | zero_value.c | 24 TEST(pb_encode(&ostream, Extendable_fields, &source)); in main() 43 TEST(pb_encode(&ostream, PointerMessage_fields, &source)); in main()
|
/external/nanopb-c/tests/splint/ |
D | SConscript | 11 env.Command('pb_encode.splint', '$NANOPB/pb_encode.c',
|
/external/grpc-grpc/third_party/nanopb/tests/splint/ |
D | SConscript | 11 env.Command('pb_encode.splint', '$NANOPB/pb_encode.c',
|
/external/nanopb-c/tests/fixed_count/ |
D | fixed_count_unittests.c | 27 TEST(pb_encode(&ostream, Message1_fields, &msg_a)); in main() 54 TEST(pb_encode(&ostream, Message2_fields, &msg_a)); in main() 102 TEST(pb_encode(&ostream, Message3_fields, &msg_a)); in main()
|