Home
last modified time | relevance | path

Searched refs:oneof_count (Results 1 – 16 of 16) 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/src/google/protobuf/
Ddynamic_message.cc372 int oneof_count = 0; in SharedCtor() local
375 new (MutableOneofCaseRaw(oneof_count++)) uint32_t{0}; in SharedCtor()
/external/cronet/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc372 int oneof_count = 0; in SharedCtor() local
375 new (MutableOneofCaseRaw(oneof_count++)) uint32_t{0}; in SharedCtor()
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_parse_function_generator.cc287 int oneof_count = descriptor->real_oneof_decl_count(); in TailCallTableInfo() local
290 if (oneof_count > 0) { in TailCallTableInfo()
293 << oneof_count << " oneof declarations, but no fields"; in TailCallTableInfo()
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb782 oneof_count = 0
784 oneof_count += 1
787 assert oneof_count == 1
/external/cronet/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb782 oneof_count = 0
784 oneof_count += 1
787 assert oneof_count == 1
/external/protobuf/src/google/protobuf/compiler/cpp/
Dparse_function_generator.cc286 int oneof_count = descriptor->real_oneof_decl_count(); in TailCallTableInfo() local
289 if (oneof_count > 0) { in TailCallTableInfo()
292 << oneof_count << " oneof declarations, but no fields"; in TailCallTableInfo()
/external/cronet/third_party/protobuf/ruby/tests/
Dcommon_tests.rb581 oneof_count = 0
583 oneof_count += 1
586 assert oneof_count == 1
/external/protobuf/ruby/tests/
Dcommon_tests.rb581 oneof_count = 0
583 oneof_count += 1
586 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/ruby/ext/google/protobuf_c/
Druby-upb.c5262 int oneof_count; member
5924 int upb_MessageDef_numoneofs(const upb_MessageDef* m) { return m->oneof_count; } in upb_MessageDef_numoneofs()
5939 return m->oneof_count; in upb_MessageDef_OneofCount()
5974 UPB_ASSERT(0 <= i && i < m->oneof_count); in upb_MessageDef_Oneof()
6769 for (int i = 0; i < m->oneof_count; i++) { in make_layout()
6846 for (i = 0; i < m->oneof_count; i++) { in finalize_oneofs()
6873 m->real_oneof_count = m->oneof_count - synthetic_count; in finalize_oneofs()
7496 if (oneof_index >= m->oneof_count) { in create_fielddef()
7772 m->oneof_count = n_oneof; in create_msgdef()
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/
Druby-upb.c5262 int oneof_count; member
5924 int upb_MessageDef_numoneofs(const upb_MessageDef* m) { return m->oneof_count; } in upb_MessageDef_numoneofs()
5939 return m->oneof_count; in upb_MessageDef_OneofCount()
5974 UPB_ASSERT(0 <= i && i < m->oneof_count); in upb_MessageDef_Oneof()
6769 for (int i = 0; i < m->oneof_count; i++) { in make_layout()
6846 for (i = 0; i < m->oneof_count; i++) { in finalize_oneofs()
6873 m->real_oneof_count = m->oneof_count - synthetic_count; in finalize_oneofs()
7496 if (oneof_index >= m->oneof_count) { in create_fielddef()
7772 m->oneof_count = n_oneof; in create_msgdef()
/external/cronet/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c5557 int oneof_count; member
6219 int upb_MessageDef_numoneofs(const upb_MessageDef* m) { return m->oneof_count; } in upb_MessageDef_numoneofs()
6234 return m->oneof_count; in upb_MessageDef_OneofCount()
6269 UPB_ASSERT(0 <= i && i < m->oneof_count); in upb_MessageDef_Oneof()
7059 for (int i = 0; i < m->oneof_count; i++) { in make_layout()
7136 for (i = 0; i < m->oneof_count; i++) { in finalize_oneofs()
7163 m->real_oneof_count = m->oneof_count - synthetic_count; in finalize_oneofs()
7786 if (oneof_index >= m->oneof_count) { in create_fielddef()
8062 m->oneof_count = n_oneof; in create_msgdef()
/external/protobuf/php/ext/google/protobuf/
Dphp-upb.c5557 int oneof_count; member
6219 int upb_MessageDef_numoneofs(const upb_MessageDef* m) { return m->oneof_count; } in upb_MessageDef_numoneofs()
6234 return m->oneof_count; in upb_MessageDef_OneofCount()
6269 UPB_ASSERT(0 <= i && i < m->oneof_count); in upb_MessageDef_Oneof()
7059 for (int i = 0; i < m->oneof_count; i++) { in make_layout()
7136 for (i = 0; i < m->oneof_count; i++) { in finalize_oneofs()
7163 m->real_oneof_count = m->oneof_count - synthetic_count; in finalize_oneofs()
7786 if (oneof_index >= m->oneof_count) { in create_fielddef()
8062 m->oneof_count = n_oneof; in create_msgdef()