Home
last modified time | relevance | path

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

12345

/external/python/cpython2/Lib/test/
Dtest_csv.py11 import csv
29 self.assertRaises(csv.Error, ctor, arg, 'foo')
37 quoting=csv.QUOTE_ALL, quotechar='')
39 quoting=csv.QUOTE_ALL, quotechar=None)
42 self._test_arg_valid(csv.reader, [])
45 self._test_arg_valid(csv.writer, StringIO())
55 self.assertEqual(obj.dialect.quoting, csv.QUOTE_MINIMAL)
66 self._test_default_attrs(csv.reader, [])
69 self._test_default_attrs(csv.writer, StringIO())
75 quoting=csv.QUOTE_NONE, skipinitialspace=True,
[all …]
/external/c-ares/
Dares_options.c139 char* csv = NULL; in ares_set_servers_csv() local
158 csv = malloc(i + 2); in ares_set_servers_csv()
159 strcpy(csv, _csv); in ares_set_servers_csv()
160 if (csv[i-1] != ',') { /* make parsing easier by ensuring ending ',' */ in ares_set_servers_csv()
161 csv[i] = ','; in ares_set_servers_csv()
162 csv[i+1] = 0; in ares_set_servers_csv()
165 start_host = csv; in ares_set_servers_csv()
166 for (ptr = csv; *ptr; ptr++) { in ares_set_servers_csv()
239 if (csv) in ares_set_servers_csv()
240 free(csv); in ares_set_servers_csv()
/external/python/cpython2/Doc/library/
Dcsv.rst2 :mod:`csv` --- CSV File Reading and Writing
5 .. module:: csv
13 single: csv
27 The :mod:`csv` module implements classes to read and write tabular data in CSV
34 The :mod:`csv` module's :class:`reader` and :class:`writer` objects read and
40 This version of the :mod:`csv` module doesn't support Unicode input. Also,
43 section :ref:`csv-examples`.
57 The :mod:`csv` module defines the following functions:
73 section :ref:`csv-fmt-params`.
75 Each row read from the csv file is returned as a list of strings. No
[all …]
/external/mesa3d/src/mesa/
DMakefile.am44 main/formats.csv \
73 main/format_info.h: main/formats.csv \
75 $(PYTHON_GEN) $(srcdir)/main/format_info.py $(srcdir)/main/formats.csv > $@
77 main/format_pack.c: main/format_pack.py main/formats.csv \
79 $(PYTHON_GEN) $(srcdir)/main/format_pack.py $(srcdir)/main/formats.csv > $@
81 main/format_unpack.c: main/format_unpack.py main/formats.csv \
83 $(PYTHON_GEN) $(srcdir)/main/format_unpack.py $(srcdir)/main/formats.csv > $@
/external/clang/utils/analyzer/
DSATestAdd.py46 import csv
50 PMapReader = csv.reader(PMapFile)
83 PMapWriter = csv.writer(PMapFile)
/external/autotest/site_utils/
Dgenerate_test_report460 if self._options.csv:
496 if not self._options.csv:
505 delimiter = ',' if self._options.csv else ' '
515 if not self._options.csv and error_msg:
559 if self._options.csv:
609 test_entry = testdir if self._options.csv else testdir.ljust(width)
622 if self._options.csv and (self._options.info or self._options.attr):
648 if not self._options.csv:
653 if not self._options.csv:
741 if options.csv and (options.print_debug or options.crash_detection):
/external/python/cpython2/Doc/tools/extensions/
Dsuspicious.py46 import csv
78 class dialect(csv.excel):
166 writer = csv.writer(f, dialect)
171 writer = csv.writer(f, dialect)
193 for i, row in enumerate(csv.reader(f)):
/external/mesa3d/src/intel/
DMakefile.isl.am61 isl/isl_format_layout.csv
64 --csv $(srcdir)/isl/isl_format_layout.csv --out $@
84 isl/isl_format_layout.csv \
DAndroid.isl.mk203 $(hide) $(PRIVATE_SCRIPT) --csv $(PRIVATE_CSV) --out $@
208 $(LOCAL_PATH)/isl/isl_format_layout.csv
211 $(intermediates)/isl/isl_format_layout.c: PRIVATE_CSV := $(LOCAL_PATH)/isl/isl_format_layout.csv
/external/toolchain-utils/user_activity_benchmarks/
Dcollect_experiment_data.sh59 " | dremel --sql_dialect=GoogleSQL --min_completion_ratio=1.0 --output=csv \
92 " | dremel --sql_dialect=GoogleSQL --min_completion_ratio=1.0 --output=csv > \
Dcollect_experiment_data_odd_even_session.sh60 " | dremel --sql_dialect=GoogleSQL --min_completion_ratio=1.0 --output=csv > \
94 " | dremel --sql_dialect=GoogleSQL --min_completion_ratio=1.0 --output=csv > \
Dutils_unittest.py9 import csv
47 statistics_reader = csv.DictReader(input_file, delimiter=',')
65 statistics_reader = csv.DictReader(input_file, delimiter=',')
Dutils.py8 import csv
319 statistics_reader = csv.DictReader(input_file, delimiter=',')
378 statistics_reader = csv.DictReader(input_file, delimiter=',')
/external/mesa3d/src/gallium/auxiliary/
DMakefile.am61 util/u_format.csv
63 $(PYTHON_GEN) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
115 util/u_format.csv \
/external/mesa3d/src/intel/isl/
Dgen_format_layout.py26 import csv
167 for line in csv.reader(f):
191 formats=(Format(l) for l in reader(args.csv))))
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/
DReportTest.java94 File csv = new File(tmp.getRoot(), "coverage.csv"); in should_create_csv_report_when_csv_option_is_provided() local
97 csv.getAbsolutePath()); in should_create_csv_report_when_csv_option_is_provided()
100 assertTrue(csv.isFile()); in should_create_csv_report_when_csv_option_is_provided()
/external/v8/tools/
Deval_gc_nvp.py77 def __init__(self, key, histogram, csv, percentiles): argument
81 self.csv = csv
115 if self.csv:
197 categories = [ Category(key, deepcopy(histogram), args.csv, percentiles)
Dprocess-heap-prof.py43 import csv, sys, time, optparse
57 logreader = csv.reader(logfile)
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/
DReport.java36 import org.jacoco.report.csv.CSVFormatter;
69 File csv; field in Report
147 if (csv != null) { in createReportVisitor()
149 visitors.add(formatter.createVisitor(new FileOutputStream(csv))); in createReportVisitor()
/external/chromium-trace/catapult/common/lab/
Dhardware.py8 import csv
49 writer = csv.DictWriter(sys.stdout, _KEYS)
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m39 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
69 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
89 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
135 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
149 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
171 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
201 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
251 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
277 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
298 …m *stream = [ANTLRStringStream newANTLRStringStream:@"this||is||a||double||piped||separated||csv"];
[all …]
/external/autotest/client/site_tests/performance_Tracker/
Dperformance_Tracker.py5 import csv
58 writer = csv.writer(perf_file)
/external/mesa3d/src/amd/vulkan/
DMakefile.am124 vk_format_layout.csv
125 $(PYTHON2) $(srcdir)/vk_format_table.py $(srcdir)/vk_format_layout.csv > $@
134 vk_format_layout.csv \
/external/devlib/devlib/instrument/
Ddaq.py2 import csv
98 site_readers[site] = csv.reader(fh)
121 writer = csv.writer(wfh)
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DReportSupport.java43 import org.jacoco.report.csv.CSVFormatter;
99 final CSVFormatter csv = new CSVFormatter(); in addCsvFormatter() local
100 csv.setOutputEncoding(encoding); in addCsvFormatter()
101 formatters.add(csv.createVisitor(new FileOutputStream(targetfile))); in addCsvFormatter()

12345