Lines Matching refs:lineLength
339 int lineLength = -1;
341 for (unsigned i = bufPos; lineLength < 0 && i < bufSize; i++) {
350 lineLength = i - bufPos;
355 if (lineLength < 0)
358 parseEventStreamLine(bufPos, fieldLength, lineLength);
359 bufPos += lineLength + 1;
373 void EventSource::parseEventStreamLine(unsigned bufPos, int fieldLength, int lineLength)
375 if (!lineLength) {
389 String field(&m_receiveBuf[bufPos], noValue ? lineLength : fieldLength);
392 step = lineLength;
398 int valueLength = lineLength - step;