Lines Matching refs:_buffer
418 SingleBufferBandwidthBenchmark() : BandwidthBenchmark(), _buffer(NULL) { }
420 if (_buffer) {
421 free(_buffer);
422 _buffer = NULL;
427 if (_buffer) {
428 free(_buffer);
429 _buffer = NULL;
438 _buffer = reinterpret_cast<char*>(memalign(64, _size));
439 if (!_buffer) {
443 memset(_buffer, 0, _size);
451 char *_buffer;
462 memset(_buffer, 0, _size);
465 if (_buffer[i] != 1) {
471 memset(_buffer, 0, _size);
474 if (_buffer[i] != 2) {
524 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
569 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
613 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
662 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
707 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
722 memset(_buffer, (i % 255) + 1, _size);
761 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
795 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
832 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
874 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");
913 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2");