Home
last modified time | relevance | path

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

/external/nanopb-c/
Dpb_decode.c120 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_read()
124 PB_RETURN_ERROR(stream, "io error"); in pb_read()
139 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_readbyte()
143 PB_RETURN_ERROR(stream, "io error"); in pb_readbyte()
223 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32_eof()
236 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32_eof()
259 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint()
324 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in pb_skip_field()
360 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in read_raw_value()
375 PB_RETURN_ERROR(stream, "parent stream too short"); in pb_make_string_substream()
[all …]
Dpb_encode.c106 PB_RETURN_ERROR(stream, "stream full"); in pb_write()
110 PB_RETURN_ERROR(stream, "io error"); in pb_write()
113 PB_RETURN_ERROR(stream, "io error"); in pb_write()
137 PB_RETURN_ERROR(stream, "array max size exceeded"); in encode_array()
346 PB_RETURN_ERROR(stream, "missing required field"); in encode_basic_field()
388 PB_RETURN_ERROR(stream, "invalid field type"); in encode_basic_field()
410 PB_RETURN_ERROR(stream, "callback error"); in encode_callback_field()
429 PB_RETURN_ERROR(stream, "invalid field type"); in encode_field()
668 PB_RETURN_ERROR(stream, "invalid field type"); in pb_encode_tag_for_field()
706 PB_RETURN_ERROR(stream, "stream full"); in pb_encode_submessage()
[all …]
Dpb.h597 #define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false macro
DCHANGELOG.txt114 Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c110 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_read()
114 PB_RETURN_ERROR(stream, "io error"); in pb_read()
129 PB_RETURN_ERROR(stream, "end-of-stream"); in pb_readbyte()
133 PB_RETURN_ERROR(stream, "io error"); in pb_readbyte()
194 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint32()
217 PB_RETURN_ERROR(stream, "varint overflow"); in pb_decode_varint()
284 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in pb_skip_field()
314 default: PB_RETURN_ERROR(stream, "invalid wire_type"); in read_raw_value()
329 PB_RETURN_ERROR(stream, "parent stream too short"); in pb_make_string_substream()
390 PB_RETURN_ERROR(stream, "array overflow"); in decode_static_field()
[all …]
Dpb_encode.c93 PB_RETURN_ERROR(stream, "stream full"); in pb_write()
97 PB_RETURN_ERROR(stream, "io error"); in pb_write()
100 PB_RETURN_ERROR(stream, "io error"); in pb_write()
124 PB_RETURN_ERROR(stream, "array max size exceeded"); in encode_array()
231 PB_RETURN_ERROR(stream, "missing required field"); in encode_basic_field()
266 PB_RETURN_ERROR(stream, "invalid field type"); in encode_basic_field()
288 PB_RETURN_ERROR(stream, "callback error"); in encode_callback_field()
307 PB_RETURN_ERROR(stream, "invalid field type"); in encode_field()
507 PB_RETURN_ERROR(stream, "invalid field type"); in pb_encode_tag_for_field()
545 PB_RETURN_ERROR(stream, "stream full"); in pb_encode_submessage()
[all …]
Dpb.h577 #define PB_RETURN_ERROR(stream, msg) return PB_SET_ERROR(stream, msg), false macro
DCHANGELOG.txt53 Change PB_RETURN_ERROR() macro to avoid compiler warnings (issue 140)
/external/nanopb-c/tests/io_errors/
Dio_errors.c24 PB_RETURN_ERROR(stream, "simulated"); in read_callback()
38 PB_RETURN_ERROR(stream, "simulated"); in write_callback()
/external/grpc-grpc/third_party/nanopb/tests/io_errors/
Dio_errors.c24 PB_RETURN_ERROR(stream, "simulated"); in read_callback()
38 PB_RETURN_ERROR(stream, "simulated"); in write_callback()
/external/grpc-grpc/third_party/nanopb/tests/cyclic_messages/
Dencode_cyclic_callback.c71 PB_RETURN_ERROR(stream, "invalid key, missing quote"); in encode_dictionary()
/external/nanopb-c/tests/cyclic_messages/
Dencode_cyclic_callback.c71 PB_RETURN_ERROR(stream, "invalid key, missing quote"); in encode_dictionary()
/external/grpc-grpc/third_party/nanopb/docs/
Dreference.rst383 PB_RETURN_ERROR section in pb.h
387 #define PB_RETURN_ERROR(stream,msg) (sets error and returns false)
394 PB_RETURN_ERROR(stream, "something went wrong");
/external/nanopb-c/docs/
Dreference.rst393 PB_RETURN_ERROR section in pb.h
397 #define PB_RETURN_ERROR(stream,msg) (sets error and returns false)
404 PB_RETURN_ERROR(stream, "something went wrong");