Lines Matching defs:cchVar
95 const size_t cchVar = strlen(pszVar);
97 char *pszTmp = (char *)alloca(cchVar + cchValue + 2 + !*pszValue);
98 memcpy(pszTmp, pszVar, cchVar);
99 pszTmp[cchVar] = '=';
101 memcpy(pszTmp + cchVar + 1, pszValue, cchValue + 1);
104 pszTmp[cchVar + 1] = ' '; /* wrong, but putenv will remove it otherwise. */
105 pszTmp[cchVar + 2] = '\0';
140 size_t cchVar = strlen(pszVar);
141 char *pszBuf = (char *)alloca(cchVar + 2);
142 memcpy(pszBuf, pszVar, cchVar);
143 pszBuf[cchVar] = '=';
144 pszBuf[cchVar + 1] = '\0';