Lines Matching refs:endPos
306 PortFile->endPos = PortFile->curPos + end; in PortFopen()
322 PortFile->endPos = curFrame->buffer + end; in PortFopen()
401 if (PortFile->endPos == PortFile->curPos) /* end of file */ in PortFread()
412 cbAvail = PortFile->endPos - PortFile->curPos; in PortFread()
424 if (PortFile->curPos == PortFile->endPos) in PortFread()
478 PortFile->curPos = PortFile->endPos = nextFrame->buffer; in PortFwrite()
499 if (curFrame == PortFile->endFrame && PortFile->endPos < PortFile->curPos) in PortFwrite()
500 PortFile->endPos = PortFile->curPos; in PortFwrite()
527 PortFile->curPos = PortFile->endPos; in PortFseek()
544 if (PortFile->endPos <= PortFile->curPos) /* end of file */ in PortFseek()
557 cbAvail = PortFile->endPos - PortFile->curPos; in PortFseek()
679 if (PortFile->curPos >= PortFile->endPos) in PortFgets()
735 (PortFile->endPos - PortFile->endFrame->buffer); in PortFflush()
773 if (PortFile->curPos >= PortFile->endPos) in PortFgetc()