Home
last modified time | relevance | path

Searched refs:PB_RETURN_ERROR (Results 1 – 10 of 10) sorted by relevance

/nanopb-2.7.6/
Dpb_decode.c108 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_read()
112 PB_RETURN_ERROR(stream, "io error"); in pb_read()
127 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_readbyte()
131 PB_RETURN_ERROR(stream, "io error"); in pb_readbyte()
213 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32_eof()
226 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32_eof()
249 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint()
282 PB_RETURN_ERROR(stream, "size too large"); in pb_skip_string()
313 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in pb_skip_field()
331 PB_RETURN_ERROR(stream, "varint overflow"); in read_raw_value()
[all …]
Dpb_encode.c88 PB_RETURN_ERROR(stream, "stream full"); in pb_write()
93 PB_RETURN_ERROR(stream, "io error"); in pb_write()
96 PB_RETURN_ERROR(stream, "io error"); in pb_write()
139 PB_RETURN_ERROR(stream, "array max size exceeded"); in encode_array()
164 PB_RETURN_ERROR(stream, PB_GET_ERROR(&sizestream)); in encode_array()
398 PB_RETURN_ERROR(stream, "invalid field type"); in encode_basic_field()
409 PB_RETURN_ERROR(stream, "callback error"); in encode_callback_field()
447 PB_RETURN_ERROR(stream, "missing required field"); in encode_field()
476 PB_RETURN_ERROR(stream, "invalid extension"); in default_extension_encoder()
696 PB_RETURN_ERROR(stream, "invalid field type"); in pb_encode_tag_for_field()
[all …]
Dpb.h849 #define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false macro
DCHANGELOG.txt314 Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
/nanopb-2.7.6/tests/regression/issue_544/
Dsubmsg_callback.c13 PB_RETURN_ERROR(stream, "submsg decode failed"); in msg_callback()
16 PB_RETURN_ERROR(stream, "submsg.foo wrong value"); in msg_callback()
/nanopb-2.7.6/tests/io_errors/
Dio_errors.c24 PB_RETURN_ERROR(stream, "simulated"); in read_callback()
38 PB_RETURN_ERROR(stream, "simulated"); in write_callback()
/nanopb-2.7.6/tests/fuzztest/
Dflakystream.c15 PB_RETURN_ERROR(stream, "flaky error"); in flakystream_callback()
/nanopb-2.7.6/tests/cyclic_messages/
Dencode_cyclic_callback.c71 PB_RETURN_ERROR(stream, "invalid key, missing quote"); in encode_dictionary()
/nanopb-2.7.6/docs/
Dreference.md417 ### PB_RETURN_ERROR subsection
421 #define PB_RETURN_ERROR(stream,msg) (sets error and returns false)
428 PB_RETURN_ERROR(stream, "something went wrong");
/nanopb-2.7.6/spm_headers/nanopb/
Dpb.h849 #define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false macro