Lines Matching refs:rval
61 bool operator==(const MapString& rval) const {
62 if (length() != rval.length()) return false;
64 return fastcmp<strncmp>(data(), rval.data(), length()) == 0;
66 bool operator!=(const MapString& rval) const {
67 return !(*this == rval);
75 MapString(MapString&& rval)
76 : alloc(rval.alloc), str(rval.data(), rval.length()) {
77 rval.alloc = NULL;
79 explicit MapString(const MapString& rval)
80 : alloc(rval.alloc ? new std::string(*rval.alloc) : NULL),
81 str(alloc ? alloc->data() : rval.data(), rval.length()) {