Lines Matching refs:i
100 void CheckIndex(s32 i) const in CheckIndex() argument
102 NN_UNUSED_VAR(i); in CheckIndex()
103 NN_TASSERT_(0 <= i && i <= m_Length); in CheckIndex()
114 for (s32 i = 0; i < maxLength + 1; ++i) in CalculateLength() local
116 if (!s[i]) in CalculateLength()
118 return i; in CalculateLength()
125 void CopyFrom(const T* s, s32 i = 0)
127 for (; i < MaxLength + 1; ++i)
131 SetLength(i);
134 this->m_Data[i] = *s++;
223 const Char& operator[](s32 i) const
226 CheckIndex(i);
227 return m_Data[i];
230 Char GetChar(s32 i) const { return (*this)[i]; } in GetChar() argument
343 for (s32 i = 0; i < 8; ++i) in AppendTailAsHex() local
345 bit32 n = (x >> ((7 - i) * 4)) & 0xf; in AppendTailAsHex()
347 p[i] = static_cast<Char>(n < 10 ? '0' + n : 'a' + (n - 10)); in AppendTailAsHex()
369 for (s32 i = 0; i < size; ++i) in AppendTail() local
371 p[i] = s[i]; in AppendTail()
497 for (size_t i = 0; i < MaxLength; ++i) in CopyFrom() local
499 this->m_Buffer[i] = *s; in CopyFrom()
541 size_t i = 0; in GetLength() local
542 for (; i < MaxLength; ++i) in GetLength()
544 if (!m_Buffer[i]) in GetLength()
549 return i; in GetLength()
552 Char operator[](size_t i) const
554 NN_TASSERT_(i < MaxLength);
555 return m_Buffer[i];