/vbox/src/VBox/Additions/WINNT/VBoxTray/ |
H A D | VBoxDnDDropTarget.cpp | 393 UINT cch = DragQueryFile(hDrop, i /* File index */, local 396 Assert(cch); 406 WCHAR *pwszFile = (WCHAR *)RTMemAlloc((cch + 1) * sizeof(WCHAR)); 410 pwszFile, cch + 1 /* Include terminator */); 411 AssertMsg(cchFile == cch, ("cchCopied (%RU16) does not match cchFile (%RU16)\n", 412 cchFile, cch)); 422 pszFile = (char *)RTMemAlloc((cch + 1) * sizeof(char)); 427 AssertMsg(cchFile == cch, ("cchCopied (%RU16) does not match cchFile (%RU16)\n", 428 cchFile, cch));
|
/vbox/src/VBox/Additions/common/VBoxGuest/ |
H A D | VBoxGuest-os2.cpp | 688 int cch = RTLogFormatV(vboxGuestNativeLogOutput, NULL, pszFormat, va); local 691 return cch;
|
/vbox/src/VBox/Runtime/common/string/ |
H A D | ministring.cpp | 374 size_t cch = m_cch; local 376 while (cch > 0) 381 strRet.append(RTCString(pszTmp, cch)); 389 cch -= cchNext + a_rstrSep.length();
|
H A D | utf-16.cpp | 274 * @param pcch Where to store the length (excluding '\\0') of the UTF-8 string. (cch == cb, btw) 279 size_t cch = 0; local 288 cch++; 290 cch += 2; 292 cch += 3; 321 cch += 4; 327 *pcch = cch; 340 * @param cch The size of the UTF-8 buffer, excluding the terminator. 343 static int rtUtf16RecodeAsUtf8(PCRTUTF16 pwsz, size_t cwc, char *psz, size_t cch, size_t *pcch) argument 356 if (RT_UNLIKELY(cch < 455 size_t cch; local 482 RTUtf16ToUtf8ExTag(PCRTUTF16 pwszString, size_t cwcString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument 542 size_t cch; local 551 size_t cch; local [all...] |
/vbox/src/VBox/Runtime/common/time/ |
H A D | time.cpp | 690 size_t cch; local 708 cch = RTStrPrintf(psz, cb, 713 if ( cch <= 15 714 || psz[cch - 5] != chSign) 719 cch = RTStrPrintf(psz, cb, "%RI32-%02u-%02uT%02u:%02u:%02u.%09RU32Z", 722 if ( cch <= 15 723 || psz[cch - 1] != 'Z')
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfschain.cpp | 162 * @param cch The number of bytes to duplicate. 166 DECLINLINE(char *) rtVfsChainSpecDupStrN(const char *psz, size_t cch, int *prc) argument 168 char *pszCopy = (char *)RTMemTmpAlloc(cch + 1); 171 if (!memchr(psz, '\\', cch)) 174 memcpy(pszCopy, psz, cch); 175 pszCopy[cch] = '\0'; 181 while (cch) 259 * @param cch The length of the argument string, escape 262 static int rtVfsChainSpecElementAddArg(PRTVFSCHAINELEMSPEC pElement, const char *psz, size_t cch) argument 276 pElement->papszArgs[iArg] = rtVfsChainSpecDupStrN(psz, cch, 390 size_t cch; local [all...] |
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | sysfs.cpp | 79 size_t cch = RTStrPrintfV(pszBuf, cchBuf, pszFormat, va); local 82 AssertReturn(cchBuf >= cch + cchPrefix + 1, VERR_BUFFER_OVERFLOW); 83 memmove(pszBuf + cchPrefix, pszBuf, cch + 1); 85 cch += cchPrefix; 87 return cch;
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | dir-posix.cpp | 505 size_t cch = cchName + pDir->cchPath + 1; local 506 char *pszNamePath = (char *)alloca(cch);
|
H A D | utf8-posix.cpp | 464 size_t cch = strlen(pszString); local 465 if (cch <= 0) 473 return rtStrConvertWrapper(pszString, cch, "UTF-8", ppszString, 0, "", 1, RTSTRICONV_UTF8_TO_LOCALE); 486 size_t cch = strlen(pszString); local 487 if (cch <= 0) 495 return rtStrConvertWrapper(pszString, cch, "", ppszString, 0, "UTF-8", 2, RTSTRICONV_LOCALE_TO_UTF8);
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstIprtMiniString.cpp | 361 static int mymemcmp(const char *psz1, const char *psz2, size_t cch) argument 363 for (size_t off = 0; off < cch; off++) 367 RT_MIN(cch - off, 8), &psz1[off], 368 RT_MIN(cch - off, 8), &psz2[off]); 460 size_t cch = 0; local 479 cch += cchDst; 498 RTTESTI_CHECK_MSG(cch == strUpper2.length(), ("cch=%u length()=%u\n", cch, strUpper2.length())); 505 cch [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | MMHeap.cpp | 529 size_t cch = strlen(psz) + 1; local 530 char *pszDup = (char *)MMR3HeapAllocU(pUVM, enmTag, cch); 532 memcpy(pszDup, psz, cch); 622 int cch = RTStrAPrintfV(&psz, pszFormat, va); local 623 if (cch < 0) 625 Assert(psz[cch] == '\0'); 626 char *pszRet = (char *)MMR3HeapAllocU(pUVM, enmTag, cch + 1); 628 memcpy(pszRet, psz, cch + 1);
|
H A D | VMMGuruMeditation.cpp | 133 size_t cch = RTStrPrintfV(&pMyHlp->szSummary[pMyHlp->offSummary], cchLeft, pszFormat, args); local 135 Assert(cch <= cchLeft); 136 pMyHlp->offSummary += cch;
|
H A D | DBGFDisas.cpp | 600 size_t cch; local 604 cch = RTStrPrintf(pszOutput, cbOutput, "%s", szBuf); 606 cch = RTStrPrintf(pszOutput, cbOutput, "%04x:%04x %s", Sel, (unsigned)GCPtr, szBuf); 610 cch = RTStrPrintf(pszOutput, cbOutput, "%RGv %s", GCPtr, szBuf); 612 cch = RTStrPrintf(pszOutput, cbOutput, "%08RX32 %s", (uint32_t)GCPtr, szBuf); 617 cch = RTStrPrintf(pszOutput, cbOutput, "%04x:%RGv %s", Sel, GCPtr, szBuf); 619 cch = RTStrPrintf(pszOutput, cbOutput, "%04x:%08RX32 %s", Sel, (uint32_t)GCPtr, szBuf); 627 cch = RTStrPrintf(pszOutput, cbOutput, "%.*Rhxs%*s %s", 631 cch = RTStrPrintf(pszOutput, cbOutput, "%04x:%04x %.*Rhxs%*s %s", 638 cch [all...] |
/vbox/src/VBox/VMM/include/ |
H A D | STAMInternal.h | 69 uint16_t cch; member in struct:STAMLOOKUP
|
/vbox/src/VBox/ValidationKit/testboxscript/ |
H A D | TestBoxHelper.cpp | 178 int cch = RTPrintf("\n"); local 179 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 192 int cch = RTPrintf("%llu\n", cb); local 193 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 231 int cch = RTPrintf(isHwVirtSupported() != HWVIRTTYPE_NONE ? "true\n" : "false\n"); local 232 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 260 int cch = RTPrintf(fSupported == 1 ? "true\n" : fSupported == 0 ? "false\n" : "dunno\n"); local 261 return cch > 0 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 314 int cch = RTPrintf(fSupported == 1 ? "true\n" : fSupported == 0 ? "false\n" : "dunno\n"); local 315 return cch > 333 int cch = RTPrintf("%#x\\n", uVersion); local 350 int cch = RTPrintf("%s\\n", RTStrStrip(szTmp)); local 365 int cch = RTPrintf("%.04s%.04s%.04s\\n", &uEbx, &uEdx, &uEcx); local 367 int cch = RTPrintf("%s\\n", RTBldCfgTargetArch()); local [all...] |
/vbox/src/bldprogs/ |
H A D | VBoxDef2LazyLoad.cpp | 125 unsigned cch = (unsigned)strlen(psz); local 126 while (cch > 0 && (isspace(psz[cch - 1]) || psz[cch - 1] == '\r' || psz[cch - 1] == '\n')) 127 psz[--cch] = '\0'; 129 if (!cch) 194 cch = wordLength(psz); 195 if (WORD_CMP(psz, cch, "NONAME")) 199 psz = leftStrip(psz + cch); [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | VRDEServerImpl.cpp | 296 size_t cch = pszEnd - pszStart; local 297 if (cch > 0 && cch <= 5) /* Port is up to 5 decimal digits. */
|
/vbox/src/VBox/HostDrivers/Support/freebsd/ |
H A D | SUPDrv-freebsd.c | 617 int cch; local 620 cch = RTStrPrintfV(szMsg, sizeof(szMsg), pszFormat, va); 625 return cch;
|
/vbox/src/VBox/HostDrivers/Support/os2/ |
H A D | SUPDrv-os2.cpp | 516 int cch = RTLogFormatV(VBoxDrvLogOutput, NULL, pszFormat, va); local 519 return cch;
|
/vbox/src/VBox/HostDrivers/VBoxUSB/ |
H A D | USBFilter.cpp | 687 ssize_t cch = strlen(psz); local 688 cch -= cchMatch; 689 if (cch < 0) 694 return memcmp(psz + cch, pszPattern, cchMatch) == 0; 708 while ( cch-- >= 0 1126 const size_t cch = strlen(pszString); local 1127 if (pFilter->offCurEnd + cch + 2 > sizeof(pFilter->achStrTab)) 1131 memcpy(&pFilter->achStrTab[pFilter->offCurEnd + 1], pszString, cch + 1); 1132 pFilter->offCurEnd += (uint32_t)cch + 1; 1536 size_t cch local [all...] |
/vbox/src/VBox/Devices/USB/testcase/ |
H A D | tstPalmOne.c | 77 int cch = 0; local
|
H A D | tstTrekStorGo.c | 77 int cch = 0; local
|
/vbox/src/VBox/Disassembler/testcase/ |
H A D | tstDisasm-2.cpp | 95 size_t cch = DISFormatYasmEx(&pState->Dis, szTmp, sizeof(szTmp), local 99 Assert(cch < sizeof(szTmp)); 100 while (cch < 71) 101 szTmp[cch++] = ' '; 102 szTmp[cch] = '\0';
|
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmodnm.cpp | 439 size_t cch = strlen(szLine); local 441 cchAddr = cch < 16+3 || szLine[8+1] != ' ' ? 8 : 16; 442 if (cch < cchAddr+3+1)
|
/vbox/include/iprt/ |
H A D | path.h | 613 * @note Don't try figure the end of the input path by adding up off and cch 621 uint16_t cch; member in struct:RTPATHPARSED::__anon571
|