Lines Matching refs:FormatFlags
136 …erDesc, unsigned v, unsigned Base, unsigned NumDigits, unsigned FieldWidth, unsigned FormatFlags) { in _PrintUnsigned() argument
160 if ((FormatFlags & FORMAT_FLAG_LEFT_JUSTIFY) == 0u) { in _PrintUnsigned()
162 if (((FormatFlags & FORMAT_FLAG_PAD_ZERO) == FORMAT_FLAG_PAD_ZERO) && (NumDigits == 0u)) { in _PrintUnsigned()
208 if ((FormatFlags & FORMAT_FLAG_LEFT_JUSTIFY) == FORMAT_FLAG_LEFT_JUSTIFY) { in _PrintUnsigned()
226 …pBufferDesc, int v, unsigned Base, unsigned NumDigits, unsigned FieldWidth, unsigned FormatFlags) { in _PrintInt() argument
243 …if ((FieldWidth > 0u) && ((v < 0) || ((FormatFlags & FORMAT_FLAG_PRINT_SIGN) == FORMAT_FLAG_PRINT_… in _PrintInt()
250 …if ((((FormatFlags & FORMAT_FLAG_PAD_ZERO) == 0u) || (NumDigits != 0u)) && ((FormatFlags & FORMAT_… in _PrintInt()
268 } else if ((FormatFlags & FORMAT_FLAG_PRINT_SIGN) == FORMAT_FLAG_PRINT_SIGN) { in _PrintInt()
277 …if (((FormatFlags & FORMAT_FLAG_PAD_ZERO) == FORMAT_FLAG_PAD_ZERO) && ((FormatFlags & FORMAT_FLAG_… in _PrintInt()
292 _PrintUnsigned(pBufferDesc, (unsigned)v, Base, NumDigits, FieldWidth, FormatFlags); in _PrintInt()
326 unsigned FormatFlags; in SEGGER_RTT_vprintf() local
346 FormatFlags = 0u; in SEGGER_RTT_vprintf()
351 case '-': FormatFlags |= FORMAT_FLAG_LEFT_JUSTIFY; sFormat++; break; in SEGGER_RTT_vprintf()
352 case '0': FormatFlags |= FORMAT_FLAG_PAD_ZERO; sFormat++; break; in SEGGER_RTT_vprintf()
353 case '+': FormatFlags |= FORMAT_FLAG_PRINT_SIGN; sFormat++; break; in SEGGER_RTT_vprintf()
354 case '#': FormatFlags |= FORMAT_FLAG_ALTERNATE; sFormat++; break; 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()