Home
last modified time | relevance | path

Searched refs:nested_enum (Results 1 – 20 of 20) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test1.proto44 optional NestedEnum nested_enum = 1 [default = BETA]; field
51 optional NestedEnum nested_enum = 1 [default = ZETA]; field
60 optional NestedEnum nested_enum = 1 [default = ETA]; field
74 optional NestedEnum nested_enum = 1 [default = GAMMA]; field
81 optional NestedEnum nested_enum = 1 [default = IOTA]; field
90 optional NestedEnum nested_enum = 1 [default = MU]; field
Ddescriptor_pool_test2.proto50 optional NestedEnum nested_enum = 1 [default = XI]; field
57 optional NestedEnum nested_enum = 1 [default = PI]; field
66 optional NestedEnum nested_enum = 1 [default = RHO]; field
Ddescriptor_test.py406 nested_enum = outer_message.enum_types_by_name["NestedEnum"]
407 self.assertEqual(1003, nested_enum.GetOptions().Extensions[
/external/clang/test/Modules/Inputs/
Dcxx-templates-unimported.h10 enum nested_enum : int;
19 enum nested_enum : int;
27 template<> enum class cls<void>::nested_enum { e };
Dcxx-templates-common.h63 enum class nested_enum {};
/external/clang/test/Modules/
Dcxx-templates.cpp206 cls<void>::nested_enum e; // ok in test()
207 …(void)cls<void>::nested_enum::e; // expected-error 1+{{definition of 'nested_enum' must be importe… in test()
225 …enum cls<int>::nested_enum : int {}; // expected-error 1+{{explicit specialization of 'cls<int>' m… enum
230 …template<typename T> enum cls<T*>::nested_enum : int {}; // expected-error 1+{{partial specializat… enum
/external/protobuf/php/tests/proto/
Dtest_php_namespace.proto12 NestedEnum nested_enum = 3; field
23 NestedEnum nested_enum = 2; field
Dtest_prefix.proto8 NestedEnum nested_enum = 3; field
Dtest_empty_php_namespace.proto12 NestedEnum nested_enum = 3; field
Dtest_no_namespace.proto10 NestedEnum nested_enum = 3; field
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_plugin.cc746 const EnumDescriptor* nested_enum = message->enum_type(i); in GenerateMessageDescriptor() local
748 nested_enum->name(), "global_name", in GenerateMessageDescriptor()
749 GetCppClassName(nested_enum, true)); in GenerateMessageDescriptor()
754 const EnumDescriptor* nested_enum = message->enum_type(i); in GenerateMessageDescriptor() local
755 std::string value_name_prefix = GetCppClassName(nested_enum) + "_"; in GenerateMessageDescriptor()
757 for (int j = 0; j < nested_enum->value_count(); ++j) { in GenerateMessageDescriptor()
758 const EnumValueDescriptor* value = nested_enum->value(j); in GenerateMessageDescriptor()
760 nested_enum->name(), "name", value->name(), "full_name", in GenerateMessageDescriptor()
Dcppgen_plugin.cc544 const EnumDescriptor* nested_enum = msg->enum_type(i); in GenClassDecl() local
545 p->Print("using $n$ = $f$;\n", "n", nested_enum->name(), "f", in GenClassDecl()
546 GetFullName(nested_enum)); in GenClassDecl()
547 GenEnumAliases(nested_enum, p); in GenClassDecl()
/external/protobuf/php/tests/proto/empty/
Decho.proto10 NestedEnum nested_enum = 3; field
/external/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/com/google/protobuf/
Dmultiple_files_test.proto56 optional NestedEnum nested_enum = 3; field
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dmultiple_files_test.proto55 optional NestedEnum nested_enum = 3; field
/external/protobuf/java/compatibility_tests/v2.5.0/protos/src/proto/com/google/protobuf/
Dmultiple_files_test.proto56 optional NestedEnum nested_enum = 3; field
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py379 nested_enum = outer_message.enum_types_by_name["NestedEnum"]
380 self.assertEqual(1003, nested_enum.GetOptions().Extensions[
/external/perfetto/src/protozero/test/example_proto/
Dtest_messages.proto75 optional NestedEnum nested_enum = 600; field
/external/protobuf/src/google/protobuf/
Dextension_set_unittest.cc852 TEST_REPEATED_EXTENSIONS_SPACE_USED(nested_enum, int, in TEST()
934 unittest::TestAllTypes::NestedEnum nested_enum = in TEST() local
951 message.AddExtension(unittest::repeated_nested_enum_extension, nested_enum); in TEST()
958 message.AddExtension(unittest::repeated_nested_enum_extension, nested_enum); in TEST()
Dtext_format_unittest.cc1552 EXPECT_FIELD(nested_enum, unittest::TestAllTypes::BAR, "BAR"); in TEST_F()
1553 EXPECT_FIELD(nested_enum, unittest::TestAllTypes::BAZ, in TEST_F()
1555 EXPECT_INVALID(nested_enum, "FOOBAR"); in TEST_F()