Lines Matching defs:Buffer
26 class Buffer {
28 Buffer(int width, int height, int top_padding, int left_padding,
36 Buffer(int width, int height, int padding)
43 ~Buffer() { delete[] raw_buffer_; }
55 // Copy the contents of Buffer 'a' (excluding padding).
56 void CopyFrom(const Buffer<T> &a);
61 void PrintDifference(const Buffer<T> &a) const;
76 bool CheckValues(const Buffer<T> &a) const;
93 bool BufferSizesMatch(const Buffer<T> &a) const;
108 T *Buffer<T>::TopLeftPixel() const {
113 void Buffer<T>::Set(const int value) {
124 void Buffer<T>::Set(ACMRandom *rand_class, T (ACMRandom::*rand_func)()) {
135 void Buffer<T>::CopyFrom(const Buffer<T> &a) {
152 void Buffer<T>::DumpBuffer() const {
163 bool Buffer<T>::HasPadding() const {
168 void Buffer<T>::PrintDifference(const Buffer<T> &a) const {
209 void Buffer<T>::SetPadding(const int padding_value) {
219 bool Buffer<T>::CheckValues(const int value) const {
233 bool Buffer<T>::CheckPadding() const {
280 bool Buffer<T>::CheckValues(const Buffer<T> &a) const {
300 bool Buffer<T>::BufferSizesMatch(const Buffer<T> &a) const {