Searched refs:chrs (Results 1 – 2 of 2) sorted by relevance
/system/core/libutils/ |
D | String16.cpp | 193 status_t String16::append(const char16_t* chrs, size_t otherLen) { in append() argument 196 if (myLen == 0) return setTo(chrs, otherLen); in append() 209 memcpy(str + myLen, chrs, otherLen * sizeof(char16_t)); in append() 215 status_t String16::insert(size_t pos, const char16_t* chrs) { in insert() argument 216 return insert(pos, chrs, strlen16(chrs)); in insert() 219 status_t String16::insert(size_t pos, const char16_t* chrs, size_t otherLen) { in insert() argument 222 if (myLen == 0) return setTo(chrs, otherLen); in insert() 238 memcpy(str + pos, chrs, otherLen * sizeof(char16_t)); in insert() 286 bool String16::contains(const char16_t* chrs) const in contains() 288 return strstr16(mString, chrs) != nullptr; in contains()
|
/system/core/libutils/include/utils/ |
D | String16.h | 76 status_t insert(size_t pos, const char16_t* chrs); 78 const char16_t* chrs, size_t len); 86 bool contains(const char16_t* chrs) const;
|