Searched refs:errmsg (Results 1 – 14 of 14) sorted by relevance
/nanopb-3.4.0/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-3.4.0/tests/regression/GHSA-gcx3-7m76-287p/ |
D | test.c | 36 assert(strcmp(stream.errmsg, "realloc failed") == 0); in main()
|
/nanopb-3.4.0/ |
D | pb_encode.h | 45 const char *errmsg; member
|
D | pb_decode.h | 44 const char *errmsg; member
|
D | pb_encode.c | 78 stream.errmsg = NULL; in pb_ostream_from_buffer() 733 stream->errmsg = substream.errmsg; in pb_encode_submessage() 756 substream.errmsg = NULL; in pb_encode_submessage() 764 stream->errmsg = substream.errmsg; in pb_encode_submessage()
|
D | pb.h | 882 #define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) 883 #define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)")
|
D | pb_decode.c | 161 stream.errmsg = NULL; in pb_istream_from_buffer() 386 stream->errmsg = substream->errmsg; in pb_close_string_substream() 682 stream->errmsg = "too many array entries"; in decode_pointer_field() 769 PB_SET_ERROR(stream, substream.errmsg ? substream.errmsg : "callback failed"); in decode_callback_field()
|
D | CHANGELOG.txt | 548 Fix missing initialization of istream.errmsg
|
/nanopb-3.4.0/spm_headers/nanopb/ |
D | pb_encode.h | 45 const char *errmsg; member
|
D | pb_decode.h | 44 const char *errmsg; member
|
D | pb.h | 882 #define PB_SET_ERROR(stream, msg) (stream->errmsg = (stream)->errmsg ? (stream)->errmsg : (msg)) 883 #define PB_GET_ERROR(stream) ((stream)->errmsg ? (stream)->errmsg : "(none)")
|
/nanopb-3.4.0/tests/fixed_count/ |
D | fixed_count_unittests.c | 52 TEST(strcmp(stream.errmsg, "array overflow") == 0); in main() 56 TEST(strcmp(stream.errmsg, "wrong size for fixed count field") == 0); in main()
|
/nanopb-3.4.0/docs/ |
D | reference.md | 514 … | True on success, false on any error condition. Error message is set to `stream->errmsg`. 534 … | True on success, false on any error condition. Error message is set to `stream->errmsg`. 765 … | True on success, false on any error condition. Error message will be in `stream->errmsg`. 792 … | True on success, false on any error condition. Error message will be in `stream->errmsg`.
|
D | concepts.md | 567 debugging purposes: the error messages go in `stream->errmsg`.
|