/vbox/src/bldprogs/ |
H A D | scmrw.cpp | 56 size_t cchLine; local 58 while ((pchLine = ScmStreamGetLine(pIn, &cchLine, &enmEol)) != NULL) 61 if ( cchLine == 0 62 || !RT_C_IS_BLANK(pchLine[cchLine - 1]) ) 63 rc = ScmStreamPutLine(pOut, pchLine, cchLine, enmEol); 66 cchLine--; 67 while (cchLine > 0 && RT_C_IS_BLANK(pchLine[cchLine - 1])) 68 cchLine--; 69 rc = ScmStreamPutLine(pOut, pchLine, cchLine, enmEo 96 size_t cchLine; local 156 size_t cchLine; local [all...] |
H A D | scmdiff.cpp | 51 size_t cchLine; local 52 const char *pchLine = ScmStreamGetLineByNo(pStream, iLine, &cchLine, &enmEol); 55 if (pchLine && cchLine) 58 RTStrmWrite(pState->pDiff, pchLine, cchLine); 63 const char *pchTab = (const char *)memchr(pchLine, '\t', cchLine); 83 pchTab = (const char *)memchr(pchStart, '\t', cchLine - (pchStart - pchLine)); 85 size_t cchLeft = cchLine - (pchStart - pchLine); 304 size_t cchLine; local 305 const char *pchLine = ScmStreamGetLineByNo(pState->pLeft, iStartLeft + iRange, &cchLine, &enmEol); 315 if ( scmDiffCompare(pState, pchLine, cchLine, enmEo [all...] |
H A D | scmstream.cpp | 447 size_t cchLine; local 449 while (scmStreamGetLineInternal(pStream, &cchLine, &enmEol)) 867 size_t cchLine; local 868 const char *pchLine = ScmStreamGetLineByNo(pStream, iLine, &cchLine, &enmEol); 871 while (cchLine && RT_C_IS_SPACE(*pchLine)) 872 pchLine++, cchLine--; 873 return cchLine == 0; 935 * @param cchLine Line length. 938 int ScmStreamPutLine(PSCMSTREAM pStream, const char *pchLine, size_t cchLine, SCMEOL enmEol) argument 954 if (RT_UNLIKELY(off + cchLine 1085 size_t cchLine = pchLF - pchLine; local 1226 size_t cchLine; local [all...] |
H A D | scm.cpp | 512 * @param cchLine The line length. 514 static int scmSettingsBaseParseStringN(PSCMSETTINGSBASE pBase, const char *pchLine, size_t cchLine) argument 516 char *pszLine = RTStrDupN(pchLine, cchLine); 611 * @param cchLine The length of the line. 613 static int scmSettingsAddPair(PSCMSETTINGS pSettings, const char *pchLine, size_t cchLine) argument 618 const char *pchOptions = (const char *)memchr(pchLine, ':', cchLine); 622 size_t cchOptions = cchLine - cchPattern - 1; 689 size_t cchLine; local 690 while ((pchLine = ScmStreamGetLine(&Stream, &cchLine, &enmEol)) != NULL) 693 while (cchLine > [all...] |
H A D | scmsubversion.cpp | 792 size_t cchLine; local 794 while ((pchLine = ScmStreamGetLine(&Stream, &cchLine, &enmEol)) != NULL) 799 if ( cchLine == 3 803 if ( cchLine < 3 806 || !scmSvnReadNumber(&pchLine[2], cchLine - 2, &cchKey) 810 RTMsgError("%s:%u: Unexpected data '%.*s'\n", szPath, ScmStreamTellLine(&Stream), cchLine, pchLine); 823 pchLine = ScmStreamGetLine(&Stream, &cchLine, &enmEol); 826 fMatch = cchLine == cchName 838 pchLine = ScmStreamGetLine(&Stream, &cchLine, &enmEol); 842 if ( cchLine < [all...] |
H A D | scmstream.h | 122 int ScmStreamPutLine(PSCMSTREAM pStream, const char *pchLine, size_t cchLine, SCMEOL enmEol);
|
H A D | VBoxCPP.cpp | 566 size_t cchLine; local 568 const char *pszLine = ScmStreamGetLineByNo(pStrm, iLine, &cchLine, &enmEof); 572 cchLine, pszLine, off - offLine, ""); 1410 size_t cchLine; local 1411 const char *pszLine = ScmStreamGetLine(pStrmInput, &cchLine, &enmEol); Assert(pszLine); 1412 pszLine--; cchLine++; /* unfetching the first slash. */ 1417 rcExit = vbcppOutputWrite(pThis, pszLine, cchLine + enmEol); 1421 rcExit = vbcppOutputWrite(pThis, pszLine + cchLine, enmEol); 1424 if ( cchLine == 0 1425 || pszLine[cchLine [all...] |
H A D | VBoxTpG.cpp | 387 size_t cchLine; local 389 while ((pszLine = ScmStreamGetLine(&Strm, &cchLine, &enmEol)) != NULL) 390 RTPrintf("%.*s\n", cchLine, pszLine); 1262 size_t cchLine; local 1264 const char *pszLine = ScmStreamGetLineByNo(pStrm, iLine, &cchLine, &enmEof); 1268 cchLine, pszLine, off - offLine, "");
|
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | manifest2.cpp | 1452 size_t cchLine = RTStrPrintf(szLine, sizeof(szLine), "%s (%s) = %s\n", pAttr->szName, pArgs->pszEntry, pAttr->pszValue); 1453 if (cchLine >= sizeof(szLine) - 1) 1455 return RTVfsIoStrmWrite(pArgs->hVfsIos, szLine, cchLine, true /*fBlocking*/, NULL);
|