Lines Matching refs:m_impl
25 : m_impl(other.m_impl), hash_code(other.hash_code) {} in String16()
27 : m_impl(std::move(other.m_impl)), hash_code(other.hash_code) {} in String16()
28 String16(const UChar* characters, size_t size) : m_impl(characters, size) {} in String16()
30 : m_impl(characters) {} in String16()
34 m_impl.resize(size); in String16()
35 for (size_t i = 0; i < size; ++i) m_impl[i] = characters[i]; in String16()
37 explicit String16(const std::basic_string<UChar>& impl) : m_impl(impl) {} in String16()
40 m_impl = other.m_impl;
45 m_impl = std::move(other.m_impl);
57 const UChar* characters16() const { return m_impl.c_str(); } in characters16()
58 size_t length() const { return m_impl.length(); } in length()
59 bool isEmpty() const { return !m_impl.length(); } in isEmpty()
60 UChar operator[](size_t index) const { return m_impl[index]; }
62 return String16(m_impl.substr(pos, len));
65 return m_impl.find(str.m_impl, start);
68 return m_impl.rfind(str.m_impl, start);
70 size_t find(UChar c, size_t start = 0) const { return m_impl.find(c, start); }
72 return m_impl.rfind(c, start);
75 m_impl.swap(other.m_impl); in swap()
85 for (char c : m_impl) hash_code = 31 * hash_code + c; in hash()
94 return m_impl == other.m_impl;
97 return m_impl < other.m_impl;
100 return m_impl != other.m_impl;
103 return String16(m_impl + other.m_impl);
111 std::basic_string<UChar> m_impl;