Searched refs:getsel (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 852 static upb_selector_t getsel(const upb_fielddef *f, upb_handlertype_t type) { in getsel() function 870 upb_sink_startstr(sink, getsel(f, UPB_HANDLER_STARTSTR), RSTRING_LEN(str), in putstr() 872 upb_sink_putstring(&subsink, getsel(f, UPB_HANDLER_STRING), RSTRING_PTR(str), in putstr() 874 upb_sink_endstr(sink, getsel(f, UPB_HANDLER_ENDSTR)); in putstr() 888 upb_sink_startsubmsg(sink, getsel(f, UPB_HANDLER_STARTSUBMSG), &subsink); in putsubmsg() 890 upb_sink_endsubmsg(sink, getsel(f, UPB_HANDLER_ENDSUBMSG)); in putsubmsg() 902 upb_sink_startseq(sink, getsel(f, UPB_HANDLER_STARTSEQ), &subsink); in putary() 905 sel = getsel(f, upb_handlers_getprimitivehandlertype(f)); in putary() 938 upb_sink_endseq(sink, getsel(f, UPB_HANDLER_ENDSEQ)); in putary() 948 sel = getsel(f, upb_handlers_getprimitivehandlertype(f)); in put_ruby_value() [all …]
|
D | upb.c | 7639 static upb_selector_t getsel(const upb_fielddef *f, upb_handlertype_t type) { in getsel() function 7714 putsel(c, op, getsel(f, type), h); in maybeput() 7721 return upb_handlers_gethandler(h, getsel(f, UPB_HANDLER_STARTSTR)) || in haslazyhandlers() 7722 upb_handlers_gethandler(h, getsel(f, UPB_HANDLER_STRING)) || in haslazyhandlers() 7723 upb_handlers_gethandler(h, getsel(f, UPB_HANDLER_ENDSTR)); in haslazyhandlers() 7765 putop(c, OP_STARTSEQ, getsel(f, UPB_HANDLER_STARTSEQ)); in generate_msgfield() 7768 putop(c, OP_STARTSUBMSG, getsel(f, UPB_HANDLER_STARTSUBMSG)); in generate_msgfield() 7786 putop(c, OP_STARTSUBMSG, getsel(f, UPB_HANDLER_STARTSUBMSG)); in generate_msgfield() 7807 putop(c, OP_STARTSEQ, getsel(f, UPB_HANDLER_STARTSEQ)); in generate_delimfield() 7810 putop(c, OP_STARTSTR, getsel(f, UPB_HANDLER_STARTSTR)); in generate_delimfield() [all …]
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 6965 static upb_selector_t getsel(const upb_fielddef *f, upb_handlertype_t type) { in getsel() function 7040 putsel(c, op, getsel(f, type), h); in maybeput() 7047 return upb_handlers_gethandler(h, getsel(f, UPB_HANDLER_STARTSTR)) || in haslazyhandlers() 7048 upb_handlers_gethandler(h, getsel(f, UPB_HANDLER_STRING)) || in haslazyhandlers() 7049 upb_handlers_gethandler(h, getsel(f, UPB_HANDLER_ENDSTR)); in haslazyhandlers() 7086 putop(c, OP_STARTSEQ, getsel(f, UPB_HANDLER_STARTSEQ)); in generate_msgfield() 7089 putop(c, OP_STARTSUBMSG, getsel(f, UPB_HANDLER_STARTSUBMSG)); in generate_msgfield() 7107 putop(c, OP_STARTSUBMSG, getsel(f, UPB_HANDLER_STARTSUBMSG)); in generate_msgfield() 7128 putop(c, OP_STARTSEQ, getsel(f, UPB_HANDLER_STARTSEQ)); in generate_delimfield() 7131 putop(c, OP_STARTSTR, getsel(f, UPB_HANDLER_STARTSTR)); in generate_delimfield() [all …]
|