Home
last modified time | relevance | path

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

/nanopb-3.4.0/
Dpb_decode.c104 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_read()
108 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()
220 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32_eof()
254 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint()
284 PB_RETURN_ERROR(stream, "size too large"); in pb_skip_string()
315 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in pb_skip_field()
333 PB_RETURN_ERROR(stream, "varint overflow"); in read_raw_value()
[all …]
Dpb_encode.c90 PB_RETURN_ERROR(stream, "stream full"); in pb_write()
95 PB_RETURN_ERROR(stream, "io error"); in pb_write()
98 PB_RETURN_ERROR(stream, "io error"); in pb_write()
141 PB_RETURN_ERROR(stream, "array max size exceeded"); in encode_array()
166 PB_RETURN_ERROR(stream, PB_GET_ERROR(&sizestream)); in encode_array()
400 PB_RETURN_ERROR(stream, "invalid field type"); in encode_basic_field()
411 PB_RETURN_ERROR(stream, "callback error"); in encode_callback_field()
449 PB_RETURN_ERROR(stream, "missing required field"); in encode_field()
478 PB_RETURN_ERROR(stream, "invalid extension"); in default_extension_encoder()
709 PB_RETURN_ERROR(stream, "invalid field type"); in pb_encode_tag_for_field()
[all …]
Dpb.h886 #define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false macro
DCHANGELOG.txt389 Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
/nanopb-3.4.0/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-3.4.0/tests/io_errors/
Dio_errors.c24 PB_RETURN_ERROR(stream, "simulated"); in read_callback()
38 PB_RETURN_ERROR(stream, "simulated"); in write_callback()
/nanopb-3.4.0/tests/fuzztest/
Dflakystream.c15 PB_RETURN_ERROR(stream, "flaky error"); in flakystream_callback()
/nanopb-3.4.0/tests/cyclic_messages/
Dencode_cyclic_callback.c71 PB_RETURN_ERROR(stream, "invalid key, missing quote"); in encode_dictionary()
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h886 #define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false macro
/nanopb-3.4.0/docs/
Dreference.md430 ### PB_RETURN_ERROR subsection
434 #define PB_RETURN_ERROR(stream,msg) (sets error and returns false)
441 PB_RETURN_ERROR(stream, "something went wrong");