Searched refs:slice_range (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/plotters/src/coord/ranged1d/types/ |
D | slice.rs | 81 let slice_range: RangedSlice<i32> = my_slice[..].into(); in test_slice_range() localVariable 83 assert_eq!(slice_range.range(), &1..&-2); in test_slice_range() 85 slice_range.key_points(6), in test_slice_range() 88 assert_eq!(slice_range.map(&&0, (0, 50)), 30); in test_slice_range() 94 let slice_range: RangedSlice<i32> = my_slice[..].into(); in test_slice_range_discrete() localVariable 96 assert_eq!(slice_range.size(), 6); in test_slice_range_discrete() 97 assert_eq!(slice_range.index_of(&&3), Some(2)); in test_slice_range_discrete() 98 assert_eq!(slice_range.from_index(2), Some(&3)); in test_slice_range_discrete()
|
/external/perfetto/src/tracing/internal/ |
D | interceptor_trace_writer.cc | 58 auto slice_range = slices.begin()->GetUsedRange(); in Flush() local 60 slice_range.begin, in Flush() 61 static_cast<size_t>(slice_range.end - slice_range.begin)}; in Flush()
|
/external/mesa3d/src/gallium/frontends/clover/util/ |
D | range.hpp | 292 class slice_range : class 293 public detail::basic_range<slice_range<O>, 297 typedef detail::basic_range<slice_range<O>, 303 slice_range(R &&r, typename super::size_type i, in slice_range() function in clover::slice_range 309 operator==(const slice_range &r) const { in operator ==() 393 slice_range<R> 394 slice(R &&r, typename slice_range<R>::size_type i, in slice() 395 typename slice_range<R>::size_type j) { in slice()
|
D | algorithm.hpp | 53 slice_range<R>
|