Lines Matching refs:NumDigits
136 …GGER_RTT_PRINTF_DESC * pBufferDesc, unsigned v, unsigned Base, unsigned NumDigits, unsigned FieldW… in _PrintUnsigned() argument
154 if (NumDigits > Width) { in _PrintUnsigned()
155 Width = NumDigits; in _PrintUnsigned()
162 if (((FormatFlags & FORMAT_FLAG_PAD_ZERO) == FORMAT_FLAG_PAD_ZERO) && (NumDigits == 0u)) { in _PrintUnsigned()
183 …if (NumDigits > 1u) { // User specified a min number of digits to print? => Make sure we loo… in _PrintUnsigned()
184 NumDigits--; in _PrintUnsigned()
226 …nt(SEGGER_RTT_PRINTF_DESC * pBufferDesc, int v, unsigned Base, unsigned NumDigits, unsigned FieldW… in _PrintInt() argument
240 if (NumDigits > Width) { in _PrintInt()
241 Width = NumDigits; in _PrintInt()
250 …if ((((FormatFlags & FORMAT_FLAG_PAD_ZERO) == 0u) || (NumDigits != 0u)) && ((FormatFlags & FORMAT_… in _PrintInt()
277 …= FORMAT_FLAG_PAD_ZERO) && ((FormatFlags & FORMAT_FLAG_LEFT_JUSTIFY) == 0u) && (NumDigits == 0u)) { in _PrintInt()
292 _PrintUnsigned(pBufferDesc, (unsigned)v, Base, NumDigits, FieldWidth, FormatFlags); in _PrintInt()
325 unsigned NumDigits; in SEGGER_RTT_vprintf() local
374 NumDigits = 0u; in SEGGER_RTT_vprintf()
384 NumDigits = NumDigits * 10u + ((unsigned)c - '0'); in SEGGER_RTT_vprintf()
412 _PrintInt(&BufferDesc, v, 10u, NumDigits, FieldWidth, FormatFlags); in SEGGER_RTT_vprintf()
416 _PrintUnsigned(&BufferDesc, (unsigned)v, 10u, NumDigits, FieldWidth, FormatFlags); in SEGGER_RTT_vprintf()
421 _PrintUnsigned(&BufferDesc, (unsigned)v, 16u, NumDigits, FieldWidth, FormatFlags); in SEGGER_RTT_vprintf()