Lines Matching refs:this
90 this->m_Length = -1; in SetInvalid()
91 this->m_Data[0] = 0; in SetInvalid()
92 this->m_Data = 0; in SetInvalid()
134 this->m_Data[i] = *s++;
149 this->m_Data = m_Buffer + index;
156 this->m_Length = length; in SetLength()
157 this->m_Data[length] = 0; in SetLength()
212 return *this; in Clear()
230 Char GetChar(s32 i) const { return (*this)[i]; } in GetChar()
235 if (!this->IsValid() || !s.IsValid()) in AppendHead()
237 this->SetInvalid(); in AppendHead()
238 return *this; in AppendHead()
240 if (this->GetHeadIndex() < s.GetLength()) in AppendHead()
242 s32 originalLength = this->GetLength(); in AppendHead()
243 SetLength(this->GetLength() + s.GetLength()); in AppendHead()
254 SetLength(this->GetLength() + s.GetLength()); in AppendHead()
260 return *this; in AppendHead()
265 if (!this->IsValid()) in AppendHead()
267 return *this; in AppendHead()
269 s32 length = CalculateLength(s, MaxLength - this->GetLength()); in AppendHead()
270 if (this->GetHeadIndex() < length) in AppendHead()
272 s32 originalLength = this->GetLength(); in AppendHead()
273 SetLength(this->GetLength() + length); in AppendHead()
284 SetLength(this->GetLength() + length); in AppendHead()
290 return *this; in AppendHead()
296 if (!this->IsValid() || !s.IsValid()) in AppendTail()
298 this->SetInvalid(); in AppendTail()
299 return *this; in AppendTail()
305 Char* p = m_Data + this->GetLength(); in AppendTail()
306 SetLength(this->GetLength() + s.GetLength()); in AppendTail()
312 return *this; in AppendTail()
317 if (!this->IsValid()) in AppendTail()
319 return *this; in AppendTail()
325 CopyFrom(s, this->GetLength()); in AppendTail()
326 return *this; in AppendTail()
344 if (!this->IsValid()) in AppendTailAsHex()
346 return *this; in AppendTailAsHex()
352 Char* p = m_Data + this->GetLength(); in AppendTailAsHex()
353 SetLength(this->GetLength() + 8); in AppendTailAsHex()
364 return *this; in AppendTailAsHex()
370 if (!this->IsValid()) in AppendTail()
372 return *this; in AppendTail()
378 Char* p = m_Data + this->GetLength(); in AppendTail()
379 SetLength(this->GetLength() + size); in AppendTail()
388 return *this; in AppendTail()
399 if (!this->IsValid()) in EraseTail()
401 return *this; in EraseTail()
403 this->SetLength(this->GetLength() - length); in EraseTail()
404 return *this; in EraseTail()
409 if (!this->IsValid()) in EraseHead()
411 return *this; in EraseHead()
413 this->SetHead(this->GetHeadIndex() + length); in EraseHead()
414 this->SetLength(this->GetLength() - length); in EraseHead()
415 return *this; in EraseHead()
421 this->AppendTail(rhs);
422 return *this;
430 this->AppendTail(rhs);
431 return *this;
512 this->m_Buffer[i] = *s; in CopyFrom()
522 this->m_Buffer[0] = 0; in CopyFrom()
530 this->m_Buffer[0] = 0; in LightFixedLengthString()
545 std::memcpy(this->m_Buffer, s, size); in LightFixedLengthString()
548 this->m_Buffer[size] = 0; in LightFixedLengthString()
574 return *this;