Home
last modified time | relevance | path

Searched refs:PB_GET_ERROR (Results 1 – 25 of 54) sorted by relevance

123

/nanopb-3.4.0/tests/regression/issue_547/
Dtest.c19 else if (strcmp(PB_GET_ERROR(&stream), "bytes size exceeded") != 0) in main()
21 fprintf(stderr, "Unexpected encoding error: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/raw_decode/
Draw_decode.c81 printf("ERROR: Failed to parse tag: %s\n", PB_GET_ERROR(stream)); in raw_decode()
102 printf("\n%sERROR: Failed to parse varint: %s\n", indent, PB_GET_ERROR(stream)); in raw_decode()
116 printf("\n%sERROR: Failed to parse fixed64: %s\n", indent, PB_GET_ERROR(stream)); in raw_decode()
130 printf("\n%sERROR: Failed to parse fixed32: %s\n", indent, PB_GET_ERROR(stream)); in raw_decode()
144 printf("ERROR: Failed to parse string length: %s\n", PB_GET_ERROR(stream)); in raw_decode()
/nanopb-3.4.0/examples/simple/
Dsimple.c37 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
61 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/examples/cmake_simple/
Dsimple.c37 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
61 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/examples/conan_dependency/src/
Dsimple.c37 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
61 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/examples/cmake_relpath/
Dsimple.c38 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
62 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/regression/issue_558/
Dmixed.c23 fprintf(stderr, "pb_encode() failed: %s\n", PB_GET_ERROR(&ostream)); in main()
40 fprintf(stderr, "pb_decode() failed: %s\n", PB_GET_ERROR(&istream)); in main()
/nanopb-3.4.0/tests/regression/issue_544/
Dsubmsg_callback.c36 fprintf(stderr, "pb_encode() failed: %s\n", PB_GET_ERROR(&ostream)); in main()
51 fprintf(stderr, "pb_decode() failed: %s\n", PB_GET_ERROR(&istream)); in main()
/nanopb-3.4.0/tests/sort_by_tag/
Dsort_by_tag.c27 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&ostream)); in main()
41 fprintf(stderr, "Decoding failed: %s\n", PB_GET_ERROR(&istream)); in main()
/nanopb-3.4.0/tests/msgid/
Ddecode_msgid.c79 printf("Failed to read prefix: %s\n", PB_GET_ERROR(&stream)); in main()
100 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/mem_release/
Dmem_release.c58 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&stream)); in test_TestMessage()
85 fprintf(stderr, "Decode failed: %s\n", PB_GET_ERROR(&stream)); in test_TestMessage()
131 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&stream)); in test_OneofMessage()
150 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&stream)); in test_OneofMessage()
169 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&stream)); in test_OneofMessage()
181 fprintf(stderr, "Decode failed: %s\n", PB_GET_ERROR(&stream)); in test_OneofMessage()
/nanopb-3.4.0/examples/network_server/
Dclient.c79 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&output)); in listdir()
91 fprintf(stderr, "Decode failed: %s\n", PB_GET_ERROR(&input)); in listdir()
Dserver.c79 printf("Decode failed: %s\n", PB_GET_ERROR(&input)); in handle_connection()
109 printf("Encoding failed: %s\n", PB_GET_ERROR(&output)); in handle_connection()
/nanopb-3.4.0/tests/regression/issue_504/
Dtest.c34 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&ostream)); in main()
63 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&ostream)); in main()
/nanopb-3.4.0/tests/basic_buffer/
Dencode_buffer.c35 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/basic_stream/
Dencode_stream.c37 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/fuzztest/
Dfuzztest.c100 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream)); in do_decode()
131 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream.stream)); in do_stream_decode()
186 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream)); in do_callback_decode()
233 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream)); in do_roundtrip()
245 if (!status && strcmp(PB_GET_ERROR(&stream), "stream full") != 0) in do_roundtrip()
247 fprintf(stderr, "pb_encode: %s\n", PB_GET_ERROR(&stream)); in do_roundtrip()
264 if (!status) fprintf(stderr, "pb_decode: %s\n", PB_GET_ERROR(&stream)); in do_roundtrip()
274 if (!status) fprintf(stderr, "pb_encode: %s\n", PB_GET_ERROR(&stream)); in do_roundtrip()
/nanopb-3.4.0/tests/missing_fields/
Dmissing_fields.c34 printf("Decode failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/regression/issue_395/
Dtest.c22 fprintf(stderr, "Encode failed: %s\n", PB_GET_ERROR(&ostream)); in main()
/nanopb-3.4.0/tests/extensions/
Dencode_extensions.c46 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/map/
Dencode_map.c34 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/any_type/
Ddecode_any.c25 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
Dencode_any.c43 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/nanopb-3.4.0/tests/cxx_callback_datatype/
Dcxx_callback_datatype.cpp60 fprintf(stderr, "Failed to encode: %s\n", PB_GET_ERROR(&outstream)); in main()
68 fprintf(stderr, "Failed to decode: %s\n", PB_GET_ERROR(&instream)); in main()
/nanopb-3.4.0/tests/oneof/
Ddecode_oneof.c22 printf("Decoding failed: %s\n", PB_GET_ERROR(stream)); in test_oneof_1()
63 printf("Decoding failed: %s\n", PB_GET_ERROR(stream)); in test_oneof_2()

123