Lines Matching defs:StrBuf
147 VBCPPSTRBUF StrBuf;
1577 vbcppStrBufInit(&ExpCtx.StrBuf, pThis);
1578 rcExit = vbcppStrBufAppendN(&ExpCtx.StrBuf, pchDefine, cchDefine);
1589 int rc = ScmStreamWrite(&pThis->StrmOutput, ExpCtx.StrBuf.pszBuf, ExpCtx.StrBuf.cchBuf);
1699 && !RT_C_IS_SPACE(pExp->StrBuf.pszBuf[off - 1]);
1700 bool const fTrailingSpace = off + cchToReplace < pExp->StrBuf.cchBuf
1701 && !RT_C_IS_SPACE(pExp->StrBuf.pszBuf[off + cchToReplace]);
1712 size_t cbMinBuf = offMore + pExp->StrBuf.cchBuf + 1;
1713 RTEXITCODE rcExit = vbcppStrBufGrow(&pExp->StrBuf, cbMinBuf);
1718 memmove(&pExp->StrBuf.pszBuf[off + cchToReplace + offMore],
1719 &pExp->StrBuf.pszBuf[off + cchToReplace],
1720 pExp->StrBuf.cchBuf - off - cchToReplace + 1);
1721 pExp->StrBuf.cchBuf += offMore;
1729 memmove(&pExp->StrBuf.pszBuf[off + cchToReplace - offLess],
1730 &pExp->StrBuf.pszBuf[off + cchToReplace],
1731 pExp->StrBuf.cchBuf - off - cchToReplace + 1);
1732 pExp->StrBuf.cchBuf -= offLess;
1738 char *pszCur = &pExp->StrBuf.pszBuf[off];
1745 Assert(strlen(pExp->StrBuf.pszBuf) == pExp->StrBuf.cchBuf);
1754 if (off >= pExp->StrBuf.cchBuf)
1756 return pExp->StrBuf.pszBuf[off];
1763 if (off >= pExp->StrBuf.cchBuf)
1766 return pExp->StrBuf.pszBuf[off];
2204 Assert(offMacro + pMacro->Core.cchString <= pExp->StrBuf.cchBuf);
2274 while (off < pExp->StrBuf.cchBuf)
2276 char ch = pExp->StrBuf.pszBuf[off];
2298 *poff = pExp->StrBuf.cchBuf;
2362 const char *pszResult = vbcppMacroExists(pThis, &pExp->StrBuf.pszBuf[offDefine], cchDefine)
2386 while ( off < pExp->StrBuf.cchBuf
2395 while ( off < pExp->StrBuf.cchBuf
2415 && off + 1 < pExp->StrBuf.cchBuf
2420 while ( off < pExp->StrBuf.cchBuf
2431 while ( off < pExp->StrBuf.cchBuf
2437 PVBCPPMACRO pMacro = vbcppMacroLookup(pThis, &pExp->StrBuf.pszBuf[offDefine], cchDefine);
2450 && !strncmp(&pExp->StrBuf.pszBuf[offDefine], "defined", cchDefine))
2497 vbcppStrBufDelete(&pExp->StrBuf);
4467 vbcppStrBufInit(&ExpCtx.StrBuf, pThis);
4468 RTEXITCODE rcExit = vbcppExtractDirectiveLine(pThis, pStrmInput, &ExpCtx.StrBuf, &offComment);
4483 char *pszExpr = ExpCtx.StrBuf.pszBuf;
4484 size_t cchExpr = ExpCtx.StrBuf.cchBuf;
4491 ExpCtx.StrBuf.cchBuf--;