Home | History | Annotate | Download | only in aapt2

Lines Matching defs:rhs

111   ResourceNameRef(const ResourceName& rhs);  // NOLINT(implicit)
113 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default;
114 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default;
115 ResourceNameRef& operator=(const ResourceName& rhs);
141 ResourceId(const ResourceId& rhs);
224 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {}
251 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
252 return lhs.id < rhs.id;
255 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) {
256 return lhs.id > rhs.id;
259 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) {
260 return lhs.id == rhs.id;
263 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) {
264 return lhs.id != rhs.id;
305 inline bool operator<(const ResourceName& lhs, const ResourceName& rhs) {
307 std::tie(rhs.package, rhs.type, rhs.entry);
310 inline bool operator==(const ResourceName& lhs, const ResourceName& rhs) {
312 std::tie(rhs.package, rhs.type, rhs.entry);
315 inline bool operator!=(const ResourceName& lhs, const ResourceName& rhs) {
317 std::tie(rhs.package, rhs.type, rhs.entry);
328 inline ResourceNameRef::ResourceNameRef(const ResourceName& rhs)
329 : package(rhs.package), type(rhs.type), entry(rhs.entry) {}
335 inline ResourceNameRef& ResourceNameRef::operator=(const ResourceName& rhs) {
336 package = rhs.package;
337 type = rhs.type;
338 entry = rhs.entry;
350 inline bool operator<(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
352 std::tie(rhs.package, rhs.type, rhs.entry);
355 inline bool operator==(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
357 std::tie(rhs.package, rhs.type, rhs.entry);
360 inline bool operator!=(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
362 std::tie(rhs.package, rhs.type, rhs.entry);
373 inline bool operator!=(const ResourceName& lhs, const ResourceNameRef& rhs) {
374 return ResourceNameRef(lhs) != rhs;
377 inline bool operator==(const SourcedResourceName& lhs, const SourcedResourceName& rhs) {
378 return lhs.name == rhs.name && lhs.line == rhs.line;