Searched refs:ts_vec (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/rusqlite/src/types/ |
D | time.rs | 50 let mut ts_vec = vec![]; in test_offset_date_time() localVariable 55 ts_vec.push(make_datetime(10_000, 0)); //January 1, 1970 2:46:40 AM in test_offset_date_time() 56 ts_vec.push(make_datetime(10_000, 1000)); //January 1, 1970 2:46:40 AM (and one microsecond) in test_offset_date_time() 57 ts_vec.push(make_datetime(1_500_391_124, 1_000_000)); //July 18, 2017 in test_offset_date_time() 58 ts_vec.push(make_datetime(2_000_000_000, 2_000_000)); //May 18, 2033 in test_offset_date_time() 59 ts_vec.push(make_datetime(3_000_000_000, 999_999_999)); //January 24, 2065 in test_offset_date_time() 60 ts_vec.push(make_datetime(10_000_000_000, 0)); //November 20, 2286 in test_offset_date_time() 62 for ts in ts_vec { in test_offset_date_time()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | clock_tracker.cc | 246 const auto& ts_vec = cur_snap.timestamps_ns; in ConvertSlowpath() local 247 auto it = std::upper_bound(ts_vec.begin(), ts_vec.end(), ns); in ConvertSlowpath() 248 if (it != ts_vec.begin()) in ConvertSlowpath() 252 size_t index = static_cast<size_t>(std::distance(ts_vec.begin(), it)); in ConvertSlowpath() 253 PERFETTO_DCHECK(index < ts_vec.size()); in ConvertSlowpath() 254 PERFETTO_DCHECK(cur_snap.snapshot_ids.size() == ts_vec.size()); in ConvertSlowpath() 290 cache_entry.min_ts_ns = it == ts_vec.begin() ? kInt64Min : *it; in ConvertSlowpath() 292 cache_entry.max_ts_ns = ubound == ts_vec.end() ? kInt64Max : *ubound; in ConvertSlowpath()
|