Lines Matching refs:rhs
116 ResourceNameRef(const ResourceName& rhs); // NOLINT(google-explicit-constructor)
118 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default;
119 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default;
120 ResourceNameRef& operator=(const ResourceName& rhs);
146 ResourceId(const ResourceId& rhs);
229 inline ResourceId::ResourceId(const ResourceId& rhs) : id(rhs.id) {} in ResourceId() argument
256 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
257 return lhs.id < rhs.id;
260 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) {
261 return lhs.id > rhs.id;
264 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) {
265 return lhs.id == rhs.id;
268 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) {
269 return lhs.id != rhs.id;
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);
320 inline bool operator!=(const ResourceName& lhs, const ResourceName& rhs) {
322 std::tie(rhs.package, rhs.type, rhs.entry);
333 inline ResourceNameRef::ResourceNameRef(const ResourceName& rhs) in ResourceNameRef() argument
334 : package(rhs.package), type(rhs.type), entry(rhs.entry) {} in ResourceNameRef()
340 inline ResourceNameRef& ResourceNameRef::operator=(const ResourceName& rhs) {
341 package = rhs.package;
342 type = rhs.type;
343 entry = 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);
365 inline bool operator!=(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
367 std::tie(rhs.package, rhs.type, rhs.entry);
378 inline bool operator!=(const ResourceName& lhs, const ResourceNameRef& rhs) {
379 return ResourceNameRef(lhs) != rhs;
382 inline bool operator==(const SourcedResourceName& lhs, const SourcedResourceName& rhs) {
383 return lhs.name == rhs.name && lhs.line == rhs.line;