Searched defs:cch (Results 76 - 100 of 135) sorted by relevance

123456

/vbox/src/VBox/Runtime/common/string/
H A Dstrformat.cpp367 KSIZE cch = 0; local
378 cch += pfnOutput(pvArgOutput, pszStartOutput, pszFormat - pszStartOutput);
526 cch += pfnOutput(pvArgOutput, " ", 1);
529 cch += pfnOutput(pvArgOutput, SSToDS(&ch), 1);
532 cch += pfnOutput(pvArgOutput, " ", 1);
553 cch += pfnOutput(pvArgOutput, " ", 1);
563 cch += pfnOutput(pvArgOutput, szUtf8, pszEnd - szUtf8);
566 cch += pfnOutput(pvArgOutput, &ch, 1);
570 cch += pfnOutput(pvArgOutput, " ", 1);
586 cch
850 size_t cch; local
[all...]
H A Dstrformatrt.cpp105 size_t cch; /* result */ local
161 cch = 0;
167 cch += pfnOutput(pvArgOutput, ":", 1);
168 cch += pfnOutput(pvArgOutput, szHexWord, rtstrFormatIPv6HexWord(szHexWord, RT_BE2H_U16(pIpv6Addr->au16[idx])));
172 cch += pfnOutput(pvArgOutput, ":", 1);
179 cch += pfnOutput(pvArgOutput, ":", 1);
183 cch += pfnOutput(pvArgOutput, szHexWord, rtstrFormatIPv6HexWord(szHexWord, RT_BE2H_U16(pIpv6Addr->au16[idx])));
184 cch += pfnOutput(pvArgOutput, ":", 1);
188 cch += pfnOutput(pvArgOutput, ":", 1);
193 cch
234 size_t cch; local
273 uint8_t cch; /**< the length of the string. */ member in struct:__anon16582
941 uint8_t cch; /**< the length of the string. */ member in struct:__anon16585
[all...]
H A Dutf-8.cpp48 * @param cch The max length of the string. (btw cch = cb)
52 * on success (cch = cb again). Optional.
54 DECLHIDDEN(int) rtUtf8Length(const char *psz, size_t cch, size_t *pcuc, size_t *pcchActual) argument
58 while (cch > 0)
80 RTStrAssertMsgFailed(("Invalid UTF-8 first byte: %.*Rhxs\n", RT_MIN(cch, 10), puch));
85 if (cb > cch)
87 RTStrAssertMsgFailed(("Invalid UTF-8 length: cb=%d cch=%d (%.*Rhxs)\n", cb, cch, RT_MIN(cch, 1
189 rtUtf8Decode(const char *psz, size_t cch, PRTUNICP paCps, size_t cCps) argument
283 RTStrUniLenEx(const char *psz, size_t cch, size_t *pcCps) argument
301 RTStrValidateEncodingEx(const char *psz, size_t cch, uint32_t fFlags) argument
507 rtUtf8CalcUtf16Length(const char *psz, size_t cch, size_t *pcwc) argument
645 rtUtf8RecodeAsUtf16(const char *psz, size_t cch, PRTUTF16 pwsz, size_t cwc) argument
829 RTStrCalcUtf16LenEx(const char *psz, size_t cch, size_t *pcwc) argument
850 size_t cch = 0; local
878 rtLatin1RecodeAsUtf8(const char *pszIn, size_t cchIn, char *psz, size_t cch) argument
920 size_t cch; local
947 RTLatin1ToUtf8ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
1007 size_t cch; local
1016 size_t cch; local
1037 size_t cch = 0; local
1071 rtUtf8RecodeAsLatin1(const char *pszIn, size_t cchIn, char *psz, size_t cch) argument
1113 size_t cch; local
1142 RTStrToLatin1ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
1205 size_t cch; local
1214 size_t cch; local
1398 size_t cch = *pcch; local
[all...]
/vbox/src/VBox/Runtime/generic/
H A Denv-generic.cpp561 size_t cch = strlen(pszValueUtf8);
563 *pcchActual = cch;
566 if (cch < cbValue)
567 memcpy(pszValue, pszValueUtf8, cch + 1);
599 size_t cch = strlen(pszValueOrg); local
601 *pcchActual = cch;
604 if (cch < cbValue)
605 memcpy(pszValue, pszValueOrg, cch + 1);
/vbox/src/VBox/VMM/VMMR3/
H A DSTAM.cpp309 pRoot->cch = 0;
497 size_t cch = RTStrPrintfV(szFormattedName, sizeof(szFormattedName), pszName, args); local
498 AssertReturn(cch <= STAM_MAX_NAME_LEN, VERR_OUT_OF_RANGE);
632 uint32_t cchComp = RT_MIN(pNode->cch, cchName);
634 if (!iDiff && pNode->cch != cchName)
635 iDiff = pNode->cch > cchName ? 2 : -2;
670 pNew->cch = (uint16_t)cchName;
871 uint32_t cch = pszEnd ? pszEnd - pszName : (uint32_t)strlen(pszName);
872 PSTAMLOOKUP pChild = stamR3LookupFindChild(pRoot, pszName, cch, NULL);
1038 uint32_t cch
[all...]
H A DDBGFAddrSpace.cpp846 size_t const cch = pszEnd - psz; local
847 if (cch + 1 + cchName < sizeof(szFound))
851 memcpy(szFound, psz, cch);
852 szFound[cch] = '/';
853 memcpy(szFound + cch + 1, pszName, cchName + 1);
H A DFTM.cpp212 size_t cch; local
215 cch = RTStrPrintf(szMsg, sizeof(szMsg), "NACK=%d;%s\n", rc2, pszMsgText);
216 for (size_t off = 6; off + 1 < cch; off++)
221 cch = RTStrPrintf(szMsg, sizeof(szMsg), "NACK=%d\n", rc2);
222 int rc = RTTcpWrite(pVM->ftm.s.hSocket, szMsg, cch);
224 LogRel(("FTSync: RTTcpWrite(,%s,%zu) -> %Rrc\n", szMsg, cch, rc));
/vbox/src/VBox/VMM/testcase/
H A DtstAnimate.cpp132 static int scriptCommand(PVM pVM, const char *pszIn, size_t cch) argument
134 NOREF(cch);
/vbox/src/VBox/Debugger/
H A DDBGCCmdHlp.cpp63 * @param cch The string length.
65 static size_t dbgcStringOutputInQuotes(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, char chQuote, const char *psz, size_t cch) argument
69 while (cch > 0)
71 char *pchQuote = (char *)memchr(psz, chQuote, cch);
74 cchOutput += pfnOutput(pvArgOutput, psz, cch);
274 size_t cch = RTStrPrintfExV(dbgcStringFormatter, pDbgc, pszBuf, cbBuf, pszFormat, va); local
276 return cch;
H A DDBGCEval.cpp1001 size_t cch = pDbgc->CmdHlp.pfnStrPrintf(&pDbgc->CmdHlp, pDbgc->pszScratch, cbScratch, "%Dv", pArg); local
1002 if (cch + 1 >= cbScratch)
1008 pArg->u64Range = cch;
1010 pDbgc->pszScratch += cch + 1;
/vbox/src/VBox/Devices/Network/
H A DDrvTAP.cpp609 size_t cch = strlen(pThis->pszDeviceName); local
610 if (cch > 1 && RT_C_IS_DIGIT(pThis->pszDeviceName[cch - 1]) != 0)
611 iPPA = pThis->pszDeviceName[cch - 1] - '0';
/vbox/src/VBox/HostDrivers/Support/
H A DSUPR3HardenedVerify.cpp1068 uint16_t cch; member in struct:SUPR3HARDENEDPATHINFO
1077 * cch + 1 so that one can always terminate the current component by
1185 pInfo->cch = (uint16_t)(pszDst - &pInfo->szPath[0]);
1186 pInfo->aoffComponents[pInfo->cComponents] = pInfo->cch + 1;
1633 Info.szPath[Info.cch] = RTPATH_SLASH;
1634 Info.szPath[Info.cch + 1] = '\0';
1635 return supR3HardenedVerifyDirRecursive(Info.szPath, Info.cch + 1, &FsObjState,
/vbox/src/VBox/Installer/linux/install_service/
H A Dgenerate_service_file.cpp472 static bool getSequence(const char *pach, size_t cch, size_t *pcchRead,
478 static void skipLine(const char *pach, size_t cch, size_t *pcchRead);
696 bool getSequence(const char *pach, size_t cch, size_t *pcchRead, argument
699 if ( cch - *pcchRead >= cchSequence
900 void skipLine(const char *pach, size_t cch, size_t *pcchRead) argument
902 while ( *pcchRead < cch
906 while ( *pcchRead < cch
/vbox/src/VBox/Additions/linux/drm/
H A Dvbox_mode.c473 const char *psz, size_t cch)
481 LogFunc(("vboxvideo: %d: pDev=%p, pAttr=%p, psz=%s, cch=%llu\n", __LINE__,
482 pDev, pAttr, psz, (unsigned long long)cch));
498 return cch;
471 vbox_connector_write_sysfs(struct device *pDev, struct device_attribute *pAttr, const char *psz, size_t cch) argument
/vbox/src/VBox/Additions/WINNT/VBoxCredProv/
H A DVBoxCredProvCredential.cpp885 DWORD cch = ARRAYSIZE(wszComputerName); local
886 if (GetComputerNameW(wszComputerName, &cch))
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxService.cpp892 size_t cch = strlen(psz); local
893 #define MATCHES(strconst) ( cch == sizeof(strconst) - 1 \
922 if (cch > sizeof("enable-") && !memcmp(psz, RT_STR_TUPLE("enable-")))
927 if (cch > sizeof("disable-") && !memcmp(psz, RT_STR_TUPLE("disable-")))
932 if (cch > sizeof("only-") && !memcmp(psz, RT_STR_TUPLE("only-")))
/vbox/include/iprt/
H A Dvfslowlevel.h874 uint16_t cch; member in struct:RTVFSPARSEDPATH
883 * cch + 1 so that one can always terminate the current component by
/vbox/src/VBox/Runtime/r3/
H A Dstream.cpp349 size_t cch = RTStrPrintfV(szFilename, sizeof(szFilename), pszFilenameFmt, args); local
350 if (cch < sizeof(szFilename))
354 AssertMsgFailed(("The filename is too long cch=%d\n", cch));
1009 size_t cch = strlen(pszString); local
1010 return rtStrmWrite(pStream, pszString, cch, NULL, true /*fSureIsText*/);
/vbox/src/VBox/Runtime/r3/win/
H A Dlocalipc-win.cpp351 size_t cch = RT_OFFSETOF(RTLOCALIPCSERVERINT, szName[cchName + sizeof(RTLOCALIPC_WIN_PREFIX)]); local
352 PRTLOCALIPCSERVERINT pThis = (PRTLOCALIPCSERVERINT)RTMemAlloc(cch);
/vbox/src/bldprogs/
H A Dscmstream.cpp109 pStream->paLines[0].cch = 0;
274 size_t offEol = pStream->paLines[iLine].off + pStream->paLines[iLine].cch;
427 pStream->paLines[iLine].cch = cb;
562 if (offAbsolute < pStream->paLines[i].off + pStream->paLines[i].cch + pStream->paLines[i].enmEol)
566 if (offAbsolute > pStream->paLines[i].off + pStream->paLines[i].cch)
702 *pcchLine = pStream->paLines[iLine].cch;
706 pStream->off = pStream->paLines[iLine].off + pStream->paLines[iLine].cch + pStream->paLines[iLine].enmEol;
739 Assert(offCur <= pStream->paLines[iCurLine].cch + pStream->paLines[iCurLine].enmEol);
740 if (offCur < pStream->paLines[iCurLine].cch)
790 if (pStream->off >= pStream->paLines[iLine].off + pStream->paLines[iLine].cch
1174 ssize_t cch = RTStrAPrintfV(&psz, pszFormat, va); local
1198 ssize_t cch = ScmStreamPrintfV(pStream, pszFormat, va); local
[all...]
H A Dscmsubversion.cpp642 * @param cch The string length.
645 static bool scmSvnReadNumber(const char *pch, size_t cch, size_t *pu) argument
648 while (cch-- > 0)
/vbox/src/VBox/Devices/BiosCommonCode/
H A DMakeAlternativeSource.cpp85 uint32_t cch; member in struct:BIOSMAP
234 size_t cch = strlen(psz); local
235 if (cch >= 2 && psz[cch - 1] == '/' && psz[cch - 2] == '*')
237 psz[cch - 2] = '\0';
1033 size_t cch = DISFormatYasmEx(&CpuState, szTmp, sizeof(szTmp), local
1037 cch = disHandleYasmDifferences(&CpuState, uFlatAddr, cbInstr, szTmp, sizeof(szTmp), cch);
1038 Assert(cch < sizeo
[all...]
/vbox/src/VBox/Main/src-client/
H A DConsoleImplTeleporter.cpp1227 size_t cch; local
1230 cch = RTStrPrintf(szMsg, sizeof(szMsg), "NACK=%d;%s\n", rc2, pszMsgText);
1231 for (size_t off = 6; off + 1 < cch; off++)
1236 cch = RTStrPrintf(szMsg, sizeof(szMsg), "NACK=%d\n", rc2);
1237 int rc = RTTcpWrite(pState->mhSocket, szMsg, cch);
1239 LogRel(("Teleporter: RTTcpWrite(,%s,%zu) -> %Rrc\n", szMsg, cch, rc));
H A DMachineDebuggerImpl.cpp1120 ssize_t cch = DBGFR3RegFormatValue(szHex, sizeof(szHex), a_pValue, a_enmType, true /*fSpecial*/); local
1121 if (RT_UNLIKELY(cch <= 0))
/vbox/src/VBox/Main/src-server/linux/
H A DHostHardwareLinux.cpp95 size_t cch = 0; local
98 cch = i;
99 return cch + 1;

Completed in 252 milliseconds

123456