Lines Matching defs:entry

536   const upb_msglayout *entry = layout->submsgs[field->submsg_index];
540 const upb_msglayout *entry = layout->submsgs[field->submsg_index];
541 const upb_msglayout_field *key_field = &entry->fields[0];
542 const upb_msglayout_field *val_field = &entry->fields[1];
551 /* Parse map entry. */
554 if (entry->fields[1].descriptortype == UPB_DESCRIPTOR_TYPE_MESSAGE ||
555 entry->fields[1].descriptortype == UPB_DESCRIPTOR_TYPE_GROUP) {
557 ent.v.val.val = (uint64_t)_upb_msg_new(entry->submsgs[0], d->arena);
1067 const upb_msglayout *entry = m->submsgs[f->submsg_index];
1068 const upb_msglayout_field *key_field = &entry->fields[0];
1069 const upb_msglayout_field *val_field = &entry->fields[1];
1086 CHK(upb_encode_scalarfield(e, valp, entry, val_field, false));
1087 CHK(upb_encode_scalarfield(e, keyp, entry, key_field, false));
3037 /* Is this a map-entry message? */
4186 /* Remove components from base until we find an entry or run out.
5250 const upb_msgdef *entry = upb_fielddef_msgsubdef(f);
5251 const upb_fielddef *key = upb_msgdef_itof(entry, UPB_MAPENTRY_KEY);
5252 const upb_fielddef *value = upb_msgdef_itof(entry, UPB_MAPENTRY_VALUE);
5390 /* Returns the key and value for this entry of the map. */
6467 /* Takes an existing, primary dispatch table entry and repacks it with a
6469 * dispatch table entry for an alternate wire type. */
6763 /* Insert both a label and a dispatch table entry for this end-of-msg. */
8097 /* The stack of enclosing submessages. Each entry in the stack points to the
9155 /* We are in a map-entry message context. This flag is set when parsing the
9156 * value field of a single map entry and indicates to all value-field parsers
9157 * (subobjects, strings, numbers, and bools) that the map-entry submessage
9163 * because |f| is the field in the *current* message (i.e., the map-entry
10861 /* Helper: emit one map entry (as a submessage in the map field sequence). This
10862 * is invoked from end_membername(), at the end of the map entry's key string,
10875 /* Map entry: p->top->sink is the seq frame, so we need to start a frame
10878 * map-entry value is parsed. */
10894 * would have just seen the map-entry value, not key). */
10903 /* Set up the value field to receive the map-entry value. */
10967 /* If we just parsed a map-entry value, end that frame too. */
12273 /* Add an entry for the JSON name. */
12279 * entry for the raw name (compliant proto3 JSON parsers must accept