Lines Matching defs:ref
209 ResourceNameRef ref;
210 ref.type = ResourceType::kStyle;
213 extractResourceName(name, &ref.package, &typeStr, &ref.entry);
225 if (!hasLeadingIdentifiers && ref.package.empty() && !typeStr.empty()) {
232 Reference result(ref);
238 ResourceNameRef ref;
240 if (tryParseReference(str, &ref, outCreate, &privateRef)) {
241 std::unique_ptr<Reference> value = util::make_unique<Reference>(ref);
246 if (tryParseAttributeReference(str, &ref)) {
250 return util::make_unique<Reference>(ref, Reference::Type::kAttribute);