Searched defs:currentCharacters (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringBuilder.cpp115 // Allocate a new 8 bit buffer, copying in currentCharacters (these may come from either m_string
117 void StringBuilder::allocateBuffer(const LChar* currentCharacters, unsigned requiredLength) argument
122 memcpy(m_bufferCharacters8, currentCharacters, static_cast<size_t>(m_length) * sizeof(LChar)); // This can't overflow.
129 // Allocate a new 16 bit buffer, copying in currentCharacters (these may come from either m_string
131 void StringBuilder::allocateBuffer(const UChar* currentCharacters, unsigned requiredLength) argument
136 memcpy(m_bufferCharacters16, currentCharacters, static_cast<size_t>(m_length) * sizeof(UChar)); // This can't overflow.
143 // Allocate a new 16 bit buffer, copying in currentCharacters (which is 8 bit and may come
145 void StringBuilder::allocateBufferUpConvert(const LChar* currentCharacters, unsigned requiredLength) argument
151 m_bufferCharacters16[i] = currentCharacters[i];

Completed in 75 milliseconds