Lines Matching refs:Reference
40 * Visitor that converts a reference's resource ID to a resource name,
55 void visit(Reference* reference) override {
56 if (!reference->id || !reference->id.value().isValid()) {
60 ResourceId id = reference->id.value();
63 reference->name = cacheIter->second;
64 reference->id = {};
425 const Reference::Type type = (value->dataType == Res_value::TYPE_REFERENCE) ?
426 Reference::Type::kResource : Reference::Type::kAttribute;
429 // A reference of 0, must be the magic @null reference.
435 // This is a normal reference.
436 return util::make_unique<Reference>(data, type);
469 // The parent is a regular reference to a resource.
470 style->parent = Reference(util::deviceToHost32(map->parent.ident));
479 styleEntry.key = Reference(util::deviceToHost32(mapEntry.name.ident));
520 symbol.symbol = Reference(util::deviceToHost32(mapEntry.name.ident));