Searched refs:oneof_count (Results 1 – 10 of 10) sorted by relevance
63 int oneof_count; member607 return m->oneof_count; in upb_msgdef_numoneofs()619 return m->oneof_count; in upb_msgdef_oneofcount()636 UPB_ASSERT(i >= 0 && i < m->oneof_count); in upb_msgdef_oneof()1268 for (i = 0; i < m->oneof_count; i++) { in finalize_oneofs()1295 m->real_oneof_count = m->oneof_count - synthetic_count; in finalize_oneofs()1392 o = (upb_oneofdef*)&m->oneofs[m->oneof_count++]; in create_oneofdef()1681 if (oneof_index >= m->oneof_count) { in create_fielddef()1819 m->oneof_count = 0; in create_msgdef()
183 int oneof_count() const { return upb_msgdef_numoneofs(ptr_); } in oneof_count() function in upb::MessageDefPtr
911 int oneof_count = 0; in TestIteration() local914 oneof_count++; in TestIteration()916 ASSERT(oneof_count == md.oneof_count()); in TestIteration()
1773 size_t oneof_count; in MessageBuilderContext_oneof() local1779 google_protobuf_DescriptorProto_oneof_decl(self->msg_proto, &oneof_count); in MessageBuilderContext_oneof()1789 VALUE args[2] = { INT2NUM(oneof_count), _self }; in MessageBuilderContext_oneof()1802 size_t field_count, oneof_count; in MessageBuilderContext_add_synthetic_oneofs() local1806 google_protobuf_DescriptorProto_oneof_decl(self->msg_proto, &oneof_count); in MessageBuilderContext_add_synthetic_oneofs()1817 for (i = 0; i < oneof_count; i++) { in MessageBuilderContext_add_synthetic_oneofs()1840 oneof_count++); in MessageBuilderContext_add_synthetic_oneofs()
3034 int oneof_count; member3264 for (i = 0; i < m->oneof_count; i++) { in check_oneofs()3282 m->real_oneof_count = m->oneof_count; in check_oneofs()3687 return m->oneof_count; in upb_msgdef_numoneofs()4215 o = (upb_oneofdef*)&m->oneofs[m->oneof_count++]; in create_oneofdef()4488 if (oneof_index >= m->oneof_count) { in create_fielddef()4618 m->oneof_count = 0; in create_msgdef()
379 int oneof_count = 0; in SharedCtor() local383 sizeof(uint32) * oneof_count++)) uint32(0); in SharedCtor()
782 oneof_count = 0784 oneof_count += 1787 assert oneof_count == 1
568 oneof_count = 0570 oneof_count += 1573 assert oneof_count == 1
51 assert_equal(message_oneof_count, m:oneof_count())
3479 int oneof_count; member3709 for (i = 0; i < m->oneof_count; i++) { in check_oneofs()3727 m->real_oneof_count = m->oneof_count; in check_oneofs()4130 return m->oneof_count; in upb_msgdef_numoneofs()4678 o = (upb_oneofdef*)&m->oneofs[m->oneof_count++]; in create_oneofdef()4951 if (oneof_index >= m->oneof_count) { in create_fielddef()5089 m->oneof_count = 0; in create_msgdef()