Home
last modified time | relevance | path

Searched refs:csv (Results 1 – 25 of 133) sorted by relevance

123456

/third_party/python/Lib/test/
Dtest_csv.py9 import csv
36 self.assertRaises(csv.Error, ctor, arg, 'foo')
44 quoting=csv.QUOTE_ALL, quotechar='')
46 quoting=csv.QUOTE_ALL, quotechar=None)
49 self._test_arg_valid(csv.reader, [])
50 self.assertRaises(OSError, csv.reader, BadIterable())
53 self._test_arg_valid(csv.writer, StringIO())
58 self.assertRaises(OSError, csv.writer, BadWriter())
68 self.assertEqual(obj.dialect.quoting, csv.QUOTE_MINIMAL)
79 self._test_default_attrs(csv.reader, [])
[all …]
/third_party/skia/infra/bots/analysis/
Dcreate-alljobs.sh12 …,compiler,model,cpu_or_gpu,cpu_or_gpu_value,arch,configuration,test_filter,extra > /tmp/alljobs.csv
16 …on | jq .[] -r | grep "^[Perf|Test]" | sed "s#-#,#g" | sed "s#All\$#All,none#g" >> /tmp/alljobs.csv
19 mlr --csv -I put '$vulkan=$extra =~ "Vulkan"' /tmp/alljobs.csv
22 mlr --csv -I put '$metal=$extra =~ "Metal"' /tmp/alljobs.csv
25 mlr --csv -I put '$skpbench=$extra =~ "Skpbench"' /tmp/alljobs.csv
28 mlr --icsv check /tmp/alljobs.csv
Dmissing.sh34 mlr --csv filter "${FILTER}" /tmp/alljobs.csv | \
35 mlr --csv cut -f cpu_or_gpu_value,model | \
36 mlr --csv sort -f cpu_or_gpu_value | \
37 mlr --csv uniq -f cpu_or_gpu_value | \
38 mlr --csv join -f /tmp/cpu_or_gpu_value,model.csv -j cpu_or_gpu_value --ul --np
Daxis.sh13 mlr --csv uniq -f $1 /tmp/alljobs.csv | mlr --csv sort -f $1 > /tmp/$1.csv
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DCsvTableTest.java80 CsvTable<RangeKey> csv = toCsv(table); in testRangeTableExport() local
81 assertCsv(csv, in testRangeTableExport()
87 assertThat(toRangeTable(csv)).isEqualTo(table); in testRangeTableExport()
97 CsvTable<ExampleNumberKey> csv = ExamplesTableSchema.toCsv(table); in testExampleNumberExport() local
98 assertCsv(csv, in testExampleNumberExport()
103 assertThat(ExamplesTableSchema.toExampleTable(csv)).isEqualTo(table); in testExampleNumberExport()
172 CsvTable<RangeKey> csv = toCsv(table); in testOrdering() local
174 csv, in testOrdering()
180 assertThat(toRangeTable(csv)).isEqualTo(table); in testOrdering()
195 CsvTable.Builder<Integer> csv = CsvTable.builder(schema); in testOptionalRowOrdering() local
[all …]
/third_party/typescript/tests/baselines/reference/
DdeclarationEmitWithInvalidPackageJsonTypings.types1 === /p1/node_modules/csv-parse/lib/index.d.ts ===
19 >useCsvParser : () => MutableRefObject<typeof import("/p1/node_modules/csv-parse/lib/index")>
20 … = useRef<typeof import("csv-parse")>(null); return parserRef;} : () => MutableRefObject<typeof…
22 const parserRef = useRef<typeof import("csv-parse")>(null);
23 >parserRef : MutableRefObject<typeof import("/p1/node_modules/csv-parse/lib/index")>
24 >useRef<typeof import("csv-parse")>(null) : MutableRefObject<typeof import("/p1/node_modules/csv-pa…
29 >parserRef : MutableRefObject<typeof import("/p1/node_modules/csv-parse/lib/index")>
/third_party/python/Doc/library/
Dcsv.rst1 :mod:`csv` --- CSV File Reading and Writing
4 .. module:: csv
9 **Source code:** :source:`Lib/csv.py`
12 single: csv
28 The :mod:`csv` module implements classes to read and write tabular data in CSV
35 The :mod:`csv` module's :class:`reader` and :class:`writer` objects read and
50 The :mod:`csv` module defines the following functions:
54 single: universal newlines; csv.reader function
69 section :ref:`csv-fmt-params`.
71 Each row read from the csv file is returned as a list of strings. No
[all …]
/third_party/node/deps/cares/src/lib/
Dares_options.c253 char* csv = NULL; in set_servers_csv() local
271 csv = ares_malloc(i + 2); in set_servers_csv()
272 if (!csv) in set_servers_csv()
275 strcpy(csv, _csv); in set_servers_csv()
276 if (csv[i-1] != ',') { /* make parsing easier by ensuring ending ',' */ in set_servers_csv()
277 csv[i] = ','; in set_servers_csv()
278 csv[i+1] = 0; in set_servers_csv()
281 start_host = csv; in set_servers_csv()
282 for (ptr = csv; *ptr; ptr++) { in set_servers_csv()
384 if (csv) in set_servers_csv()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfoMain.java66 if (fonts.length > 1 && !options.csv) { in main()
72 if (options.csv) { in main()
97 if (options.csv) { in main()
111 if (options.csv) { in main()
125 if (options.csv) { in main()
139 if (options.csv) { in main()
153 if (options.csv) { in main()
178 if (options.csv) { in main()
196 if (options.csv) { in main()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DRecipesTableSchema.java133 public static RangeTable toRangeTable(CsvTable<RangeKey> csv) { in toRangeTable() argument
135 for (RangeKey k : csv.getKeys()) { in toRangeTable()
137 csv.getRow(k).forEach(change::assign); in toRangeTable()
150 CsvTable.Builder<RangeKey> csv = CsvTable.builder(SCHEMA); in toCsv() local
153 c.getAssignments().forEach(a -> csv.put(k, a)); in toCsv()
156 return csv.build(); in toCsv()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DCommentsSchema.java70 try (Reader csv = Files.newBufferedReader(path)) { in loadComments() argument
71 return importComments(csv); in loadComments()
78 static ImmutableList<Comment> importComments(Reader csv) throws IOException { in importComments() argument
81 try (BufferedReader r = new BufferedReader(csv)) { in importComments()
123 public static boolean exportCsv(Writer csv, List<Comment> comments) {
129 collector.writeCsv(csv);
DAltFormatsSchema.java76 try (Reader csv = Files.newBufferedReader(path)) { in loadAltFormats() argument
77 return importAltFormats(csv); in loadAltFormats()
84 static ImmutableList<AltFormatSpec> importAltFormats(Reader csv) throws IOException { in importAltFormats() argument
87 try (BufferedReader r = new BufferedReader(csv)) { in importAltFormats()
135 public static boolean exportCsv(Writer csv, List<AltFormatSpec> altFormats) { in exportCsv() argument
141 collector.writeCsv(csv); in exportCsv()
DShortcodesTableSchema.java191 CsvTable.Builder<ShortcodeKey> csv = CsvTable.builder(SCHEMA); in toCsv() local
195 csv.put(ShortcodeKey.create(r, k), c.getAssignments()); in toCsv()
199 return csv.build(); in toCsv()
208 CsvTable<ShortcodeKey> csv) { in toShortcodeTables() argument
211 for (ShortcodeKey k : csv.getKeys()) { in toShortcodeTables()
215 csv.getRow(k).forEach(change::assign); in toShortcodeTables()
DRangesTableSchema.java285 CsvTable.Builder<RangeKey> csv = CsvTable.builder(SCHEMA); in toCsv() local
300 csv.put(k, a); in toCsv()
305 csv.put(k, CSV_REGIONS, Regions.of(regions)); in toCsv()
309 return csv.build(); in toCsv()
317 public static RangeTable toRangeTable(CsvTable<RangeKey> csv) { in toRangeTable() argument
319 for (RangeKey k : csv.getKeys()) { in toRangeTable()
321 csv.getRow(k).forEach((c, v) -> { in toRangeTable()
/third_party/openh264/test/encoder_binary_comparison/
Drun_Main.sh76 if [[ "$FileName" =~ UpdateSHA1Table.csv$ ]]
79 SHA1TableName=${BitStreamName}.264_AllCases_SHA1_Table.csv
125 for Bitsream in ./SHA1Table/*.csv
/third_party/mesa3d/bin/
Dpost_version.py25 import csv
59 calendar = list(csv.reader(f))
72 writer = csv.writer(f)
Dgen_calendar_entries.py28 import csv
71 return [typing.cast('CalendarRowType', tuple(r)) for r in csv.reader(f)]
109 writer = csv.writer(f)
151 writer = csv.writer(f)
203 writer = csv.writer(f)
/third_party/python/Doc/tools/extensions/
Dsuspicious.py46 import csv
79 class dialect(csv.excel):
170 writer = csv.writer(f, dialect)
175 writer = csv.writer(f, dialect)
197 for i, row in enumerate(csv.reader(f)):
/third_party/node/deps/v8/tools/
Deval_gc_nvp.py81 def __init__(self, key, histogram, csv, percentiles): argument
85 self.csv = csv
119 if self.csv:
201 categories = [ Category(key, deepcopy(histogram), args.csv, percentiles)
/third_party/openh264/autotest/performanceTest/
Drun_perfTest.sh115 echo Start to generate test result csv file
119 echo The csv file locate ./TestResultCSV/xxx.csv
/third_party/skia/tools/skottie-wasm-perf/
Dparse_perf_csvs.py15 import csv
28 csv_reader = csv.reader(f, delimiter=',')
83 writer = csv.DictWriter(f, fieldnames=fieldnames)
/third_party/littlefs/scripts/
Dcode.py14 import csv
94 r = csv.DictReader(f)
110 r = csv.DictReader(f)
133 r = csv.DictReader(f)
147 w = csv.DictWriter(f, ['file', 'name', *other_fields, 'code_size'])
Ddata.py14 import csv
93 r = csv.DictReader(f)
109 r = csv.DictReader(f)
132 r = csv.DictReader(f)
146 w = csv.DictWriter(f, ['file', 'name', *other_fields, 'data_size'])
/third_party/nghttp2/
Dmkcipherlist.py13 import csv
297 for hl, name, _, _, _ in csv.reader(sys.stdin):
/third_party/mesa3d/src/intel/isl/
Dgen_format_layout.py25 import csv
236 for line in csv.reader(f):
283 formats = [Format(l) for l in reader(args.csv)]

123456