Lines Matching refs:testbuf
96 ($fname:ident, testbuf $testbuf:ident $readlens:expr, $method:ident $(,$arg:expr)*) => (
100 $testbuf::new(&[1u8; 8+0], $readlens, 0),
101 $testbuf::new(&[1u8; 8+1], $readlens, 1),
102 $testbuf::new(&[1u8; 8+2], $readlens, 2),
103 $testbuf::new(&[1u8; 8+3], $readlens, 3),
104 $testbuf::new(&[1u8; 8+4], $readlens, 4),
105 $testbuf::new(&[1u8; 8+5], $readlens, 5),
106 $testbuf::new(&[1u8; 8+6], $readlens, 6),
107 $testbuf::new(&[1u8; 8+7], $readlens, 7),
150 bench!(tbuf_1, testbuf TestBuf &[], $method $(,$arg)*);
151 bench!(tbuf_1_costly, testbuf TestBufC &[], $method $(,$arg)*);
152 bench!(tbuf_2, testbuf TestBuf &[1], $method $(,$arg)*);
153 bench!(tbuf_2_costly, testbuf TestBufC &[1], $method $(,$arg)*);