Home
last modified time | relevance | path

Searched full:csv (Results 1 – 25 of 1772) sorted by relevance

12345678910>>...71

/external/python/cpython3/Lib/test/
Dtest_csv.py2 # csv package unit tests
9 import csv
26 Test the underlying C csv parser in ways that are not appropriate
41 self.assertRaises(csv.Error, ctor, arg, 'foo')
50 quoting=csv.QUOTE_ALL, quotechar='')
52 quoting=csv.QUOTE_ALL, quotechar=None)
54 quoting=csv.QUOTE_NONE, quotechar='')
90 self._test_arg_valid(csv.reader, [])
91 self.assertRaises(OSError, csv.reader, BadIterable())
94 self._test_arg_valid(csv.writer, StringIO())
[all …]
/external/cronet/tot/third_party/llvm-libc/src/benchmarks/
DMemorySizeDistributions.cpp10 #include "distributions/MemmoveGoogleA.csv"
13 #include "distributions/MemmoveGoogleB.csv"
16 #include "distributions/MemmoveGoogleD.csv"
19 #include "distributions/MemmoveGoogleQ.csv"
22 #include "distributions/MemmoveGoogleL.csv"
25 #include "distributions/MemmoveGoogleM.csv"
28 #include "distributions/MemmoveGoogleS.csv"
31 #include "distributions/MemmoveGoogleW.csv"
34 #include "distributions/MemmoveGoogleU.csv"
37 #include "distributions/MemcmpGoogleA.csv"
[all …]
/external/cronet/stable/third_party/llvm-libc/src/benchmarks/
DMemorySizeDistributions.cpp10 #include "distributions/MemmoveGoogleA.csv"
13 #include "distributions/MemmoveGoogleB.csv"
16 #include "distributions/MemmoveGoogleD.csv"
19 #include "distributions/MemmoveGoogleQ.csv"
22 #include "distributions/MemmoveGoogleL.csv"
25 #include "distributions/MemmoveGoogleM.csv"
28 #include "distributions/MemmoveGoogleS.csv"
31 #include "distributions/MemmoveGoogleW.csv"
34 #include "distributions/MemmoveGoogleU.csv"
37 #include "distributions/MemcmpGoogleA.csv"
[all …]
/external/google-cloud-java/java-advisorynotifications/proto-google-cloud-advisorynotifications-v1/src/main/java/com/google/cloud/advisorynotifications/v1/
DCsv.java25 * A representation of a CSV file attachment, as a list of column headers and
29 * Protobuf type {@code google.cloud.advisorynotifications.v1.Csv}
31 public final class Csv extends com.google.protobuf.GeneratedMessageV3 class
33 // @@protoc_insertion_point(message_implements:google.cloud.advisorynotifications.v1.Csv)
36 // Use Csv.newBuilder() to construct.
37 private Csv(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in Csv() method in Csv
41 private Csv() { in Csv() method in Csv
49 return new Csv(); in newInstance()
68 com.google.cloud.advisorynotifications.v1.Csv.class, in internalGetFieldAccessorTable()
69 com.google.cloud.advisorynotifications.v1.Csv.Builder.class); in internalGetFieldAccessorTable()
[all …]
DCsvOrBuilder.java23 // @@protoc_insertion_point(interface_extends:google.cloud.advisorynotifications.v1.Csv)
30 * The list of headers for data columns in a CSV file.
42 * The list of headers for data columns in a CSV file.
54 * The list of headers for data columns in a CSV file.
67 * The list of headers for data columns in a CSV file.
81 * The list of data rows in a CSV file, as string arrays rather than as a
85 * <code>repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;</code>
87 java.util.List<com.google.cloud.advisorynotifications.v1.Csv.CsvRow> getDataRowsList(); in getDataRowsList()
92 * The list of data rows in a CSV file, as string arrays rather than as a
96 * <code>repeated .google.cloud.advisorynotifications.v1.Csv.CsvRow data_rows = 2;</code>
[all …]
DAttachment.java77 CSV(2), enumConstant
97 return CSV; in forNumber()
119 * A CSV file attachment. Max size is 10 MB.
122 * <code>.google.cloud.advisorynotifications.v1.Csv csv = 2;</code>
124 * @return Whether the csv field is set.
134 * A CSV file attachment. Max size is 10 MB.
137 * <code>.google.cloud.advisorynotifications.v1.Csv csv = 2;</code>
139 * @return The csv.
142 public com.google.cloud.advisorynotifications.v1.Csv getCsv() { in getCsv()
144 return (com.google.cloud.advisorynotifications.v1.Csv) data_; in getCsv()
[all …]
/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
17 The so-called CSV (Comma Separated Values) format is the most common import and
18 export format for spreadsheets and databases. CSV format was used for many
22 differences can make it annoying to process CSV files from multiple sources.
28 The :mod:`csv` module implements classes to read and write tabular data in CSV
31 knowing the precise details of the CSV format used by Excel. Programmers can
32 also describe the CSV formats understood by other applications or define their
[all …]
/external/rust/android-crates-io/crates/csv/
DREADME.md1 csv chapter
3 A fast and flexible CSV reader and writer for Rust, with support for Serde.
5 …status](https://github.com/BurntSushi/rust-csv/workflows/ci/badge.svg)](https://github.com/BurntSu…
6 [![crates.io](https://img.shields.io/crates/v/csv.svg)](https://crates.io/crates/csv)
13 https://docs.rs/csv
16 [tutorial](https://docs.rs/csv/1.*/csv/tutorial/index.html)
22 To bring this crate into your repository, either add `csv` to your
23 `Cargo.toml`, or run `cargo add csv`.
28 This example shows how to read CSV data from stdin and print each record to
32 [cookbook](https://docs.rs/csv/1.*/csv/cookbook/index.html).
[all …]
/external/rust/android-crates-io/crates/csv/src/
Dcookbook.rs2 A cookbook of examples for CSV reading and writing.
8 [`rust-csv`](https://github.com/BurntSushi/rust-csv)
11 For **reading** CSV:
18 For **writing** CSV:
24 [submit a pull request](https://github.com/BurntSushi/rust-csv/pulls)
29 This example shows how to read CSV data from stdin and print each record to
37 // Build the CSV reader and iterate over each record.
38 let mut rdr = csv::Reader::from_reader(io::stdin());
59 $ git clone git://github.com/BurntSushi/rust-csv
60 $ cd rust-csv
[all …]
Dtutorial.rs2 A tutorial for handling CSV data in Rust.
4 This tutorial will cover basic CSV reading and writing, automatic
5 (de)serialization with Serde, CSV transformations and performance.
24 1. [Reading CSV](#reading-csv)
29 1. [Writing CSV](#writing-csv)
38 * [CSV parsing without the standard library](#csv-parsing-without-the-standard-library)
43 In this section, we'll get you setup with a simple program that reads CSV data
56 `csv = "1.1"` to your `[dependencies]` section. At this point, your
66 csv = "1.1"
69 Next, let's build your project. Since you added the `csv` crate as a
[all …]
Dlib.rs2 The `csv` crate provides a fast and flexible CSV reader and writer, with
9 programs that do CSV reading and writing.
21 for reading and writing CSV data respectively.
22 Correspondingly, to support CSV data with custom field or record delimiters
27 depending on whether you're reading or writing CSV data.
29 Unless you're using Serde, the standard CSV record types are
45 Run `cargo add csv` to add the latest version of the `csv` crate to your
54 This example shows how to read CSV data from stdin and print each record to
63 // Build the CSV reader and iterate over each record.
64 let mut rdr = csv::Reader::from_reader(io::stdin());
[all …]
/external/rappor/pipeline/
Dregtest.sh19 local params_path=_tmp/metadata/regtest_params.csv
22 cp --verbose ../_tmp/python/demo1/case_params.csv $params_path
25 cat >_tmp/metadata/dist-analysis.csv <<EOF
27 unif,map.csv
28 gauss,map.csv
29 exp,map.csv
30 m.domain,domain_map.csv
34 cat >_tmp/metadata/rappor-vars.csv <<EOF
48 local map_path=_tmp/maps/map.csv
51 cp --verbose ../_tmp/python/demo1/case_map.csv $map_path
[all …]
Dmetric_status.R69 overview_path <- file.path(output_dir, 'overview.csv')
70 write.csv(by_metric, file = overview_path, row.names = FALSE)
77 # Write status.csv, num_reports.csv, and mass.csv for each metric.
81 # loop over unique metrics, and write a CSV for each one
95 out_path = file.path(output_dir, m, 'status.csv')
96 write.csv(subframe, file = out_path, row.names = FALSE)
102 # pass it an array, rather than CSV text.
105 path1 <- file.path(output_dir, m, 'num_reports.csv')
108 # double quotes will be invalid CSV files. But in this case, we only have
110 write.csv(f1, file = path1, row.names = FALSE, quote = FALSE)
[all …]
Dcook.sh26 find $dir -name results.csv
47 local out=$job_dir/task-status.csv
54 # Create a single dist.csv time series for a GIVEN metric.
67 > $out_dir/dist.csv
70 # Creates a dist.csv file for EACH metric. TODO: Rename one/many
82 # Take the task-status.csv file, which has row key (metric, date). Writes
83 # num_reports.csv and status.csv per metric, and a single overview.csv for all
89 TOOLS-metric-status dist $job_dir/task-status.csv $out_dir
100 local out=$job_dir/assoc-task-status.csv
109 # Create a single assoc.csv time series for a GIVEN (var1, var2) pair.
[all …]
Dui.sh76 # Write HTML fragment based on overview.csv.
81 TOOLS-csv-to-html \
83 < $job_dir/cooked/overview.csv \
102 # Convert status.csv to status.part.html (a fragment)
107 # Link to raw CSV
108 #--col-format 'date <a href="../../raw/{metric}/{date}/results.csv">{date}</a>' \
122 TOOLS-csv-to-html \
126 < $entry/status.csv \
135 # .../raw/Settings.HomePage2/2015-03-01/results.csv ->
138 local html_out=$(echo $csv_in | sed -e 's|/raw/|/cooked/|; s|/results.csv|.part.html|')
[all …]
/external/rappor/bin/
Dtest.sh49 cp --verbose $case_dir/1/case_counts.csv $input_dir/counts.csv
50 cp --verbose $case_dir/case_map.csv $input_dir/map.csv
51 cp --verbose $case_dir/case_params.csv $input_dir/params.csv
63 --counts $input_dir/counts.csv \
64 --map $input_dir/map.csv \
65 --params $input_dir/params.csv \
69 head $output_dir/results.csv
84 cat >$build_dir/true_values.csv <<EOF
119 < $build_dir/true_values.csv \
120 > $input_dir/reports.csv
[all …]
/external/rust/android-crates-io/crates/rusqlite/src/vtab/
Dcsvtab.rs1 //! CSV Virtual Table.
3 //! Port of [csv](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/csv.c) C
4 //! extension: `https://www.sqlite.org/csv.html`
14 //! // Assume my_csv.csv
17 //! USING csv(filename = 'my_csv.csv')
38 /// Register the "csv" module.
40 /// CREATE VIRTUAL TABLE vtab USING csv(
41 /// filename=FILENAME -- Name of file containing CSV content
42 /// [, schema=SCHEMA] -- Alternative CSV schema. 'CREATE TABLE x(col1 TEXT NOT NULL, col2 INT, ..…
43 /// [, header=YES|NO] -- First row of CSV defines the names of columns if "yes". Default "no".
[all …]
/external/conscrypt/common/src/test/resources/crypto/
Dbuild_test_files.sh3 # Writes out all CSV files for crypto test data based on NIST test vectors.
15 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
[all …]
/external/chromium-crossbench/tests/crossbench/probes/
Dtest_probe_results.py60 LocalProbeResult(file=[pathlib.Path("foo.csv")])
62 LocalProbeResult(json=[pathlib.Path("foo.csv")])
64 LocalProbeResult(csv=[pathlib.Path("foo.json")])
70 LocalProbeResult(csv=[pathlib.Path("not_there.csv")])
89 failed = result.csv
113 failed = result.csv
117 path = self.create_file("result.csv")
119 _ = LocalProbeResult(csv=[path, path])
120 result = LocalProbeResult(csv=[path])
123 result, LocalProbeResult(csv=[
[all …]
/external/cpu_features/src/
Dimpl_x86_freebsd.c46 StringView csv = result.line; in DetectFeaturesFromOs() local
47 int index = CpuFeatures_StringView_IndexOfChar(csv, '<'); in DetectFeaturesFromOs()
48 if (index >= 0) csv = CpuFeatures_StringView_PopFront(csv, index + 1); in DetectFeaturesFromOs()
49 if (csv.size > 0 && CpuFeatures_StringView_Back(csv) == '>') in DetectFeaturesFromOs()
50 csv = CpuFeatures_StringView_PopBack(csv, 1); in DetectFeaturesFromOs()
51 if (CpuFeatures_StringView_HasWord(csv, "SSE", ',')) features->sse = true; in DetectFeaturesFromOs()
52 if (CpuFeatures_StringView_HasWord(csv, "SSE2", ',')) in DetectFeaturesFromOs()
54 if (CpuFeatures_StringView_HasWord(csv, "SSE3", ',')) in DetectFeaturesFromOs()
56 if (CpuFeatures_StringView_HasWord(csv, "SSSE3", ',')) in DetectFeaturesFromOs()
58 if (CpuFeatures_StringView_HasWord(csv, "SSE4.1", ',')) in DetectFeaturesFromOs()
[all …]
/external/cronet/tot/third_party/cpu_features/src/src/
Dimpl_x86_freebsd.c46 StringView csv = result.line; in DetectFeaturesFromOs() local
47 int index = CpuFeatures_StringView_IndexOfChar(csv, '<'); in DetectFeaturesFromOs()
48 if (index >= 0) csv = CpuFeatures_StringView_PopFront(csv, index + 1); in DetectFeaturesFromOs()
49 if (csv.size > 0 && CpuFeatures_StringView_Back(csv) == '>') in DetectFeaturesFromOs()
50 csv = CpuFeatures_StringView_PopBack(csv, 1); in DetectFeaturesFromOs()
51 if (CpuFeatures_StringView_HasWord(csv, "SSE", ',')) features->sse = true; in DetectFeaturesFromOs()
52 if (CpuFeatures_StringView_HasWord(csv, "SSE2", ',')) in DetectFeaturesFromOs()
54 if (CpuFeatures_StringView_HasWord(csv, "SSE3", ',')) in DetectFeaturesFromOs()
56 if (CpuFeatures_StringView_HasWord(csv, "SSSE3", ',')) in DetectFeaturesFromOs()
58 if (CpuFeatures_StringView_HasWord(csv, "SSE4.1", ',')) in DetectFeaturesFromOs()
[all …]
/external/cronet/stable/third_party/cpu_features/src/src/
Dimpl_x86_freebsd.c46 StringView csv = result.line; in DetectFeaturesFromOs() local
47 int index = CpuFeatures_StringView_IndexOfChar(csv, '<'); in DetectFeaturesFromOs()
48 if (index >= 0) csv = CpuFeatures_StringView_PopFront(csv, index + 1); in DetectFeaturesFromOs()
49 if (csv.size > 0 && CpuFeatures_StringView_Back(csv) == '>') in DetectFeaturesFromOs()
50 csv = CpuFeatures_StringView_PopBack(csv, 1); in DetectFeaturesFromOs()
51 if (CpuFeatures_StringView_HasWord(csv, "SSE", ',')) features->sse = true; in DetectFeaturesFromOs()
52 if (CpuFeatures_StringView_HasWord(csv, "SSE2", ',')) in DetectFeaturesFromOs()
54 if (CpuFeatures_StringView_HasWord(csv, "SSE3", ',')) in DetectFeaturesFromOs()
56 if (CpuFeatures_StringView_HasWord(csv, "SSSE3", ',')) in DetectFeaturesFromOs()
58 if (CpuFeatures_StringView_HasWord(csv, "SSE4.1", ',')) in DetectFeaturesFromOs()
[all …]
/external/rust/android-crates-io/crates/csv-core/
DREADME.md1 csv-core
3 A fast CSV reader and write for use in a `no_std` context. This crate will
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`.
31 ### Example: reading CSV
33 This example shows how to count the number of fields and records in CSV data.
[all …]
/external/perfetto/test/trace_processor/diff_tests/syntax/
Dfiltering_tests.py17 from python.generators.diff_tests.testing import Csv
34 out=Csv("""
48 out=Csv("""
62 out=Csv("""
76 out=Csv("""
90 out=Csv("""
104 out=Csv("""
118 out=Csv("""
132 out=Csv("""
146 out=Csv("""
[all …]
/external/cronet/stable/third_party/libc++/src/utils/
Dsynchronize_csv_status_files.py12 import csv
54 information from CSV rows, like any notes associated to the status.
77 Parse a paper status out of a CSV row entry. Entries can look like:
95 raise RuntimeError(f'Unexpected CSV entry for status: {entry}')
119 Return the issue state formatted for a CSV entry. The status is formatted as '|Complete|',
160 This is used to populate the "Notes" column in the CSV status pages.
165 …Object from which this PaperInfo originated. This is used to track the CSV row or Github issue that
199 …Given a row from one of our status-tracking CSV files, create a PaperInfo object representing that…
244 Merge a paper coming from a CSV row with a corresponding Github-tracked paper.
246 If the CSV row has a status that is "less advanced" than the Github issue, simply update the CSV
[all …]

12345678910>>...71