Home
last modified time | relevance | path

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

/external/rust/crates/rusqlite/src/types/
Dfrom_sql.rs236 fn check_ranges<T>(db: &Connection, out_of_range: &[i64], in_range: &[i64]) in test_integral_ranges() function
259 check_ranges::<i8>(&db, &[-129, 128], &[-128, 0, 1, 127]); in test_integral_ranges()
260 check_ranges::<i16>(&db, &[-32769, 32768], &[-32768, -1, 0, 1, 32767]); in test_integral_ranges()
261 check_ranges::<i32>( in test_integral_ranges()
266 check_ranges::<u8>(&db, &[-2, -1, 256], &[0, 1, 255]); in test_integral_ranges()
267 check_ranges::<u16>(&db, &[-2, -1, 65536], &[0, 1, 65535]); in test_integral_ranges()
268 check_ranges::<u32>(&db, &[-2, -1, 4_294_967_296], &[0, 1, 4_294_967_295]); in test_integral_ranges()