Home | History | Annotate | Download | only in src

Lines Matching refs:curPos

305     PortFile->curPos = PortFile->curFrame->buffer;
306 PortFile->endPos = PortFile->curPos + end;
401 if (PortFile->endPos == PortFile->curPos) /* end of file */
404 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */
408 PortFile->curPos = curFrame->buffer;
412 cbAvail = PortFile->endPos - PortFile->curPos;
414 cbAvail = curFrame->size - (PortFile->curPos - curFrame->buffer);
421 *bufferPtr++ = *PortFile->curPos++;
424 if (PortFile->curPos == PortFile->endPos)
464 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */
478 PortFile->curPos = PortFile->endPos = nextFrame->buffer;
492 cbAvail = curFrame->size - (PortFile->curPos - curFrame->buffer);
495 memcpy((char *)PortFile->curPos, buffer, minSize);
497 PortFile->curPos += minSize;
499 if (curFrame == PortFile->endFrame && PortFile->endPos < PortFile->curPos)
500 PortFile->endPos = PortFile->curPos;
527 PortFile->curPos = PortFile->endPos;
531 PortFile->curPos = PortFile->startFrame->buffer;
544 if (PortFile->endPos <= PortFile->curPos) /* end of file */
547 if (PortFile->curPos == curFrame->buffer + curFrame->size) /* end of this frame */
554 PortFile->curPos = curFrame->buffer;
557 cbAvail = PortFile->endPos - PortFile->curPos;
559 cbAvail = curFrame->size - (PortFile->curPos - curFrame->buffer);
563 PortFile->curPos += minSize;
568 if (PortFile->startFrame->buffer == PortFile->curPos) /* start of file */
571 if (PortFile->curPos <= curFrame->buffer) /* start of this frame */
578 PortFile->curPos = curFrame->buffer + curFrame->size;
580 cbAvail = PortFile->curPos - curFrame->buffer;
584 PortFile->curPos -= minSize;
602 size = PortFile->curPos - curFrame->buffer;
679 if (PortFile->curPos >= PortFile->endPos)
685 else if (*PortFile->curPos == '\n')
692 PortFile->curPos++;
701 retString[i] = *PortFile->curPos++;
771 c = (int) * PortFile->curPos++;
773 if (PortFile->curPos >= PortFile->endPos)
815 PortFile->curPos = PortFile->startFrame->buffer;