/external/rust/crates/plotters/src/coord/ranged1d/ |
D | discrete.rs | 40 fn from_index(&self, index: usize) -> Option<Self::ValueType>; in from_index() method 64 return self.from_index(idx - 1); in previous() 82 return self.from_index(idx + 1); in next() 152 &self.0.from_index(idx + 1).unwrap(), in map() 191 fn from_index(&self, idx: usize) -> Option<Self::ValueType> { in from_index() method 193 idx if idx < self.0.size() => self.0.from_index(idx).map(SegmentValue::Exact), in from_index() 210 self.from_index(idx) in unmap() 225 self.0.from_index(idx) in next() 255 match coord.from_index(i as usize) { in test_centric_coord()
|
/external/rust/crates/plotters/src/coord/ranged1d/combinators/ |
D | group_by.rs | 53 fn from_index(&self, index: usize) -> Option<Self::ValueType> { in from_index() method 54 self.0.from_index(index * self.1) in from_index() 97 .map(|x| self.0.from_index(x).unwrap()) in key_points() 102 .map(|x| self.0.from_index(x * self.1).unwrap()) in key_points() 116 assert_eq!(coord.from_index(idx as usize), Some(val)); in test_group_by()
|
D | ckps.rs | 89 fn from_index(&self, index: usize) -> Option<Self::ValueType> { in from_index() function 90 self.inner.from_index(index) in from_index() 211 fn from_index(&self, index: usize) -> Option<Self::ValueType> { in from_index() method 212 self.inner.from_index(index) in from_index() 236 assert_eq!(range.from_index(10), Some(10)); in test_with_key_points() 264 assert_eq!(range.from_index(10), Some(10)); in test_with_key_point_method()
|
D | nested.rs | 122 NestedValue::Value(self.primary.from_index(idx).unwrap(), v) in key_points() 148 fn from_index(&self, mut index: usize) -> Option<Self::ValueType> { in from_index() method 152 self.primary.from_index(p_idx).unwrap(), in from_index() 153 snd.from_index(index).unwrap(), in from_index() 203 assert_eq!(coord.from_index(24), Some(NestedValue::Value(5, 4))); in test_nested_coord()
|
D | partial_axis.rs | 68 fn from_index(&self, index: usize) -> Option<Self::ValueType> { in from_index() function 69 self.0.from_index(index) in from_index()
|
D | linspace.rs | 317 fn from_index(&self, idx: usize) -> Option<T::ValueType> { in from_index() function 360 assert_eq!(coord.index_of(&coord.from_index(230).unwrap()), Some(230)); in test_float_linspace() 361 assert!((coord.from_index(230).unwrap() - 23.0).abs() < 1e-5); in test_float_linspace() 428 assert_eq!(coord.index_of(&coord.from_index(230).unwrap()), Some(230)); in test_duration_linspace()
|
/external/skia/modules/skottie/src/animator/ |
D | ShapeKeyframeAnimator.cpp | 130 const auto from_index = kFloatsPerVertex * from_vertex, in operator SkPath() local 133 const SkPoint p0 = SkPoint{ (*this)[from_index + kX_Index], in operator SkPath() 134 (*this)[from_index + kY_Index] }, in operator SkPath() 137 c0 = SkPoint{ (*this)[from_index + kOutX_Index], in operator SkPath() 138 (*this)[from_index + kOutY_Index] } + p0, in operator SkPath()
|
/external/python/cpython3/Tools/scripts/ |
D | mailerdaemon.py | 101 from_index = len(data) 103 from_index = res.start(0) 109 res = regexp[0].search(data, 0, from_index) 116 res = regexp[1].match(data, res.end(0), from_index) 122 res = regexp.search(data, 0, from_index)
|
/external/python/cpython2/Tools/scripts/ |
D | mailerdaemon.py | 96 from_index = len(data) 98 from_index = res.start(0) 104 res = regexp[0].search(data, 0, from_index) 111 res = regexp[1].match(data, res.end(0), from_index) 117 res = regexp.search(data, 0, from_index)
|
/external/rust/crates/plotters/src/series/ |
D | histogram.rs | 244 .from_index(x) in next() 245 .map(|v| (v, self.br.from_index(x + 1))) in next() 268 .from_index(y) in next() 269 .map(|v| (v, self.br.from_index(y + 1))) in next()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
D | frame_buffer_utils.cc | 265 int from_index = GetOrientationIndex(from_orientation); in GetOrientParams() local 270 TFLITE_DCHECK(from_index > -1 && to_index > -1); in GetOrientParams() 272 if ((from_index < kExifGroupSize && to_index < kExifGroupSize) || in GetOrientParams() 273 (from_index >= kExifGroupSize && to_index >= kExifGroupSize)) { in GetOrientParams() 279 angle = (kExifGroupSize - (from_index - to_index)) % kExifGroupSize * 90; in GetOrientParams() 282 int from_index_mod = from_index % kExifGroupSize; in GetOrientParams()
|
/external/rust/crates/plotters/src/coord/ranged1d/types/ |
D | slice.rs | 56 fn from_index(&self, index: usize) -> Option<&'a T> { in from_index() method 98 assert_eq!(slice_range.from_index(2), Some(&3)); in test_slice_range_discrete()
|
D | datetime.rs | 235 fn from_index(&self, index: usize) -> Option<D> { in from_index() function 418 fn from_index(&self, index: usize) -> Option<T> { in from_index() function 553 fn from_index(&self, index: usize) -> Option<T> { in from_index() function 1142 assert_eq!(coord.from_index(364), Some(Utc.ymd(2019, 12, 31))); in test_date_discrete() 1153 assert_eq!(coord1.from_index(i - 1).unwrap().month(), i as u32); in test_monthly_discrete() 1155 coord1.index_of(&coord1.from_index(i - 1).unwrap()).unwrap(), in test_monthly_discrete() 1167 assert_eq!(coord1.from_index(i).unwrap().year(), 2000 + i as i32); in test_yearly_discrete() 1168 assert_eq!(coord1.index_of(&coord1.from_index(i).unwrap()).unwrap(), i); in test_yearly_discrete()
|
D | numeric.rs | 28 fn from_index(&self, index: usize) -> Option<Self::ValueType> {
|
/external/rust/crates/vulkano/src/swapchain/ |
D | display.rs | 148 PhysicalDevice::from_index(&self.instance, self.physical_device).unwrap() in physical_device() 245 PhysicalDevice::from_index(&self.instance, self.physical_device).unwrap() in physical_device()
|
/external/rust/crates/vulkano/src/device/ |
D | mod.rs | 442 PhysicalDevice::from_index(&self.instance, self.physical_device).unwrap() in physical_device()
|
D | physical.rs | 356 pub fn from_index(instance: &'a Arc<Instance>, index: usize) -> Option<PhysicalDevice<'a>> { in from_index() method
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_typed_visitor.h | 891 std::vector<int64_t> from_index(out_index.begin(), out_index.end()); 893 from_index[dim] = result_shape.dimensions(dim) - 1 - out_index[dim]; 895 return operand_literal.Get<ReturnT>(from_index);
|
/external/tensorflow/tensorflow/tools/compatibility/ |
D | tf_upgrade_v2_test.py | 298 ["%s=%d" % (from_name, from_index) 299 for from_index, from_name in enumerate(arg_names_v1)])
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 3040 tensorflow::Safe_PyObjectPtr from_index( local 3045 PyTuple_Pack(2, from_index.get(), to_index.get()));
|