Home
last modified time | relevance | path

Searched refs:SqliteMallocString (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/rusqlite/src/util/
Dsqlite_string.rs29 pub(crate) struct SqliteMallocString { struct
39 impl SqliteMallocString { implementation
157 impl Drop for SqliteMallocString { implementation
164 impl std::fmt::Debug for SqliteMallocString { implementation
170 impl std::fmt::Display for SqliteMallocString { implementation
193 let s = SqliteMallocString::from_str(input); in test_from_str()
202 let p = SqliteMallocString::from_str("abcd").into_raw(); in test_lossy()
206 SqliteMallocString::from_raw(p).unwrap() in test_lossy()
216 v.push(SqliteMallocString::from_str(&i.to_string()).into_raw()); in test_into_raw()
217 v.push(SqliteMallocString::from_str(&format!("abc {} ��", i)).into_raw()); in test_into_raw()
[all …]
Dmod.rs11 pub(crate) use sqlite_string::SqliteMallocString;
/external/rust/crates/rusqlite/src/
Draw_statement.rs5 use crate::util::SqliteMallocString;
207 pub(crate) fn expanded_sql(&self) -> Option<SqliteMallocString> { in expanded_sql() argument
208 unsafe { SqliteMallocString::from_raw(ffi::sqlite3_expanded_sql(self.ptr)) } in expanded_sql()
/external/rust/crates/rusqlite/src/vtab/
Dmod.rs1129 crate::util::SqliteMallocString::from_str(s).into_raw() in alloc()