Home | History | Annotate | Download | only in mac

Lines Matching refs:sourceLength

207     int sourceLength = length;
211 while ((sourceLength || bufferWasFull) && !sawError) {
214 OSStatus status = decode(sourcePointer, sourceLength, bytesRead, buffer, sizeof(buffer), bytesWritten);
215 ASSERT(bytesRead <= sourceLength);
217 sourceLength -= bytesRead;
231 if (sourceLength) {
233 sourceLength -= 1;
240 if (sourceLength < bufferSize) {
241 memcpy(m_bufferedBytes, sourcePointer, sourceLength);
242 m_numBufferedBytes = sourceLength;
244 LOG_ERROR("TECConvertText gave a kTECPartialCharErr, but left %u bytes in the buffer", sourceLength);
246 sourceLength = 0;