HomeSort by relevance Sort by last modified time
    Searched refs:lengthToInsert (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/wtf/text/
WTFString.cpp 238 PassRefPtr<StringImpl> insertInternal(PassRefPtr<StringImpl> impl, const CharType* charactersToInsert, unsigned lengthToInsert, unsigned position)
240 if (!lengthToInsert)
245 RELEASE_ASSERT(lengthToInsert <= numeric_limits<unsigned>::max() - impl->length());
246 RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(impl->length() + lengthToInsert, data);
253 StringImpl::copyChars(data + position, charactersToInsert, lengthToInsert);
256 StringImpl::copyChars(data + position + lengthToInsert, impl->characters8() + position, impl->length() - position);
258 StringImpl::copyChars(data + position + lengthToInsert, impl->characters16() + position, impl->length() - position);
263 void String::insert(const UChar* charactersToInsert, unsigned lengthToInsert, unsigned position)
266 append(charactersToInsert, lengthToInsert);
270 m_impl = insertInternal(m_impl.release(), charactersToInsert, lengthToInsert, position)
    [all...]
StringImpl.cpp     [all...]

Completed in 466 milliseconds