Searched defs:cch (Results 101 - 125 of 135) sorted by relevance

123456

/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrv-dtrace.cpp369 size_t cch; local
386 cch = psz - pszFunc;
389 cch = strlen(pszFunc);
390 RTStrCopyEx(pszFnNmBuf, cbFnNmBuf, pszFunc, cch);
398 RTStrPrintf(pszFnNmBuf+cch, cbFnNmBuf - cch, "-%u", pProbeLocRO->uLine);
404 RTStrPrintf(pszFnNmBuf+cch, cbFnNmBuf - cch, "-%u-%u", pProbeLocRO->uLine, iOrd);
H A DSUPR3HardenedMain.cpp260 * @param cch The length of the substring.
262 static void suplibHardenedPrintStrN(const char *pch, size_t cch) argument
271 WriteFile(hStdOut, pch, (DWORD)cch, &cbWritten, NULL);
278 &Ios, (PVOID)pch, (ULONG)cch, NULL /*ByteOffset*/, NULL /*Key*/);
282 (void)write(2, pch, cch);
953 size_t cch = suplibHardenedStrLen(g_szSupLibHardenedDirPath) + 1; local
954 if (cch <= cchPath)
956 suplibHardenedMemCopy(pszPath, g_szSupLibHardenedDirPath, cch + 1);
960 supR3HardenedFatal("supR3HardenedPathExecDir: Buffer too small (%u < %u)\n", cchPath, cch);
1041 size_t cch local
1732 size_t cch = suplibHardenedStrLen(szPath); local
1776 size_t cch = suplibHardenedStrLen(szPath); local
[all...]
H A DSUPLib.cpp1858 size_t cch = strlen(pszFunction); local
1859 if (cch > _1K)
1864 cbMax += cch + 1;
1888 size_t const cch = strlen(psz); local
1893 if ( off - offPrev < cch + 1
1894 || memcmp(&pThis->pchStrTab[offPrev], psz, cch + 1))
1901 if ( cchCur == cch
1902 && !memcmp(&pThis->pchStrTab[offPrev], psz, cch + 1))
1914 memcpy(&pThis->pchStrTab[off], psz, cch + 1);
1916 off += (uint32_t)cch
[all...]
/vbox/src/VBox/Devices/USB/
H A DVUSBDevice.cpp1805 size_t cch = strlen(paStrings[iStr].psz); local
1806 Assert(cch <= 127);
/vbox/src/VBox/NetworkServices/DHCP/
H A DConfig.h810 const size_t cch = rStr.size(); local
811 if (!cch)
814 if (!begin(uOption, cch))
816 put(rStr.c_str(), cch);
/vbox/src/VBox/RDP/client-1.8.3/vrdp/
H A Drdpusb.c214 size_t cch; local
220 cch = strlen(pcsz) + 1;
221 if (cch > DEV_ENTRY_SIZE - iBuf)
225 *piNext = iBuf + cch;
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-string.cpp995 static int rtIso2022ValidateString(uint32_t uProfile, const char *pch, uint32_t cch, size_t *pcchUtf8, PRTERRINFO pErrInfo) argument
1000 int rc = rtIso2022Decoder_Init(&Decoder, pch, cch, 102, 106, 107, 102, pErrInfo);
1084 static size_t rtWin1252CalcUtf8Length(const char *pch, uint32_t cch) argument
1087 while (cch-- > 0)
1168 * @param cch The string length.
1176 static RTASN1TELETEXVARIANT rtAsn1String_IsTeletexLatin1(const char *pch, uint32_t cch) argument
1179 while (cch-- > 0)
1229 uint32_t cch = pThis->Asn1Core.cb; local
1230 size_t cchUtf8 = cch;
1236 rc = RTStrValidateEncodingEx(pch, cch,
1476 size_t cch = pThis->cchUtf8; local
1598 size_t cch = pThis->cchUtf8; local
[all...]
/vbox/src/VBox/Runtime/common/ldr/
H A DldrkStuff.cpp574 size_t cch = strlen(pszSymbol); local
575 char *psz = (char *)alloca(cch + 2);
576 memcpy(psz + 1, pszSymbol, cch + 1);
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceVMInfo.cpp830 size_t cch = strlen(papszUsers[i]); local
831 memcpy(psz, papszUsers[i], cch);
832 psz += cch;
/vbox/src/VBox/Runtime/r0drv/nt/
H A DntBldSymDb.cpp958 static struct { const char *psz; size_t cch; } const s_aNames[] = member in struct:__anon16674
966 if ( cchName == s_aNames[0].cch
973 if ( s_aNames[i].cch == cchName
/vbox/src/VBox/Runtime/r3/
H A Dtest.cpp987 size_t cch = 0; local
998 cch += 2 + pTest->cchTest;
1007 cch += cbChars;
1014 cch += cchPart;
1021 return cch;
1056 int cch = rtTestPrintfV(pTest, pszFormat, va); local
1059 return cch;
1080 int cch = 0; local
1084 cch += rtTestPrintf(pTest, "\n");
1085 cch
1109 int cch = RTTestPrintfNlV(hTest, enmLevel, pszFormat, va); local
1132 int cch = 0; local
1156 int cch = RTTestPrintfV(hTest, enmLevel, pszFormat, va); local
1185 int cch = 0; local
1229 int cch = 0; local
1342 int cch = 0; local
1375 int cch = RTTestSubV(hTest, pszSubTestFmt, va); local
1398 int cch = RTTestSub(hTest, pszSubTest); local
1419 int cch = rtTestSubCleanup(pTest); local
1443 int cch = 0; local
1477 int cch = RTTestPassedV(hTest, pszFormat, va); local
1492 int cch = 0; local
1514 int cch = RTTestSkippedV(hTest, pszFormat, va); local
1675 int cch = 0; local
1710 int cch = RTTestFailedV(hTest, pszFormat, va); local
1745 int cch = RTTestFailureDetailsV(hTest, pszFormat, va); local
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DSELM.cpp2465 unsigned cch; member in struct:__anon16860
2510 memcpy(psz, aTypes[i].psz, aTypes[i].cch);
2511 psz += aTypes[i].cch;
H A DCFGM.cpp465 size_t cch = strlen(psz); local
466 if ( cch == pChild->cchName
467 && !memcmp(psz, pChild->szName, cch))
471 psz += cch + 1;
590 size_t cch = strlen(psz); local
591 if ( cch == pLeaf->cchName
592 && !memcmp(psz, pLeaf->szName, cch))
596 psz += cch + 1;
/vbox/src/VBox/ValidationKit/utils/network/
H A DNetPerf.cpp340 size_t cch = RTStrPrintf(&szBuf[NETPERF_LEN_PREFIX], sizeof(szBuf) - NETPERF_LEN_PREFIX, local
349 RTStrPrintf(szBuf, NETPERF_LEN_PREFIX + 1, "%0*u", NETPERF_LEN_PREFIX, cch);
351 Assert(strlen(szBuf) == cch + NETPERF_LEN_PREFIX);
353 int rc = RTTcpWrite(hSocket, szBuf, cch + NETPERF_LEN_PREFIX);
391 uint32_t cch; local
392 rc = RTStrToUInt32Full(szBuf, 10, &cch);
395 if (cch >= sizeof(szBuf))
396 return RTTestIFailedRc(VERR_BUFFER_OVERFLOW, "stats: too large: %u bytes\n", cch);
399 rc = RTTcpRead(hSocket, szBuf, cch, NULL);
402 szBuf[cch]
[all...]
/vbox/src/VBox/Main/src-server/darwin/
H A Diokit.cpp249 * @param cch The size of the buffer.
251 static bool darwinDictGetString(CFDictionaryRef DictRef, CFStringRef KeyStrRef, char *psz, size_t cch) argument
256 if (CFStringGetCString((CFStringRef)ValRef, psz, cch, kCFStringEncodingUTF8))
259 Assert(cch > 0);
/vbox/src/VBox/ExtPacks/VBoxDTrace/
H A DVBoxDTraceR0.cpp1430 size_t cch; local
1447 cch = psz - pszFunc;
1450 cch = strlen(pszFunc);
1451 RTStrCopyEx(pszFnNmBuf, cbFnNmBuf, pszFunc, cch);
1459 RTStrPrintf(pszFnNmBuf+cch, cbFnNmBuf - cch, "-%u", pProbeLocRO->uLine);
1465 RTStrPrintf(pszFnNmBuf+cch, cbFnNmBuf - cch, "-%u-%u", pProbeLocRO->uLine, iOrd);
/vbox/src/VBox/VMM/VMMAll/
H A DPGMAll.cpp2605 size_t cch; local
2611 cch = 0;
2615 szTmp[cch++] = s_achPageStates[PGM_PAGE_GET_STATE_NA(pPage)];
2621 szTmp[cch++] = s_achHandlerStates[PGM_PAGE_GET_HNDL_PHYS_STATE(pPage)];
2622 szTmp[cch++] = s_achHandlerStates[PGM_PAGE_GET_HNDL_VIRT_STATE(pPage)];
2628 szTmp[cch++] = ':';
2630 szTmp[cch++] = s_achPageTypes[PGM_PAGE_GET_TYPE_NA(pPage)][0];
2631 szTmp[cch++] = s_achPageTypes[PGM_PAGE_GET_TYPE_NA(pPage)][1];
2632 szTmp[cch++] = s_achPageTypes[PGM_PAGE_GET_TYPE_NA(pPage)][2];
2638 szTmp[cch
2673 size_t cch; local
[all...]
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgcfg.cpp71 uint16_t cch; member in struct:RTDBGCFGSTR
989 size_t cchDir = pCur->cch;
1462 size_t cchDir = pCur->cch;
1894 if ( pCur->cch == cchPath
1910 pNew->cch = (uint16_t)cchPath;
2101 cbReq += pCur->cch + 1;
2113 memcpy(psz, pCur->sz, pCur->cch);
2114 psz += pCur->cch;
2141 size_t cch = RTStrPrintf(szTmp, sizeof(szTmp), "%#x", uValue); local
2142 if (cch
[all...]
/vbox/src/VBox/Additions/common/VBoxControl/
H A DVBoxControl.cpp1784 size_t cch = strlen(ValueUnion.psz); local
1786 || (cch > 0 && ValueUnion.psz[cch - 1] == '\n') )
1787 rc = VbglR3WriteLog(ValueUnion.psz, cch);
1790 char *pszDup = (char *)RTMemDupEx(ValueUnion.psz, cch, 2);
1793 pszDup[cch++] = '\n';
1794 pszDup[cch] = '\0';
1795 rc = VbglR3WriteLog(pszDup, cch);
/vbox/include/VBox/
H A Ddbg.h695 size_t cch; local
698 cch = pCmdHlp->pfnStrPrintfV(pCmdHlp, pszBuf, cbBuf, pszFormat, va);
701 return cch;
/vbox/src/VBox/Runtime/common/string/
H A Duniread.cpp960 int cch; local
963 cch = vfprintf(g_pCurOutFile, pszFormat, va);
965 return cch;
1001 int cch = vsprintf(&g_szStream2[offStream2], pszFormat, va); local
1003 offStream2 += cch;
1010 return cch;
/vbox/src/bldprogs/
H A DVBoxTpG.cpp211 * @param cch The length of the string.
213 static const char *strtabInsertN(const char *pch, size_t cch) argument
215 PVTGSTRING pStr = (PVTGSTRING)RTStrSpaceGetN(&g_StrSpace, pch, cch);
222 pStr = (PVTGSTRING)RTMemAlloc(RT_OFFSETOF(VTGSTRING, szString[cch + 1]));
227 memcpy(pStr->szString, pch, cch);
228 pStr->szString[cch] = '\0';
873 size_t cch = strlen(pszOutput); local
874 char *psz = (char *)alloca(cch + sizeof(".asm"));
875 memcpy(psz, pszOutput, cch);
876 memcpy(psz + cch, "
[all...]
/vbox/src/VBox/Debugger/
H A DDBGCEmulateCodeView.cpp1267 size_t cch = strlen(szLine); local
1268 while (cch > 0 && (szLine[cch - 1] == '\r' || szLine[cch - 1] == '\n' || RT_C_IS_SPACE(szLine[cch - 1])) )
1269 szLine[--cch] = '\0';
/vbox/src/VBox/Main/src-all/
H A DExtPackManagerImpl.cpp2118 * @param cch The size of the string.
2120 static char *findSuccessIndicator(char *psz, size_t cch) argument
2123 Assert(!cch || strlen(psz) == cch);
2124 if (cch < sizeof(s_szSuccessInd) - 1)
2126 char *pszInd = &psz[cch - sizeof(s_szSuccessInd) + 1];
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-ogl.cpp1035 size_t cch = pszEnd - psz; local
1038 if (acchWidths[iColumn] < cch)
1039 acchWidths[iColumn] = cch;
1058 size_t cch = pszEnd - psz; local
1062 LogRel(("\nVMSVGA3d: %-*.*s", acchWidths[iColumn], cch, psz));
1064 LogRel((" %-*.*s", acchWidths[iColumn], cch, psz));
1066 LogRel((" %.*s", cch, psz));
1346 size_t cch = pszEnd - pszCur; local
1347 if (cch < cbBuf)
1349 memcpy(pszBuf, pszCur, cch);
[all...]

Completed in 162 milliseconds

123456