Home
last modified time | relevance | path

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

12345678910>>...12

/external/python/cpython3/Lib/test/
Dtest_csv.py9 import csv
35 self.assertRaises(csv.Error, ctor, arg, 'foo')
43 quoting=csv.QUOTE_ALL, quotechar='')
45 quoting=csv.QUOTE_ALL, quotechar=None)
48 self._test_arg_valid(csv.reader, [])
49 self.assertRaises(OSError, csv.reader, BadIterable())
52 self._test_arg_valid(csv.writer, StringIO())
57 self.assertRaises(OSError, csv.writer, BadWriter())
67 self.assertEqual(obj.dialect.quoting, csv.QUOTE_MINIMAL)
78 self._test_default_attrs(csv.reader, [])
[all …]
/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/conscrypt/common/src/test/resources/crypto/
Dbuild_test_files.sh15 cat "$1"/CBC*.rsp | parse_records.py > aes-cbc.csv
16 cat "$1"/CFB8*.rsp | parse_records.py > aes-cfb8.csv
17 cat "$1"/CFB128*.rsp | parse_records.py > aes-cfb128.csv
18 cat "$1"/ECB*.rsp | parse_records.py > aes-ecb.csv
19 cat "$1"/OFB*.rsp | parse_records.py > aes-ofb.csv
20 cat "$1"/TCBC*.rsp | parse_records.py > desede-cbc.csv
21 cat "$1"/TCFB8*.rsp | parse_records.py > desede-cfb8.csv
22 cat "$1"/TCFB64*.rsp | parse_records.py > desede-cfb64.csv
23 cat "$1"/TECB*.rsp | parse_records.py > desede-ecb.csv
24 cat "$1"/TOFB*.rsp | parse_records.py > desede-ofb.csv
[all …]
/external/rust/crates/csv/
DREADME.md1 csv chapter
5 … status](https://api.travis-ci.org/BurntSushi/rust-csv.svg)](https://travis-ci.org/BurntSushi/rust…
6 …api/projects/status/github/BurntSushi/rust-csv?svg=true)](https://ci.appveyor.com/project/BurntSus…
7 [![](http://meritbadge.herokuapp.com/csv)](https://crates.io/crates/csv)
14 https://docs.rs/csv
17 [tutorial](https://docs.rs/csv/1.0.0/csv/tutorial/index.html)
27 csv = "1.1"
36 [cookbook](https://docs.rs/csv/1.0.0/csv/cookbook/index.html).
45 let mut rdr = csv::Reader::from_reader(io::stdin());
66 $ git clone git://github.com/BurntSushi/rust-csv
[all …]
DCargo.toml.orig2 name = "csv"
6 documentation = "http://burntsushi.net/rustdoc/csv/"
7 homepage = "https://github.com/BurntSushi/rust-csv"
8 repository = "https://github.com/BurntSushi/rust-csv"
10 keywords = ["csv", "comma", "parser", "delimited", "serde"]
17 travis-ci = { repository = "BurntSushi/rust-csv" }
18 appveyor = { repository = "BurntSushi/rust-csv" }
21 members = ["csv-core", "csv-index"]
28 csv-core = { path = "csv-core", version = "0.1.6" }
DCargo.toml15 name = "csv"
20 homepage = "https://github.com/BurntSushi/rust-csv"
21 documentation = "http://burntsushi.net/rustdoc/csv/"
23 keywords = ["csv", "comma", "parser", "delimited", "serde"]
26 repository = "https://github.com/BurntSushi/rust-csv"
39 [dependencies.csv-core]
54 repository = "BurntSushi/rust-csv"
57 repository = "BurntSushi/rust-csv"
DMETADATA1 name: "csv"
6 value: "https://crates.io/crates/csv"
10 value: "https://static.crates.io/crates/csv/csv-1.1.6.crate"
/external/rust/crates/csv-core/src/
Dreader.rs1345 macro_rules! csv { macro
1349 let mut csv = Csv::new(); localVariable
1355 csv.push(row);
1357 csv
1406 let mut csv = Csv::new(); in parse_by_field() localVariable
1426 csv.push(row); in parse_by_field()
1431 return csv; in parse_by_field()
1444 let mut csv = Csv::new(); in parse_by_record() localVariable
1472 csv.push(row); in parse_by_record()
1476 End => return csv, in parse_by_record()
[all …]
/external/rust/crates/csv-core/
DCargo.toml.orig2 name = "csv-core"
6 documentation = "https://docs.rs/csv-core"
7 homepage = "https://github.com/BurntSushi/rust-csv"
8 repository = "https://github.com/BurntSushi/rust-csv"
10 keywords = ["csv", "comma", "parser", "delimited", "no_std"]
17 travis-ci = { repository = "BurntSushi/rust-csv" }
18 appveyor = { repository = "BurntSushi/rust-csv" }
DCargo.toml15 name = "csv-core"
19 homepage = "https://github.com/BurntSushi/rust-csv"
20 documentation = "https://docs.rs/csv-core"
22 keywords = ["csv", "comma", "parser", "delimited", "no_std"]
25 repository = "https://github.com/BurntSushi/rust-csv"
40 repository = "BurntSushi/rust-csv"
43 repository = "BurntSushi/rust-csv"
DREADME.md1 csv-core
6 … status](https://api.travis-ci.org/BurntSushi/rust-csv.png)](https://travis-ci.org/BurntSushi/rust…
7 …api/projects/status/github/BurntSushi/rust-csv?svg=true)](https://ci.appveyor.com/project/BurntSus…
8 [![](http://meritbadge.herokuapp.com/csv-core)](https://crates.io/crates/csv-core)
14 https://docs.rs/csv-core
22 csv-core = "0.1.6"
28 Disabling this feature will drop `csv-core`'s dependency on `libc`.
DMETADATA1 name: "csv-core"
6 value: "https://crates.io/crates/csv-core"
10 value: "https://static.crates.io/crates/csv-core/csv-core-0.1.10.crate"
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DKeycodeMapTest.java10 String csv = "keycode,iso\n50,E03\n80,D10\n4,B00"; in testGetIsoLayoutPosition() local
11 KeycodeMap mapping = KeycodeMap.fromCsv(csv); in testGetIsoLayoutPosition()
16 String csv = "keycode,iso\n50,E03\n80,D10\n4,B00"; in testGetIsoLayoutPositionForMissingValue() local
17 KeycodeMap mapping = KeycodeMap.fromCsv(csv); in testGetIsoLayoutPositionForMissingValue()
27 String csv = "50,E03\n4,B00"; in testFromCsvMissingHeaders() local
29 KeycodeMap.fromCsv(csv); in testFromCsvMissingHeaders()
/external/python/cpython3/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 …]
/external/tensorflow/tensorflow/lite/testing/
Dparse_testdata.cc80 std::vector<std::vector<std::string>> csv; in ParseExamples() local
85 csv.emplace_back(ParseLine(str.substr(pos))); in ParseExamples()
88 csv.emplace_back(ParseLine(str.substr(pos, end - pos))); in ParseExamples()
93 PARSE_CHECK_EQ(filename, current_line, csv[0][0], "test_cases"); in ParseExamples()
94 int example_count = std::stoi(csv[0][1]); in ParseExamples()
98 &csv](FloatTensor* tensor_ptr) { in ParseExamples()
99 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "dtype"); in ParseExamples()
102 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "shape"); in ParseExamples()
106 for (size_t i = 1; i < csv[current_line].size(); i++) { in ParseExamples()
107 const auto& shape_part_to_parse = csv[current_line][i]; in ParseExamples()
[all …]
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dparse_testdata.cc83 std::vector<std::vector<std::string>> csv; in ParseExamples() local
88 csv.emplace_back(ParseLine(str.substr(pos))); in ParseExamples()
91 csv.emplace_back(ParseLine(str.substr(pos, end - pos))); in ParseExamples()
96 PARSE_CHECK_EQ(filename, current_line, csv[0][0], "test_cases"); in ParseExamples()
97 int example_count = std::stoi(csv[0][1]); in ParseExamples()
101 &csv](FloatTensor* tensor_ptr) { in ParseExamples()
102 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "dtype"); in ParseExamples()
105 PARSE_CHECK_EQ(filename, current_line, csv[current_line][0], "shape"); in ParseExamples()
109 for (size_t i = 1; i < csv[current_line].size(); i++) { in ParseExamples()
110 const auto& shape_part_to_parse = csv[current_line][i]; in ParseExamples()
[all …]
/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/bcc/tools/
Dtcplife.py436 if args.csv:
445 if args.csv:
453 if args.csv:
458 "4" if args.wide or args.csv else "",
467 if args.csv:
475 if args.csv:
480 "6" if args.wide or args.csv else "",
490 if args.csv:
495 if args.csv:
500 "IP" if args.wide or args.csv else "", "LADDR",
Dtcpstates.py241 if args.csv:
318 if args.csv:
326 if args.csv:
331 "4" if args.wide or args.csv else "",
343 if args.csv:
351 if args.csv:
356 "6" if args.wide or args.csv else "",
369 if args.csv:
374 if args.csv:
379 "IP" if args.wide or args.csv else "",
/external/rust/crates/rusqlite/src/vtab/
Dcsvtab.rs65 offset_first_row: csv::Position,
69 fn reader(&self) -> Result<csv::Reader<File>, csv::Error> { in reader()
70 csv::ReaderBuilder::new() in reader()
118 offset_first_row: csv::Position::new(), in connect()
221 let mut record = csv::ByteRecord::new(); in connect()
275 reader: csv::Reader<File>,
279 cols: csv::StringRecord,
285 fn new<'vtab>(reader: csv::Reader<File>) -> CSVTabCursor<'vtab> { in new()
290 cols: csv::StringRecord::new(), in new()
356 impl From<csv::Error> for Error {
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
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 …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeycodeMap.java33 public static KeycodeMap fromCsv(String csv) { in fromCsv() argument
34 checkArgument(!csv.isEmpty()); in fromCsv()
35 List<String> lines = LINE_SPLITTER.splitToList(csv); in fromCsv()
49 String csv = Resources.toString(Resources.getResource(clazz, fileName), in fromResource() local
51 return fromCsv(csv); in fromResource()
DKeyboardIdMap.java40 public static KeyboardIdMap fromCsv(String csv, Platform platform) { in fromCsv() argument
41 checkArgument(!csv.isEmpty()); in fromCsv()
42 List<String> lines = LINE_SPLITTER.splitToList(csv); in fromCsv()
65 String csv = Resources.toString(Resources.getResource(clazz, fileName), in fromResource() local
67 return fromCsv(csv, platform); in fromResource()
/external/python/cffi/demo/
Dfastcsv.py1 import csv
8 dialect = csv.get_dialect(dialect_name)
262 csv.register_dialect('unixpwd', delimiter=':', quoting=csv.QUOTE_NONE)
/external/llvm-project/libcxx/docs/
DCxx1yStatus.rst36 .. csv-table::
37 :file: Cxx1yStatusPaperStatus.csv
47 .. csv-table::
48 :file: Cxx1yStatusIssuesStatus.csv

12345678910>>...12