Home
last modified time | relevance | path

Searched refs:oneof_count (Results 1 – 10 of 10) sorted by relevance

/third_party/grpc/third_party/upb/upb/
Ddef.c63 int oneof_count; member
607 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()
Ddef.hpp183 int oneof_count() const { return upb_msgdef_numoneofs(ptr_); } in oneof_count() function in upb::MessageDefPtr
/third_party/grpc/third_party/upb/tests/
Dtest_cpp.cc911 int oneof_count = 0; in TestIteration() local
914 oneof_count++; in TestIteration()
916 ASSERT(oneof_count == md.oneof_count()); in TestIteration()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c1773 size_t oneof_count; in MessageBuilderContext_oneof() local
1779 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() local
1806 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()
Dupb.c3034 int oneof_count; member
3264 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()
/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc379 int oneof_count = 0; in SharedCtor() local
383 sizeof(uint32) * oneof_count++)) uint32(0); in SharedCtor()
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb782 oneof_count = 0
784 oneof_count += 1
787 assert oneof_count == 1
/third_party/protobuf/ruby/tests/
Dcommon_tests.rb568 oneof_count = 0
570 oneof_count += 1
573 assert oneof_count == 1
/third_party/grpc/third_party/upb/tests/bindings/lua/
Dtest_upb.lua51 assert_equal(message_oneof_count, m:oneof_count())
/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c3479 int oneof_count; member
3709 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()