Lines Matching defs:pszValue
343 const char *pszValue = pszEq + 1;
351 rc = RTEnvSetEx(Env, pszVar, pszValue);
358 RTDECL(int) RTEnvSetEx(RTENV Env, const char *pszVar, const char *pszValue)
362 AssertPtrReturn(pszValue, VERR_INVALID_POINTER);
368 rc = RTEnvSetUtf8(pszVar, pszValue);
380 rc = RTStrUtf8ToCurrentCP(&pszValueOtherCP, pszValue);
400 const size_t cchValue = strlen(pszValue);
406 memcpy(&pszEntry[cchVar + 1], pszValue, cchValue + 1);
528 RTDECL(int) RTEnvGetEx(RTENV Env, const char *pszVar, char *pszValue, size_t cbValue, size_t *pcchActual)
531 AssertPtrNullReturn(pszValue, VERR_INVALID_POINTER);
533 AssertReturn(pcchActual || (pszValue && cbValue), VERR_INVALID_PARAMETER);
541 rc = RTEnvGetUtf8(pszVar, pszValue, cbValue, pcchActual);
564 if (pszValue && cbValue)
567 memcpy(pszValue, pszValueUtf8, cch + 1);
602 if (pszValue && cbValue)
605 memcpy(pszValue, pszValueOrg, cch + 1);
865 RTDECL(uint32_t) RTEnvGetByIndexEx(RTENV hEnv, uint32_t iVar, char *pszVar, size_t cbVar, char *pszValue, size_t cbValue)
873 AssertPtrReturn(pszValue, VERR_INVALID_POINTER);
892 int rc2 = RTStrCopy(pszValue, cbValue, pszSrcValue);