Home
last modified time | relevance | path

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

/external/nanopb-c/examples/simple/
Dsimple.c34 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
58 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/basic_buffer/
Dencode_buffer.c35 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
Ddecode_buffer.c83 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/basic_stream/
Dencode_stream.c37 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
Ddecode_stream.c79 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/missing_fields/
Dmissing_fields.c34 printf("Decode failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/extensions/
Dencode_extensions.c46 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
Ddecode_extensions.c47 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/examples/network_server/
Dclient.c75 fprintf(stderr, "Decode failed: %s\n", PB_GET_ERROR(&input)); in listdir()
Dserver.c58 printf("Decode failed: %s\n", PB_GET_ERROR(&input)); in handle_connection()
/external/nanopb-c/examples/using_union_messages/
Ddecode.c88 printf("Decode failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/
Dpb.h508 #define PB_GET_ERROR(stream) "(errmsg disabled)" macro
516 #define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)") macro
/external/nanopb-c/tests/alltypes/
Dencode_alltypes.c141 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
Ddecode_alltypes.c208 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/alltypes_pointer/
Dencode_alltypes_pointer.c184 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
Ddecode_alltypes_pointer.c166 fprintf(stderr, "Test failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/backwards_compatibility/
Ddecode_legacy.c197 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c393 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); in main()
Ddecode_alltypes_callback.c418 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream)); in main()
/external/nanopb-c/docs/
Dreference.rst343 PB_GET_ERROR section in pb.h
348 #define PB_GET_ERROR(stream) (string expression)
354 printf("Decode failed: %s\n", PB_GET_ERROR(stream));