Searched refs:cchValue (Results 1 - 22 of 22) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A Dstrformat.cpp176 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 Denv-posix.cpp96 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 DtstVD-2.cpp67 static int tstQuery(void *pvUser, const char *pszName, char *pszValue, size_t cchValue) argument
73 if (cchValue < cchTmp)
H A Dvbox-img.cpp1465 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 Denv-win.cpp144 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 DVBoxAutostart.h74 size_t cchValue; member in struct:CFGAST::__anon16034::__anon16035
H A DVBoxAutostartCfg.cpp572 pCfgAst->u.KeyValue.cchValue = pToken->u.Id.cchToken;
/vbox/src/bldprogs/
H A Dscmsubversion.cpp841 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 DVBoxCPP.cpp133 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 Denv-generic.cpp400 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 DtstGuestPropSvc.cpp568 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 DMediumImpl.h321 char *pszValue, size_t cchValue);
342 char *pszValue, size_t cchValue);
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibGuestProp.cpp500 * @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 DTestExecService.cpp508 * @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 Dservice.cpp649 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 DDevEFI.cpp953 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 DVBoxGuestLib.h546 VBGLR3DECL(int) VbglR3GuestPropReadValue(uint32_t ClientId, const char *pszName, char *pszValue, uint32_t cchValue, uint32_t *pcchValueActual);
H A Dvd-ifs.h744 * @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 DMediumImpl.cpp7031 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 DSSM.cpp1055 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 DCPUMR3CpuId.cpp3417 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 DConsoleImpl.cpp1864 size_t cchValue = strlen(pszBuf + iBuf); local
1866 iBuf += cchValue + 1;

Completed in 807 milliseconds