Lines Matching refs:Cnt
87 unsigned Cnt; member
112 unsigned Cnt; in _StoreChar() local
114 Cnt = p->Cnt; in _StoreChar()
115 if ((Cnt + 1u) <= p->BufferSize) { in _StoreChar()
116 *(p->pBuffer + Cnt) = c; in _StoreChar()
117 p->Cnt = Cnt + 1u; in _StoreChar()
123 if (p->Cnt == p->BufferSize) { in _StoreChar()
124 if (SEGGER_RTT_Write(p->RTTBufferIndex, p->pBuffer, p->Cnt) != p->Cnt) { in _StoreChar()
127 p->Cnt = 0u; in _StoreChar()
332 BufferDesc.Cnt = 0u; in SEGGER_RTT_vprintf()
456 if (BufferDesc.Cnt != 0u) { in SEGGER_RTT_vprintf()
457 SEGGER_RTT_Write(BufferIndex, acBuffer, BufferDesc.Cnt); in SEGGER_RTT_vprintf()
459 BufferDesc.ReturnValue += (int)BufferDesc.Cnt; in SEGGER_RTT_vprintf()