Lines Matching defs:tBuf
121 void Buffer::SubBuffer(Buffer *tBuf, uint32_t start, uint32_t end)
123 if (tBuf == nullptr) {
127 this->Init(tBuf->GetRaw(), tBuf->byteOffset_ + start, (end - start));
130 uint32_t Buffer::Copy(Buffer *tBuf, uint32_t tStart, uint32_t sStart, uint32_t sEnd)
132 if (tBuf == nullptr) {
135 uint8_t *dest = tBuf->raw_ + tBuf->byteOffset_ + tStart;
136 uint32_t tLength = tBuf->length_ - tStart;
140 if (tBuf->raw_ == this->raw_) {
158 int Buffer::Compare(Buffer *tBuf, uint32_t targetStart, uint32_t sourceStart, uint32_t length)
160 if (tBuf == nullptr) {
163 uint8_t *dest = tBuf->GetRaw() + tBuf->byteOffset_ + targetStart;