/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTR0MemUserKernel.cpp | 75 RTStrPrintf(pszErr, cchErr, "!no memory for kernel buffers"); 88 RTStrPrintf(pszErr, cchErr, "!42failure42%1024s", ""); 105 RTStrPrintf(pszErr, cchErr, "RTR0MemAreKrnlAndUsrDifferent returns true"); 113 RTStrPrintf(pszErr, cchErr, "! #5 - RTR0MemKernelIsValidAddr -> true, expected false"); 116 RTStrPrintf(pszErr, cchErr, "! #5 - RTR0MemUserIsValidAddr -> true, expected false"); 119 RTStrPrintf(pszErr, cchErr, "RTR0MemAreKrnlAndUsrDifferent returns false"); 122 RTStrPrintf(pszErr, cchErr, "! #4 - RTR0MemKernelIsValidAddr -> false, expected true"); 125 RTStrPrintf(pszErr, cchErr, "! #3 - RTR0MemUserIsValidAddr -> false, expected true"); 128 RTStrPrintf(pszErr, cchErr, "! #2 - RTR0MemUserCopyTo -> %Rrc expected %Rrc", rc, VINF_SUCCESS); 131 RTStrPrintf(pszEr [all...] |
H A D | tstRTR0ThreadPreemption.cpp | 78 RTStrPrintf(pData->achResult, sizeof(pData->achResult), "!tstRTR0ThreadCtxHook: Invalid magic."); 94 RTStrPrintf(pData->achResult, sizeof(pData->achResult), 102 RTStrPrintf(pData->achResult, sizeof(pData->achResult), 111 RTStrPrintf(pData->achResult, sizeof(pData->achResult), 131 RTStrPrintf(pData->achResult, sizeof(pData->achResult), 139 RTStrPrintf(pData->achResult, sizeof(pData->achResult), 187 RTStrPrintf(pszErr, cchErr, "!42failure42%1024s", ""); 193 RTStrPrintf(pszErr, cchErr, "!Interrupts disabled"); 195 RTStrPrintf(pszErr, cchErr, "!RTThreadPreemptIsEnabled returns false by default"); 201 RTStrPrintf(pszEr [all...] |
H A D | tstRTStrFormat.cpp | 70 size_t cch = RTStrPrintf(szBuf, sizeof(szBuf), "%N", pszFormat, &va); 82 cch = RTStrPrintf(szBuf, sizeof(szBuf), "%uxxx%Nyyy%u", 43, pszFormat, &va, 43); 114 size_t cch = RTStrPrintf(pszBuf, BUF_SIZE, "u32=%d u64=%lld u64=%#llx", u32, u64, u64); 123 cch = RTStrPrintf(pszBuf, BUF_SIZE, "u64=%#llx 42=%d u64=%lld 42=%d", u64, 42, u64, 42); 133 cch = RTStrPrintf(pszBuf, BUF_SIZE, "u64=%#llx 42=%d u64=%llu 42=%d u64=%lld 42=%d", u64, 42, u64, 42, u64, 42); 144 cch = RTStrPrintf(pszBuf, BUF_SIZE, "u64=%#llx 42=%d u64=%lld 42=%d", u64, 42, u64, 42); 154 cch = RTStrPrintf(pszBuf, BUF_SIZE, "%RTuuid", &Uuid); 186 cch = RTStrPrintf(pszBuf, BUF_SIZE, fmt " 42=%d " fmt " 42=%d", arg, 42, arg, 42); \ 527 cch = RTStrPrintf(pszBuf, BUF_SIZE, "%RTuuid", &Uuid); 602 cch = RTStrPrintf(pszBu [all...] |
H A D | tstRTR0DbgKrnlInfo.cpp | 73 RTStrPrintf(pszErr, cchErr, "!42failure42%1024s", ""); 100 RTStrPrintf(pszErr, cchErr, "!Unknown test #%d", uOperation);
|
H A D | tstRTR0SemMutex.cpp | 68 #define SET_ERROR(szFmt) do { if (!*pszErr) RTStrPrintf(pszErr, cchErr, "!" szFmt); } while (0) 69 #define SET_ERROR1(szFmt, a1) do { if (!*pszErr) RTStrPrintf(pszErr, cchErr, "!" szFmt, a1); } while (0) 70 #define SET_ERROR2(szFmt, a1, a2) do { if (!*pszErr) RTStrPrintf(pszErr, cchErr, "!" szFmt, a1, a2); } while (0) 71 #define SET_ERROR3(szFmt, a1, a2, a3) do { if (!*pszErr) RTStrPrintf(pszErr, cchErr, "!" szFmt, a1, a2, a3); } while (0) 75 RTStrPrintf(pszErr, cchErr, "!%s -> %Rrc, expected %Rrc. line %u", szOp, rc, rcExpect, __LINE__); \
|
H A D | tstRTUuid.cpp | 80 RTStrPrintf(psz, RTUUID_STR_LENGTH, "%s", sz); 86 RTStrPrintf(psz2, RTUUID_STR_LENGTH - off, "%s", sz); 94 RTStrPrintf(sz2, sizeof(sz2), "{%s}", sz); 101 RTStrPrintf(psz, RTUUID_STR_LENGTH + 2, "{%s}", sz); 107 RTStrPrintf(psz2, RTUUID_STR_LENGTH + 2 - off, "{%s}", sz);
|
/vbox/src/VBox/Runtime/win/ |
H A D | errmsgwin.cpp | 96 RTStrPrintf(&g_aszUnknownStr[iMsg][0], sizeof(g_aszUnknownStr[iMsg]), "%s 0x%X", g_aStatusMsgs[i].pszDefine, rc); 104 RTStrPrintf(&g_aszUnknownStr[iMsg][0], sizeof(g_aszUnknownStr[iMsg]), "Unknown Status 0x%X", rc);
|
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | RTProcIsRunningByName-linux.cpp | 76 RTStrPrintf(szName, sizeof(szName), "/proc/%s/exe", &DirEntry.szName[0]); 87 RTStrPrintf(szName, sizeof(szName), "/proc/%s/cmdline", &DirEntry.szName[0]);
|
H A D | RTSystemShutdown-linux.cpp | 75 RTStrPrintf(szWhen, sizeof(szWhen), "%u", (unsigned)((cMsDelay + 499) / 1000));
|
H A D | RTThreadGetNativeState-linux.cpp | 55 RTStrPrintf(szName, sizeof(szName), "/proc/self/task/%u/stat", pThread->tid);
|
/vbox/src/VBox/Disassembler/ |
H A D | DisasmFormatBytes.cpp | 58 const size_t cchTmp = RTStrPrintf(pszDst, cchDst, fmt, (num)); \
|
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | rtProcInitExePath-solaris.cpp | 48 RTStrPrintf(szProcFile, sizeof(szProcFile), "/proc/%ld/path/a.out", (long)getpid());
|
H A D | RTSystemShutdown-solaris.cpp | 77 RTStrPrintf(szWhen, sizeof(szWhen), "%u", (unsigned)((cMsDelay + 499) / 1000));
|
/vbox/src/VBox/Runtime/common/string/ |
H A D | strprintf.cpp | 119 RTDECL(size_t) RTStrPrintf(char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...) function 128 RT_EXPORT_SYMBOL(RTStrPrintf); variable
|
/vbox/src/VBox/Debugger/ |
H A D | DBGPlugInOS2.cpp | 138 RTStrPrintf(pszOS2ProductType, sizeof(achOS2ProductType), "OS/2 1.%02d", pThis->OS2MinorVersion); 145 RTStrPrintf(pszOS2ProductType, sizeof(achOS2ProductType), "OS/2 2.%02d", pThis->OS2MinorVersion); 150 RTStrPrintf(pszOS2ProductType, sizeof(achOS2ProductType), "OS/2 Warp"); 155 RTStrPrintf(pszOS2ProductType, sizeof(achOS2ProductType), "OS/2 Warp 4"); 160 RTStrPrintf(pszOS2ProductType, sizeof(achOS2ProductType), "OS/2 Warp %d.%d", 165 RTStrPrintf(pszVersion, cchVersion, "%u.%u (%s)", pThis->OS2MajorVersion, pThis->OS2MinorVersion, pszOS2ProductType);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | RTSystemQueryOSInfo-win.cpp | 222 RTStrPrintf(szTmp, sizeof(szTmp), "Unknown NT v%u.%u", 229 RTStrPrintf(szTmp, sizeof(szTmp), "Unknown %d v%u.%u", 241 RTStrPrintf(szTmp, sizeof(szTmp), "%u.%u.%u", 255 RTStrPrintf(szTmp, sizeof(szTmp), "%u.%u", 258 RTStrPrintf(szTmp, sizeof(szTmp), "%u",
|
/vbox/src/VBox/Additions/x11/VBoxClient/ |
H A D | hostversion.cpp | 174 RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions update available!"); 176 RTStrPrintf(szMsg, sizeof(szMsg), "Your guest is currently running the Guest Additions version %s. " 182 RTStrPrintf(szMsg, sizeof(szMsg), "Your virtual machine is currently running the Guest Additions version %s. Since you are running a version of the Guest Additions provided by the operating system you installed in the virtual machine we recommend that you update it to at least version %s using that system's update features, or alternatively that you remove this version and then install the " VBOX_VENDOR_SHORT " Guest Additions package using the install option from the Devices menu. Please consult the documentation for the operating system you are running to find out how to update or remove the current Guest Additions package.", pszGuestVersion, pszHostVersion);
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFDisas.cpp | 559 RTStrPrintf(pszOutput, cbOutput, "Sel=%04x -> %Rrc\n", Sel, rc); 572 RTStrPrintf(pszOutput, cbOutput, "Disas -> %Rrc; %.*Rhxs\n", rc, (size_t)State.Cpu.cbCachedInstr, State.Cpu.abInstr); 574 RTStrPrintf(pszOutput, cbOutput, "Disas -> %Rrc\n", rc); 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(pszOutpu [all...] |
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | manifest2.cpp | 367 RTStrPrintf(pEquals->pszError, pEquals->cbError, 371 RTStrPrintf(pEquals->pszError, pEquals->cbError, "Attribute '%s' was not found in the 1st manifest", pAttr->szName); 407 RTStrPrintf(pEquals->pszError, pEquals->cbError, "'%s' was not found in the 1st manifest", pEntry->StrCore.pszString); 458 RTStrPrintf(pEquals->pszError, pEquals->cbError, 462 RTStrPrintf(pEquals->pszError, pEquals->cbError, "Attribute '%s' was not found in the 2nd manifest", pAttr1->szName); 476 RTStrPrintf(pEquals->pszError, pEquals->cbError, 480 RTStrPrintf(pEquals->pszError, pEquals->cbError, 557 RTStrPrintf(pEquals->pszError, pEquals->cbError, "'%s' not found in the 2nd manifest", pEntry1->StrCore.pszString); 1301 RTStrPrintf(pszErr, cbErr, "Error reading line #u: %Rrc", iLine, rc); 1306 RTStrPrintf(pszEr [all...] |
/vbox/src/VBox/GuestHost/DragAndDrop/ |
H A D | DnDDir.cpp | 36 if (RTStrPrintf(pszDropDir, cbDropDir, "%s", pszPath) <= 0)
|
/vbox/src/VBox/Runtime/VBox/ |
H A D | RTAssertShouldPanic-vbox.cpp | 112 size_t cch = RTStrPrintf(szCmd, sizeof(szCmd), "%s -p %d ", pszGdb, RTProcSelf());
|
/vbox/src/VBox/Runtime/common/err/ |
H A D | errmsg.cpp | 111 RTStrPrintf(&g_aszUnknownStr[iMsg][0], sizeof(g_aszUnknownStr[iMsg]), "Unknown Status %d (%#x)", rc, rc);
|
/vbox/src/VBox/Runtime/r0drv/os2/ |
H A D | assert-r0drv-os2.cpp | 69 g_cchRTAssertMsg = RTStrPrintf(g_szRTAssertMsg, sizeof(g_szRTAssertMsg),
|
/vbox/src/VBox/Runtime/common/zip/ |
H A D | tar.cpp | 512 RTStrPrintf(pRecord->h.size, sizeof(pRecord->h.size), "%0.11llo", cbSize); 544 size_t cb = RTStrPrintf(pRecord->h.name, sizeof(pRecord->h.name), "%s", pszSrcName); 547 RTStrPrintf(pRecord->h.mode, sizeof(pRecord->h.mode), "%0.7o", fmode); 548 RTStrPrintf(pRecord->h.uid, sizeof(pRecord->h.uid), "%0.7o", uid); 549 RTStrPrintf(pRecord->h.gid, sizeof(pRecord->h.gid), "%0.7o", gid); 551 RTStrPrintf(pRecord->h.mtime, sizeof(pRecord->h.mtime), "%0.11llo", mtime); 552 RTStrPrintf(pRecord->h.magic, sizeof(pRecord->h.magic), "ustar "); 553 RTStrPrintf(pRecord->h.uname, sizeof(pRecord->h.uname), "someone"); 554 RTStrPrintf(pRecord->h.gname, sizeof(pRecord->h.gname), "someone"); 563 RTStrPrintf(pRecor [all...] |
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceVMInfo.cpp | 287 if (RTStrPrintf(pszClientPath, sizeof(pszClientPath), 994 RTStrPrintf(szIp, sizeof(szIp), "%s", inet_ntoa(pAddress->sin_addr)); 995 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/V4/IP", cIfsReported); 999 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/V4/Broadcast", cIfsReported); 1003 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/V4/Netmask", cIfsReported); 1006 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/Status", cIfsReported); 1015 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/MAC", cIfsReported); 1019 RTStrPrintf(szMac, sizeof(szMac), "%02X%02X%02X%02X%02X%02X", 1066 RTStrPrintf(szPropPath, sizeof(szPropPath), "/VirtualBox/GuestInfo/Net/%RU32/V4/IP", cIfsReported); 1072 RTStrPrintf(szPropPat [all...] |