Home
last modified time | relevance | path

Searched refs:quotechar (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Modules/
D_csv.c99 char quotechar; /* quote character */ member
197 return get_nullchar_as_None(self->quotechar); in Dialect_get_quotechar()
347 PyObject *quotechar = NULL; in dialect_new() local
359 &quotechar, in dialect_new()
379 quotechar == 0 && in dialect_new()
397 Py_XINCREF(quotechar); in dialect_new()
409 DIALECT_GETATTR(quotechar, "quotechar"); in dialect_new()
424 DIASET(_set_char, "quotechar", &self->quotechar, quotechar, '"'); in dialect_new()
437 if (quotechar == Py_None && quoting == NULL) in dialect_new()
439 if (self->quoting != QUOTE_NONE && self->quotechar == 0) { in dialect_new()
[all …]
/external/python/cpython2/Lib/
Dcsv.py38 quotechar = None variable in Dialect
60 quotechar = '"' variable in excel
181 quotechar, doublequote, delimiter, skipinitialspace = \
199 dialect.quotechar = quotechar or '"'
252 quotechar = reduce(lambda a, b, quotes = quotes:
270 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE)
279 return (quotechar, doublequote, delim, skipinitialspace)
/external/python/cpython2/Lib/test/
Dtest_csv.py32 self.assertRaises(TypeError, ctor, arg, quotechar=1)
37 quoting=csv.QUOTE_ALL, quotechar='')
39 quoting=csv.QUOTE_ALL, quotechar=None)
54 self.assertEqual(obj.dialect.quotechar, '"')
74 lineterminator='\r', quotechar='*',
82 self.assertEqual(obj.dialect.quotechar, '*')
100 quotechar='#' variable in Test_Csv._test_dialect_attrs.dialect
110 self.assertEqual(obj.dialect.quotechar, '#')
276 quotechar=None, escapechar='\\')
902 mydialect.quotechar = '"'
[all …]
/external/python/cpython2/Doc/library/
Dcsv.rst82 ... spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
123 quotechar='|', quoting=csv.QUOTE_MINIMAL)
289 special characters such as *delimiter*, *quotechar* or any of the characters in
342 Controls how instances of *quotechar* appearing inside a field should
344 :const:`False`, the *escapechar* is used as a prefix to the *quotechar*. It
348 :exc:`Error` is raised if a *quotechar* is found in a field.
354 is set to :const:`QUOTE_NONE` and the *quotechar* if *doublequote* is
371 .. attribute:: Dialect.quotechar
374 as the *delimiter* or *quotechar*, or which contain new-line characters. It
/external/toolchain-utils/automation/server/
Dmachine_manager.py22 csv_file = csv.reader(open(filename, 'rb'), delimiter=',', quotechar='"')
/external/libxml2/include/libxml/
Dxmlwriter.h474 xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar);
/external/libxml2/
Dxmlwriter.c4623 xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar) in xmlTextWriterSetQuoteChar() argument
4625 if ((writer == NULL) || ((quotechar != '\'') && (quotechar != '"'))) in xmlTextWriterSetQuoteChar()
4628 writer->qchar = quotechar; in xmlTextWriterSetQuoteChar()
Dtestapi.c44069 xmlChar quotechar; /* the quote character */ in test_xmlTextWriterSetQuoteChar() local
44076 quotechar = gen_xmlChar(n_quotechar, 1); in test_xmlTextWriterSetQuoteChar()
44078 ret_val = xmlTextWriterSetQuoteChar(writer, quotechar); in test_xmlTextWriterSetQuoteChar()
44082 des_xmlChar(n_quotechar, quotechar, 1); in test_xmlTextWriterSetQuoteChar()
/external/libxml2/os400/libxmlrpg/
Dxmlwriter.rpgle791 d quotechar value like(xmlChar)
/external/python/cpython2/Misc/
DNEWS2270 quotechar fields. Original patch by Vajrasky Kok.
DHISTORY1884 + quotechar=None and quoting=QUOTE_NONE now work the way PEP 305