Searched refs:errmsg (Results 1 – 14 of 14) sorted by relevance
/nanopb-2.7.6/tests/io_errors/ |
D | io_errors.c | 76 else if (strcmp(stream.errmsg, "simulated") != 0) in main() 78 fprintf(stderr, "Wrong error in decode: %s\n", stream.errmsg); in main() 91 fprintf(stderr, "Decoding failed: %s\n", stream.errmsg); in main() 117 else if (strcmp(stream.errmsg, "simulated") != 0) in main() 119 fprintf(stderr, "Wrong error in encode: %s\n", stream.errmsg); in main() 133 fprintf(stderr, "Encoding failed: %s\n", stream.errmsg); in main()
|
/nanopb-2.7.6/tests/regression/GHSA-gcx3-7m76-287p/ |
D | test.c | 36 assert(strcmp(stream.errmsg, "realloc failed") == 0); in main()
|
/nanopb-2.7.6/tests/fixed_count/ |
D | fixed_count_unittests.c | 51 TEST(strcmp(stream.errmsg, "array overflow") == 0); in main() 55 TEST(strcmp(stream.errmsg, "wrong size for fixed count field") == 0); in main()
|
/nanopb-2.7.6/ |
D | pb_encode.h | 45 const char *errmsg; member
|
D | pb_decode.h | 44 const char *errmsg; member
|
D | pb_encode.c | 76 stream.errmsg = NULL; in pb_ostream_from_buffer() 720 stream->errmsg = substream.errmsg; in pb_encode_submessage() 743 substream.errmsg = NULL; in pb_encode_submessage() 751 stream->errmsg = substream.errmsg; in pb_encode_submessage()
|
D | pb.h | 845 #define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) 846 #define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)")
|
D | pb_decode.c | 161 stream.errmsg = NULL; in pb_istream_from_buffer() 384 stream->errmsg = substream->errmsg; in pb_close_string_substream() 680 stream->errmsg = "too many array entries"; in decode_pointer_field()
|
D | CHANGELOG.txt | 473 Fix missing initialization of istream.errmsg
|
/nanopb-2.7.6/spm_headers/nanopb/ |
D | pb_encode.h | 45 const char *errmsg; member
|
D | pb_decode.h | 44 const char *errmsg; member
|
D | pb.h | 845 #define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) 846 #define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)")
|
/nanopb-2.7.6/docs/ |
D | reference.md | 501 … | True on success, false on any error condition. Error message is set to `stream->errmsg`. 521 … | True on success, false on any error condition. Error message is set to `stream->errmsg`. 752 … | True on success, false on any error condition. Error message will be in `stream->errmsg`. 779 … | True on success, false on any error condition. Error message will be in `stream->errmsg`.
|
D | concepts.md | 566 debugging purposes: the error messages go in `stream->errmsg`.
|