Home
last modified time | relevance | path

Searched refs:upb_handlers (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dhandlers.h162 struct upb_handlers;
163 typedef struct upb_handlers upb_handlers; typedef
170 const upb_status *upb_handlers_status(upb_handlers *h);
171 void upb_handlers_clearerr(upb_handlers *h);
172 const upb_msgdef *upb_handlers_msgdef(const upb_handlers *h);
173 bool upb_handlers_addcleanup(upb_handlers *h, void *p, upb_handlerfree *hfree);
174 bool upb_handlers_setunknown(upb_handlers *h, upb_unknown_handlerfunc *func,
176 bool upb_handlers_setstartmsg(upb_handlers *h, upb_startmsg_handlerfunc *func,
178 bool upb_handlers_setendmsg(upb_handlers *h, upb_endmsg_handlerfunc *func,
180 bool upb_handlers_setint32(upb_handlers *h, const upb_fielddef *f,
[all …]
Dhandlers.c14 struct upb_handlers { struct
17 const upb_handlers **sub; argument
41 static int32_t trygetsel(upb_handlers *h, const upb_fielddef *f, in trygetsel() argument
54 static upb_selector_t handlers_getsel(upb_handlers *h, const upb_fielddef *f, in handlers_getsel()
61 static const void **returntype(upb_handlers *h, const upb_fielddef *f, in returntype()
66 static bool doset(upb_handlers *h, int32_t sel, const upb_fielddef *f, in doset()
126 const void *effective_closure_type(upb_handlers *h, const upb_fielddef *f, in effective_closure_type()
155 static upb_handlers *upb_handlers_new(const upb_msgdef *md, in upb_handlers_new()
159 upb_handlers *h; in upb_handlers_new()
184 bool upb_handlers_set##name(upb_handlers *h, const upb_fielddef *f, \
[all …]
Dsink.h39 const upb_handlers *handlers;
64 UPB_INLINE void upb_sink_reset(upb_sink *s, const upb_handlers *h, void *c) { in PUTVAL()
259 template <class T> Sink(const upb_handlers* handlers, T* closure) { in Sink()
266 template <class T> void Reset(const upb_handlers* handlers, T* closure) { in Reset()
Dhandlers-inl.h896 inline void Handler<T>::AddCleanup(upb_handlers* h) const {
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/pb/
Dcompile_decoder.c30 static upb_pbdecodermethod *newmethod(const upb_handlers *dest_handlers, in newmethod()
42 const upb_handlers *upb_pbdecodermethod_desthandlers( in upb_pbdecodermethod_desthandlers()
504 const upb_handlers *sub = in find_submethod()
513 const upb_handlers *h) { in putsel()
521 static void maybeput(compiler *c, opcode op, const upb_handlers *h, in maybeput()
526 static bool haslazyhandlers(const upb_handlers *h, const upb_fielddef *f) { in haslazyhandlers()
547 const upb_handlers *h = upb_pbdecodermethod_desthandlers(method); in generate_msgfield()
608 const upb_handlers *h = upb_pbdecodermethod_desthandlers(method); in generate_delimfield()
647 const upb_handlers *h = upb_pbdecodermethod_desthandlers(method); in generate_primitivefield()
701 const upb_handlers *h; in compile_method()
[all …]
Dtextprinter.h30 upb_textprinter *upb_textprinter_create(upb_arena *arena, const upb_handlers *h,
Dencoder.h43 upb_pb_encoder* upb_pb_encoder_create(upb_arena* a, const upb_handlers* h,
Dencoder.c301 static void new_tag(upb_handlers *h, const upb_fielddef *f, upb_wiretype_t wt, in new_tag()
438 static void newhandlers_callback(const void *closure, upb_handlers *h) { in T()
530 upb_pb_encoder *upb_pb_encoder_create(upb_arena *arena, const upb_handlers *h, in upb_pb_encoder_create()
Dtextprinter.c253 static void onmreg(const void *c, upb_handlers *h) { in onmreg()
319 upb_textprinter *upb_textprinter_create(upb_arena *arena, const upb_handlers *h, in upb_textprinter_create()
Ddecoder.h47 const upb_handlers *upb_pbdecodermethod_desthandlers(
Ddecoder.int.h156 const upb_handlers *dest_handlers_;
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dprinter.h32 upb_json_printer *upb_json_printer_create(upb_arena *a, const upb_handlers *h,
35 const upb_handlers *upb_json_printer_newhandlers(const upb_msgdef *md,
Dprinter.c62 strpc *newstrpc(upb_handlers *h, const upb_fielddef *f, in newstrpc()
79 strpc *newstrpc_str(upb_handlers *h, const char * str) { in newstrpc_str()
617 static void set_enum_hd(upb_handlers *h, in set_enum_hd()
641 upb_handlers *h) { in printer_sethandlers_mapentry()
1035 void printer_sethandlers_any(const void *closure, upb_handlers *h) { in printer_sethandlers_any()
1070 void printer_sethandlers_fieldmask(const void *closure, upb_handlers *h) { in printer_sethandlers_fieldmask()
1089 void printer_sethandlers_duration(const void *closure, upb_handlers *h) { in printer_sethandlers_duration()
1109 void printer_sethandlers_timestamp(const void *closure, upb_handlers *h) { in printer_sethandlers_timestamp()
1127 void printer_sethandlers_value(const void *closure, upb_handlers *h) { in printer_sethandlers_value()
1167 void printer_sethandlers_##wrapper(const void *closure, upb_handlers *h) { \
[all …]
Dparser.rl325 const upb_handlers *h;
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c327 const upb_handlers *h; in json_parser_any_frame_set_payload_type()