Home
last modified time | relevance | path

Searched defs:f32 (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/external/rust/android-crates-io/crates/glam/src/f32/
Dmath.rs3 fn acos_approx_f32(v: f32) -> f32 { in acos_approx_f32()
38 pub(crate) fn abs(f: f32) -> f32 { in abs()
43 pub(crate) fn acos_approx(f: f32) -> f32 { in acos_approx()
48 pub(crate) fn atan2(f: f32, other: f32) -> f32 { in atan2()
54 pub(crate) fn sin(f: f32) -> f32 { in sin()
59 pub(crate) fn sin_cos(f: f32) -> (f32, f32) { in sin_cos()
64 pub(crate) fn tan(f: f32) -> f32 { in tan()
69 pub(crate) fn sqrt(f: f32) -> f32 { in sqrt()
74 pub(crate) fn copysign(f: f32, sign: f32) -> f32 { in copysign()
79 pub(crate) fn signum(f: f32) -> f32 { in signum()
[all …]
Dfloat.rs5 impl FloatExt for f32 { implementation
7 fn lerp(self, rhs: f32, t: f32) -> f32 { in lerp()
12 fn inverse_lerp(a: f32, b: f32, v: f32) -> f32 { in inverse_lerp()
17 fn remap(self, in_start: f32, in_end: f32, out_start: f32, out_end: f32) -> f32 { in remap()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/outline/
Dpen.rs9 fn move_to(&mut self, x: f32, y: f32); in move_to()
12 fn line_to(&mut self, x: f32, y: f32); in line_to()
16 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32); in quad_to()
20 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32); in curve_to()
73 fn move_to(&mut self, x: f32, y: f32) { in move_to()
77 fn line_to(&mut self, x: f32, y: f32) { in line_to()
81 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
85 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
105 fn move_to(&mut self, _x: f32, _y: f32) {} in move_to()
106 fn line_to(&mut self, _x: f32, _y: f32) {} in line_to()
[all …]
Dtesting.rs27 fn move_to(&mut self, x: f32, y: f32) { in move_to()
32 fn line_to(&mut self, x: f32, y: f32) { in line_to()
37 fn quad_to(&mut self, x0: f32, y0: f32, x1: f32, y1: f32) { in quad_to()
42 fn curve_to(&mut self, x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32) { in curve_to()
Dmod.rs803 fn xy(&self) -> (f32, f32) { in xy()
826 fn move_to(&mut self, x: f32, y: f32) { in move_to()
830 fn line_to(&mut self, x: f32, y: f32) { in line_to()
834 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
839 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
890 fn move_to(&mut self, _x: f32, _y: f32) { in move_to()
894 fn line_to(&mut self, _x: f32, _y: f32) { in line_to()
898 fn quad_to(&mut self, _cx0: f32, _cy0: f32, _x: f32, _y: f32) { in quad_to()
902 fn curve_to(&mut self, _cx0: f32, _cy0: f32, _cx1: f32, _cy1: f32, _x: f32, _y: f32) { in curve_to()
1112 fn pt(x: f32, y: f32) -> Point { in pt()
[all …]
Dunscaled.rs170 fn push(&mut self, x: f32, y: f32, flags: PointFlags, is_contour_start: bool) { in push()
187 fn move_to(&mut self, x: f32, y: f32) { in move_to()
191 fn line_to(&mut self, x: f32, y: f32) { in line_to()
195 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
200 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/outline/
Dpen.rs9 fn move_to(&mut self, x: f32, y: f32); in move_to()
12 fn line_to(&mut self, x: f32, y: f32); in line_to()
16 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32); in quad_to()
20 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32); in curve_to()
73 fn move_to(&mut self, x: f32, y: f32) { in move_to()
77 fn line_to(&mut self, x: f32, y: f32) { in line_to()
81 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
85 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
105 fn move_to(&mut self, _x: f32, _y: f32) {} in move_to()
106 fn line_to(&mut self, _x: f32, _y: f32) {} in line_to()
[all …]
Dtesting.rs27 fn move_to(&mut self, x: f32, y: f32) { in move_to()
32 fn line_to(&mut self, x: f32, y: f32) { in line_to()
37 fn quad_to(&mut self, x0: f32, y0: f32, x1: f32, y1: f32) { in quad_to()
42 fn curve_to(&mut self, x0: f32, y0: f32, x1: f32, y1: f32, x2: f32, y2: f32) { in curve_to()
Dmod.rs803 fn xy(&self) -> (f32, f32) { in xy()
826 fn move_to(&mut self, x: f32, y: f32) { in move_to()
830 fn line_to(&mut self, x: f32, y: f32) { in line_to()
834 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
839 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
890 fn move_to(&mut self, _x: f32, _y: f32) { in move_to()
894 fn line_to(&mut self, _x: f32, _y: f32) { in line_to()
898 fn quad_to(&mut self, _cx0: f32, _cy0: f32, _x: f32, _y: f32) { in quad_to()
902 fn curve_to(&mut self, _cx0: f32, _cy0: f32, _cx1: f32, _cy1: f32, _x: f32, _y: f32) { in curve_to()
1112 fn pt(x: f32, y: f32) -> Point { in pt()
[all …]
Dunscaled.rs170 fn push(&mut self, x: f32, y: f32, flags: PointFlags, is_contour_start: bool) { in push()
187 fn move_to(&mut self, x: f32, y: f32) { in move_to()
191 fn line_to(&mut self, x: f32, y: f32) { in line_to()
195 fn quad_to(&mut self, cx0: f32, cy0: f32, x: f32, y: f32) { in quad_to()
200 fn curve_to(&mut self, cx0: f32, cy0: f32, cx1: f32, cy1: f32, x: f32, y: f32) { in curve_to()
/external/rust/android-crates-io/crates/taffy/src/util/
Dsys.rs35 pub(crate) fn round(value: f32) -> f32 { in round()
42 pub(crate) fn ceil(value: f32) -> f32 { in ceil()
49 pub(crate) fn floor(value: f32) -> f32 { in floor()
56 pub(crate) fn abs(value: f32) -> f32 { in abs()
62 pub(crate) fn f32_max(a: f32, b: f32) -> f32 { in f32_max()
68 pub(crate) fn f32_min(a: f32, b: f32) -> f32 { in f32_min()
107 pub(crate) fn f32_max(a: f32, b: f32) -> f32 { in f32_max()
113 pub(crate) fn f32_min(a: f32, b: f32) -> f32 { in f32_min()
155 pub(crate) fn f32_max(a: f32, b: f32) -> f32 { in f32_max()
161 pub(crate) fn f32_min(a: f32, b: f32) -> f32 { in f32_min()
[all …]
Dmath.rs29 fn maybe_min(self, rhs: Option<f32>) -> Option<f32> { in maybe_min()
38 fn maybe_max(self, rhs: Option<f32>) -> Option<f32> { in maybe_max()
47 fn maybe_clamp(self, min: Option<f32>, max: Option<f32>) -> Option<f32> { in maybe_clamp()
57 fn maybe_add(self, rhs: Option<f32>) -> Option<f32> { in maybe_add()
66 fn maybe_sub(self, rhs: Option<f32>) -> Option<f32> { in maybe_sub()
77 fn maybe_min(self, rhs: f32) -> Option<f32> { in maybe_min()
81 fn maybe_max(self, rhs: f32) -> Option<f32> { in maybe_max()
85 fn maybe_clamp(self, min: f32, max: f32) -> Option<f32> { in maybe_clamp()
89 fn maybe_add(self, rhs: f32) -> Option<f32> { in maybe_add()
93 fn maybe_sub(self, rhs: f32) -> Option<f32> { in maybe_sub()
[all …]
/external/rust/android-crates-io/crates/taffy/src/compute/grid/
Dalignment.rs18 grid_container_content_box_size: f32, in align_tracks()
19 padding: Line<f32>, in align_tracks()
20 border: Line<f32>, in align_tracks()
63 grid_area: Rect<f32>, in align_and_position_item()
65 baseline_shim: f32, in align_and_position_item()
66 ) -> (Size<f32>, f32, f32) { in align_and_position_item()
258 grid_area: Line<f32>, in align_item_within_area()
260 resolved_size: f32, in align_item_within_area()
262 inset: Line<Option<f32>>, in align_item_within_area()
263 margin: Line<Option<f32>>, in align_item_within_area()
[all …]
Dtrack_sizing.rs96 fn available_space(&self, item: &mut GridItem) -> Size<Option<f32>> { in available_space()
108 fn margins_axis_sums_with_baseline_shims(&self, item: &GridItem) -> Size<f32> { in margins_axis_sums_with_baseline_shims()
114 fn min_content_contribution(&mut self, item: &mut GridItem) -> f32 { in min_content_contribution()
124 fn max_content_contribution(&mut self, item: &mut GridItem) -> f32 { in max_content_contribution()
140 fn minimum_contribution(&mut self, item: &mut GridItem, axis_tracks: &[GridTrack]) -> f32 { in minimum_contribution()
178 axis_inner_node_size: Option<f32>, in compute_alignment_gutter_adjustment()
179 get_track_size_estimate: impl Fn(&GridTrack, Option<f32>) -> Option<f32>, in compute_alignment_gutter_adjustment()
181 ) -> f32 { in compute_alignment_gutter_adjustment()
267 axis_min_size: Option<f32>, in track_sizing_algorithm()
268 axis_max_size: Option<f32>, in track_sizing_algorithm()
[all …]
/external/rust/android-crates-io/crates/taffy/src/compute/grid/types/
Dgrid_item.rs194 axis_parent_size: Option<f32>, in spanned_track_limit()
195 ) -> Option<f32> { in spanned_track_limit()
217 axis_parent_size: Option<f32>, in spanned_fixed_track_limit()
218 ) -> Option<f32> { in spanned_fixed_track_limit()
239 inner_node_size: Size<Option<f32>>, in known_dimensions()
240 grid_area_size: Size<Option<f32>>, in known_dimensions()
241 ) -> Size<Option<f32>> { in known_dimensions()
319 other_axis_available_space: Option<f32>, in available_space()
320 get_track_size_estimate: impl Fn(&GridTrack, Option<f32>) -> Option<f32>, in available_space()
321 ) -> Size<Option<f32>> { in available_space()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/scalar/
Dmat4.rs79 m00: f32, in new()
80 m01: f32, in new()
81 m02: f32, in new()
82 m03: f32, in new()
83 m10: f32, in new()
84 m11: f32, in new()
85 m12: f32, in new()
86 m13: f32, in new()
87 m20: f32, in new()
88 m21: f32, in new()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/wasm32/
Dmat4.rs75 m00: f32, in new()
76 m01: f32, in new()
77 m02: f32, in new()
78 m03: f32, in new()
79 m10: f32, in new()
80 m11: f32, in new()
81 m12: f32, in new()
82 m13: f32, in new()
83 m20: f32, in new()
84 m21: f32, in new()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/neon/
Dmat4.rs75 m00: f32, in new()
76 m01: f32, in new()
77 m02: f32, in new()
78 m03: f32, in new()
79 m10: f32, in new()
80 m11: f32, in new()
81 m12: f32, in new()
82 m13: f32, in new()
83 m20: f32, in new()
84 m21: f32, in new()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/sse2/
Dmat4.rs78 m00: f32, in new()
79 m01: f32, in new()
80 m02: f32, in new()
81 m03: f32, in new()
82 m10: f32, in new()
83 m11: f32, in new()
84 m12: f32, in new()
85 m13: f32, in new()
86 m20: f32, in new()
87 m21: f32, in new()
[all …]
/external/rust/android-crates-io/crates/glam/src/f32/coresimd/
Dmat4.rs75 m00: f32, in new()
76 m01: f32, in new()
77 m02: f32, in new()
78 m03: f32, in new()
79 m10: f32, in new()
80 m11: f32, in new()
81 m12: f32, in new()
82 m13: f32, in new()
83 m20: f32, in new()
84 m21: f32, in new()
[all …]
/external/rust/android-crates-io/crates/taffy/src/compute/common/
Dcontent_size.rs9 location: Point<f32>, in compute_content_size_contribution()
10 size: Size<f32>, in compute_content_size_contribution()
11 content_size: Size<f32>, in compute_content_size_contribution()
13 ) -> Size<f32> { in compute_content_size_contribution()
/external/rust/crabbyavif/src/reformat/
Drgb_impl.rs104 kr: f32, in yuv8_to_rgb8_color()
105 kg: f32, in yuv8_to_rgb8_color()
106 kb: f32, in yuv8_to_rgb8_color()
160 kr: f32, in yuv16_to_rgb16_color()
161 kg: f32, in yuv16_to_rgb16_color()
162 kb: f32, in yuv16_to_rgb16_color()
206 kr: f32, in yuv16_to_rgb8_color()
207 kg: f32, in yuv16_to_rgb8_color()
208 kb: f32, in yuv16_to_rgb8_color()
263 kr: f32, in yuv8_to_rgb16_color()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/color/
Dtransform.rs45 fn muladdmul(a: f32, b: f32, c: f32, d: f32) -> f32 { in mul()
92 fn scalar_dot_product(a: f32, b: f32, c: f32, d: f32) -> f32 { in try_from()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/skrifa-0.24.1/src/color/
Dtransform.rs45 fn muladdmul(a: f32, b: f32, c: f32, d: f32) -> f32 { in mul()
92 fn scalar_dot_product(a: f32, b: f32, c: f32, d: f32) -> f32 { in try_from()
/external/flatbuffers/tests/rust_namer_test/rust_namer_test/
Dpossibly_reserved_words_generated.rs73 follow_: f32, in new()
74 push_: f32, in new()
75 size: f32, in new()
76 alignment: f32, in new()
90 pub fn follow_(&self) -> f32 { in follow_()
105 pub fn set_follow_(&mut self, x: f32) { in set_follow_()
119 pub fn push_(&self) -> f32 { in push_()
134 pub fn set_push_(&mut self, x: f32) { in set_push_()
148 pub fn size(&self) -> f32 { in size()
163 pub fn set_size(&mut self, x: f32) { in set_size()
[all …]

12345678910>>...19