Home
last modified time | relevance | path

Searched refs:fieldnames (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/
Dcsv.py81 def __init__(self, f, fieldnames=None, restkey=None, restval=None, argument
83 self._fieldnames = fieldnames # list of keys for the dict
94 def fieldnames(self): member in DictReader
103 @fieldnames.setter
104 def fieldnames(self, value): member in DictReader
110 self.fieldnames
119 d = dict(zip(self.fieldnames, row))
120 lf = len(self.fieldnames)
125 for key in self.fieldnames[lr:]:
131 def __init__(self, f, fieldnames, restval="", extrasaction="raise", argument
[all …]
/third_party/flutter/skia/tools/skottie-wasm-perf/
Dparse_perf_csvs.py82 fieldnames = ['test_name', 'csv1', 'csv2', 'perc_diff']
83 writer = csv.DictWriter(f, fieldnames=fieldnames)
/third_party/skia/tools/skottie-wasm-perf/
Dparse_perf_csvs.py82 fieldnames = ['test_name', 'csv1', 'csv2', 'perc_diff']
83 writer = csv.DictWriter(f, fieldnames=fieldnames)
/third_party/mesa3d/src/compiler/isaspec/
Dencode.py128 self.fieldnames = re.findall(r"{([a-zA-Z0-9_]+)}", case.display)
148 if fieldname not in self.fieldnames:
149 self.fieldnames.append(fieldname)
152 for fieldname in expr.fieldnames:
156 for fieldname in self.fieldnames:
Disa.py376 self.fieldnames = list(set(re.findall(r"{([a-zA-Z0-9_]+)}", expr)))
/third_party/python/Lib/test/
Dtest_csv.py653 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
659 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
670 writer = csv.DictWriter(fileobj, fieldnames=["f1", "f2", "f3"])
684 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
717 fieldnames=["f1", "f2", "f3"])
726 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
735 fieldnames=next(csv.reader(fileobj)))
736 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
747 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
755 fieldnames=["f1", "f2"])
[all …]
/third_party/python/Doc/library/
Dcsv.rst149 .. class:: DictReader(f, fieldnames=None, restkey=None, restval=None, \
154 optional *fieldnames* parameter.
156 The *fieldnames* parameter is a :term:`sequence`. If *fieldnames* is
158 fieldnames. Regardless of how the fieldnames are determined, the
161 If a row has more fields than fieldnames, the remaining data is put in a
163 to ``None``). If a non-blank row has fewer fields than fieldnames, the
191 .. class:: DictWriter(f, fieldnames, restval='', extrasaction='raise', \
195 onto output rows. The *fieldnames* parameter is a :mod:`sequence
199 written if the dictionary is missing a key in *fieldnames*. If the
201 *fieldnames*, the optional *extrasaction* parameter indicates what action to
[all …]
Dcollections.rst856 If *rename* is true, invalid fieldnames are automatically replaced
864 example, if the fieldnames are ``['x', 'y', 'z']`` and the defaults are
/third_party/python/Doc/whatsnew/
D3.1.rst284 *rename* which lets invalid fieldnames be automatically converted to
D2.6.rst1854 fieldnames)` is a factory function that creates subclasses of the standard tuple
/third_party/openssl/
DNEWS931 o Support for multiple fieldnames in SPKACs
/third_party/python/Misc/
DHISTORY3366 error message that certain keys are not in the 'fieldnames' list.
15625 'rename' which lets invalid fieldnames be automatically converted to
20867 - The fieldnames argument to the csv module's DictReader constructor is now
20869 list of fieldnames.