Lines Matching refs:m_string

44     if (!m_string.isNull()) {
45 ASSERT(m_string.length() == m_length);
50 m_string = StringImpl::empty();
56 m_string = m_buffer.release();
62 m_string = m_buffer.release();
66 m_string = m_buffer->substring(0, m_length);
71 ASSERT(m_string.isNull());
87 m_string = String(); // Clear the string to remove the reference to m_buffer if any before checking the reference count of m_buffer.
98 // Since m_length && !m_buffer, the string must be valid in m_string, and m_string.length() > 0.
99 ASSERT(!m_string.isEmpty());
100 ASSERT(m_length == m_string.length());
101 ASSERT(newSize < m_string.length());
103 RefPtr<StringImpl> string = m_string.releaseImpl();
115 // Allocate a new 8 bit buffer, copying in currentCharacters (these may come from either m_string
126 m_string = String();
129 // Allocate a new 16 bit buffer, copying in currentCharacters (these may come from either m_string
140 m_string = String();
144 // from either m_string or m_buffer, neither will be reassigned until the copy has completed).
157 m_string = String();
165 m_string = String();
182 m_string = String();
209 } else if (m_string.is8Bit())
210 allocateBuffer(m_string.characters8(), newCapacity);
212 allocateBuffer(m_string.characters16(), newCapacity);
217 // Make 'length' additional capacity be available in m_buffer, update m_string & m_length,
232 m_string = String();
240 // Make 'length' additional capacity be available in m_buffer, update m_string & m_length,
253 ASSERT(m_string.length() == m_length);
254 allocateBuffer(m_length ? m_string.getCharacters<CharType>() : 0, expandedCapacity(capacity(), requiredLength));
287 ASSERT(m_string.length() == m_length);
288 allocateBufferUpConvert(m_string.isNull() ? 0 : m_string.characters8(), expandedCapacity(capacity(), requiredLength));
393 m_string = m_buffer.release();