Searched refs:lengthToAppend (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DWTFString.cpp177 void String::append(const LChar* charactersToAppend, unsigned lengthToAppend) argument
182 m_impl = StringImpl::create(charactersToAppend, lengthToAppend);
186 if (!lengthToAppend)
194 RELEASE_ASSERT(lengthToAppend <= numeric_limits<unsigned>::max() - strLength);
196 RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(strLength + lengthToAppend, data);
198 StringImpl::copyChars(data + strLength, charactersToAppend, lengthToAppend);
203 RELEASE_ASSERT(lengthToAppend <= numeric_limits<unsigned>::max() - strLength);
205 RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(length() + lengthToAppend, data);
207 StringImpl::copyChars(data + strLength, charactersToAppend, lengthToAppend);
211 void String::append(const UChar* charactersToAppend, unsigned lengthToAppend) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTextIterator.h99 unsigned lengthToAppend = length() - position; local
100 if (!lengthToAppend)
107 string().appendTo(output, startOffset() + position, lengthToAppend);
H A DTextIterator.cpp592 unsigned lengthToAppend = std::min(static_cast<unsigned>(length()) - position, maxLength);
593 if (!lengthToAppend)
599 builder.append(string(), positionStartOffset() + position, lengthToAppend);

Completed in 78 milliseconds