Searched refs:PB_RETURN_ERROR (Results 1 – 5 of 5) sorted by relevance
/external/nanopb-c/ |
D | pb_decode.c | 114 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_read() 118 PB_RETURN_ERROR(stream, "io error"); in pb_read() 133 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_readbyte() 137 PB_RETURN_ERROR(stream, "io error"); in pb_readbyte() 190 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32() 213 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint() 280 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in pb_skip_field() 310 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in read_raw_value() 325 PB_RETURN_ERROR(stream, "parent stream too short"); in pb_make_string_substream() 450 PB_RETURN_ERROR(stream, "array overflow"); in decode_static_field() [all …]
|
D | pb_encode.c | 91 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() 122 PB_RETURN_ERROR(stream, "array max size exceeded"); in encode_array() 229 PB_RETURN_ERROR(stream, "missing required field"); in encode_basic_field() 253 PB_RETURN_ERROR(stream, "invalid field type"); in encode_basic_field() 275 PB_RETURN_ERROR(stream, "callback error"); in encode_callback_field() 294 PB_RETURN_ERROR(stream, "invalid field type"); in encode_field() 491 PB_RETURN_ERROR(stream, "invalid field type"); in pb_encode_tag_for_field() 529 PB_RETURN_ERROR(stream, "stream full"); in pb_encode_submessage() [all …]
|
D | pb.h | 503 #define PB_RETURN_ERROR(stream,msg) \ macro 510 #define PB_RETURN_ERROR(stream,msg) \ macro
|
/external/nanopb-c/tests/ |
D | SConstruct | 124 # PB_RETURN_ERROR triggers C4127 because of while(0)
|
/external/nanopb-c/docs/ |
D | reference.rst | 360 PB_RETURN_ERROR section in pb.h 364 #define PB_RETURN_ERROR(stream,msg) (sets error and returns false) 371 PB_RETURN_ERROR(stream, "something went wrong");
|