Lines Matching defs:cVars

93     size_t      cVars;
149 pIntEnv->cVars = 0;
191 size_t iVar = pIntEnv->cVars;
223 size_t cVars;
232 cVars = 0;
243 while (papwszEnv[cVars])
244 cVars++;
248 while (papszEnv[cVars])
249 cVars++;
266 cVars = pIntEnvToClone->cVars;
273 int rc = rtEnvCreate(&pIntEnv, cVars + 1 /* NULL */, fCaseSensitive);
276 pIntEnv->cVars = cVars;
277 pIntEnv->papszEnv[pIntEnv->cVars] = NULL;
282 for (size_t iSrc = 0; iSrc < cVars; iSrc++)
295 pIntEnv->cVars = iDst;
300 pIntEnv->cVars = iDst;
304 for (size_t iVar = 0; iVar < cVars; iVar++)
311 pIntEnv->cVars = iVar;
411 * Find the location of the variable. (iVar = cVars if new)
415 for (iVar = 0; iVar < pIntEnv->cVars; iVar++)
419 if (iVar < pIntEnv->cVars)
433 if (pIntEnv->cVars + 2 > pIntEnv->cAllocated)
442 for (size_t iNewVar = pIntEnv->cVars; iNewVar < pIntEnv->cAllocated; iNewVar++)
450 pIntEnv->cVars++;
451 Assert(pIntEnv->cVars == iVar + 1);
507 for (iVar = 0; iVar < pIntEnv->cVars; iVar++)
512 pIntEnv->cVars--;
513 if (pIntEnv->cVars > 0)
514 pIntEnv->papszEnv[iVar] = pIntEnv->papszEnv[pIntEnv->cVars];
515 pIntEnv->papszEnv[pIntEnv->cVars] = NULL;
593 for (iVar = 0; iVar < pIntEnv->cVars; iVar++)
655 for (size_t iVar = 0; iVar < pIntEnv->cVars; iVar++)
709 papszRet = pIntEnv->papszEnvOtherCP = papsz = (char **)RTMemAlloc(sizeof(char *) * (pIntEnv->cVars + 1));
712 papsz[pIntEnv->cVars] = NULL;
713 for (size_t iVar = 0; iVar < pIntEnv->cVars; iVar++)
783 RTSortApvShell((void **)pIntEnv->papszEnv, pIntEnv->cVars, rtEnvSortCompare, pIntEnv);
790 for (size_t iVar = 0; iVar < pIntEnv->cVars; iVar++)
807 for (size_t iVar = 0; iVar < pIntEnv->cVars; iVar++)
857 uint32_t cVars = (uint32_t)pIntEnv->cVars;
860 return cVars;
878 if (iVar < pIntEnv->cVars)