Lines Matching refs:PSCMSTREAM

39 static void scmStreamInitInternal(PSCMSTREAM pStream, bool fWriteOrRead)
65 int ScmStreamInitForReading(PSCMSTREAM pStream, const char *pszFilename)
89 int ScmStreamInitForWriting(PSCMSTREAM pStream, PCSCMSTREAM pRelatedStream)
129 void ScmStreamDelete(PSCMSTREAM pStream)
168 static int scmStreamGrowBuffer(PSCMSTREAM pStream, size_t cbAppending)
201 static int scmStreamGrowLines(PSCMSTREAM pStream, size_t iMinLine)
220 void ScmStreamRewindForReading(PSCMSTREAM pStream)
233 void ScmStreamRewindForWriting(PSCMSTREAM pStream)
251 bool ScmStreamIsText(PSCMSTREAM pStream)
266 int ScmStreamCheckItegrity(PSCMSTREAM pStream)
303 int ScmStreamWriteToFile(PSCMSTREAM pStream, const char *pszFilenameFmt, ...)
337 int ScmStreamWriteToStdOut(PSCMSTREAM pStream)
382 static const char *scmStreamGetLineInternal(PSCMSTREAM pStream, size_t *pcchLine, PSCMEOL penmEol)
440 static int scmStreamLineate(PSCMSTREAM pStream)
466 size_t ScmStreamTell(PSCMSTREAM pStream)
477 size_t ScmStreamTellLine(PSCMSTREAM pStream)
491 size_t ScmStreamTellOffsetOfLine(PSCMSTREAM pStream, size_t iLine)
511 size_t ScmStreamSize(PSCMSTREAM pStream)
522 size_t ScmStreamCountLines(PSCMSTREAM pStream)
541 int ScmStreamSeekAbsolute(PSCMSTREAM pStream, size_t offAbsolute)
595 int ScmStreamSeekRelative(PSCMSTREAM pStream, ssize_t offRelative)
616 int ScmStreamSeekByLine(PSCMSTREAM pStream, size_t iLine)
650 bool ScmStreamIsAtStartOfLine(PSCMSTREAM pStream)
678 const char *ScmStreamGetLineByNo(PSCMSTREAM pStream, size_t iLine, size_t *pcchLine, PSCMEOL penmEol)
727 const char *ScmStreamGetLine(PSCMSTREAM pStream, size_t *pcchLine, PSCMEOL penmEol)
755 const char *ScmStreamGetCur(PSCMSTREAM pStream)
768 unsigned ScmStreamGetCh(PSCMSTREAM pStream)
804 unsigned ScmStreamPeekCh(PSCMSTREAM pStream)
841 int ScmStreamRead(PSCMSTREAM pStream, void *pvBuf, size_t cbToRead)
864 bool ScmStreamIsWhiteLine(PSCMSTREAM pStream, size_t iLine)
882 SCMEOL ScmStreamGetEol(PSCMSTREAM pStream)
915 SCMEOL ScmStreamGetEolByLine(PSCMSTREAM pStream, size_t iLine)
938 int ScmStreamPutLine(PSCMSTREAM pStream, const char *pchLine, size_t cchLine, SCMEOL enmEol)
1033 int ScmStreamWrite(PSCMSTREAM pStream, const char *pchBuf, size_t cchBuf)
1137 int ScmStreamPutCh(PSCMSTREAM pStream, char ch)
1171 ssize_t ScmStreamPrintfV(PSCMSTREAM pStream, const char *pszFormat, va_list va)
1194 ssize_t ScmStreamPrintf(PSCMSTREAM pStream, const char *pszFormat, ...)
1213 int ScmStreamCopyLines(PSCMSTREAM pDst, PSCMSTREAM pSrc, size_t cLines)
1252 bool ScmStreamCMatchingWordM1(PSCMSTREAM pStream, const char *pszWord, size_t cchWord)
1293 const char *ScmStreamCGetWord(PSCMSTREAM pStream, size_t *pcchWord)
1332 const char *ScmStreamCGetWordM1(PSCMSTREAM pStream, size_t *pcchWord)