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++;
246 const Char& operator[](s32 i) const
249 CheckIndex(i);
250 return m_Data[i];
253 Char GetChar(s32 i) const { return (*this)[i]; } in GetChar() argument
365 for (s32 i = 0; i < 8; ++i) in AppendHeadAsHex() local
367 bit32 n = (x >> ((7 - i) * 4)) & 0xf; in AppendHeadAsHex()
369 hex[i] = static_cast<Char>(n < 10 ? '0' + n : 'a' + (n - 10)); in AppendHeadAsHex()
389 for (s32 i = 0; i < 8; ++i) in AppendTailAsHex() local
391 bit32 n = (x >> ((7 - i) * 4)) & 0xf; in AppendTailAsHex()
393 p[i] = static_cast<Char>(n < 10 ? '0' + n : 'a' + (n - 10)); in AppendTailAsHex()
415 for (s32 i = 0; i < size; ++i) in AppendTail() local
417 p[i] = s[i]; in AppendTail()
543 for (size_t i = 0; i < MaxLength; ++i) in CopyFrom() local
545 this->m_Buffer[i] = *s; in CopyFrom()
587 size_t i = 0; in GetLength() local
588 for (; i < MaxLength; ++i) in GetLength()
590 if (!m_Buffer[i]) in GetLength()
595 return i; in GetLength()
598 Char operator[](size_t i) const
600 NN_TASSERT_(i < MaxLength);
601 return m_Buffer[i];