• Home
  • Raw
  • Download

Lines Matching refs:lhs

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;
318 inline bool operator<(const ResourceName& lhs, const ResourceName& rhs) {
319 return std::tie(lhs.package, lhs.type, lhs.entry) <
323 inline bool operator==(const ResourceName& lhs, const ResourceName& rhs) {
324 return std::tie(lhs.package, lhs.type, lhs.entry) ==
328 inline bool operator!=(const ResourceName& lhs, const ResourceName& rhs) {
329 return std::tie(lhs.package, lhs.type, lhs.entry) !=
363 inline bool operator<(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
364 return std::tie(lhs.package, lhs.type, lhs.entry) <
368 inline bool operator==(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
369 return std::tie(lhs.package, lhs.type, lhs.entry) ==
373 inline bool operator!=(const ResourceNameRef& lhs, const ResourceNameRef& rhs) {
374 return std::tie(lhs.package, lhs.type, lhs.entry) !=
382 inline bool operator<(const ResourceName& lhs, const ResourceNameRef& b) {
383 return ResourceNameRef(lhs) < b;
386 inline bool operator!=(const ResourceName& lhs, const ResourceNameRef& rhs) {
387 return ResourceNameRef(lhs) != rhs;
390 inline bool operator==(const SourcedResourceName& lhs, const SourcedResourceName& rhs) {
391 return lhs.name == rhs.name && lhs.line == rhs.line;