Lines Matching refs:rval
534 explicit TagNameKey(TagNameKey&& rval) in TagNameKey()
535 : alloc(rval.alloc), name(rval.name.data(), rval.name.length()) { in TagNameKey()
536 rval.alloc = nullptr; in TagNameKey()
539 explicit TagNameKey(const TagNameKey& rval) in TagNameKey()
540 : alloc(rval.alloc ? new std::string(*rval.alloc) : nullptr), in TagNameKey()
541 name(alloc ? alloc->data() : rval.name.data(), rval.name.length()) { in TagNameKey()
559 bool operator==(const TagNameKey& rval) const {
560 if (length() != rval.length()) return false;
562 return fastcmp<strncmp>(data(), rval.data(), length()) == 0;
564 bool operator!=(const TagNameKey& rval) const {
565 return !(*this == rval);