| /vbox/src/VBox/Runtime/common/net/ |
| H A D | macstr.cpp | 46 * @param pszValue The value to convert. 49 RTDECL(int) RTNetStrToMacAddr(const char *pszValue, PRTMAC pAddr) argument 59 int rc = RTStrToUInt8Ex(RTStrStripL(pszValue), &pszNext, 16, &pAddr->au8[0]);
|
| /vbox/src/VBox/ValidationKit/bootsectors/ |
| H A D | VBoxBs2Linker.cpp | 75 const char *pszValue = pszOpt; local 77 if (*pszValue == '=') 78 pszValue++; 79 else if (!*pszValue) 86 pszValue = argv[++i]; 91 pszOutput, pszValue); 94 pszOutput = pszValue;
|
| /vbox/src/VBox/Runtime/r3/posix/ |
| H A D | env-posix.cpp | 64 const char *pszValue = getenv(pszVar); local 66 return pszValue; 91 RTDECL(int) RTEnvSetBad(const char *pszVar, const char *pszValue) argument 96 const size_t cchValue = strlen(pszValue); 97 char *pszTmp = (char *)alloca(cchVar + cchValue + 2 + !*pszValue); 100 if (*pszValue) 101 memcpy(pszTmp + cchVar + 1, pszValue, cchValue + 1); 113 if (!setenv(pszVar, pszValue, 1)) 120 RTDECL(int) RTEnvSet(const char *pszVar, const char *pszValue) argument 122 return RTEnvSetBad(pszVar, pszValue); [all...] |
| /vbox/src/VBox/Additions/common/VBoxService/ |
| H A D | VBoxServiceInternal.h | 146 char *pszValue; member in struct:VBOXSERVICEVEPROPCACHEENTRY
|
| H A D | VBoxServicePropCache.cpp | 81 pNode->pszValue = NULL; 107 char *pszValue; local 108 if (RTStrAPrintfV(&pszValue, pszValueFormat, va) >= 0) 118 rc = VbglR3GuestPropWrite(u32ClientId, pszName, pszValue, "TRANSRESET"); 123 rc = VbglR3GuestPropWrite(u32ClientId, pszName, pszValue, "TRANSIENT"); 129 rc = VbglR3GuestPropWriteValue(u32ClientId, pszName, pszValue /* No transient flags set */); 130 RTStrFree(pszValue); 226 char *pszValue = NULL; local 231 RTStrAPrintfV(&pszValue, pszValueFormat, va); 233 if (!pszValue) 322 VBoxServicePropCacheUpdateByPath(PVBOXSERVICEVEPROPCACHE pCache, const char *pszValue, uint32_t fFlags, const char *pszPathFormat, ...) argument [all...] |
| H A D | VBoxServiceTimeSync.cpp | 206 char *pszValue; local 208 &pszValue, NULL /* ppszFlags */, NULL /* puTimestamp */); 212 RTStrFree(pszValue);
|
| H A D | VBoxServiceUtils.cpp | 75 char *pszValue; local 80 &pszValue, &uTimestamp, &pszFlags, NULL); 97 pszPropName, pszValue, uTimestamp); 98 *ppszValue = RTStrDup(pszValue); 101 VBoxServiceError("Guest Property: RTStrDup failed for \"%s\"\n", pszValue); 132 char *pszValue; local 133 int rc = VBoxServiceReadProp(u32ClientId, pszPropName, &pszValue, 138 rc = RTStrToUInt32Ex(pszValue, &pszNext, 0, pu32); 145 RTStrFree(pszValue); 172 char *pszValue local [all...] |
| /vbox/src/VBox/Runtime/r3/win/ |
| H A D | RTSystemQueryDmiString-win.cpp | 224 char *pszValue; local 225 rc = RTUtf16ToUtf8(Var.bstrVal, &pszValue); 228 rc = RTStrCopy(pszBuf, cbBuf, pszValue); 229 RTStrFree(pszValue);
|
| H A D | env-win.cpp | 76 RTDECL(int) RTEnvGetUtf8(const char *pszVar, char *pszValue, size_t cbValue, size_t *pcchActual) argument 79 AssertPtrNullReturn(pszValue, VERR_INVALID_POINTER); 80 AssertReturn(pszValue || !cbValue, VERR_INVALID_PARAMETER); 82 AssertReturn(pcchActual || (pszValue && cbValue), VERR_INVALID_PARAMETER); 98 rc = RTUtf16ToUtf8Ex(pwszValue, RTSTR_MAX, &pszValue, cbValue, pcchActual); 140 RTDECL(int) RTEnvSetBad(const char *pszVar, const char *pszValue) argument 144 const size_t cchValue = strlen(pszValue); 145 char *pszTmp = (char *)alloca(cchVar + cchValue + 2 + !*pszValue); 148 if (*pszValue) 149 memcpy(pszTmp + cchVar + 1, pszValue, cchValu 162 RTEnvSet(const char *pszVar, const char *pszValue) argument 167 RTEnvSetUtf8(const char *pszVar, const char *pszValue) argument [all...] |
| /vbox/src/VBox/Main/testcase/ |
| H A D | tstGuestCtrlParseBuffer.cpp | 39 char *pszValue; member in struct:VBOXGUESTCTRL_BUFFER_VALUE
|
| /vbox/src/VBox/Storage/testcase/ |
| H A D | tstVD-2.cpp | 60 const char *pszValue = tstGetValueByKey(pszName); local 61 if (!pszValue) 63 *pcbValue = strlen(pszValue) + 1; 67 static int tstQuery(void *pvUser, const char *pszName, char *pszValue, size_t cchValue) argument 70 if (!pszValue) 75 memcpy(pszValue, pszTmp, cchTmp);
|
| /vbox/src/VBox/Additions/common/VBoxControl/testcase/ |
| H A D | tstVBoxControl.cpp | 58 const char *pszValue, 62 u32ClientId, pszName, pszValue, pszFlags); 68 const char *pszValue) 71 u32ClientId, pszName, pszValue); 56 VbglR3GuestPropWrite(uint32_t u32ClientId, const char *pszName, const char *pszValue, const char *pszFlags) argument 66 VbglR3GuestPropWriteValue(uint32_t u32ClientId, const char *pszName, const char *pszValue) argument
|
| /vbox/src/VBox/Main/src-client/ |
| H A D | Nvram.cpp | 157 char *pszValue = drvNvram_binaryToCfgmString(pbValue, cbValue); local 158 if (pszValue) 164 "Value", pszValue, 193 RTMemFree(pszValue);
|
| /vbox/src/VBox/Frontends/VBoxManage/ |
| H A D | VBoxManageGuestProp.cpp | 131 const char *pszValue = NULL; local 134 pszValue = a->argv[2]; 139 pszValue = a->argv[2]; 165 Bstr(pszValue).raw())); 168 Bstr(pszValue).raw(),
|
| /vbox/src/VBox/Runtime/common/checksum/ |
| H A D | manifest2.cpp | 61 char *pszValue; member in struct:RTMANIFESTATTR 239 RTStrFree(pAttr->pszValue); 240 pAttr->pszValue = NULL; 473 if (strcmp(pAttr1->pszValue, pAttr2->pszValue)) 478 pAttr1->szName, pEquals->pszCurEntry, pAttr1->pszValue, pAttr2->pszValue); 482 pAttr1->szName, pAttr1->pszValue, pAttr2->pszValue); 658 * @param pszValue Th [all...] |
| /vbox/src/VBox/Runtime/common/misc/ |
| H A D | getopt.cpp | 99 * @param pszValue The value to convert. 102 static int rtgetoptConvertIPv4Addr(const char *pszValue, PRTNETADDRIPV4 pAddr) argument 104 if (RT_FAILURE(RTNetStrToIPv4Addr(pszValue, pAddr))) 116 * @param pszValue The value to convert. 119 static int rtgetoptConvertMacAddr(const char *pszValue, PRTMAC pAddr) argument 122 int rc = RTNetStrToMacAddr(pszValue, pAddr); 244 * @param pszValue The value string. 247 static int rtGetOptProcessValue(uint32_t fFlags, const char *pszValue, PRTGETOPTUNION pValueUnion) argument 261 pValueUnion->psz = pszValue; 265 if ( !RTStrICmp(pszValue, "tru 569 const char *pszValue; local 718 const char *pszValue = pState->argv[iThis + (pState->cNonOptions != INT32_MAX ? pState->cNonOptions : 0)]; local [all...] |
| /vbox/src/VBox/Runtime/common/string/ |
| H A D | strtonum.cpp | 103 * @param pszValue Pointer to the string value. 109 RTDECL(int) RTStrToUInt64Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint64_t *pu64) argument 111 const char *psz = pszValue; 163 pszValue = psz; /* (Prefix and sign doesn't count in the digit counting.) */ 192 if (psz == pszValue) 227 * @param pszValue Pointer to the string value. 232 RTDECL(int) RTStrToUInt64Full(const char *pszValue, unsigned uBase, uint64_t *pu64) argument 235 int rc = RTStrToUInt64Ex(pszValue, &psz, uBase, pu64); 258 * @param pszValue Pointer to the string value. 260 RTDECL(uint64_t) RTStrToUInt64(const char *pszValue) argument 289 RTStrToUInt32Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint32_t *pu32) argument 323 RTStrToUInt32Full(const char *pszValue, unsigned uBase, uint32_t *pu32) argument 347 RTStrToUInt32(const char *pszValue) argument 376 RTStrToUInt16Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint16_t *pu16) argument 410 RTStrToUInt16Full(const char *pszValue, unsigned uBase, uint16_t *pu16) argument 434 RTStrToUInt16(const char *pszValue) argument 463 RTStrToUInt8Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint8_t *pu8) argument 497 RTStrToUInt8Full(const char *pszValue, unsigned uBase, uint8_t *pu8) argument 521 RTStrToUInt8(const char *pszValue) argument 554 RTStrToInt64Ex(const char *pszValue, char **ppszNext, unsigned uBase, int64_t *pi64) argument 672 RTStrToInt64Full(const char *pszValue, unsigned uBase, int64_t *pi64) argument 700 RTStrToInt64(const char *pszValue) argument 728 RTStrToInt32Ex(const char *pszValue, char **ppszNext, unsigned uBase, int32_t *pi32) argument 762 RTStrToInt32Full(const char *pszValue, unsigned uBase, int32_t *pi32) argument 787 RTStrToInt32(const char *pszValue) argument 815 RTStrToInt16Ex(const char *pszValue, char **ppszNext, unsigned uBase, int16_t *pi16) argument 849 RTStrToInt16Full(const char *pszValue, unsigned uBase, int16_t *pi16) argument 874 RTStrToInt16(const char *pszValue) argument 902 RTStrToInt8Ex(const char *pszValue, char **ppszNext, unsigned uBase, int8_t *pi8) argument 936 RTStrToInt8Full(const char *pszValue, unsigned uBase, int8_t *pi8) argument 961 RTStrToInt8(const char *pszValue) argument [all...] |
| /vbox/src/bldprogs/ |
| H A D | scm.h | 45 char *pszValue; member in struct:SCMSVNPROP 56 int ScmSvnSetProperty(PSCMRWSTATE pState, const char *pszName, const char *pszValue);
|
| H A D | scmsubversion.cpp | 685 char *pszValue; local 686 int rc = scmSvnRunAndGetOutput(pState, apszArgs, true, &pszValue); 689 RTStrFree(pszValue); 723 char *pszValue; local 724 int rc = scmSvnRunAndGetOutput(NULL, apszArgs, true, &pszValue); 727 RTStrFree(pszValue); 760 const char *pszValue = pState->paSvnPropChanges[i].pszValue; local 761 if (!pszValue) 764 return RTStrDupEx(ppszValue, pszValue); 864 char *pszValue; local 899 char *pszValue; local 934 ScmSvnSetProperty(PSCMRWSTATE pState, const char *pszName, const char *pszValue) argument 1014 const char *pszValue = pState->paSvnPropChanges[i].pszValue; local [all...] |
| /vbox/src/VBox/HostDrivers/VBoxUSB/ |
| H A D | USBFilter.cpp | 1293 * @param pszValue The string value. 1297 USBLIB_DECL(int) USBFilterSetStringExact(PUSBFILTER pFilter, USBFILTERIDX enmFieldIdx, const char *pszValue, bool fMustBePresent) argument 1302 rc = usbfilterSetString(pFilter, enmFieldIdx, pszValue);
|
| /vbox/src/VBox/Additions/common/VBoxGuestLib/ |
| H A D | VBoxGuestR3LibGuestProp.cpp | 174 * @param pszValue The value to store. Utf8. If this is NULL then 178 VBGLR3DECL(int) VbglR3GuestPropWrite(uint32_t u32ClientId, const char *pszName, const char *pszValue, const char *pszFlags) argument 182 if (pszValue != NULL) 191 VbglHGCMParmPtrSetString(&Msg.value, pszValue); 221 * @param pszValue The value to store. Must be valid UTF-8. 224 * @note if the property already exists and pszValue is not NULL then the 227 VBGLR3DECL(int) VbglR3GuestPropWriteValue(uint32_t u32ClientId, const char *pszName, const char *pszValue) argument 231 if (pszValue != NULL) 240 VbglHGCMParmPtrSetString(&Msg.value, pszValue); 278 char *pszValue; local 437 char *pszValue = NULL; local 479 VbglR3GuestPropReadValueFree(char *pszValue) argument 504 VbglR3GuestPropReadValue(uint32_t u32ClientId, const char *pszName, char *pszValue, uint32_t cchValue, uint32_t *pcchValueActual) argument 738 char *pszValue = pchNext = RTStrEnd(pchNext, pchEnd - pchNext) + 1; local 845 char const *pszName, *pszValue, *pszFlags; local 961 char *pszValue = RTStrEnd((char *)pvBuf, cbBuf) + 1; local [all...] |
| /vbox/src/VBox/Runtime/generic/ |
| H A D | env-generic.cpp | 343 const char *pszValue = pszEq + 1; local 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) argument 531 AssertPtrNullReturn(pszValue, VERR_INVALID_POINTE 865 RTEnvGetByIndexEx(RTENV hEnv, uint32_t iVar, char *pszVar, size_t cbVar, char *pszValue, size_t cbValue) argument [all...] |
| /vbox/src/VBox/VMM/testcase/ |
| H A D | tstAnimate.cpp | 66 static int scriptGPReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) argument 70 int rc = RTStrToUInt32Ex(pszValue, NULL, 16, &u32); 78 static int scriptSelReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) argument 82 int rc = RTStrToUInt16Ex(pszValue, NULL, 16, &u16); 90 static int scriptSysReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) argument 94 int rc = RTStrToUInt32Ex(pszValue, NULL, 16, &u32); 103 static int scriptDtrReg(PVM pVM, char *pszVar, char *pszValue, void *pvUser) argument 106 char *pszPart2 = strchr(pszValue, ':'); 111 pszValue = RTStrStripR(pszValue); 145 char *pszValue = RTStrStrip(pszEqual + 1); local [all...] |
| /vbox/src/VBox/Additions/common/VBoxGuest/ |
| H A D | VBoxGuest-linux.c | 955 static int vboxguestLinuxParamLogGrpSet(const char *pszValue, struct kernel_param *pParam) argument 961 RTLogGroupSettings(pLogger, pszValue); 964 strlcpy(&g_szLogGrp[0], pszValue, sizeof(g_szLogGrp)); 981 static int vboxguestLinuxParamLogFlagsSet(const char *pszValue, struct kernel_param *pParam) argument 987 RTLogFlags(pLogger, pszValue); 990 strlcpy(&g_szLogFlags[0], pszValue, sizeof(g_szLogFlags)); 1006 static int vboxguestLinuxParamLogDstSet(const char *pszValue, struct kernel_param *pParam) argument 1012 RTLogDestinations(pLogger, pszValue); 1015 strlcpy(&g_szLogDst[0], pszValue, sizeof(g_szLogDst)); 1031 static int vboxguestLinuxParamR3LogToHostSet(const char *pszValue, struc argument [all...] |
| /vbox/src/VBox/Additions/common/pam/ |
| H A D | pam_vbox.cpp | 391 * @param pszValue Buffer where to store the key's value. 396 char *pszValue, size_t cbValue) 401 AssertPtrReturn(pszValue, VERR_INVALID_POINTER); 472 if (!RTStrPrintf(pszValue, cbValue, "%s", pszValTemp)) 481 pszKey, pszValue); 521 char *pszValue = NULL; local 528 &pszName, &pszValue, &u64TimestampOut, 394 pam_vbox_read_prop(pam_handle_t *hPAM, uint32_t uClientID, const char *pszKey, bool fReadOnly, char *pszValue, size_t cbValue) argument
|