Searched refs:hasbit (Results 1 – 9 of 9) sorted by relevance
454 return layout->fields[upb_fielddef_index(field)].hasbit != in field_contains_hasbit()472 size_t hasbit = 0; in create_layout() local478 layout->fields[upb_fielddef_index(field)].hasbit = hasbit++; in create_layout()480 layout->fields[upb_fielddef_index(field)].hasbit = in create_layout()485 if (hasbit != 0) { in create_layout()486 off += (hasbit + 8 - 1) / 8; in create_layout()614 size_t hasbit = layout->fields[upb_fielddef_index(field)].hasbit; in slot_set_hasbit() local615 assert(hasbit != MESSAGE_FIELD_NO_HASBIT); in slot_set_hasbit()617 ((uint8_t*)storage)[hasbit / 8] |= 1 << (hasbit % 8); in slot_set_hasbit()623 size_t hasbit = layout->fields[upb_fielddef_index(field)].hasbit; in slot_clear_hasbit() local[all …]
105 int32_t hasbit; member109 static const void* newhandlerdata(upb_handlers* h, uint32_t ofs, int32_t hasbit) { in newhandlerdata() argument112 hd->hasbit = hasbit; in newhandlerdata()119 int32_t hasbit; member126 int32_t hasbit, in newsubmsghandlerdata() argument130 hd->hasbit = hasbit; in newsubmsghandlerdata()202 static void set_hasbit(void *closure, int32_t hasbit) { in set_hasbit() argument203 if (hasbit > 0) { in set_hasbit()205 storage[hasbit/8] |= 1 << (hasbit % 8); in set_hasbit()230 set_hasbit(closure, fieldhandler->hasbit); in str_handler()[all …]
722 int32_t hasbit = field->presence; in upb_sethasbit() local724 frame->msg[hasbit / 8] |= (1 << (hasbit % 8)); in upb_sethasbit()3650 uint32_t hasbit = f->presence; in upb_readhasbit() local3652 return msg[hasbit / 8] & (1 << (hasbit % 8)); in upb_readhasbit()4617 int32_t hasbit; member4625 if (d->hasbit > 0) \4626 *(uint8_t*)&m[d->hasbit / 8] |= 1 << (d->hasbit % 8); \4640 size_t offset, int32_t hasbit) { in MSG_WRITER()4647 d->hasbit = hasbit; in MSG_WRITER()4680 int32_t *hasbit) { in upb_msg_getscalarhandlerdata() argument[all …]
501 size_t hasbit; member
4916 int32_t hasbit);4924 int32_t *hasbit);
121 inline bool IsPresent(const void* base, uint32 hasbit) { in IsPresent() argument123 return (has_bits_array[hasbit / 32] & (1u << (hasbit & 31))) != 0; in IsPresent()
726 int32_t hasbit = field->presence; in upb_sethasbit() local728 frame->msg[hasbit / 8] |= (1 << (hasbit % 8)); in upb_sethasbit()2999 uint32_t hasbit = f->presence; in upb_readhasbit() local3001 return msg[hasbit / 8] & (1 << (hasbit % 8)); in upb_readhasbit()3752 int32_t hasbit; member3760 if (d->hasbit > 0) \3761 *(uint8_t*)&m[d->hasbit / 8] |= 1 << (d->hasbit % 8); \3775 size_t offset, int32_t hasbit) { in MSG_WRITER()3782 d->hasbit = hasbit; in MSG_WRITER()3814 int32_t *hasbit) { in upb_msg_getscalarhandlerdata() argument[all …]
4703 int32_t hasbit);4711 int32_t *hasbit);
1001 ହସ୍ବିତା hasbitā