Lines Matching refs:ResourceName
84 struct ResourceName {
89 ResourceName() = default;
90 ResourceName(const android::StringPiece& p, ResourceType t, const android::StringPiece& e);
92 int compare(const ResourceName& other) const;
99 * Same as ResourceName, but uses StringPieces instead.
112 ResourceNameRef(const ResourceName& rhs); // NOLINT(implicit)
116 ResourceNameRef& operator=(const ResourceName& rhs);
118 ResourceName ToResourceName() const;
155 ResourceName name;
161 ResourceName name;
178 ResourceName name;
200 ResourceKeyRef(ResourceName&& n, const ConfigDescription& c) = delete;
273 // ResourceName implementation.
276 inline ResourceName::ResourceName(const android::StringPiece& p, ResourceType t,
280 inline int ResourceName::compare(const ResourceName& other) const {
289 inline bool ResourceName::is_valid() const {
293 inline bool operator<(const ResourceName& lhs, const ResourceName& rhs) {
298 inline bool operator==(const ResourceName& lhs, const ResourceName& rhs) {
303 inline bool operator!=(const ResourceName& lhs, const ResourceName& rhs) {
309 const ResourceName& name) {
316 inline std::string ResourceName::ToString() const {
326 inline ResourceNameRef::ResourceNameRef(const ResourceName& rhs)
333 inline ResourceNameRef& ResourceNameRef::operator=(const ResourceName& rhs) {
340 inline ResourceName ResourceNameRef::ToResourceName() const {
341 return ResourceName(package, type, entry);
371 inline bool operator<(const ResourceName& lhs, const ResourceNameRef& b) {
375 inline bool operator!=(const ResourceName& lhs, const ResourceNameRef& rhs) {
389 struct hash<aapt::ResourceName> {
390 size_t operator()(const aapt::ResourceName& name) const {