Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dcsv.py35 quotechar = None variable in Dialect
57 quotechar = '"' variable in excel
72 quotechar = '"' variable in unix_dialect
180 quotechar, doublequote, delimiter, skipinitialspace = \
198 dialect.quotechar = quotechar or '"'
252 quotechar = max(quotes, key=quotes.get)
268 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE)
277 return (quotechar, doublequote, delim, skipinitialspace)
/third_party/python/Modules/
D_csv.c98 Py_UCS4 quotechar; /* quote character */ member
187 return get_nullchar_as_None(self->quotechar); in Dialect_get_quotechar()
400 PyObject *quotechar = NULL; in dialect_new() local
412 &quotechar, in dialect_new()
437 quotechar == NULL && in dialect_new()
455 Py_XINCREF(quotechar); in dialect_new()
472 DIALECT_GETATTR(quotechar, "quotechar"); in dialect_new()
486 DIASET(_set_char_or_none, "quotechar", &self->quotechar, quotechar, '"'); in dialect_new()
499 if (quotechar == Py_None && quoting == NULL) in dialect_new()
501 if (self->quoting != QUOTE_NONE && self->quotechar == 0) { in dialect_new()
[all …]
/third_party/python/Lib/test/
Dtest_csv.py39 self.assertRaises(TypeError, ctor, arg, quotechar=1)
44 quoting=csv.QUOTE_ALL, quotechar='')
46 quoting=csv.QUOTE_ALL, quotechar=None)
67 self.assertEqual(obj.dialect.quotechar, '"')
87 lineterminator='\r', quotechar='*',
95 self.assertEqual(obj.dialect.quotechar, '*')
113 quotechar='#' variable in Test_Csv._test_dialect_attrs.dialect
123 self.assertEqual(obj.dialect.quotechar, '#')
327 quotechar=None, escapechar='\\')
884 mydialect.quotechar = '"'
[all …]
/third_party/optimized-routines/string/test/
Dstringtest.h17 quotechar (unsigned char c) in quotechar() function
47 quotechar (s[i]); in quoteat()
/third_party/cups-filters/filter/foomatic-rip/
Dfoomaticrip.c235 char quotechar; in extract_next_option() local
262 quotechar = *p; in extract_next_option()
264 p = strchr(*key, quotechar); in extract_next_option()
286 quotechar = *p; in extract_next_option()
288 p = strchr(*value, quotechar); in extract_next_option()
/third_party/python/Doc/library/
Dcsv.rst79 ... spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
110 quotechar='|', quoting=csv.QUOTE_MINIMAL)
318 special characters such as *delimiter*, *quotechar* or any of the characters in
370 Controls how instances of *quotechar* appearing inside a field should
372 :const:`False`, the *escapechar* is used as a prefix to the *quotechar*. It
376 :exc:`Error` is raised if a *quotechar* is found in a field.
382 is set to :const:`QUOTE_NONE` and the *quotechar* if *doublequote* is
399 .. attribute:: Dialect.quotechar
402 as the *delimiter* or *quotechar*, or which contain new-line characters. It
/third_party/libxml2/include/libxml/
Dxmlwriter.h474 xmlTextWriterSetQuoteChar(xmlTextWriterPtr writer, xmlChar quotechar);
/third_party/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.c44062 xmlChar quotechar; /* the quote character */ in test_xmlTextWriterSetQuoteChar() local
44069 quotechar = gen_xmlChar(n_quotechar, 1); in test_xmlTextWriterSetQuoteChar()
44071 ret_val = xmlTextWriterSetQuoteChar(writer, quotechar); in test_xmlTextWriterSetQuoteChar()
44075 des_xmlChar(n_quotechar, quotechar, 1); in test_xmlTextWriterSetQuoteChar()
/third_party/libxml2/os400/libxmlrpg/
Dxmlwriter.rpgle791 d quotechar value like(xmlChar)
/third_party/python/Misc/
DHISTORY2951 quotechar fields. Original patch by Vajrasky Kok.
19268 + quotechar=None and quoting=QUOTE_NONE now work the way PEP 305