Lines Matching refs:bufsize
410 for bufsize in (0, 1, 100):
412 with self.open(support.TESTFN, "wb", bufsize) as f:
417 with self.open(support.TESTFN, "wb", bufsize) as f:
858 for bufsize, buf_read_sizes, raw_read_sizes in tests:
860 bufio = self.tp(rawio, buffer_size=bufsize)
949 bufsize = 16
950 for n in (2, bufsize - 1, bufsize, bufsize + 1, bufsize * 2):
952 bufio = self.tp(rawio, bufsize)
960 bufsize)
1968 for bufsize in range(1, 10):
1970 bufio = self.BufferedReader(self.BytesIO(data), bufsize)
2791 def _test_nonblock_pipe_write(self, bufsize):
2802 rf = self.open(r, mode='rb', closefd=True, buffering=bufsize)
2803 wf = self.open(w, mode='wb', closefd=True, buffering=bufsize)