Searched refs:cchPrecision (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A Dstrformatnum.cpp40 signed int cchWidth, signed int cchPrecision, uint32_t fFlags)
47 cchRet = RTStrFormatNumber(pszBuf, u8Value, uiBase, cchWidth, cchPrecision, fFlags);
51 cchRet = RTStrFormatNumber(szTmp, u8Value, uiBase, cchWidth, cchPrecision, fFlags);
69 signed int cchWidth, signed int cchPrecision, uint32_t fFlags)
76 cchRet = RTStrFormatNumber(pszBuf, u16Value, uiBase, cchWidth, cchPrecision, fFlags);
80 cchRet = RTStrFormatNumber(szTmp, u16Value, uiBase, cchWidth, cchPrecision, fFlags);
98 signed int cchWidth, signed int cchPrecision, uint32_t fFlags)
105 cchRet = RTStrFormatNumber(pszBuf, u32Value, uiBase, cchWidth, cchPrecision, fFlags);
109 cchRet = RTStrFormatNumber(szTmp, u32Value, uiBase, cchWidth, cchPrecision, fFlags);
127 signed int cchWidth, signed int cchPrecision, uint32_
39 RTStrFormatU8(char *pszBuf, size_t cbBuf, uint8_t u8Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
68 RTStrFormatU16(char *pszBuf, size_t cbBuf, uint16_t u16Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
97 RTStrFormatU32(char *pszBuf, size_t cbBuf, uint32_t u32Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
126 RTStrFormatU64(char *pszBuf, size_t cbBuf, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
155 RTStrFormatU128(char *pszBuf, size_t cbBuf, PCRTUINT128U pu128, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
174 RTStrFormatR80u2(char *pszBuf, size_t cbBuf, PCRTFLOAT80U2 pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
244 RTStrFormatR80(char *pszBuf, size_t cbBuf, PCRTFLOAT80U pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument
[all...]
H A Dstrformat.cpp71 static int rtStrFormatNumber(char *psz, KSIZE64 ullValue, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags);
147 * @param cchPrecision Precision.
150 RTDECL(int) RTStrFormatNumber(char *psz, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, argument
153 return rtStrFormatNumber(psz, *(KSIZE64 *)(void *)&u64Value, uiBase, cchWidth, cchPrecision, fFlags);
167 * @param cchPrecision Precision.
170 static int rtStrFormatNumber(char *psz, KSIZE64 ullValue, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, argument
263 cchPrecision--;
278 while (--cchPrecision >= cchValue)
388 int cchPrecision = -1; local
436 for (cchPrecision
[all...]
H A Dstrformatrt.cpp225 * @param cchPrecision Format Precision. -1 if not specified.
230 int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize)
477 cch = RTStrFormatNumber(szBuf, u.u64, s_aTypes[i].u8Base, cchWidth, cchPrecision, fFlags);
490 cch = RTStrFormatNumber(szBuf, u.u64, s_aTypes[i].u8Base, cchWidth, cchPrecision, fFlags);
753 if (cchPrecision < 0)
754 cchPrecision = 16;
770 while (off < cchPrecision)
774 for (i = 0; i < cchWidth && off + i < cchPrecision ; i++)
776 off + i < cchPrecision ? !(i & 7) && i ? "-%02x" : " %02x" : " ", pu8[i]);
782 for (i = 0; i < cchWidth && off + i < cchPrecision;
229 rtstrFormatRt(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize) argument
[all...]
H A Dstrformattype.cpp414 * @param cchPrecision Format Precision. -1 if not specified.
419 va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize)
463 cch = pfnHandler(pfnOutput, pvArgOutput, g_aTypes[i].szType, pvValue, cchWidth, cchPrecision, fFlags, pvUser);
/vbox/src/VBox/Runtime/common/log/
H A Dlogformat.cpp50 va_list *pArgs, int cchWidth, int cchPrecision,
84 * @param cchPrecision Format Precision. -1 if not specified.
90 int cchPrecision, unsigned fFlags, char chArgSize)
97 NOREF(cchPrecision); NOREF(fFlags); NOREF(chArgSize);
88 rtlogFormatStr(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize) argument
H A Dlog.cpp443 * @param cchPrecision Format Precision. -1 if not specified.
449 int cchPrecision, unsigned fFlags, char chArgSize)
447 rtlogPhaseFormatStr(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize) argument
/vbox/src/VBox/Runtime/include/internal/
H A Dstring.h51 int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize);
53 int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize);
/vbox/src/VBox/Devices/Network/slirp/
H A Ddebug.c282 int cchWidth, int cchPrecision, unsigned fFlags,
290 NOREF(cchPrecision);
355 int cchWidth, int cchPrecision, unsigned fFlags,
363 NOREF(cchPrecision);
394 int cchWidth, int cchPrecision, unsigned fFlags,
400 NOREF(cchPrecision);
422 int cchWidth, int cchPrecision, unsigned fFlags,
428 NOREF(cchPrecision);
443 int cchWidth, int cchPrecision, unsigned fFlags,
450 NOREF(cchPrecision);
[all...]
/vbox/src/VBox/Devices/USB/testcase/
H A DtstTrekStorGo.c79 int cchPrecision = 16; local
85 for (i = 0; i < cchPrecision && off + i < cb; i++)
87 while (i++ < cchPrecision)
90 for (i = 0; i < cchPrecision && off + i < cb; i++)
97 pb += cchPrecision;
98 off += cchPrecision;
H A DtstPalmOne.c79 int cchPrecision = 16; local
85 for (i = 0; i < cchPrecision && off + i < cb; i++)
87 while (i++ < cchPrecision)
90 for (i = 0; i < cchPrecision && off + i < cb; i++)
97 pb += cchPrecision;
98 off += cchPrecision;
/vbox/src/VBox/Debugger/
H A DDBGCCmdHlp.cpp101 * @param cchPrecision Format Precision. -1 if not specified.
107 int cchPrecision, unsigned fFlags, char chArgSize)
109 NOREF(cchWidth); NOREF(cchPrecision); NOREF(fFlags); NOREF(chArgSize); NOREF(pvArg);
105 dbgcStringFormatter(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize) argument
/vbox/include/iprt/
H A Dstring.h1703 * @param cchPrecision Format Precision. -1 if not specified.
1709 int cchPrecision, unsigned fFlags, char chArgSize);
1756 * @param cchPrecision Precision.
1759 RTDECL(int) RTStrFormatNumber(char *psz, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags);
1770 * @param cchPrecision Precision.
1774 signed int cchWidth, signed int cchPrecision, uint32_t fFlags);
1785 * @param cchPrecision Precision.
1789 signed int cchWidth, signed int cchPrecision, uint32_t fFlags);
1800 * @param cchPrecision Precision.
1804 signed int cchWidth, signed int cchPrecision, uint32_
1427 AssertReturn(CodePoint < 0x100, NULL); *psz++ = (unsigned char)CodePoint; return psz; } DECLINLINE(char *) RTLatin1NextCp(const char *psz) { psz++; return (char *)psz; } DECLINLINE(char *) RTLatin1PrevCp(const char *psz) { psz--; return (char *)psz; } typedef DECLCALLBACK(size_t) FNRTSTROUTPUT(void *pvArg, const char *pachChars, size_t cbChars); typedef FNRTSTROUTPUT *PFNRTSTROUTPUT; typedef DECLCALLBACK(size_t) FNSTRFORMAT(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); typedef FNSTRFORMAT *PFNSTRFORMAT; RTDECL(size_t) RTStrFormatV(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, PFNSTRFORMAT pfnFormat, void *pvArgFormat, const char *pszFormat, va_list InArgs); RTDECL(size_t) RTStrFormat(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, PFNSTRFORMAT pfnFormat, void *pvArgFormat, const char *pszFormat, ...); RTDECL(int) RTStrFormatNumber(char *psz, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags); RTDECL(ssize_t) RTStrFormatU8(char *pszBuf, size_t cbBuf, uint8_t u8Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU16(char *pszBuf, size_t cbBuf, uint16_t u16Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU32(char *pszBuf, size_t cbBuf, uint32_t u32Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU64(char *pszBuf, size_t cbBuf, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU128(char *pszBuf, size_t cbBuf, PCRTUINT128U pu128Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatR80(char *pszBuf, size_t cbBuf, PCRTFLOAT80U pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatR80u2(char *pszBuf, size_t cbBuf, PCRTFLOAT80U2 pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); typedef DECLCALLBACK(size_t) FNRTSTRFORMATTYPE(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser); typedef FNRTSTRFORMATTYPE *PFNRTSTRFORMATTYPE; RTDECL(int) RTStrFormatTypeRegister(const char *pszType, PFNRTSTRFORMATTYPE pfnHandler, void *pvUser); RTDECL(int) RTStrFormatTypeDeregister(const char *pszType); RTDECL(int) RTStrFormatTypeSetUser(const char *pszType, void *pvUser); RTDECL(size_t) RTStrPrintfV(char *pszBuffer, size_t cchBuffer, const char *pszFormat, va_list args); RTDECL(size_t) RTStrPrintf(char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...); RTDECL(size_t) RTStrPrintfExV(PFNSTRFORMAT pfnFormat, void *pvArg, char *pszBuffer, size_t cchBuffer, const char *pszFormat, va_list args); RTDECL(size_t) RTStrPrintfEx(PFNSTRFORMAT pfnFormat, void *pvArg, char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...); RTDECL(int) RTStrAPrintfVTag(char **ppszBuffer, const char *pszFormat, va_list args, const char *pszTag); DECLINLINE(int) RTStrAPrintf(char **ppszBuffer, const char *pszFormat, ...) { int cbRet; va_list va; va_start(va, pszFormat); cbRet = RTStrAPrintfVTag(ppszBuffer, pszFormat, va, RTSTR_TAG); va_end(va); return cbRet; } DECLINLINE(int) RTStrAPrintfTag(char **ppszBuffer, const char *pszTag, const char *pszFormat, ...) { int cbRet; va_list va; va_start(va, pszFormat); cbRet = RTStrAPrintfVTag(ppszBuffer, pszFormat, va, pszTag); va_end(va); return cbRet; } RTDECL(char *) RTStrAPrintf2VTag(const char *pszFormat, va_list args, const char *pszTag); DECLINLINE(char *) RTStrAPrintf2(const char *pszFormat, ...) { char *pszRet; va_list va; va_start(va, pszFormat); pszRet = RTStrAPrintf2VTag(pszFormat, va, RTSTR_TAG); va_end(va); return pszRet; } DECLINLINE(char *) RTStrAPrintf2Tag(const char *pszTag, const char *pszFormat, ...) { char *pszRet; va_list va; va_start(va, pszFormat); pszRet = RTStrAPrintf2VTag(pszFormat, va, pszTag); va_end(va); return pszRet; } RTDECL(char *) RTStrStrip(char *psz); RTDECL(char *) RTStrStripL(const char *psz); RTDECL(char *) RTStrStripR(char *psz); RTDECL(int) RTStrCopy(char *pszDst, size_t cbDst, const char *pszSrc); RTDECL(int) RTStrCopyEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCopyP(char **ppszDst, size_t *pcbDst, const char *pszSrc); RTDECL(int) RTStrCopyPEx(char **ppszDst, size_t *pcbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCat(char *pszDst, size_t cbDst, const char *pszSrc); RTDECL(int) RTStrCatEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCatP(char **ppszDst, size_t *pcbDst, const char *pszSrc); RTDECL(int) RTStrCatPEx(char **ppszDst, size_t *pcbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCmp(const char *psz1, const char *psz2); RTDECL(int) RTStrNCmp(const char *psz1, const char *psz2, size_t cchMax); RTDECL(int) RTStrICmp(const char *psz1, const char *psz2); RTDECL(int) RTStrNICmp(const char *psz1, const char *psz2, size_t cchMax); RTDECL(char *) RTStrStr(const char *pszHaystack, const char *pszNeedle); RTDECL(char *) RTStrIStr(const char *pszHaystack, const char *pszNeedle); RTDECL(char *) RTStrToLower(char *psz); RTDECL(char *) RTStrToUpper(char *psz); RTDECL(bool) RTStrIsCaseFoldable(const char *psz); RTDECL(bool) RTStrIsUpperCased(const char *psz); RTDECL(bool) RTStrIsLowerCased(const char *psz); RTDECL(size_t) RTStrNLen(const char *pszString, size_t cchMax); RTDECL(int) RTStrNLenEx(const char *pszString, size_t cchMax, size_t *pcch); RT_C_DECLS_END DECLINLINE(char const *) RTStrEnd(char const *pszString, size_t cchMax) { while (cchMax > RTSTR_MEMCHR_MAX) argument
[all...]
/vbox/src/VBox/NetworkServices/NAT/
H A Dproxy.c133 int cchWidth, int cchPrecision, unsigned int fFlags,
143 NOREF(cchPrecision);
169 int cchWidth, int cchPrecision, unsigned int fFlags,
176 NOREF(cchPrecision);
H A Dpxping.c778 int cchWidth, int cchPrecision, unsigned int fFlags,
785 NOREF(cchPrecision);
/vbox/src/VBox/VMM/VMMAll/
H A DVMMAll.cpp71 int cchWidth, int cchPrecision, unsigned fFlags,
74 NOREF(pszType); NOREF(cchWidth); NOREF(cchPrecision); NOREF(fFlags);
69 vmmFormatTypeVmCpuSet(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser) argument
H A DPGMAll.cpp2602 int cchWidth, int cchPrecision, unsigned fFlags,
2617 #define IS_PART_INCLUDED(lvl) ( !(fFlags & RTSTR_F_PRECISION) || cchPrecision == (lvl) || cchPrecision >= (lvl)+10 )
2670 int cchWidth, int cchPrecision, unsigned fFlags,
2683 NOREF(pszType); NOREF(cchWidth); NOREF(cchPrecision); NOREF(pvUser); NOREF(fFlags);
2600 pgmFormatTypeHandlerPage(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser) argument
2668 pgmFormatTypeHandlerRamRange(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser) argument
/vbox/src/VBox/VMM/VMMR3/
H A DDBGFReg.cpp2130 unsigned uBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags)
2135 return RTStrFormatU8(pszTmp, cbTmp, pValue->u8, uBase, cchWidth, cchPrecision, fFlags);
2137 return RTStrFormatU16(pszTmp, cbTmp, pValue->u16, uBase, cchWidth, cchPrecision, fFlags);
2139 return RTStrFormatU32(pszTmp, cbTmp, pValue->u32, uBase, cchWidth, cchPrecision, fFlags);
2141 return RTStrFormatU64(pszTmp, cbTmp, pValue->u64, uBase, cchWidth, cchPrecision, fFlags);
2143 return RTStrFormatU128(pszTmp, cbTmp, &pValue->u128, uBase, cchWidth, cchPrecision, fFlags);
2145 return RTStrFormatR80u2(pszTmp, cbTmp, &pValue->r80Ex, cchWidth, cchPrecision, fFlags);
2180 * @param cchPrecision The width if RTSTR_F_PRECISION is set, otherwise
2185 unsigned uBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags)
2191 ssize_t cchOutput = dbgfR3RegFormatValueInt(szTmp, sizeof(szTmp), pValue, enmType, uBase, cchWidth, cchPrecision, fFlag
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTStrFormat.cpp42 int cchWidth, int cchPrecision, unsigned fFlags,
57 size_t cchNum = RTStrFormatNumber(szNum, (uintptr_t)pvValue, 10, cchWidth, cchPrecision, fFlags);
40 TstType(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser) argument
/vbox/src/VBox/Devices/Audio/
H A DDevIchHda.cpp3271 int cchWidth, int cchPrecision, unsigned fFlags,
3294 int cchWidth, int cchPrecision, unsigned fFlags,
3320 int cchWidth, int cchPrecision, unsigned fFlags,
3341 int cchWidth, int cchPrecision, unsigned fFlags,
/vbox/include/VBox/vmm/
H A Ddbgf.h1324 unsigned uBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags);
/vbox/src/VBox/Devices/Network/
H A DDevE1000.cpp6835 int cchPrecision,
6873 int cchPrecision,

Completed in 141 milliseconds