Home
last modified time | relevance | path

Searched refs:enum_type (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/scripts/
Dupdate_metadata_pb2.py136 message_type=None, enum_type=None, containing_type=None,
143 message_type=None, enum_type=None, containing_type=None,
174 message_type=None, enum_type=None, containing_type=None,
181 message_type=None, enum_type=None, containing_type=None,
188 message_type=None, enum_type=None, containing_type=None,
218 message_type=None, enum_type=None, containing_type=None,
249 message_type=None, enum_type=None, containing_type=None,
256 message_type=None, enum_type=None, containing_type=None,
287 message_type=None, enum_type=None, containing_type=None,
294 message_type=None, enum_type=None, containing_type=None,
[all …]
/system/tools/sysprop/
DRustGen.cpp204 auto enum_type = GetRustEnumType(prop); in GenerateRustSource() local
211 writer.Write("pub enum %s {\n", enum_type.c_str()); in GenerateRustSource()
220 writer.Write("impl std::str::FromStr for %s {\n", enum_type.c_str()); in GenerateRustSource()
230 enum_type.c_str(), SnakeCaseToCamelCase(value).c_str()); in GenerateRustSource()
233 enum_type.c_str()); in GenerateRustSource()
242 writer.Write("impl fmt::Display for %s {\n", enum_type.c_str()); in GenerateRustSource()
250 writer.Write("%s::%s => write!(f, \"%s\"),\n", enum_type.c_str(), in GenerateRustSource()
/system/tools/aidl/
Daidl_to_rust.cpp74 auto enum_type = defined_type->AsEnumDeclaration(); in ConstantValueDecoratorInternal() local
75 AIDL_FATAL_IF(!enum_type, type) << "Invalid type for \"" << value << "\""; in ConstantValueDecoratorInternal()
Daidl_to_cpp_common.cpp938 auto enum_type = defined_type->AsEnumDeclaration(); in CppConstantValueDecorator() local
939 AIDL_FATAL_IF(!enum_type, type) << "Invalid type for \"" << value << "\""; in CppConstantValueDecorator()
941 auto cpp_type_name = "::" + Join(Split(enum_type->GetCanonicalName(), "."), "::"); in CppConstantValueDecorator()
Daidl_const_expressions.cpp638 const AidlEnumDeclaration* enum_type = defined_type->AsEnumDeclaration(); in ValueString() local
639 if (!enum_type) { in ValueString()
646 << enum_type->GetCanonicalName(); in ValueString()
Daidl_to_java.cpp53 auto enum_type = defined_type->AsEnumDeclaration(); in ConstantValueDecorator() local
54 AIDL_FATAL_IF(!enum_type, type) << "Invalid type for \"" << value << "\""; in ConstantValueDecorator()
Daidl_unittest.cpp1867 auto enum_type = typenames_.ResolveTypename("p.IFoo.Inner.Enum"); in TEST_F() local
1870 EXPECT_TRUE(enum_type.is_resolved); in TEST_F()
1874 EXPECT_EQ(inner_type.defined_type, enum_type.defined_type->GetParentType()); in TEST_F()
1878 EXPECT_EQ(ifoo_type.defined_type, enum_type.defined_type->GetRootType()); in TEST_F()
1883 EXPECT_EQ(main_document, &enum_type.defined_type->GetDocument()); in TEST_F()
5282 const auto& enum_type = type->AsEnumDeclaration(); in TEST_F() local
5286 visitor.Visit(*enum_type); in TEST_F()
Daidl_language.cpp881 auto enum_type = defined_type->AsEnumDeclaration(); in AidlConstantValueDecorator() local
882 AIDL_FATAL_IF(!enum_type, type) << "Invalid type for \"" << value << "\""; in AidlConstantValueDecorator()