42#define ENV_BUFFER_SIZE 1024
50 while (*
p && *
p <=
_T(
' '))
97 if (*lpOutput !=
_T(
'='))
102 lpOutput +=
_tcslen(lpOutput) + 1;
179#ifdef FEATURE_DYNAMIC_TRACE
214 bRestoreSpace = (
p !=
NULL);
226 if (!
_tcsnicmp(lpOutput, pOrgParam,
p - pOrgParam) ||
233 lpOutput +=
_tcslen(lpOutput) + 1;
278#define PARSE_IDENT(ident, identlen, p) \
280 identlen = ident_len(p); \
281 ident = (LPTSTR)alloca((identlen + 1) * sizeof(TCHAR)); \
282 memmove(ident, p, identlen * sizeof(TCHAR)); \
283 ident[identlen] = 0; \
469 if (!subTerm(&
p, &lval))
480 if (!subTerm(&
p, &
rval))
540 if (rval < 0 || rval >= (8 *
sizeof(lval)))
587 INT identlen, exprval;
666 if (exprval < 0 || exprval >= (8 *
sizeof(identval)))
669 identval <<= exprval;
675 identval >>= exprval;
680 if (!
calc(&identval,
op, exprval))
712 while (*
p ==
_T(
','))
LPCTSTR GetEnvVarOrSpecial(LPCTSTR varName)
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
#define ConErrResPuts(uID)
#define ConOutPrintf(szStr,...)
#define ConErrResPrintf(uID,...)
#define ConOutPuts(szStr)
#define STRING_ERROR_INVALID_NUMBER2
#define STRING_INVALID_OPERAND
#define STRING_EXPECTED_CLOSE_PAREN
#define STRING_ERROR_INVALID_NUMBER1
#define STRING_ERROR_DIVISION_BY_ZERO
#define STRING_SYNTAX_COMMAND_INCORRECT
#define STRING_SET_ENV_ERROR
#define STRING_EXPECTED_NUMBER_OR_VARIABLE
static VOID StripQuotes(LPSTR in)
GLenum GLuint GLenum GLsizei const GLchar * buf
static VOID ConInString(LPWSTR lpInput, DWORD dwLength)
static BOOL seta_bitOrTerm(LPCTSTR *p_, INT *result)
static INT seta_identval(LPCTSTR ident)
INT cmd_set(LPTSTR param)
static BOOL seta_assignment(LPCTSTR *p_, INT *result)
static BOOL seta_bitExclOrTerm(LPCTSTR *p_, INT *result)
static BOOL seta_mulTerm(LPCTSTR *p_, INT *result)
static BOOL seta_bitAndTerm(LPCTSTR *p_, INT *result)
static BOOL seta_expr(LPCTSTR *p_, INT *result)
static BOOL seta_eval(LPCTSTR expr)
static BOOL seta_addTerm(LPCTSTR *p_, INT *result)
static BOOL seta_stmt(LPCTSTR *p_, INT *result)
static BOOL seta_ltorTerm(LPCTSTR *p_, INT *result, LPCTSTR ops, BOOL(*subTerm)(LPCTSTR *, INT *))
static BOOL seta_unaryTerm(LPCTSTR *p_, INT *result)
#define PARSE_IDENT(ident, identlen, p)
static INT ident_len(LPCTSTR p)
static BOOL seta_logShiftTerm(LPCTSTR *p_, INT *result)
static LPTSTR GetQuotedString(TCHAR *p)
static LPCTSTR skip_ws(LPCTSTR p)
#define FreeEnvironmentStrings
LPSTR WINAPI GetEnvironmentStrings(void)
#define SetEnvironmentVariable
_In_ ULONG _In_ ULONG_PTR ident