OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lengthToInsert
(Results
1 - 2
of
2
) sorted by null
/external/webkit/WebCore/platform/text/
String.cpp
194
void String::insert(const UChar* charactersToInsert, unsigned
lengthToInsert
, unsigned position)
197
append(charactersToInsert,
lengthToInsert
);
203
if (!
lengthToInsert
)
209
StringImpl::createUninitialized(length() +
lengthToInsert
, data);
211
memcpy(data + position, charactersToInsert,
lengthToInsert
* sizeof(UChar));
212
memcpy(data + position +
lengthToInsert
, characters() + position, (length() - position) * sizeof(UChar));
StringImpl.cpp
685
unsigned
lengthToInsert
= str ? str->length() : 0;
686
if (!lengthToReplace && !
lengthToInsert
)
690
createUninitialized(length() - lengthToReplace +
lengthToInsert
, data);
693
memcpy(data + position, str->characters(),
lengthToInsert
* sizeof(UChar));
694
memcpy(data + position +
lengthToInsert
, characters() + position + lengthToReplace,
Completed in 981 milliseconds