Lines Matching refs:poff

1751 static unsigned vbcppMacroExpandPeekCh(PVBCPPMACROEXP pExp, size_t *poff)
1753 size_t off = *poff;
1760 static unsigned vbcppMacroExpandGetCh(PVBCPPMACROEXP pExp, size_t *poff)
1762 size_t off = *poff;
1765 *poff = off + 1;
1770 static RTEXITCODE vbcppMacroExpandSkipEolEx(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t *poff, unsigned chFirst)
1774 unsigned ch2 = vbcppMacroExpandPeekCh(pExp, poff);
1785 static RTEXITCODE vbcppMacroExpandSkipEol(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t *poff)
1787 unsigned ch = vbcppMacroExpandGetCh(pExp, poff);
1789 return vbcppMacroExpandSkipEolEx(pThis, pExp, poff, ch);
1793 static RTEXITCODE vbcppMacroExpandSkipCommentLine(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t *poff)
1795 unsigned ch = vbcppMacroExpandGetCh(pExp, poff);
1799 while ((ch = vbcppMacroExpandGetCh(pExp, poff)) != ~(unsigned)0)
1803 RTEXITCODE rcExit = vbcppMacroExpandSkipEolEx(pThis, pExp, poff, ch);
1816 static RTEXITCODE vbcppMacroExpandSkipComment(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t *poff)
1818 unsigned ch = vbcppMacroExpandGetCh(pExp, poff);
1823 while ((ch = vbcppMacroExpandGetCh(pExp, poff)) != ~(unsigned)0)
1830 RTEXITCODE rcExit = vbcppMacroExpandSkipEolEx(pThis, pExp, poff, ch);
1876 static RTEXITCODE vbcppMacroExpandGatherParameters(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t *poff, uint32_t cArgsHint)
1892 unsigned ch = vbcppMacroExpandGetCh(pExp, poff);
1905 while ((ch = vbcppMacroExpandGetCh(pExp, poff)) != ~(unsigned)0)
1947 unsigned ch2 = vbcppMacroExpandPeekCh(pExp, poff);
1952 rcExit = vbcppMacroExpandSkipCommentLine(pThis, pExp, poff);
1954 rcExit = vbcppMacroExpandSkipComment(pThis, pExp, poff);
1977 unsigned ch2 = vbcppMacroExpandPeekCh(pExp, poff);
1980 rcExit = vbcppMacroExpandSkipEol(pThis, pExp, poff);
2263 * @param poff The current offset in the expansion context.
2268 static bool vbcppMacroExpandLookForLeftParenthesis(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t *poff)
2273 size_t off = *poff;
2281 *poff = off;
2298 *poff = pExp->StrBuf.cchBuf;
2316 * @param poff Where to store the offset at which the re-scan
2319 static RTEXITCODE vbcppMacroExpandDefinedOperator(PVBCPP pThis, PVBCPPMACROEXP pExp, size_t offStart, size_t *poff)
2327 while ((ch = vbcppMacroExpandGetCh(pExp, poff)) != ~(unsigned)0)
2332 while ((ch = vbcppMacroExpandGetCh(pExp, poff)) != ~(unsigned)0)
2342 size_t const offDefine = *poff - 1;
2343 while ((ch = vbcppMacroExpandGetCh(pExp, poff)) != ~(unsigned)0)
2346 size_t const cchDefine = *poff - offDefine;
2354 ch = vbcppMacroExpandGetCh(pExp, poff);
2364 RTEXITCODE rcExit = vbcppMacroExpandReplace(pThis, pExp, offStart, *poff - offStart, pszResult, 1);
2365 *poff = offStart + 1;