Home
last modified time | relevance | path

Searched refs:ParseReference (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp66 EXPECT_TRUE(ResourceUtils::ParseReference("@color/foo", &actual, &create, &private_ref)); in TEST()
76 EXPECT_TRUE(ResourceUtils::ParseReference("@android:color/foo", &actual, &create, &private_ref)); in TEST()
86 …EXPECT_TRUE(ResourceUtils::ParseReference("\t @android:color/foo\n \n\t", &actual, &create, &priva… in TEST()
96 EXPECT_TRUE(ResourceUtils::ParseReference("@+android:id/foo", &actual, &create, &private_ref)); in TEST()
106 EXPECT_TRUE(ResourceUtils::ParseReference("@*android:id/foo", &actual, &create, &private_ref)); in TEST()
130 …EXPECT_FALSE(ResourceUtils::ParseReference("@+android:color/foo", &actual, &create, &private_ref)); in TEST()
DResourceUtils.h52 bool ParseReference(android::StringPiece str, ResourceNameRef* out_reference,
DResourceUtils.cpp153 bool ParseReference(StringPiece str, ResourceNameRef* out_ref, bool* out_create, in ParseReference() function
201 return ParseReference(str, nullptr, nullptr, nullptr); in IsReference()
330 if (ParseReference(str, &ref, out_create, &private_ref)) { in TryParseReference()
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp49 if (ResourceUtils::ParseReference(attr.value, &name, &create, nullptr)) { in Visit()
/frameworks/libs/binary_translation/tools/nogrod/
Dmain.cc842 std::unique_ptr<TypeInfo> ParseReference( in ParseReference() function
980 type_info = ParseReference(ReferenceType::pointer, die, dwarf_info, types); in ParseDie()
983 type_info = ParseReference(ReferenceType::reference, die, dwarf_info, types); in ParseDie()
986 type_info = ParseReference(ReferenceType::rvalue_reference, die, dwarf_info, types); in ParseDie()