Home
last modified time | relevance | path

Searched refs:StringRecord (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/csv/src/
Dstring_record.rs36 pub struct StringRecord(ByteRecord); struct
38 impl PartialEq for StringRecord { implementation
39 fn eq(&self, other: &StringRecord) -> bool { in eq()
44 impl<T: AsRef<[u8]>> PartialEq<Vec<T>> for StringRecord { implementation
50 impl<'a, T: AsRef<[u8]>> PartialEq<Vec<T>> for &'a StringRecord { implementation
56 impl<T: AsRef<[u8]>> PartialEq<[T]> for StringRecord { implementation
62 impl<'a, T: AsRef<[u8]>> PartialEq<[T]> for &'a StringRecord { implementation
68 impl fmt::Debug for StringRecord { implementation
75 impl Default for StringRecord { implementation
77 fn default() -> StringRecord { in default()
[all …]
Dreader.rs12 use crate::string_record::StringRecord;
786 string_record: result::Result<StringRecord, Utf8Error>,
1329 pub fn headers(&mut self) -> Result<&StringRecord> { in headers() argument
1434 pub fn set_headers(&mut self, headers: StringRecord) { in set_headers() argument
1471 headers: result::Result<StringRecord, ByteRecord>, in set_headers_impl() argument
1481 match StringRecord::from_byte_record(bytes.clone()) { in set_headers_impl()
1536 pub fn read_record(&mut self, record: &mut StringRecord) -> Result<bool> { in read_record()
1917 rec: StringRecord,
1918 headers: Option<StringRecord>,
1931 rec: StringRecord::new(), in new()
[all …]
Dbyte_record.rs12 use crate::string_record::StringRecord;
733 impl From<StringRecord> for ByteRecord {
735 fn from(record: StringRecord) -> ByteRecord { in from()
857 use crate::string_record::StringRecord;
1025 let err = StringRecord::from_byte_record(rec).unwrap_err(); in utf8_error_1()
1035 let err = StringRecord::from_byte_record(rec).unwrap_err(); in utf8_error_2()
1045 let err = StringRecord::from_byte_record(rec).unwrap_err(); in utf8_error_3()
1059 let err = StringRecord::from_byte_record(rec).unwrap_err(); in utf8_error_4()
1073 let err = StringRecord::from_byte_record(rec).unwrap_err(); in utf8_error_5()
1086 let err = StringRecord::from_byte_record(rec).unwrap_err(); in utf8_error_6()
[all …]
Ddeserializer.rs17 use crate::string_record::{StringRecord, StringRecordIter};
22 record: &'de StringRecord, in deserialize_string_record() argument
23 headers: Option<&'de StringRecord>, in deserialize_string_record() argument
810 use crate::string_record::StringRecord;
813 let record = StringRecord::from(fields); in de()
821 let headers = StringRecord::from(headers); in de_headers()
822 let record = StringRecord::from(fields); in de_headers()
1161 let headers = StringRecord::from(vec!["a", "b", "c"]); in borrowed()
1162 let record = StringRecord::from(vec!["foo", "5", "bar"]); in borrowed()
1172 let headers = StringRecord::from(vec!["a", "b", "c"]); in borrowed_map()
[all …]
Dlib.rs166 pub use crate::string_record::{StringRecord, StringRecordIter};
Dwriter.rs1193 use crate::string_record::StringRecord;
1212 wtr.write_record(&StringRecord::from(vec!["a", "b", "c"])).unwrap(); in one_string_record()
/external/fonttools/Lib/fontTools/ttLib/tables/
DM_E_T_A_.py91 stringRec, newData = sstruct.unpack2(METAStringRecordFormat, newData, StringRecord())
207 stringRec = StringRecord()
268 class StringRecord(object): class
/external/rust/crates/csv/examples/
Dtutorial-perf-serde-02.rs21 let mut raw_record = csv::StringRecord::new(); in run()
/external/rust/crates/csv/benches/
Dbench.rs11 ByteRecord, Reader, ReaderBuilder, StringRecord, Trim, Writer,
269 let mut rec = StringRecord::new();
516 let mut rec = StringRecord::new(); in count_read_str()
/external/rust/crates/rusqlite/src/vtab/
Dcsvtab.rs279 cols: csv::StringRecord,
290 cols: csv::StringRecord::new(), in new()
/external/rust/crates/csv/
DREADME.md47 // The iterator yields Result<StringRecord, Error>, so we check the