Lines Matching refs:bufsize
421 for bufsize in (0, 1, 100):
423 with self.open(support.TESTFN, "wb", bufsize) as f:
428 with self.open(support.TESTFN, "wb", bufsize) as f:
940 for bufsize, buf_read_sizes, raw_read_sizes in tests:
942 bufio = self.tp(rawio, buffer_size=bufsize)
1028 bufsize = 16
1029 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2):
1031 bufio = self.tp(rawio, bufsize)
1039 bufio = self.tp(rawio, bufsize)
2159 for bufsize in range(1, 10):
2161 bufio = self.BufferedReader(self.BytesIO(data), bufsize)
3010 def _test_nonblock_pipe_write(self, bufsize):
3021 rf = self.open(r, mode='rb', closefd=True, buffering=bufsize)
3022 wf = self.open(w, mode='wb', closefd=True, buffering=bufsize)