/external/rust/crates/rusqlite/src/types/ |
D | chrono.rs | 131 use crate::{Connection, Result, NO_PARAMS}; 149 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_date() 153 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_date() 166 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_time() 170 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_time() 186 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_date_time() 190 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_date_time() 194 db.execute("UPDATE foo set b = datetime(t)", NO_PARAMS) in test_naive_date_time() 197 .query_row("SELECT b FROM foo", NO_PARAMS, |r| r.get(0)) in test_naive_date_time() 214 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_date_time_utc() [all …]
|
D | mod.rs | 119 use crate::{Connection, Error, NO_PARAMS}; 139 .query_row("SELECT b FROM foo", NO_PARAMS, |r| r.get(0)) in test_blob() 153 .query_row("SELECT b FROM foo", NO_PARAMS, |r| r.get(0)) in test_empty_blob() 166 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_str() 180 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_string() 194 db.query_row::<i64, _, _>("SELECT i FROM foo", NO_PARAMS, |r| r.get(0)) in test_value() 212 let mut rows = stmt.query(NO_PARAMS).unwrap(); in test_option() 242 NO_PARAMS, in test_mismatched_types() 247 let mut rows = stmt.query(NO_PARAMS).unwrap(); in test_mismatched_types() 352 NO_PARAMS, in test_dynamic_type() [all …]
|
D | time.rs | 35 use crate::{Connection, Result, NO_PARAMS}; 66 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_offset_date_time() 69 db.execute("DELETE FROM foo", NO_PARAMS).unwrap(); in test_offset_date_time() 79 db.query_row("SELECT CURRENT_TIMESTAMP", NO_PARAMS, |r| r.get(0)); in test_sqlite_functions()
|
D | serde_json.rs | 30 use crate::{Connection, NO_PARAMS}; 52 .query_row("SELECT t FROM foo", NO_PARAMS, |r| r.get(0)) in test_json_value() 56 .query_row("SELECT b FROM foo", NO_PARAMS, |r| r.get(0)) in test_json_value()
|
D | to_sql.rs | 304 use crate::{Connection, NO_PARAMS}; in test_i128() 325 .query_map(NO_PARAMS, |row| { in test_i128()
|
/external/rust/crates/rusqlite/src/ |
D | cache.rs | 167 use crate::{Connection, NO_PARAMS}; 198 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_cache() 208 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_cache() 229 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_set_capacity() 242 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_set_capacity() 253 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_set_capacity() 270 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_discard() 294 stmt.query(NO_PARAMS).unwrap().map(|r| r.get(0)).next() in test_ddl() 310 stmt.query(NO_PARAMS) in test_ddl() 339 stmt.query_row(NO_PARAMS, |r| r.get::<_, i64>(0)).unwrap() in test_cache_key() [all …]
|
D | lib.rs | 131 pub const NO_PARAMS: &[&dyn ToSql] = &[]; constant 157 $crate::NO_PARAMS 981 tx1.query_row("SELECT x FROM foo LIMIT 1", NO_PARAMS, |_| Ok(())) in test_concurrent_transactions_busy_commit() 983 tx2.query_row("SELECT x FROM foo LIMIT 1", NO_PARAMS, |_| Ok(())) in test_concurrent_transactions_busy_commit() 1017 let the_answer: Result<i64> = db.query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)); in test_persistence() 1074 let the_answer: Result<i64> = db.query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)); in test_invalid_unicode_file_names() 1167 db.query_row::<i32, _, _>("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_execute() 1189 NO_PARAMS, in test_execute_multiple() 1282 .query(NO_PARAMS) in test_query_map() 1304 db.query_row::<i64, _, _>("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_query_row() [all …]
|
D | backup.rs | 309 use crate::{Connection, DatabaseName, NO_PARAMS}; 329 .query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)) in test_backup() 343 .query_row("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_backup() 367 .query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)) in test_backup_temp() 383 .query_row("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_backup_temp() 412 .query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)) in test_backup_attached() 432 .query_row("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_backup_attached()
|
D | pragma.rs | 8 use crate::{Connection, DatabaseName, Result, Row, NO_PARAMS}; 179 self.query_row(&query, NO_PARAMS, f) in pragma_query_value() 198 let mut rows = stmt.query(NO_PARAMS)?; in pragma_query() 234 let mut rows = stmt.query(NO_PARAMS)?; in pragma() 282 self.query_row(&sql, NO_PARAMS, f) in pragma_update_and_check() 331 use crate::NO_PARAMS; in pragma_func_query_value() 337 NO_PARAMS, in pragma_func_query_value()
|
D | functions.rs | 749 use crate::{Connection, Error, Result, NO_PARAMS}; 767 let result: Result<f64> = db.query_row("SELECT half(6)", NO_PARAMS, |r| r.get(0)); in test_function_half() 782 let result: Result<f64> = db.query_row("SELECT half(6)", NO_PARAMS, |r| r.get(0)); in test_remove_function() 786 let result: Result<f64> = db.query_row("SELECT half(6)", NO_PARAMS, |r| r.get(0)); in test_remove_function() 834 db.query_row("SELECT regexp('l.s[aeiouy]', 'lisa')", NO_PARAMS, |r| { in test_function_regexp_with_auxilliary() 842 NO_PARAMS, in test_function_regexp_with_auxilliary() 874 let result: String = db.query_row(query, NO_PARAMS, |r| r.get(0)).unwrap(); in test_varargs_function() 896 NO_PARAMS, in test_get_aux_type_checking() 950 let result: Option<i64> = db.query_row(no_result, NO_PARAMS, |r| r.get(0)).unwrap(); in test_sum() 954 let result: i64 = db.query_row(single_sum, NO_PARAMS, |r| r.get(0)).unwrap(); in test_sum() [all …]
|
D | busy.rs | 85 use crate::{Connection, Error, ErrorCode, Result, TransactionBehavior, NO_PARAMS}; 97 let r: Result<()> = db2.query_row("PRAGMA schema_version", NO_PARAMS, |_| unreachable!()); in test_default_busy() 129 .query_row("PRAGMA schema_version", NO_PARAMS, |row| { in test_busy_timeout() 168 .query_row("PRAGMA schema_version", NO_PARAMS, |row| { in test_busy_handler()
|
D | statement.rs | 842 use crate::{Connection, Error, Result, NO_PARAMS}; 983 .query_row("SELECT y FROM test WHERE x = 'one'", NO_PARAMS, |row| { in test_unbound_parameters_are_null() 1034 .query_row("SELECT x FROM test WHERE y = 'two'", NO_PARAMS, |row| { in test_unbound_parameters_are_reused() 1058 match multi.insert(NO_PARAMS).unwrap_err() { in test_insert() 1079 .insert(NO_PARAMS) in test_insert_different_tables() 1086 .insert(NO_PARAMS) in test_insert_different_tables() 1130 let y: Result<i64> = stmt.query_row(NO_PARAMS, |r| r.get("y")); in test_query_by_column_name() 1143 let y: Result<i64> = stmt.query_row(NO_PARAMS, |r| r.get("y")); in test_query_by_column_name_ignore_case() 1200 assert!(stmt.execute(NO_PARAMS).is_err()); in test_empty_stmt() 1236 .query_row("SELECT x FROM foo", NO_PARAMS, |row| row.get(0)) in test_utf16_conversion()
|
D | transaction.rs | 470 use crate::{Connection, Error, NO_PARAMS}; 495 tx.query_row::<i32, _, _>("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_drop() 534 db.query_row::<i32, _, _>("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_unchecked_nesting() 562 tx.query_row::<i32, _, _>("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in test_explicit_rollback_commit() 669 .query_row::<i32, _, _>("SELECT SUM(x) FROM foo", NO_PARAMS, |r| r.get(0)) in assert_current_sum()
|
D | unlock_notify.rs | 103 use crate::{Connection, OpenFlags, Result, Transaction, TransactionBehavior, NO_PARAMS}; 125 let the_answer: Result<i64> = db1.query_row("SELECT x FROM foo", NO_PARAMS, |r| r.get(0)); in test_unlock_notify()
|
D | collation.rs | 160 use crate::{Connection, Result, NO_PARAMS}; 188 let rows = stmt.query(NO_PARAMS).unwrap(); in collate()
|
D | column.rs | 197 let mut rows = stmt.query(crate::NO_PARAMS).unwrap(); in test_column_name_in_error()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | CMSSignedGenerator.java | 69 private static final Set NO_PARAMS = new HashSet(); field in CMSSignedGenerator 74 NO_PARAMS.add(ENCRYPTION_DSA); 75 NO_PARAMS.add(ENCRYPTION_ECDSA); 76 NO_PARAMS.add(ENCRYPTION_ECDSA_WITH_SHA1); 77 NO_PARAMS.add(ENCRYPTION_ECDSA_WITH_SHA224); 78 NO_PARAMS.add(ENCRYPTION_ECDSA_WITH_SHA256); 79 NO_PARAMS.add(ENCRYPTION_ECDSA_WITH_SHA384); 80 NO_PARAMS.add(ENCRYPTION_ECDSA_WITH_SHA512);
|
/external/rust/crates/rusqlite/benches/ |
D | exec.rs | 2 use rusqlite::{Connection, NO_PARAMS}; 7 b.iter(|| db.execute(sql, NO_PARAMS).unwrap()); in bench_execute()
|
/external/rust/crates/rusqlite/src/vtab/ |
D | csvtab.rs | 365 use crate::{Connection, Result, NO_PARAMS}; 383 .query(NO_PARAMS) in test_csv_module() 408 let mut rows = s.query(NO_PARAMS).unwrap(); in test_csv_cursor()
|
D | series.rs | 276 use crate::{Connection, NO_PARAMS}; 290 let series = s.query_map(NO_PARAMS, |row| row.get::<_, i32>(0)).unwrap(); in test_series_module()
|
/external/rust/crates/rusqlite/src/blob/ |
D | pos_io.rs | 197 use crate::{Connection, DatabaseName, NO_PARAMS}; 208 NO_PARAMS, in test_pos_io()
|