Home
last modified time | relevance | path

Searched refs:upb_status (Results 1 – 25 of 37) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dupb.h28 } upb_status; typedef
30 const char *upb_status_errmsg(const upb_status *status);
31 bool upb_ok(const upb_status *status);
34 void upb_status_clear(upb_status *status);
35 void upb_status_seterrmsg(upb_status *status, const char *msg);
36 void upb_status_seterrf(upb_status *status, const char *fmt, ...);
37 void upb_status_vseterrf(upb_status *status, const char *fmt, va_list args);
38 void upb_status_vappenderrf(upb_status *status, const char *fmt, va_list args);
Dupb.c16 void upb_status_clear(upb_status *status) { in upb_status_clear()
22 bool upb_ok(const upb_status *status) { return status->ok; } in upb_ok()
24 const char *upb_status_errmsg(const upb_status *status) { return status->msg; } in upb_status_errmsg()
26 void upb_status_seterrmsg(upb_status *status, const char *msg) { in upb_status_seterrmsg()
33 void upb_status_seterrf(upb_status *status, const char *fmt, ...) { in upb_status_seterrf()
40 void upb_status_vseterrf(upb_status *status, const char *fmt, va_list args) { in upb_status_vseterrf()
47 void upb_status_vappenderrf(upb_status *status, const char *fmt, va_list args) { in upb_status_vappenderrf()
Dupb.hpp15 upb_status* ptr() { return &status_; } in ptr()
37 upb_status status_;
Djson_encode.h30 size_t size, upb_status *status);
Djson_decode.h17 int options, upb_arena *arena, upb_status *status);
Dhandlers.h147 typedef bool upb_endmsg_handlerfunc(void *c, const void *, upb_status *status);
170 const upb_status *upb_handlers_status(upb_handlers *h);
341 typedef Handler<bool (*)(void *, const void *, upb_status *)>
Dsink.h106 UPB_INLINE bool upb_sink_endmsg(upb_sink s, upb_status *status) { in upb_sink_endmsg()
295 bool EndMessage(upb_status *status) { in EndMessage()
Djson_encode.c26 upb_status *status;
696 size_t size, upb_status *status) { in upb_json_encode()
Ddef.c208 static void upb_status_setoom(upb_status *status) { in upb_status_setoom()
908 upb_status *status; /* Record errors here. */
2081 const upb_msglayout **layouts, upb_status *status) { in _upb_symtab_addfile()
2122 upb_status *status) { in upb_symtab_addfile()
2135 upb_status status; in _upb_symtab_loaddefinit()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/
Dconformance_upb.c107 upb_status status; in parse_json()
136 upb_status status; in serialize_json()
237 upb_status status; in DoTestIo()
Dtest_generated_code.c386 upb_status status; in test_status_truncation()
387 upb_status status2; in test_status_truncation()
/external/protobuf/ruby/ext/google/protobuf_c/
Dprotobuf.c59 void check_upb_status(const upb_status* status, const char* msg) { in check_upb_status()
Dupb.h446 UPB_DECLARE_TYPE(upb::Status, upb_status)
453 const char *upb_status_errmsg(const upb_status *status);
454 bool upb_ok(const upb_status *status);
455 upb_errorspace *upb_status_errspace(const upb_status *status);
456 int upb_status_errcode(const upb_status *status);
461 void upb_status_clear(upb_status *status);
462 void upb_status_seterrmsg(upb_status *status, const char *msg);
463 void upb_status_seterrf(upb_status *status, const char *fmt, ...);
464 void upb_status_vseterrf(upb_status *status, const char *fmt, va_list args);
465 void upb_status_copy(upb_status *to, const upb_status *from);
[all …]
Dupb.c1127 static bool upb_isident(const char *str, size_t len, bool full, upb_status *s) { in upb_isident()
1194 bool upb_def_setfullname(upb_def *def, const char *fullname, upb_status *s) { in upb_def_setfullname()
1233 static bool upb_validate_field(upb_fielddef *f, upb_status *s) { in upb_validate_field()
1328 static bool upb_validate_enumdef(const upb_enumdef *e, upb_status *s) { in upb_validate_enumdef()
1355 static bool assign_msg_indices(upb_msgdef *m, upb_status *s) { in assign_msg_indices()
1499 bool _upb_def_validate(upb_def *const*defs, size_t n, upb_status *s) { in _upb_def_validate()
1553 bool upb_def_freeze(upb_def *const* defs, size_t n, upb_status *s) { in upb_def_freeze()
1615 bool upb_enumdef_freeze(upb_enumdef *e, upb_status *status) { in upb_enumdef_freeze()
1629 upb_status *s) { in upb_enumdef_setfullname()
1634 upb_status *status) { in upb_enumdef_addval()
[all …]
Dencode_decode.c378 static bool endmap_handler(void *closure, const void *hd, upb_status* s) { in endmap_handler()
824 static bool env_error_func(void* ud, const upb_status* status) { in env_error_func()
1137 upb_status status; in putmap()
1161 upb_status status; in putjsonany()
1246 upb_status status; in putjsonlistvalue()
1276 upb_status status; in putmsg()
Dprotobuf.h605 void check_upb_status(const upb_status* status, const char* msg);
608 upb_status status = UPB_STATUS_INIT; \
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dparser.h74 upb_status *status,
Dprinter.c395 static bool printer_endmsg(void *closure, const void *handler_data, upb_status *s) { in printer_endmsg()
852 upb_status *s) { in printer_enddurationmsg()
922 upb_status *s) { in printer_endtimestampmsg()
993 void *closure, const void *handler_data, upb_status *s) { in printer_endmsg_noframe()
1015 void *closure, const void *handler_data, upb_status *s) { in printer_endmsg_fieldmask()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dupb.h42 void lupb_checkstatus(lua_State *L, upb_status *s);
Dupb.c45 void lupb_checkstatus(lua_State *L, upb_status *s) { in lupb_checkstatus()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/pb/
Ddecoder.h105 upb_sink output, upb_status *status);
Ddecoder.int.h208 upb_status *status;
Dtextprinter.c136 static bool textprinter_endmsg(void *c, const void *hd, upb_status *s) { in textprinter_endmsg()
/external/protobuf/php/ext/google/protobuf/
Dencode_decode.c93 upb_status status;
613 static bool endmap_handler(void* closure, const void* hd, upb_status* s) { in endmap_handler()
1196 upb_status status; in putmap()
1232 upb_status status; in putjsonany()
1321 upb_status status; in putjsonlistvalue()
1351 upb_status status; in putjsonstruct()
1380 upb_status status; in putrawmsg()
Dupb.h173 } upb_status; typedef
179 const char *upb_status_errmsg(const upb_status *status);
180 bool upb_ok(const upb_status *status);
185 void upb_status_clear(upb_status *status);
186 void upb_status_seterrmsg(upb_status *status, const char *msg);
187 void upb_status_seterrf(upb_status *status, const char *fmt, ...);
188 void upb_status_vseterrf(upb_status *status, const char *fmt, va_list args);
190 UPB_INLINE void upb_status_setoom(upb_status *status) { in upb_status_setoom()
201 upb_status* ptr() { return &status_; } in ptr()
223 upb_status status_;
[all …]

12