Home
last modified time | relevance | path

Searched refs:lengthToRemove (Results 1 – 1 of 1) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/text/
DWTFString.cpp234 void String::remove(unsigned position, int lengthToRemove) in remove() argument
236 if (lengthToRemove <= 0) in remove()
240 if (static_cast<unsigned>(lengthToRemove) > length() - position) in remove()
241 lengthToRemove = length() - position; in remove()
243 RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(length() - lengthToRemove, data); in remove()
245 memcpy(data + position, characters() + position + lengthToRemove, in remove()
246 (length() - lengthToRemove - position) * sizeof(UChar)); in remove()