Home
last modified time | relevance | path

Searched refs:bytesToPutInBuffer (Results 1 – 1 of 1) sorted by relevance

/external/webkit/WebCore/platform/text/mac/
DTextCodecMac.cpp144 const int bytesToPutInBuffer = min(spaceInBuffer, inputBufferLength); in decode() local
145 ASSERT(bytesToPutInBuffer != 0); in decode()
146 memcpy(m_bufferedBytes + m_numBufferedBytes, inputBuffer, bytesToPutInBuffer); in decode()
149 …ECConvertText(m_converterTEC, m_bufferedBytes, m_numBufferedBytes + bytesToPutInBuffer, &bytesRead, in decode()
151 ASSERT(bytesRead <= m_numBufferedBytes + bytesToPutInBuffer); in decode()
155 if (bytesToPutInBuffer >= spaceInBuffer) { in decode()
161 m_numBufferedBytes += bytesToPutInBuffer; in decode()
162 bytesRead = bytesToPutInBuffer; in decode()