/vbox/src/VBox/Runtime/common/string/ |
H A D | strformat.cpp | 176 int cchValue; local 197 cchValue = 0; 205 cchValue++; 214 cchValue++; 220 if (cchValue <= 3) 223 cchValue += cchValue / 3 - (cchValue % 3 == 0); 256 cchMax = 64 - (cchValue + i + 1); /* HACK! 64 bytes seems to be the usual buffer size... */ 257 cchWidth -= i + cchValue; [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | env-posix.cpp | 96 const size_t cchValue = strlen(pszValue); local 97 char *pszTmp = (char *)alloca(cchVar + cchValue + 2 + !*pszValue); 101 memcpy(pszTmp + cchVar + 1, pszValue, cchValue + 1);
|
/vbox/src/VBox/Storage/testcase/ |
H A D | tstVD-2.cpp | 67 static int tstQuery(void *pvUser, const char *pszName, char *pszValue, size_t cchValue) argument 73 if (cchValue < cchTmp)
|
H A D | vbox-img.cpp | 1465 static DECLCALLBACK(int) vdIfCfgCreateBaseQuery(void *pvUser, const char *pszName, char *pszValue, size_t cchValue) argument 1474 if (strlen((const char *)pvUser) >= cchValue)
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | env-win.cpp | 144 const size_t cchValue = strlen(pszValue); local 145 char *pszTmp = (char *)alloca(cchVar + cchValue + 2 + !*pszValue); 149 memcpy(pszTmp + cchVar + 1, pszValue, cchValue + 1);
|
/vbox/src/VBox/Frontends/VBoxAutostart/ |
H A D | VBoxAutostart.h | 74 size_t cchValue; member in struct:CFGAST::__anon16034::__anon16035
|
H A D | VBoxAutostartCfg.cpp | 572 pCfgAst->u.KeyValue.cchValue = pToken->u.Id.cchToken;
|
/vbox/src/bldprogs/ |
H A D | scmsubversion.cpp | 841 size_t cchValue; local 845 || !scmSvnReadNumber(&pchLine[2], cchLine - 2, &cchValue) 846 || cchValue > _1M) 865 rc = RTStrAllocEx(&pszValue, cchValue + 1); 868 rc = ScmStreamRead(&Stream, pszValue, cchValue); 878 if (RT_FAILURE(ScmStreamSeekRelative(&Stream, cchValue)))
|
H A D | VBoxCPP.cpp | 133 size_t cchValue; member in struct:VBCPPMACRO 2048 if ( !pMacro->cchValue 2049 || (pMacro->cchValue == 1 && pMacro->szValue[0] == '#')) 2237 rcExit = vbcppMacroExpandReplace(pThis, pExp, offMacro, pMacro->Core.cchString, pMacro->szValue, pMacro->cchValue); 2636 const char *pszValue, size_t cchValue, 2642 Assert(RTStrNLen(pszValue, cchValue) == cchValue); 2684 size_t cbDef = RT_OFFSETOF(VBCPPMACRO, szValue[cchValue + 1 + cchDefine + 1 + cchArgNames]) 2691 char *pszDst = &pMacro->szValue[cchValue + 1]; 2703 pMacro->cchValue 2634 vbcppMacroAddFn(PVBCPP pThis, const char *pszDefine, size_t cchDefine, const char *pszParams, size_t cchParams, const char *pszValue, size_t cchValue, bool fCmdLine) argument 2757 vbcppMacroAdd(PVBCPP pThis, const char *pszDefine, size_t cchDefine, const char *pszValue, size_t cchValue, bool fCmdLine) argument 2842 size_t cchValue = pMacro->cchValue; local 3036 size_t cchValue = ScmStreamGetCur(pStrmInput) - pchValue; local [all...] |
/vbox/src/VBox/Runtime/generic/ |
H A D | env-generic.cpp | 400 const size_t cchValue = strlen(pszValue); local 401 char *pszEntry = (char *)RTMemAlloc(cchVar + cchValue + 2); 406 memcpy(&pszEntry[cchVar + 1], pszValue, cchValue + 1);
|
/vbox/src/VBox/HostServices/GuestProperties/testcase/ |
H A D | tstGuestPropSvc.cpp | 568 uint32_t cchValue; member in struct:__anon16435 597 RTTESTI_CHECK_RETV(s_aGetProperties[i].cchValue < sizeof(szBuffer)); 627 if (memcmp(szBuffer, s_aGetProperties[i].pchValue, s_aGetProperties[i].cchValue) != 0) 630 s_aGetProperties[i].cchValue, s_aGetProperties[i].pchValue);
|
/vbox/src/VBox/Main/include/ |
H A D | MediumImpl.h | 321 char *pszValue, size_t cchValue); 342 char *pszValue, size_t cchValue);
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | VBoxGuestR3LibGuestProp.cpp | 500 * @param cchValue The size of the buffer pointed to by @a pszValue 505 char *pszValue, uint32_t cchValue, 510 int rc = VbglR3GuestPropRead(u32ClientId, pszName, pvBuf, cchValue, 504 VbglR3GuestPropReadValue(uint32_t u32ClientId, const char *pszName, char *pszValue, uint32_t cchValue, uint32_t *pcchValueActual) argument
|
/vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
H A D | TestExecService.cpp | 508 * @param cchValue Value length. 511 const char *pszValue, size_t cchValue) 514 if (cchVar < cchValue) 516 *pcchNew += cchValue - cchVar; 523 memmove(&pszNew[offVar + cchValue], &pszNew[offVar + cchVar], cchAfter + 1); 524 memcpy(&pszNew[offVar], pszValue, cchValue); 558 size_t const cchValue = strlen(pszValue); \ 560 sizeof(szVarExpr) - 1, pszValue, cchValue); \ 561 offDollar += cchValue; \ 510 txsReplaceStringVariable(char **ppszNew, size_t *pcchNew, size_t offVar, size_t cchVar, const char *pszValue, size_t cchValue) argument
|
/vbox/src/VBox/HostServices/GuestProperties/ |
H A D | service.cpp | 649 uint32_t cchValue = 0; /* ditto */ local 662 || RT_FAILURE(paParms[1].getString(&pcszValue, &cchValue)) /* value */ 676 rc = validateValue(pcszValue, cchValue);
|
/vbox/src/VBox/Devices/EFI/ |
H A D | DevEFI.cpp | 953 size_t cchValue = RTStrNLen((const char *)pEfiVar->abValue, pEfiVar->cbValue); local 954 if (cchValue != pEfiVar->cbValue - *pfZeroTerm) 959 while ((uintptr_t)(pchCur - pachValue) < cchValue)
|
/vbox/include/VBox/ |
H A D | VBoxGuestLib.h | 546 VBGLR3DECL(int) VbglR3GuestPropReadValue(uint32_t ClientId, const char *pszName, char *pszValue, uint32_t cchValue, uint32_t *pcchValueActual);
|
H A D | vd-ifs.h | 744 * @param cchValue Length of value buffer. 746 DECLR3CALLBACKMEMBER(int, pfnQuery, (void *pvUser, const char *pszName, char *pszValue, size_t cchValue));
|
/vbox/src/VBox/Main/src-server/ |
H A D | MediumImpl.cpp | 7031 size_t cchValue) 7047 if (value.length() >= cchValue) 7191 char *pszValue, size_t cchValue) 7215 if (cch >= cchValue) 7028 i_vdConfigQuery(void *pvUser, const char *pszName, char *pszValue, size_t cchValue) argument 7190 i_vdCryptoConfigQuery(void *pvUser, const char *pszName, char *pszValue, size_t cchValue) argument
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | SSM.cpp | 1055 size_t cchValue = strlen(szValue); local 1056 size_t cchCopy = RT_MIN(cchValue, sizeof(pSSM->u.Read.szHostOSAndArch) - 1); 1057 Assert(cchValue == cchCopy);
|
H A D | CPUMR3CpuId.cpp | 3417 size_t cchValue = strlen(szValue); local 3418 #define EQ(a_str) (cchValue == sizeof(a_str) - 1U && memcmp(szValue, a_str, sizeof(a_str) - 1))
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImpl.cpp | 1864 size_t cchValue = strlen(pszBuf + iBuf); local 1866 iBuf += cchValue + 1;
|