Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/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
/external/rust/crates/grpcio-sys/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()
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb783 oneof_count = 0
785 oneof_count += 1
788 assert oneof_count == 1
/external/protobuf/ruby/tests/
Dcommon_tests.rb568 oneof_count = 0
570 oneof_count += 1
573 assert oneof_count == 1
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/bindings/lua/
Dtest_upb.lua51 assert_equal(message_oneof_count, m:oneof_count())
/external/protobuf/php/ext/google/protobuf/
Dupb.c1159 int oneof_count; member
2047 o = (upb_oneofdef*)&m->oneofs[m->oneof_count++]; in create_oneofdef()
2277 if (oneof_index >= m->oneof_count) { in create_fielddef()
2399 m->oneof_count = 0; in create_msgdef()
Dupb.h3589 int oneof_count() const { return upb_msgdef_numoneofs(ptr_); } in oneof_count() function
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h2515 int oneof_count() const;
3726 inline int MessageDef::oneof_count() const {