Searched refs:GetBufPtr (Results 1 – 2 of 2) sorted by relevance
44 char* buffer = reinterpret_cast<char*>(GetBufPtr()); in GetPayloadBuffer()63 char* buf = reinterpret_cast<char*>(GetBufPtr()); in GetHeaderPtr()69 char* buffer = reinterpret_cast<char*>(GetBufPtr()); in GetPayloadBufPtr()247 char* buffer = reinterpret_cast<char*>(bufsink_.GetBufPtr()); in ReadUnalignedSector()614 if (!android::base::ReadFully(ctrl_fd_, bufsink_.GetBufPtr(), sizeof(struct dm_user_header))) { in ReadDmUserHeader()631 buf = bufsink_.GetBufPtr(); in WriteDmUserPayload()
94 void* GetBufPtr() { return buffer_.get(); } in GetBufPtr() function95 void Clear() { memset(GetBufPtr(), 0, buffer_size_); } in Clear()