Lines Matching defs:hasbit
579 uint32_t hasbit = field->presence;
580 *UPB_PTR_AT(msg, hasbit / 8, uint8_t) |= (1 << (hasbit % 8));
852 uint32_t hasbit = f->presence;
854 return (*UPB_PTR_AT(msg, hasbit / 8, uint8_t)) & (1 << (hasbit % 8));
1123 /* Proto2 presence: hasbit. */
3900 size_t hasbit;
3958 for (upb_msg_field_begin(&it, m), hasbit = 0;
3985 /* We don't use hasbit 0, so that 0 can indicate "no presence" in the
3986 * table. This wastes one hasbit, but we don't worry about it for now. */
3987 field->presence = ++hasbit;
3994 l->size = div_round_up(hasbit, 8);
5177 uint32_t hasbit = field->presence;
5178 return *UPB_PTR_AT(msg, hasbit / 8, uint8_t) & (1 << (hasbit % 8));
5885 int32_t hasbit;
5893 if (d->hasbit > 0) \
5894 *(uint8_t*)&m[d->hasbit / 8] |= 1 << (d->hasbit % 8); \
5908 size_t offset, int32_t hasbit) {
5915 d->hasbit = hasbit;
5947 int32_t *hasbit) {
5972 *hasbit = d->hasbit;