Home
last modified time | relevance | path

Searched refs:handler_data (Results 1 – 16 of 16) sorted by relevance

/third_party/grpc/third_party/upb/upb/json/
Dprinter.c236 static bool putkey(void *closure, const void *handler_data) { in putkey() argument
238 const strpc *key = handler_data; in putkey()
250 static bool put##type(void *closure, const void *handler_data, type val) { \
254 UPB_UNUSED(handler_data); \
259 static bool scalar_##type(void *closure, const void *handler_data, \
261 CHK(putkey(closure, handler_data)); \
262 CHK(put##type(closure, handler_data, val)); \
265 static bool repeated_##type(void *closure, const void *handler_data, \
269 CHK(put##type(closure, handler_data, val)); \
274 static bool putmapkey_##type(void *closure, const void *handler_data, \
[all …]
/third_party/grpc/third_party/upb/upb/pb/
Dtextprinter.c147 static bool textprinter_put ## name(void *closure, const void *handler_data, \
150 const upb_fielddef *f = handler_data; \
159 static bool textprinter_putbool(void *closure, const void *handler_data, in textprinter_putbool() argument
162 const upb_fielddef *f = handler_data; in textprinter_putbool()
184 static bool textprinter_putenum(void *closure, const void *handler_data, in STRINGIFY_MACROVAL()
187 const upb_fielddef *f = handler_data; in STRINGIFY_MACROVAL()
195 if (!textprinter_putint32(closure, handler_data, val)) in STRINGIFY_MACROVAL()
201 static void *textprinter_startstr(void *closure, const void *handler_data, in textprinter_startstr() argument
204 const upb_fielddef *f = handler_data; in textprinter_startstr()
211 static bool textprinter_endstr(void *closure, const void *handler_data) { in textprinter_endstr() argument
[all …]
Ddecoder.int.h215 bool upb_pbdecoder_end(void *closure, const void *handler_data);
Ddecoder.c898 bool upb_pbdecoder_end(void *closure, const void *handler_data) { in upb_pbdecoder_end() argument
900 const upb_pbdecodermethod *method = handler_data; in upb_pbdecoder_end()
936 upb_pbdecoder_decode(closure, handler_data, &dummy, 0, NULL); in upb_pbdecoder_end()
Dencoder.c308 attr->handler_data = tag; in new_tag()
/third_party/grpc/third_party/upb/upb/
Dhandlers.c245 const void **handler_data) { in upb_handlers_gethandler() argument
247 if (ret && handler_data) { in upb_handlers_gethandler()
248 *handler_data = h->table[s].attr.handler_data; in upb_handlers_gethandler()
434 h->table[UPB_STARTSTR_SELECTOR].attr.handler_data = d; in upb_byteshandler_setstartstr()
441 h->table[UPB_STRING_SELECTOR].attr.handler_data = d; in upb_byteshandler_setstring()
448 h->table[UPB_ENDSTR_SELECTOR].attr.handler_data = d; in upb_byteshandler_setendstr()
488 attr.handler_data = d; in MSG_WRITER()
Dsink.h418 s.handler->table[UPB_STARTSTR_SELECTOR].attr.handler_data, in upb_bytessink_start()
432 return putbuf(subc, s.handler->table[UPB_STRING_SELECTOR].attr.handler_data, in upb_bytessink_putbuf()
444 s.handler->table[UPB_ENDSTR_SELECTOR].attr.handler_data); in upb_bytessink_end()
Dhandlers.h100 const void *handler_data; member
229 const void **handler_data);
Dhandlers-inl.h865 attr_.handler_data = func.GetData();
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c5673 const void **handler_data) { in upb_handlers_gethandler() argument
5675 if (ret && handler_data) { in upb_handlers_gethandler()
5676 *handler_data = h->table[s].attr.handler_data; in upb_handlers_gethandler()
5863 h->table[UPB_STARTSTR_SELECTOR].attr.handler_data = d; in upb_byteshandler_setstartstr()
5870 h->table[UPB_STRING_SELECTOR].attr.handler_data = d; in upb_byteshandler_setstring()
5877 h->table[UPB_ENDSTR_SELECTOR].attr.handler_data = d; in upb_byteshandler_setendstr()
5917 attr.handler_data = d; in MSG_WRITER()
7828 bool upb_pbdecoder_end(void *closure, const void *handler_data) { in upb_pbdecoder_end() argument
7830 const upb_pbdecodermethod *method = handler_data; in upb_pbdecoder_end()
7866 upb_pbdecoder_decode(closure, handler_data, &dummy, 0, NULL); in upb_pbdecoder_end()
[all …]
Dencode_decode.c584 attr.handler_data = newhandlerdata(h, offset, -1); in add_handlers_for_repeated_field()
618 attr.handler_data = newsubmsghandlerdata(h, f, 0, -1, subklass); in add_handlers_for_repeated_field()
736 attr.handler_data = newhandlerdata(h, offset, hasbit); in add_handlers_for_singular_field()
746 attr.handler_data = newsubmsghandlerdata( in add_handlers_for_singular_field()
767 attr.handler_data = hd; in add_handlers_for_mapfield()
781 attr.handler_data = hd; in add_handlers_for_mapentry()
840 attr.handler_data = in add_handlers_for_oneof_field()
Dupb.h3647 const void *handler_data; member
3774 const void **handler_data);
5139 attr_.handler_data = func.GetData();
5614 s.handler->table[UPB_STARTSTR_SELECTOR].attr.handler_data,
5628 return putbuf(subc, s.handler->table[UPB_STRING_SELECTOR].attr.handler_data,
5640 s.handler->table[UPB_ENDSTR_SELECTOR].attr.handler_data);
6160 bool upb_pbdecoder_end(void *closure, const void *handler_data);
/third_party/grpc/include/grpcpp/impl/codegen/
Drpc_service_method.h53 Status req_status, void* handler_data, in HandlerParameter()
59 internal_data(handler_data), in HandlerParameter()
Dserver_callback_handlers.h81 ::grpc::Status* status, void** handler_data) final { in Deserialize() argument
95 *handler_data = allocator_state; in Deserialize()
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c3540 static void *handler_data = NULL; variable
3553 if (userData != handler_data) in xml_decl_handler()
3565 if (userData != handler_data) in param_check_skip_handler()
3574 if (userData != handler_data) in data_check_comment_handler()
3596 handler_data = ext_parser; in external_entity_param_checker()
3602 handler_data = parser; in external_entity_param_checker()
3625 handler_data = g_parser; in START_TEST()
3666 if ((void *)parameter != handler_data) in external_entity_ref_param_checker()
3692 handler_data = (void *)text; in START_TEST()
3702 handler_data = (void *)g_parser; in START_TEST()
/third_party/expat/tests/
Druntests.c3540 static void *handler_data = NULL; variable
3553 if (userData != handler_data) in xml_decl_handler()
3565 if (userData != handler_data) in param_check_skip_handler()
3574 if (userData != handler_data) in data_check_comment_handler()
3596 handler_data = ext_parser; in external_entity_param_checker()
3602 handler_data = parser; in external_entity_param_checker()
3625 handler_data = g_parser; in START_TEST()
3666 if ((void *)parameter != handler_data) in external_entity_ref_param_checker()
3692 handler_data = (void *)text; in START_TEST()
3702 handler_data = (void *)g_parser; in START_TEST()