Home
last modified time | relevance | path

Searched refs:hasbit (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c454 return layout->fields[upb_fielddef_index(field)].hasbit != in field_contains_hasbit()
472 size_t hasbit = 0; in create_layout() local
478 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() local
615 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 …]
Dencode_decode.c105 int32_t hasbit; member
109 static const void* newhandlerdata(upb_handlers* h, uint32_t ofs, int32_t hasbit) { in newhandlerdata() argument
112 hd->hasbit = hasbit; in newhandlerdata()
119 int32_t hasbit; member
126 int32_t hasbit, in newsubmsghandlerdata() argument
130 hd->hasbit = hasbit; in newsubmsghandlerdata()
202 static void set_hasbit(void *closure, int32_t hasbit) { in set_hasbit() argument
203 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 …]
Dupb.c722 int32_t hasbit = field->presence; in upb_sethasbit() local
724 frame->msg[hasbit / 8] |= (1 << (hasbit % 8)); in upb_sethasbit()
3650 uint32_t hasbit = f->presence; in upb_readhasbit() local
3652 return msg[hasbit / 8] & (1 << (hasbit % 8)); in upb_readhasbit()
4617 int32_t hasbit; member
4625 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 …]
Dprotobuf.h501 size_t hasbit; member
Dupb.h4916 int32_t hasbit);
4924 int32_t *hasbit);
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dhandlers.c456 int32_t hasbit; member
464 if (d->hasbit > 0) \
465 *(uint8_t*)&m[d->hasbit / 8] |= 1 << (d->hasbit % 8); \
479 size_t offset, int32_t hasbit) { in MSG_WRITER()
486 d->hasbit = hasbit; in MSG_WRITER()
518 int32_t *hasbit) { in upb_msg_getscalarhandlerdata() argument
543 *hasbit = d->hasbit; in upb_msg_getscalarhandlerdata()
Dhandlers.h715 int32_t hasbit);
723 int32_t *hasbit);
Ddef.c1034 size_t hasbit; in make_layout() local
1092 for (upb_msg_field_begin(&it, m), hasbit = 0; in make_layout()
1124 field->presence = ++hasbit; in make_layout()
1131 l->size = div_round_up(hasbit, 8); in make_layout()
/external/protobuf/src/google/protobuf/
Dgenerated_message_util.h121 inline bool IsPresent(const void* base, uint32 hasbit) { in IsPresent() argument
123 return (has_bits_array[hasbit / 32] & (1u << (hasbit & 31))) != 0; in IsPresent()
/external/protobuf/php/ext/google/protobuf/
Dupb.c726 int32_t hasbit = field->presence; in upb_sethasbit() local
728 frame->msg[hasbit / 8] |= (1 << (hasbit % 8)); in upb_sethasbit()
2999 uint32_t hasbit = f->presence; in upb_readhasbit() local
3001 return msg[hasbit / 8] & (1 << (hasbit % 8)); in upb_readhasbit()
3752 int32_t hasbit; member
3760 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 …]
Dupb.h4703 int32_t hasbit);
4711 int32_t *hasbit);
/external/cldr/common/testData/transforms/
Dund-Latn-t-und-orya.txt1001 ହସ୍ବିତା hasbitā