/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | formatter.py | 38 def __init__(self, writer=None): argument 39 if writer is None: 40 writer = NullWriter() 41 self.writer = writer 75 def __init__(self, writer): argument 76 self.writer = writer # Output device 92 self.writer.send_line_break() 95 self.writer.send_paragraph(blankline - self.parskip) 103 self.writer.send_line_break() 110 self.writer.send_line_break() [all …]
|
D | codecs.py | 669 self.writer = Writer(stream, errors) 694 return self.writer.write(data) 698 return self.writer.writelines(list) 703 self.writer.reset() 709 self.writer.reset() 779 self.writer = Writer(stream, errors) 816 return self.writer.write(data) 822 return self.writer.write(data) 827 self.writer.reset()
|
D | csv.py | 8 from _csv import Error, __version__, writer, reader, register_dialect, \ 137 self.writer = writer(f, dialect, *args, **kwds) 152 return self.writer.writerow(self._dict_to_list(rowdict)) 158 return self.writer.writerows(rows)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | formatter.py | 38 def __init__(self, writer=None): argument 39 if writer is None: 40 writer = NullWriter() 41 self.writer = writer 75 def __init__(self, writer): argument 76 self.writer = writer # Output device 92 self.writer.send_line_break() 95 self.writer.send_paragraph(blankline - self.parskip) 103 self.writer.send_line_break() 110 self.writer.send_line_break() [all …]
|
D | codecs.py | 666 self.writer = Writer(stream, errors) 691 return self.writer.write(data) 695 return self.writer.writelines(list) 700 self.writer.reset() 706 self.writer.reset() 776 self.writer = Writer(stream, errors) 813 return self.writer.write(data) 819 return self.writer.write(data) 824 self.writer.reset()
|
D | csv.py | 8 from _csv import Error, __version__, writer, reader, register_dialect, \ 133 self.writer = writer(f, dialect, *args, **kwds) 148 return self.writer.writerow(self._dict_to_list(rowdict)) 154 return self.writer.writerows(rows)
|
D | plistlib.py | 92 writer = PlistWriter(pathOrFile) 93 writer.writeln("<plist version=\"1.0\">") 94 writer.writeValue(rootObject) 95 writer.writeln("</plist>")
|
D | _pyio.py | 1160 def __init__(self, reader, writer, argument 1172 if not writer.writable(): 1176 self.writer = BufferedWriter(writer, buffer_size) 1187 return self.writer.write(b) 1199 return self.writer.writable() 1202 return self.writer.flush() 1205 self.writer.close() 1209 return self.reader.isatty() or self.writer.isatty() 1213 return self.writer.closed
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_csv.py | 43 self._test_arg_valid(csv.writer, StringIO()) 67 self._test_default_attrs(csv.writer, StringIO()) 89 self._test_kw_attrs(csv.writer, StringIO()) 117 self._test_dialect_attrs(csv.writer, StringIO()) 124 writer = csv.writer(fileobj, **kwargs) 125 writer.writerow(fields) 128 expect + writer.dialect.lineterminator) 196 writer = csv.writer(BrokenFile()) 197 self.assertRaises(IOError, writer.writerows, [['a']]) 201 writer = csv.writer(fileobj) [all …]
|
D | test_codecs.py | 192 writer = codecs.getwriter(self.encoding)(q) 196 writer.write(u"foo\r") 198 writer.write(u"\nbar\r") 201 writer.write(u"baz") 206 writer.write(u"foo\r") 208 writer.write(u"\nbar\r") 211 writer.write(u"baz") 214 writer.write(u"foo\r\n") 258 _,_,reader,writer = codecs.lookup(self.encoding) 261 f = writer(s) [all …]
|
D | test_multibytecodec_support.py | 33 self.writer = self.codec.streamwriter 233 ostream = self.writer(StringIO())
|
D | test_io.py | 969 writer = self.MockRawIO() 970 bufio = self.tp(writer, 8) 972 self.assertFalse(writer._write_stack) 975 writer = self.MockRawIO() 976 bufio = self.tp(writer, 8) 980 flushed = b"".join(writer._write_stack) 989 writer = self.MockRawIO() 990 bufio = self.tp(writer, 13) 1004 b"".join(writer._write_stack)) 1070 writer = self.MockRawIO() [all …]
|
D | test_multiprocessing.py | 1417 reader, writer = self.Pipe(duplex=False) 1418 self.assertEqual(writer.send(1), None) 1423 self.assertEqual(writer.readable, False) 1424 self.assertEqual(writer.writable, True) 1426 self.assertRaises(IOError, writer.recv) 1427 self.assertRaises(IOError, writer.poll) 1807 reader, writer = multiprocessing.Pipe(duplex=False) 1810 self.Process(target=self._test_level, args=(writer,)).start() 1815 self.Process(target=self._test_level, args=(writer,)).start()
|
D | test_posix.py | 289 reader, writer = posix.pipe() 291 os.close(writer)
|
/device/google/cuttlefish_common/host/commands/record_audio/ |
D | main.cc | 52 std::unique_ptr<WaveWriter> writer; in main() local 109 if (!writer) { in main() 112 writer.reset( in main() 131 writer->Append(&buffer[sizeof(gce_audio_message)], payloadSize); in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
D | minidom.py | 51 writer = _get_StringIO() 55 writer = codecs.lookup(encoding)[3](writer) 58 self.writexml(writer, "", indent, newl, encoding) 60 self.writexml(writer, "", indent, newl) 61 return writer.getvalue() 293 def _write_data(writer, data): argument 298 writer.write(data) 792 def writexml(self, writer, indent="", addindent="", newl=""): argument 796 writer.write(indent+"<" + self.tagName) 803 writer.write(" %s=\"" % a_name) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
D | minidom.py | 50 writer = _get_StringIO() 54 writer = codecs.lookup(encoding)[3](writer) 57 self.writexml(writer, "", indent, newl, encoding) 59 self.writexml(writer, "", indent, newl) 60 return writer.getvalue() 292 def _write_data(writer, data): argument 297 writer.write(data) 794 def writexml(self, writer, indent="", addindent="", newl=""): argument 798 writer.write(indent+"<" + self.tagName) 805 writer.write(" %s=\"" % a_name) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | ldump.c | 20 lua_Writer writer; member 34 D->status=(*D->writer)(D->L,b,size,D->data); in DumpBlock() 166 D.writer=w; in luaU_dump()
|
D | luac.c | 156 static int writer(lua_State* L, const void* p, size_t size, void* u) in writer() function 181 luaU_dump(L,f,writer,D,stripping); in pmain()
|
D | lstrlib.c | 167 static int writer (lua_State *L, const void* b, size_t size, void* B) { in writer() function 179 if (lua_dump(L, writer, &b) != 0) in str_dump()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
D | bufferedio.c | 2025 buffered *writer; member 2033 PyObject *reader, *writer; in bufferedrwpair_init() local 2037 if (!PyArg_ParseTuple(args, "OO|nn:BufferedRWPair", &reader, &writer, in bufferedrwpair_init() 2047 if (_PyIOBase_check_writable(writer, Py_True) == NULL) in bufferedrwpair_init() 2055 self->writer = (buffered *) PyObject_CallFunction( in bufferedrwpair_init() 2056 (PyObject *) &PyBufferedWriter_Type, "On", writer, buffer_size); in bufferedrwpair_init() 2057 if (self->writer == NULL) { in bufferedrwpair_init() 2076 Py_CLEAR(self->writer); in bufferedrwpair_clear() 2086 Py_CLEAR(self->writer); in bufferedrwpair_dealloc() 2134 return _forward_call(self->writer, "write", args); in bufferedrwpair_write() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
D | bufferedio.c | 2056 buffered *writer; member 2064 PyObject *reader, *writer; in bufferedrwpair_init() local 2068 if (!PyArg_ParseTuple(args, "OO|nn:BufferedRWPair", &reader, &writer, in bufferedrwpair_init() 2078 if (_PyIOBase_check_writable(writer, Py_True) == NULL) in bufferedrwpair_init() 2086 self->writer = (buffered *) PyObject_CallFunction( in bufferedrwpair_init() 2087 (PyObject *) &PyBufferedWriter_Type, "On", writer, buffer_size); in bufferedrwpair_init() 2088 if (self->writer == NULL) { in bufferedrwpair_init() 2107 Py_CLEAR(self->writer); in bufferedrwpair_clear() 2119 Py_CLEAR(self->writer); in bufferedrwpair_dealloc() 2172 return _forward_call(self->writer, "write", args); in bufferedrwpair_write() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
D | validate.py | 242 self.writer = wsgi_writer 246 self.writer(s)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | fileobject.c | 2551 PyObject *writer, *value, *args, *result; in PyFile_WriteObject() local 2586 writer = PyObject_GetAttrString(f, "write"); in PyFile_WriteObject() 2587 if (writer == NULL) in PyFile_WriteObject() 2599 Py_DECREF(writer); in PyFile_WriteObject() 2605 Py_DECREF(writer); in PyFile_WriteObject() 2608 result = PyEval_CallObject(writer, args); in PyFile_WriteObject() 2611 Py_DECREF(writer); in PyFile_WriteObject()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | fileobject.c | 2484 PyObject *writer, *value, *args, *result; in PyFile_WriteObject() local 2519 writer = PyObject_GetAttrString(f, "write"); in PyFile_WriteObject() 2520 if (writer == NULL) in PyFile_WriteObject() 2532 Py_DECREF(writer); in PyFile_WriteObject() 2538 Py_DECREF(writer); in PyFile_WriteObject() 2541 result = PyEval_CallObject(writer, args); in PyFile_WriteObject() 2544 Py_DECREF(writer); in PyFile_WriteObject()
|