Home
last modified time | relevance | path

Searched refs:from_reader (Results 1 – 25 of 65) sorted by relevance

123

/external/rust/crates/ciborium/tests/
Drecursion.rs10 de::{from_reader, Error},
17 match from_reader::<Value, _>(&bytes[..]).unwrap_err() { in array()
26 match from_reader::<Value, _>(&bytes[..]).unwrap_err() { in map()
35 match from_reader::<Value, _>(&bytes[..]).unwrap_err() { in bytes()
44 match from_reader::<Value, _>(&bytes[..]).unwrap_err() { in text()
Dno_std.rs10 use ciborium::{de::from_reader, ser::into_writer};
14 assert_eq!(from_reader::<u8, &[u8]>(&[7u8][..]).unwrap(), 7); in decode()
19 from_reader::<u8, &[u8]>(&[]).unwrap_err(); in eof()
Derror.rs3 use ciborium::{de::from_reader, de::Error, value::Value};
38 let result: Result<Value, _> = from_reader(&bytes[..]); in test()
Dfuzz.rs9 use ciborium::{de::from_reader, value::Value};
45 writeln!(child, "{:?}", from_reader::<Value, _>(&buffer[..len])).unwrap(); in fuzz()
Dtag.rs5 use ciborium::{de::from_reader, ser::into_writer, tag::*, value::Value};
43 match from_reader(&bytes[..]) { in test()
/external/rust/crates/csv/src/
Dreader.rs139 pub fn from_reader<R: io::Read>(&self, rdr: R) -> Reader<R> { in from_reader() method
869 pub fn from_reader(rdr: R) -> Reader<R> { in from_reader() method
870 ReaderBuilder::new().from_reader(rdr) in from_reader()
2190 ReaderBuilder::new().has_headers(false).from_reader(data); in read_byte_record()
2214 .from_reader(data); in read_trimmed_records_and_headers()
2240 .from_reader(data); in read_trimmed_header()
2261 .from_reader(data); in read_trimed_header_invalid_utf8()
2290 .from_reader(data); in read_trimmed_records()
2309 ReaderBuilder::new().has_headers(false).from_reader(data); in read_record_unequal_fails()
2337 .from_reader(data); in read_record_unequal_ok()
[all …]
/external/rust/crates/csv/benches/
Dbench.rs134 ReaderBuilder::new().has_headers(false).from_reader(data);
151 .from_reader(data);
167 ReaderBuilder::new().has_headers(false).from_reader(data);
176 .from_reader(data)
204 ReaderBuilder::new().has_headers(true).from_reader(data);
213 .from_reader(data)
245 .from_reader(data);
267 .from_reader(data);
524 let mut rdr = ReaderBuilder::new().has_headers(false).from_reader(data); in collect_records()
/external/rust/crates/serde_cbor/tests/
Dstd_types.rs10 use serde_cbor::{from_reader, from_slice};
35 let parsed: f64 = from_reader(&mut &serialized[..]).unwrap();
66 let parsed: $ty = from_reader(&mut &serialized[..]).unwrap();
70 from_reader(&mut &packed[..]).expect("parsing packed");
/external/rust/crates/serde-xml-rs/src/
Dlib.rs191 pub use crate::de::{from_reader, from_str, Deserializer};
/external/rust/crates/csv/examples/
Dtutorial-setup-01.rs7 let mut rdr = csv::Reader::from_reader(io::stdin()); in main()
Dtutorial-error-01.rs4 let mut rdr = csv::Reader::from_reader(io::stdin()); in main()
Dtutorial-error-02.rs4 let mut rdr = csv::Reader::from_reader(io::stdin()); in main()
Dtutorial-error-04.rs11 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
Dcookbook-read-basic.rs5 let mut rdr = csv::Reader::from_reader(io::stdin()); in example()
Dcookbook-read-no-headers.rs5 csv::ReaderBuilder::new().has_headers(false).from_reader(io::stdin()); in example()
Dtutorial-read-headers-01.rs5 csv::ReaderBuilder::new().has_headers(false).from_reader(io::stdin()); in run()
Dcookbook-read-colon.rs5 csv::ReaderBuilder::new().delimiter(b':').from_reader(io::stdin()); in example()
Dtutorial-error-03.rs11 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
Dtutorial-perf-alloc-02.rs4 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
Dtutorial-read-serde-03.rs9 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
Dtutorial-perf-alloc-01.rs4 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
Dtutorial-read-delimiter-01.rs11 .from_reader(io::stdin()); in run()
Dtutorial-read-serde-02.rs8 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
Dtutorial-perf-alloc-03.rs4 let mut rdr = csv::Reader::from_reader(io::stdin()); in run()
/external/rust/crates/csv/
DREADME.md42 let mut rdr = csv::Reader::from_reader(io::stdin());
86 let mut rdr = csv::Reader::from_reader(io::stdin());

123