Home
last modified time | relevance | path

Searched refs:oneof_count (Results 1 - 6 of 6) sorted by relevance

/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Ddefs.c1773 size_t oneof_count; in MessageBuilderContext_oneof() local
1778 // Existing oneof_count becomes oneof_index. in MessageBuilderContext_oneof()
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()
H A 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/
H A 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/
H A Dbasic.rb782 oneof_count = 0
784 oneof_count += 1
787 assert oneof_count == 1
/third_party/protobuf/ruby/tests/
H A Dcommon_tests.rb568 oneof_count = 0
570 oneof_count += 1
573 assert oneof_count == 1
/third_party/protobuf/php/ext/google/protobuf/
H A 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()

Completed in 40 milliseconds