Lines Matching refs:cchPrecision
71 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,
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,
263 cchPrecision--;
278 while (--cchPrecision >= cchValue)
388 int cchPrecision = -1;
436 for (cchPrecision = 0; ISDIGIT(*pszFormat); pszFormat++)
438 cchPrecision *= 10;
439 cchPrecision += *pszFormat - '0';
446 cchPrecision = va_arg(args, int);
448 if (cchPrecision < 0)
449 cchPrecision = 0;
550 cchStr = _strnlenUtf16(pwszStr, (unsigned)cchPrecision);
583 cchStr = _strnlenUni(puszStr, (unsigned)cchPrecision);
611 cchStr = _strnlen(pszStr, (unsigned)cchPrecision);
756 cchNum = RTStrFormatNumber((char *)SSToDS(&achNum), u64Value, uBase, cchWidth, cchPrecision, fFlags);
791 cch += rtstrFormatRt(pfnOutput, pvArgOutput, &pszFormat, &args, cchWidth, cchPrecision, fFlags, chArgSize);
796 cch += rtstrFormatType(pfnOutput, pvArgOutput, &pszFormat, &args, cchWidth, cchPrecision, fFlags, chArgSize);
809 cch += pfnFormat(pvArgFormat, pfnOutput, pvArgOutput, &pszFormat, &args, cchWidth, cchPrecision, fFlags, chArgSize);