Lines Matching refs:String16
41 class String16
44 /* use String16(StaticLinkage) if you're statically linking against
45 * libutils and declaring an empty static String16, e.g.:
47 * static String16 sAStaticEmptyString(String16::kEmptyString);
48 * static String16 sAnotherStaticEmptyString(sAStaticEmptyString);
52 String16();
53 explicit String16(StaticLinkage);
54 String16(const String16& o);
55 String16(const String16& o,
58 explicit String16(const char16_t* o);
59 explicit String16(const char16_t* o, size_t len);
60 explicit String16(const String8& o);
61 explicit String16(const char* o);
62 explicit String16(const char* o, size_t len);
64 ~String16();
71 void setTo(const String16& other);
74 status_t setTo(const String16& other,
78 status_t append(const String16& other);
81 inline String16& operator=(const String16& other);
83 inline String16& operator+=(const String16& other);
84 inline String16 operator+(const String16& other) const;
93 bool startsWith(const String16& prefix) const;
103 inline int compare(const String16& other) const;
105 inline bool operator<(const String16& other) const;
106 inline bool operator<=(const String16& other) const;
107 inline bool operator==(const String16& other) const;
108 inline bool operator!=(const String16& other) const;
109 inline bool operator>=(const String16& other) const;
110 inline bool operator>(const String16& other) const;
125 // String16 can be trivially moved using memcpy() because moving does not
127 ANDROID_TRIVIAL_MOVE_TRAIT(String16)
132 inline int compare_type(const String16& lhs, const String16& rhs)
137 inline int strictly_order_type(const String16& lhs, const String16& rhs)
142 inline const char16_t* String16::string() const
147 inline size_t String16::size() const
152 inline const SharedBuffer* String16::sharedBuffer() const
157 inline String16& String16::operator=(const String16& other)
163 inline String16& String16::operator+=(const String16& other)
169 inline String16 String16::operator+(const String16& other) const
171 String16 tmp(*this);
176 inline int String16::compare(const String16& other) const
181 inline bool String16::operator<(const String16& other) const
186 inline bool String16::operator<=(const String16& other) const
191 inline bool String16::operator==(const String16& other) const
196 inline bool String16::operator!=(const String16& other) const
201 inline bool String16::operator>=(const String16& other) const
206 inline bool String16::operator>(const String16& other) const
211 inline bool String16::operator<(const char16_t* other) const
216 inline bool String16::operator<=(const char16_t* other) const
221 inline bool String16::operator==(const char16_t* other) const
226 inline bool String16::operator!=(const char16_t* other) const
231 inline bool String16::operator>=(const char16_t* other) const
236 inline bool String16::operator>(const char16_t* other) const
241 inline String16::operator const char16_t*() const