Searched refs:upb_fielddef_index (Results 1 – 15 of 15) sorted by relevance
454 return layout->fields[upb_fielddef_index(field)].hasbit != in field_contains_hasbit()478 layout->fields[upb_fielddef_index(field)].hasbit = hasbit++; in create_layout()480 layout->fields[upb_fielddef_index(field)].hasbit = in create_layout()509 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()510 layout->fields[upb_fielddef_index(field)].case_offset = in create_layout()544 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()564 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout()601 layout->fields[upb_fielddef_index(field)].offset; in slot_memory()608 layout->fields[upb_fielddef_index(field)].case_offset); in slot_oneof_case()614 size_t hasbit = layout->fields[upb_fielddef_index(field)].hasbit; in slot_set_hasbit()[all …]
741 size_t offset = desc->layout->fields[upb_fielddef_index(f)].offset + in add_handlers_for_message()746 desc->layout->fields[upb_fielddef_index(f)].case_offset + in add_handlers_for_message()755 h, f, offset, desc->layout->fields[upb_fielddef_index(f)].hasbit); in add_handlers_for_message()1175 type_url_offset = desc->layout->fields[upb_fielddef_index(type_field)].offset; in putjsonany()1210 value_offset = desc->layout->fields[upb_fielddef_index(value_field)].offset; in putjsonany()1251 desc->layout->fields[upb_fielddef_index(f)].offset + in putjsonlistvalue()1316 desc->layout->fields[upb_fielddef_index(f)].offset + in putmsg()1321 desc->layout->fields[upb_fielddef_index(f)].case_offset + in putmsg()1547 desc->layout->fields[upb_fielddef_index(f)].offset + in discard_unknown()1552 desc->layout->fields[upb_fielddef_index(f)].case_offset + in discard_unknown()
102 fields[upb_fielddef_index(first_field)].case_offset; in which_oneof_field()
1860 uint32_t upb_fielddef_index(const upb_fielddef *f) { in upb_fielddef_index() function5328 upb_msglayout_field *field = &fields[upb_fielddef_index(f)]; in upb_msglayout_init()5356 size_t index = upb_fielddef_index(f); in upb_msglayout_init()5394 fields[upb_fielddef_index(f)].offset = data_offset; in upb_msglayout_init()5395 fields[upb_fielddef_index(f)].presence = ~case_offset; in upb_msglayout_init()
2400 uint32_t upb_fielddef_index(const upb_fielddef *f);3559 return upb_fielddef_index(this);
578 layout->fields[upb_fielddef_index(field)].case_offset); in slot_oneof_case()583 return layout->fields[upb_fielddef_index(field)].cache_index; in slot_property_cache()588 return ((uint8_t*)storage) + layout->fields[upb_fielddef_index(field)].offset; in slot_memory()626 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()627 layout->fields[upb_fielddef_index(field)].case_offset = in create_layout()658 layout->fields[upb_fielddef_index(field)].cache_index = in create_layout()691 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()719 layout->fields[upb_fielddef_index(field)].cache_index = in create_layout()739 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout()856 header->descriptor->layout->fields[upb_fielddef_index(field)] in layout_set()[all …]
1026 size_t offset = desc->layout->fields[upb_fielddef_index(f)].offset; in add_handlers_for_message()1030 desc->layout->fields[upb_fielddef_index(f)].case_offset; in add_handlers_for_message()1032 desc->layout->fields[upb_fielddef_index(f)].cache_index; in add_handlers_for_message()1243 type_url_offset = desc->layout->fields[upb_fielddef_index(type_field)].offset; in putjsonany()1276 value_offset = desc->layout->fields[upb_fielddef_index(value_field)].offset; in putjsonany()1324 uint32_t offset = desc->layout->fields[upb_fielddef_index(f)].offset; in putjsonlistvalue()1354 uint32_t offset = desc->layout->fields[upb_fielddef_index(f)].offset; in putjsonstruct()1414 uint32_t offset = desc->layout->fields[upb_fielddef_index(f)].offset; in putrawmsg()1419 desc->layout->fields[upb_fielddef_index(f)].case_offset; in putrawmsg()1799 uint32_t offset = desc->layout->fields[upb_fielddef_index(f)].offset; in discard_unknown_fields()[all …]
1544 uint32_t upb_fielddef_index(const upb_fielddef *f) { in upb_fielddef_index() function3294 #define SUBH_F(h, f) SUBH(h, upb_fielddef_index(f))3616 *s = upb_fielddef_index(f) + UPB_STATIC_SELECTOR_COUNT; in upb_handlers_getselector()4462 upb_msglayout_field *field = &fields[upb_fielddef_index(f)]; in upb_msglayout_init()4490 size_t index = upb_fielddef_index(f); in upb_msglayout_init()4528 fields[upb_fielddef_index(f)].offset = data_offset; in upb_msglayout_init()4529 fields[upb_fielddef_index(f)].presence = ~case_offset; in upb_msglayout_init()
475 intern->descriptor->layout->fields[upb_fielddef_index(field)]
3192 uint32_t upb_fielddef_index(const upb_fielddef *f);3283 uint32_t index() const { return upb_fielddef_index(ptr_); } in index()
39 #define SUBH_F(h, f) SUBH(h, upb_fielddef_index(f))340 *s = upb_fielddef_index(f) + UPB_STATIC_SELECTOR_COUNT; in upb_handlers_getselector()
357 uint32_t upb_fielddef_index(const upb_fielddef *f) { in upb_fielddef_index() function1096 upb_msglayout_field *field = &fields[upb_fielddef_index(f)]; in make_layout()1138 size_t index = upb_fielddef_index(f); in make_layout()1178 fields[upb_fielddef_index(f)].offset = data_offset; in make_layout()1179 fields[upb_fielddef_index(f)].presence = ~case_offset; in make_layout()
63 uint32_t index() const { return upb_fielddef_index(ptr_); } in index()
91 uint32_t upb_fielddef_index(const upb_fielddef *f);
131 lua_pushinteger(L, upb_fielddef_index(f)); in lupb_fielddef_index()