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()
235 return *this; in Clear()
253 Char GetChar(s32 i) const { return (*this)[i]; } in GetChar()
258 if (!this->IsValid() || !str.IsValid()) in AppendHead()
260 this->SetInvalid(); in AppendHead()
261 return *this; in AppendHead()
265 size_t totalSize = this->GetLength() + length; in AppendHead()
269 return *this; in AppendHead()
271 if (this->GetHeadIndex() < length) in AppendHead()
273 s32 originalLength = this->GetLength(); in AppendHead()
274 … std::memmove(m_Buffer + MaxLength - this->GetLength(), m_Data, sizeof(Char) * originalLength); in AppendHead()
283 SetLength(this->GetLength() + length); in AppendHead()
289 return *this; in AppendHead()
294 if (!this->IsValid()) in AppendHead()
296 return *this; in AppendHead()
298 s32 length = CalculateLength(s, MaxLength - this->GetLength()); in AppendHead()
302 return *this; in AppendHead()
304 if (this->GetHeadIndex() < length) in AppendHead()
306 s32 originalLength = this->GetLength(); in AppendHead()
307 size_t totalSize = this->GetLength() + length; in AppendHead()
308 … std::memmove(m_Buffer + MaxLength - this->GetLength(), m_Data, sizeof(Char) * originalLength); in AppendHead()
317 SetLength(this->GetLength() + length); in AppendHead()
323 return *this; in AppendHead()
329 if (!this->IsValid() || !s.IsValid()) in AppendTail()
331 this->SetInvalid(); in AppendTail()
332 return *this; in AppendTail()
338 Char* p = m_Data + this->GetLength(); in AppendTail()
339 SetLength(this->GetLength() + s.GetLength()); in AppendTail()
345 return *this; in AppendTail()
350 if (!this->IsValid()) in AppendTail()
352 return *this; in AppendTail()
358 CopyFrom(s, this->GetLength()); in AppendTail()
359 return *this; in AppendTail()
377 if (!this->IsValid()) in AppendTailAsHex()
379 return *this; in AppendTailAsHex()
385 Char* p = m_Data + this->GetLength(); in AppendTailAsHex()
386 SetLength(this->GetLength() + 8); in AppendTailAsHex()
397 return *this; in AppendTailAsHex()
403 if (!this->IsValid()) in AppendTail()
405 return *this; in AppendTail()
411 Char* p = m_Data + this->GetLength(); in AppendTail()
412 SetLength(this->GetLength() + size); in AppendTail()
421 return *this; in AppendTail()
432 if (!this->IsValid()) in EraseTail()
434 return *this; in EraseTail()
436 this->SetLength(this->GetLength() - length); in EraseTail()
437 return *this; in EraseTail()
442 if (!this->IsValid()) in EraseHead()
444 return *this; in EraseHead()
446 this->SetHead(this->GetHeadIndex() + length); in EraseHead()
447 this->SetLength(this->GetLength() - length); in EraseHead()
448 return *this; in EraseHead()
454 this->AppendTail(rhs);
455 return *this;
463 this->AppendTail(rhs);
464 return *this;
545 this->m_Buffer[i] = *s; in CopyFrom()
555 this->m_Buffer[0] = 0; in CopyFrom()
563 this->m_Buffer[0] = 0; in LightFixedLengthString()
578 std::memcpy(this->m_Buffer, s, size); in LightFixedLengthString()
581 this->m_Buffer[size] = 0; in LightFixedLengthString()
607 return *this;