/external/python/cpython3/Lib/test/ |
D | test_winconsoleio.py | 97 f = open('C:/con', 'rb', buffering=0) 104 f = open(r'\\.\conin$', 'rb', buffering=0) 108 f = open('//?/conout$', 'wb', buffering=0) 118 with open(conout_path, 'wb', buffering=0) as f: 158 with open('CONIN$', 'rb', buffering=0) as stdin: 175 with open('CONIN$', 'rb', buffering=0) as stdin: 186 with open('CONIN$', 'rb', buffering=0) as stdin:
|
D | test_popen.py | 61 with os.popen(cmd="exit 0", mode="w", buffering=-1):
|
D | test_io.py | 399 with self.open(support.TESTFN, "wb", buffering=0) as fp: 402 with self.open(support.TESTFN, "rb", buffering=0) as fp: 529 with self.open(support.TESTFN, "wb", buffering=0) as f: 534 with self.open(support.TESTFN, "rb", buffering=0) as f: 622 with self.open(support.TESTFN, "ab", buffering=0) as f: 765 with self.open(zero, "rb", buffering=0) as f: 790 self.check_flush_error_on_close(support.TESTFN, 'wb', buffering=0) 792 self.check_flush_error_on_close(fd, 'wb', buffering=0) 794 self.check_flush_error_on_close(fd, 'wb', buffering=0, closefd=False) 812 f = self.open(support.TESTFN, "wb", buffering=0) [all …]
|
/external/curl/docs/cmdline-opts/ |
D | no-buffer.d | 3 Help: Disable buffering of the output stream 5 Disables the buffering of the output stream. In normal work situations, curl 8 Using this option will disable that buffering. 11 --buffer to enforce the buffering.
|
/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 134 int buffering, const char *encoding, const char *errors, 145 int buffering = -1; in _io_open() local 153 &file, &mode, &buffering, &encoding, &errors, &newline, &closefd, &opener)) { in _io_open() 156 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
|
/external/python/cpython2/Modules/_io/ |
D | _iomodule.c | 295 int buffering = -1, closefd = 1; in io_open() local 309 &file, &mode, &buffering, in io_open() 436 if (buffering == 1 || (buffering < 0 && isatty)) { in io_open() 437 buffering = -1; in io_open() 443 if (buffering < 0) { in io_open() 444 buffering = DEFAULT_BUFFER_SIZE; in io_open() 459 buffering = st.st_blksize; in io_open() 463 if (buffering < 0) { in io_open() 470 if (buffering == 0) { in io_open() 497 buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering); in io_open()
|
/external/python/cpython3/Modules/_io/ |
D | _iomodule.c | 233 int buffering, const char *encoding, const char *errors, in _io_open_impl() argument 401 if (buffering == 1 || (buffering < 0 && isatty)) { in _io_open_impl() 402 buffering = -1; in _io_open_impl() 408 if (buffering < 0) { in _io_open_impl() 413 buffering = PyLong_AsLong(blksize_obj); in _io_open_impl() 415 if (buffering == -1 && PyErr_Occurred()) in _io_open_impl() 418 if (buffering < 0) { in _io_open_impl() 425 if (buffering == 0) { in _io_open_impl() 452 buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering); in _io_open_impl()
|
/external/yapf/yapftests/ |
D | utils.py | 46 buffering=-1, argument 65 buffering=buffering,
|
/external/python/cpython3/Lib/ |
D | tempfile.py | 520 def NamedTemporaryFile(mode='w+b', buffering=-1, encoding=None, argument 549 file = _io.open(fd, mode, buffering=buffering, 569 def TemporaryFile(mode='w+b', buffering=-1, encoding=None, argument 611 return _io.open(fd, mode, buffering=buffering, 621 return _io.open(fd, mode, buffering=buffering, 634 def __init__(self, max_size=0, mode='w+b', buffering=-1, argument 646 self._TemporaryFileArgs = {'mode': mode, 'buffering': buffering,
|
D | socket.py | 221 def makefile(self, mode="r", buffering=None, *, argument 242 if buffering is None: 243 buffering = -1 244 if buffering < 0: 245 buffering = io.DEFAULT_BUFFER_SIZE 246 if buffering == 0: 251 buffer = io.BufferedRWPair(raw, raw, buffering) 253 buffer = io.BufferedReader(raw, buffering) 256 buffer = io.BufferedWriter(raw, buffering)
|
D | _pyio.py | 37 def open(file, mode="r", buffering=-1, encoding=None, errors=None, argument 166 if not isinstance(buffering, int): 167 raise TypeError("invalid buffering: %r" % buffering) 211 if buffering == 1 or buffering < 0 and raw.isatty(): 212 buffering = -1 214 if buffering < 0: 215 buffering = DEFAULT_BUFFER_SIZE 222 buffering = bs 223 if buffering < 0: 225 if buffering == 0: [all …]
|
D | os.py | 977 def popen(cmd, mode="r", buffering=-1): argument 982 if buffering == 0 or buffering is None: 989 bufsize=buffering) 995 bufsize=buffering)
|
D | bz2.py | 39 def __init__(self, filename, mode="r", buffering=None, compresslevel=9): argument 66 if buffering is not None:
|
/external/python/cpython2/Lib/ |
D | _pyio.py | 44 def open(file, mode="r", buffering=-1, argument 159 if not isinstance(buffering, (int, long)): 160 raise TypeError("invalid buffering: %r" % buffering) 199 if buffering == 1 or buffering < 0 and raw.isatty(): 200 buffering = -1 202 if buffering < 0: 203 buffering = DEFAULT_BUFFER_SIZE 210 buffering = bs 211 if buffering < 0: 213 if buffering == 0: [all …]
|
D | httplib.py | 364 def __init__(self, sock, debuglevel=0, strict=0, method=None, buffering=False): argument 365 if buffering: 1084 def getresponse(self, buffering=False): argument 1114 if buffering: 1186 def getreply(self, buffering=False): argument 1195 if not buffering: 1200 response = self._conn.getresponse(buffering)
|
/external/grpc-grpc/doc/cpp/ |
D | perf_notes.md | 3 ## Streaming write buffering 19 GRPC_ARG_HTTP2_WRITE_BUFFER_SIZE) - this prevents infinite buffering leading
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | initial_delay_manager_unittest.cc | 87 EXPECT_TRUE(manager_->buffering()); in TEST_F() 90 EXPECT_FALSE(manager_->buffering()); in TEST_F() 358 EXPECT_TRUE(manager_->buffering()); in TEST_F() 371 EXPECT_FALSE(manager_->buffering()); in TEST_F()
|
D | initial_delay_manager.h | 74 bool buffering() { return buffering_; } in buffering() function
|
/external/python/cpython3/Doc/c-api/ |
D | file.rst | 20 .. c:function:: PyFile_FromFd(int fd, const char *name, const char *mode, int buffering, const char… 24 can be *NULL* to use the defaults; *buffering* can be *-1* to use the 31 Since Python streams have their own buffering layer, mixing them with
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 183 def open(file, mode='r', buffering=-1, encoding=None, errors=None, argument 246 file, mode, buffering, encoding, errors, newline, closefd, 250 file, mode, buffering, encoding, errors, newline, closefd)
|
/external/antlr/runtime/ObjC/Framework/ |
D | CHANGES.txt | 11 * Add currently empty ANTLRCommonTreeNodeStream class, which will be buffering tree nodes
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_TFRecordDataset.pbtxt | 22 0 means no buffering will be performed.
|
/external/python/cpython2/Doc/library/ |
D | io.rst | 39 :class:`BufferedIOBase` deals with buffering on a raw byte stream 66 .. function:: open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=… 111 *buffering* is an optional integer used to set the buffering policy. 112 Pass 0 to switch buffering off (only allowed in binary mode), 1 to select 113 line buffering (only usable in text mode), and an integer > 1 to indicate 114 the size of a fixed-size chunk buffer. When no *buffering* argument is 115 given, the default buffering policy works as follows: 123 use line buffering. Other text files use the policy described above 174 a file in a binary mode with buffering, the returned class is a subclass of 178 :class:`BufferedRandom`. When buffering is disabled, the raw stream, a [all …]
|
D | bz2.rst | 48 .. class:: BZ2File(filename[, mode[, buffering[, compresslevel]]]) 52 exist, and truncated otherwise. If *buffering* is given, ``0`` means 141 Write string *data* to file. Note that due to buffering, :meth:`close` may
|
/external/python/cpython3/Objects/ |
D | fileobject.c | 30 PyFile_FromFd(int fd, const char *name, const char *mode, int buffering, const char *encoding, in PyFile_FromFd() argument 40 buffering, encoding, errors, in PyFile_FromFd()
|