Lines Matching defs:dispatch

682       /* Parse, using op for dispatch. */
6038 upb_inttable_uninit(&method->dispatch);
6049 upb_inttable_init(&ret->dispatch, UPB_CTYPE_UINT64);
6361 const upb_inttable *dispatch;
6362 memcpy(&dispatch, p, sizeof(void*));
6365 (void *)((char *)dispatch -
6366 offsetof(upb_pbdecodermethod, dispatch));
6467 /* Takes an existing, primary dispatch table entry and repacks it with a
6469 * dispatch table entry for an alternate wire type. */
6470 static uint64_t repack(uint64_t dispatch, int new_wt2) {
6474 upb_pbdecoder_unpackdispatch(dispatch, &ofs, &wt1, &old_wt2);
6479 /* Marks the current bytecode position as the dispatch target for this message,
6486 upb_inttable *d = &method->dispatch;
6711 * while adding all dispatch targets to this message's dispatch table. */
6721 /* Clear all entries in the dispatch table. */
6722 upb_inttable_uninit(&method->dispatch);
6723 upb_inttable_init(&method->dispatch, UPB_CTYPE_UINT64);
6729 putop(c, OP_SETDISPATCH, &method->dispatch);
6750 * generate a non-empty loop body so that we can at least dispatch for unknown
6755 /* Unconditionally dispatch. */
6763 /* Insert both a label and a dispatch table entry for this end-of-msg. */
6766 upb_inttable_insert(&method->dispatch, DISPATCH_ENDMSG, val);
6771 upb_inttable_compact(&method->dispatch);
7427 fr->dispatch = NULL;
7532 bool found = upb_inttable_lookup32(d->top->dispatch, DISPATCH_ENDMSG, &v);
7543 static int32_t dispatch(upb_pbdecoder *d) {
7544 upb_inttable *dispatch = d->top->dispatch;
7559 upb_inttable_lookup32(dispatch, fieldnum, &val)) {
7566 upb_inttable_lookup(dispatch, fieldnum + UPB_MAX_FIELDNUMBER, &val);
7604 /* The main decoder VM function. Uses traditional bytecode dispatch loop with a
7663 memcpy(&d->top->dispatch, d->pc, sizeof(void*));
7769 CHECK_RETURN(dispatch(d));
7804 CHECK_RETURN(dispatch(d));