/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | formatter.py | 4 specific output events on writer objects. Formatters manage several stack
5 structures to allow various properties of a writer object to be changed and
7 of ``change back'' operation. Specific writer properties which may be
10 arbitrary, non-exclusive style settings to a writer as well. Additional
30 If the writer parameter is omitted, a NullWriter instance is created.
31 No methods of the writer are called by NullFormatter instances.
33 Implementations should inherit from this class if implementing a writer
38 def __init__(self, writer=None):
39 if writer is None:
40 writer [all...] |
H A 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()
|
H A D | csv.py | 8 from _csv import Error, __version__, writer, reader, register_dialect, \
22 "field_size_limit", "reader", "writer",
137 self.writer = writer(f, dialect, *args, **kwds)
152 return self.writer.writerow(self._dict_to_list(rowdict))
158 return self.writer.writerows(rows)
12 __doc__ namespace
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | formatter.py | 4 specific output events on writer objects. Formatters manage several stack
5 structures to allow various properties of a writer object to be changed and
7 of ``change back'' operation. Specific writer properties which may be
10 arbitrary, non-exclusive style settings to a writer as well. Additional
30 If the writer parameter is omitted, a NullWriter instance is created.
31 No methods of the writer are called by NullFormatter instances.
33 Implementations should inherit from this class if implementing a writer
38 def __init__(self, writer=None):
39 if writer is None:
40 writer [all...] |
H A 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()
|
H A D | csv.py | 8 from _csv import Error, __version__, writer, reader, register_dialect, \
22 "field_size_limit", "reader", "writer",
133 self.writer = writer(f, dialect, *args, **kwds)
148 return self.writer.writerow(self._dict_to_list(rowdict))
154 return self.writer.writerows(rows)
12 __doc__ namespace
|
H A D | plistlib.py | 92 writer = PlistWriter(pathOrFile)
93 writer.writeln("<plist version=\"1.0\">")
94 writer.writeValue(rootObject)
95 writer.writeln("</plist>")
|
H A D | _pyio.py | 1146 """A buffered reader and writer object together.
1148 A buffered reader object and buffered writer object put together to
1152 reader and writer are RawIOBase objects that are readable and
1160 def __init__(self, reader, writer,
1172 if not writer.writable():
1173 raise IOError('"writer" argument must be writable.')
1176 self.writer = BufferedWriter(writer, buffer_size)
1187 return self.writer.write(b)
1199 return self.writer [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A 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(BrokenFil 201 writer = csv.writer(fileobj) variable in class:Test_Csv.test_writerows.BrokenFile 377 writer = csv.writer(fileobj) variable in class:TestDialectRegistry.test_dialect_apply.testC 388 writer = csv.writer(fileobj, testA) variable in class:TestDialectRegistry.test_dialect_apply.testC 399 writer = csv.writer(fileobj, dialect=testB()) variable in class:TestDialectRegistry.test_dialect_apply.testC 410 writer = csv.writer(fileobj, dialect='testC') variable in class:TestDialectRegistry.test_dialect_apply.testC 421 writer = csv.writer(fileobj, dialect=testA, delimiter=';') variable in class:TestDialectRegistry.test_dialect_apply.testC [all...] |
H A 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( [all...] |
H A D | test_multibytecodec_support.py | 33 self.writer = self.codec.streamwriter
233 ostream = self.writer(StringIO())
|
H A 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 [all...] |
H A 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()
|
H A D | test_posix.py | 289 reader, writer = posix.pipe()
291 os.close(writer)
|
/device/google/cuttlefish_common/host/commands/record_audio/ |
H A D | main.cc | 52 std::unique_ptr<WaveWriter> writer; local 55 // The configuration the writer is setup for. 109 if (!writer) { 112 writer.reset( 131 writer->Append(&buffer[sizeof(gce_audio_message)], payloadSize);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
H A D | minidom.py | 13 * bring some of the writer and linearizer code into conformance with this
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):
294 "Writes datachars to writer."
298 writer [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
H A D | minidom.py | 12 * bring some of the writer and linearizer code into conformance with this
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):
293 "Writes datachars to writer."
297 writer [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
H A D | ldump.c | 20 lua_Writer writer; member in struct:__anon2833 34 D->status=(*D->writer)(D->L,b,size,D->data); 166 D.writer=w;
|
H A D | luac.c | 156 static int writer(lua_State* L, const void* p, size_t size, void* u) function 181 luaU_dump(L,f,writer,D,stripping);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
H A D | bufferedio.c | 2040 "A buffered reader and writer object together.\n"
2042 "A buffered reader object and buffered writer object put together to\n"
2046 "reader and writer are RawIOBase objects that are readable and\n"
2058 buffered *writer;
2066 PyObject *reader, *writer;
2070 if (!PyArg_ParseTuple(args, "OO|nn:BufferedRWPair", &reader, &writer,
2080 if (_PyIOBase_check_writable(writer, Py_True) == NULL)
2088 self->writer = (buffered *) PyObject_CallFunction(
2089 (PyObject *) &PyBufferedWriter_Type, "On", writer, buffer_size);
2090 if (self->writer 2056 buffered *writer; member in struct:__anon3014 2064 PyObject *reader, *writer; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
H A D | bufferedio.c | 2009 "A buffered reader and writer object together.\n"
2011 "A buffered reader object and buffered writer object put together to\n"
2015 "reader and writer are RawIOBase objects that are readable and\n"
2027 buffered *writer;
2035 PyObject *reader, *writer;
2039 if (!PyArg_ParseTuple(args, "OO|nn:BufferedRWPair", &reader, &writer,
2049 if (_PyIOBase_check_writable(writer, Py_True) == NULL)
2057 self->writer = (buffered *) PyObject_CallFunction(
2058 (PyObject *) &PyBufferedWriter_Type, "On", writer, buffer_size);
2059 if (self->writer 2025 buffered *writer; member in struct:__anon3327 2033 PyObject *reader, *writer; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
H A D | validate.py | 75 * That all calls to the writer are with strings, and no other methods
76 on the writer are accessed.
242 self.writer = wsgi_writer
246 self.writer(s)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
H A D | fileobject.c | 2551 PyObject *writer, *value, *args, *result;
local 2586 writer = PyObject_GetAttrString(f, "write");
2587 if (writer == NULL)
2599 Py_DECREF(writer);
2605 Py_DECREF(writer);
2608 result = PyEval_CallObject(writer, args);
2611 Py_DECREF(writer);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
H A D | fileobject.c | 2484 PyObject *writer, *value, *args, *result;
local 2519 writer = PyObject_GetAttrString(f, "write");
2520 if (writer == NULL)
2532 Py_DECREF(writer);
2538 Py_DECREF(writer);
2541 result = PyEval_CallObject(writer, args);
2544 Py_DECREF(writer);
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
H A D | lua.h | 265 LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
|