/external/grpc-grpc/third_party/nanopb/tests/decode_unittests/ |
D | decode_unittests.c | 222 TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 0)) in main() 223 TEST((s = S("\x08\x01\x08\x02"), pb_decode(&s, IntegerArray_fields, &dest) in main() 226 … TEST(pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 10 && dest.data[9] == 10) in main() 228 TEST(!pb_decode(&s, IntegerArray_fields, &dest)) in main() 236 TEST((s = S("\x0A\x00"), pb_decode(&s, IntegerArray_fields, &dest) in main() 238 TEST((s = S("\x0A\x01\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main() 240 …TEST((s = S("\x0A\x0A\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A"), pb_decode(&s, IntegerArray_fields… in main() 242 …TEST((s = S("\x0A\x0B\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B"), !pb_decode(&s, IntegerArray_f… in main() 245 TEST((s = S("\x0A\xFF"), !pb_decode(&s, IntegerArray_fields, &dest))) in main() 246 TEST((s = S("\x0A\x01"), !pb_decode(&s, IntegerArray_fields, &dest))) in main() [all …]
|
/external/nanopb-c/tests/decode_unittests/ |
D | decode_unittests.c | 269 TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 0)) in main() 270 TEST((s = S("\x08\x01\x08\x02"), pb_decode(&s, IntegerArray_fields, &dest) in main() 273 … TEST(pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 10 && dest.data[9] == 10) in main() 275 TEST(!pb_decode(&s, IntegerArray_fields, &dest)) in main() 283 TEST((s = S("\x0A\x00"), pb_decode(&s, IntegerArray_fields, &dest) in main() 285 TEST((s = S("\x0A\x01\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main() 287 …TEST((s = S("\x0A\x0A\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A"), pb_decode(&s, IntegerArray_fields… in main() 289 …TEST((s = S("\x0A\x0B\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B"), !pb_decode(&s, IntegerArray_f… in main() 292 TEST((s = S("\x0A\xFF"), !pb_decode(&s, IntegerArray_fields, &dest))) in main() 293 TEST((s = S("\x0A\x01"), !pb_decode(&s, IntegerArray_fields, &dest))) in main() [all …]
|
/external/grpc-grpc/third_party/nanopb/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")
|
/external/nanopb-c/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")
|
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
D | fuzzstub.c | 26 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg); in do_static_decode() 53 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg); in do_pointer_decode() 80 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 93 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 127 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 140 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
D | fuzztest.c | 232 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg); in do_static_decode() 259 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg); in do_pointer_decode() 286 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 299 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 333 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 346 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
/external/nanopb-c/tests/fuzztest/ |
D | fuzzstub.c | 26 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg); in do_static_decode() 53 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg); in do_pointer_decode() 80 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 93 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 127 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 140 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
D | fuzztest.c | 232 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg); in do_static_decode() 259 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg); in do_pointer_decode() 286 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg1); in do_static_roundtrip() 299 status = pb_decode(&stream, alltypes_static_AllTypes_fields, msg2); in do_static_roundtrip() 333 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg1); in do_pointer_roundtrip() 346 status = pb_decode(&stream, alltypes_pointer_AllTypes_fields, msg2); in do_pointer_roundtrip()
|
/external/nanopb-c/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()
|
/external/grpc-grpc/third_party/nanopb/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()
|
/external/grpc-grpc/third_party/nanopb/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"])
|
/external/nanopb-c/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"])
|
/external/grpc-grpc/third_party/ |
D | nanopb.BUILD | 5 "pb_decode.c", 11 "pb_decode.h",
|
/external/nanopb-c/ |
D | BUILD | 13 "pb_decode.h", 18 "pb_decode.c",
|
D | CMakeLists.txt | 71 pb_decode.h 72 pb_decode.c) 92 install(FILES pb.h pb_common.h pb_encode.h pb_decode.h
|
/external/grpc-grpc/third_party/nanopb/ |
D | BUILD | 11 "pb_decode.c", 17 "pb_decode.h",
|
/external/nanopb-c/tests/regression/issue_249/ |
D | SConscript | 1 # Regression test for Issue 249: proto3 mode pb_decode() corrupts callback fields 8 "$COMMON/pb_decode.o",
|
/external/nanopb-c/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()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 32 if (GPR_UNLIKELY(!pb_decode(stream, grpc_lb_v1_Server_fields, &server))) { in count_serverlist() 55 if (GPR_UNLIKELY(!pb_decode(stream, grpc_lb_v1_Server_fields, server))) { in decode_serverlist() 171 !pb_decode(&stream, grpc_lb_v1_LoadBalanceResponse_fields, &res))) { in grpc_grpclb_initial_response_parse() 200 bool status = pb_decode(&stream, grpc_lb_v1_LoadBalanceResponse_fields, &res); in grpc_grpclb_response_parse_serverlist() 215 status = pb_decode(&stream_at_start, grpc_lb_v1_LoadBalanceResponse_fields, in grpc_grpclb_response_parse_serverlist()
|
/external/grpc-grpc/third_party/nanopb/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()
|
/external/nanopb-c/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()
|
/external/nanopb-c/tests/splint/ |
D | SConscript | 8 env.Command('pb_decode.splint', '$NANOPB/pb_decode.c',
|
/external/grpc-grpc/third_party/nanopb/tests/splint/ |
D | SConscript | 8 env.Command('pb_decode.splint', '$NANOPB/pb_decode.c',
|
/external/nanopb-c/tests/fixed_count/ |
D | fixed_count_unittests.c | 31 TEST(pb_decode(&istream, Message1_fields, &msg_b)); in main() 58 TEST(pb_decode(&istream, Message2_fields, &msg_b)); in main() 106 TEST(pb_decode(&istream, Message3_fields, &msg_b)); in main()
|
/external/grpc-grpc/third_party/nanopb/examples/network_server/ |
D | client.c | 34 if (!pb_decode(stream, FileInfo_fields, &fileinfo)) in printfile_callback() 93 if (!pb_decode(&input, ListFilesResponse_fields, &response)) in listdir()
|