Home
last modified time | relevance | path

Searched defs:i32 (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/external/rust/crates/libc/src/
Dpsp.rs2604 pub fn sceAudioChReserve(channel: i32, sample_count: i32, format: AudioFormat) -> i32; in sceAudioChReserve()
2605 pub fn sceAudioChRelease(channel: i32) -> i32; in sceAudioChRelease()
2606 pub fn sceAudioOutput(channel: i32, vol: i32, buf: *mut c_void) -> i32; in sceAudioOutput()
2607 pub fn sceAudioOutputBlocking(channel: i32, vol: i32, buf: *mut c_void) -> i32; in sceAudioOutputBlocking()
2609 channel: i32, in sceAudioOutputPanned()
2610 left_vol: i32, in sceAudioOutputPanned()
2611 right_vol: i32, in sceAudioOutputPanned()
2613 ) -> i32; in sceAudioOutputPanned()
2615 channel: i32, in sceAudioOutputPannedBlocking()
2616 left_vol: i32, in sceAudioOutputPannedBlocking()
[all …]
/external/rust/crates/plotters/src/coord/ranged3d/
Dcartesian3d.rs18 fn compute_default_size(actual_x: Range<i32>, actual_y: Range<i32>) -> i32 { in compute_default_size()
21 fn create_projection<F: FnOnce(ProjectionMatrixBuilder) -> ProjectionMatrix>( in create_projection()
22 actual_x: Range<i32>, in create_projection() argument
23 actual_y: Range<i32>, in create_projection()
24 coord_size: (i32, i32, i32), in create_projection() argument
45 (actual_x, actual_y): (Range<i32>, Range<i32>), in with_projection()
66 actual_x: Range<i32>, in set_coord_pixel_range()
67 actual_y: Range<i32>, in set_coord_pixel_range()
68 coord_size: (i32, i32, i32), in set_coord_pixel_range() argument
79 actual_x: Range<i32>, in set_projection()
[all …]
Dprojection.rs50 fn mul(self, (x, y, z): (i32, i32, i32)) -> (i32, i32) { in mul() argument
62 fn mul(self, (x, y, z): (f64, f64, f64)) -> (i32, i32) { in mul() argument
135 pub fn projected_depth(&self, (x, y, z): (i32, i32, i32)) -> i32 { in projected_depth() argument
164 pub fn set_pivot(&mut self, before: (i32, i32, i32), after: (i32, i32)) -> &mut Self { in set_pivot() argument
/external/rust/crates/minimal-lexical/tests/
Dlemire_tests.rs8 fn compute_error32(q: i32, w: u64) -> (i32, u64) { in compute_error32()
13 fn compute_error64(q: i32, w: u64) -> (i32, u64) { in compute_error64()
18 fn compute_error_scaled32(q: i32, w: u64, lz: i32) -> (i32, u64) { in compute_error_scaled32()
23 fn compute_error_scaled64(q: i32, w: u64, lz: i32) -> (i32, u64) { in compute_error_scaled64()
28 fn compute_float32(q: i32, w: u64) -> (i32, u64) { in compute_float32()
33 fn compute_float64(q: i32, w: u64) -> (i32, u64) { in compute_float64()
Dbellerophon.rs11 xexp: i32, in bellerophon_test()
14 yexp: i32, in bellerophon_test()
41 pub fn compute_float32(q: i32, w: u64) -> (i32, u64) { in compute_float32()
51 pub fn compute_float64(q: i32, w: u64) -> (i32, u64) { in compute_float64()
Dintegration_tests.rs19 fn add_digit_i32(value: i32, digit: u32) -> Option<i32> { in add_digit_i32()
25 fn sub_digit_i32(value: i32, digit: u32) -> Option<i32> { in sub_digit_i32()
76 fn parse_exponent(exponent: &[u8], is_positive: bool) -> i32 { in parse_exponent()
/external/rust/crates/serde_json/src/lexical/
Dexponent.rs10 fn into_i32(value: usize) -> i32 { in into_i32()
25 exponent: i32, in scientific_exponent()
28 ) -> i32 { in scientific_exponent()
44 pub(crate) fn mantissa_exponent(exponent: i32, fraction_digits: usize, truncated: usize) -> i32 { in mantissa_exponent()
Dshift.rs10 pub(crate) fn shr(fp: &mut ExtendedFloat, shift: i32) { in shr()
23 pub(crate) fn overflowing_shr(fp: &mut ExtendedFloat, shift: i32) { in overflowing_shr()
40 pub(crate) fn shl(fp: &mut ExtendedFloat, shift: i32) { in shl()
Dalgorithm.rs78 fn multiply_exponent_extended<F>(fp: &mut ExtendedFloat, exponent: i32, truncated: bool) -> bool in multiply_exponent_extended()
147 exponent: i32, in moderate_path()
172 exponent: i32, in fallback_path()
173 mantissa_exponent: i32, in fallback_path()
/external/crosvm/rutabaga_gfx/ffi/src/
Dlib.rs25 fn return_result<T>(result: RutabagaResult<T>) -> i32 { in return_result()
112 pub unsafe extern "C" fn rutabaga_init(builder: &rutabaga_builder, ptr: &mut *mut rutabaga) -> i32 { in rutabaga_init()
175 pub extern "C" fn rutabaga_finish(ptr: &mut *mut rutabaga) -> i32 { in rutabaga_finish()
213 ) -> i32 { in rutabaga_get_capset_info()
234 ) -> i32 { in rutabaga_get_capset()
250 ) -> i32 { in rutabaga_context_create()
259 pub extern "C" fn rutabaga_context_destroy(ptr: &mut rutabaga, ctx_id: u32) -> i32 { in rutabaga_context_destroy()
272 ) -> i32 { in rutabaga_context_attach_resource()
285 ) -> i32 { in rutabaga_context_detach_resource()
298 ) -> i32 { in rutabaga_resource_create_3d()
[all …]
/external/rust/crates/ahash/tests/
Dnopanic.rs9 fn hash_test_final(num: i32, string: &str) -> (u64, u64) { in hash_test_final()
19 fn hash_test_final_wrapper(num: i32, string: &str) { in hash_test_final_wrapper()
37 fn hash_test_specialize(num: i32, string: &str) -> (u64, u64) { in hash_test_specialize()
47 fn hash_test_random_wrapper(num: i32, string: &str) { in hash_test_random_wrapper()
53 fn hash_test_random(num: i32, string: &str) -> (u64, u64) { in hash_test_random()
63 fn hash_test_specialize_wrapper(num: i32, string: &str) { in hash_test_specialize_wrapper()
/external/rust/crates/libm/src/math/
Dfenv.rs11 pub(crate) fn feclearexcept(_mask: i32) -> i32 { in feclearexcept()
16 pub(crate) fn feraiseexcept(_mask: i32) -> i32 { in feraiseexcept()
21 pub(crate) fn fetestexcept(_mask: i32) -> i32 { in fetestexcept()
31 pub(crate) fn fesetround(_r: i32) -> i32 { in fesetround()
/external/rust/crates/crossbeam-channel/tests/
Dgolang.rs140 fn add(&self, delta: i32) { in add()
242 fn sender(n: i32, c1: Chan<i32>, c2: Chan<i32>, c3: Chan<i32>, c4: Chan<i32>) { in sender()
258 fn mux(out: Chan<i32>, inp: Chan<i32>, done: Chan<bool>) { in mux()
265 fn recver(inp: Chan<i32>) { in recver()
320 fn chain(ch: Chan<i32>, val: i32, inp: Chan<i32>, out: Chan<i32>) { in chain()
352 fn f(left: Chan<i32>, right: Chan<i32>) { in f()
379 fn i32receiver(c: Chan<i32>, strobe: Chan<bool>) { in i32receiver()
386 fn i32sender(c: Chan<i32>, strobe: Chan<bool>) { in i32sender()
706 fn sender(c: &Chan<i32>, n: i32) { in main()
712 fn receiver(c: &Chan<i32>, dummy: &Chan<i32>, n: i32) { in main()
[all …]
/external/rust/crates/plotters-backend/src/
Dtext.rs146 pub fn transform(&self, x: i32, y: i32) -> (i32, i32) { in transform()
236 fn layout_box(&self, text: &str) -> Result<((i32, i32), (i32, i32)), Self::FontError>; in layout_box() argument
238 fn draw<E, DrawFunc: FnMut(i32, i32, BackendColor) -> Result<(), E>>( in draw()
/external/rust/crates/plotters/examples/
Dconsole.rs80 pos: (i32, i32), in draw_pixel() argument
91 from: (i32, i32), in draw_line() argument
92 to: (i32, i32), in draw_line()
130 pos: (i32, i32), in draw_text() argument
/external/boringssl/src/rust/src/
Dlib.rs8 pub fn ERR_GET_LIB(packed_error: u32) -> i32 { in ERR_GET_LIB()
12 pub fn ERR_GET_REASON(packed_error: u32) -> i32 { in ERR_GET_REASON()
16 pub fn ERR_GET_FUNC(packed_error: u32) -> i32 { in ERR_GET_FUNC()
/external/rust/crates/minimal-lexical/src/
Dlemire.rs48 pub fn compute_float<F: Float>(q: i32, mut w: u64) -> ExtendedFloat { in compute_float()
153 pub fn compute_error<F: Float>(q: i32, mut w: u64) -> ExtendedFloat { in compute_error()
162 pub fn compute_error_scaled<F: Float>(q: i32, mut w: u64, lz: i32) -> ExtendedFloat { in compute_error_scaled()
179 fn power(q: i32) -> i32 { in power()
192 fn compute_product_approx(q: i32, w: u64, precision: usize) -> (u64, u64) { in compute_product_approx()
/external/rust/crates/plotters/src/style/
Dsize.rs33 fn in_pixels<T: HasDimension>(&self, parent: &T) -> i32; in in_pixels()
36 impl SizeDesc for i32 { implementation
37 fn in_pixels<D: HasDimension>(&self, _parent: &D) -> i32 { in in_pixels()
43 fn in_pixels<D: HasDimension>(&self, _parent: &D) -> i32 { in in_pixels()
49 fn in_pixels<D: HasDimension>(&self, _parent: &D) -> i32 { in in_pixels()
55 fn in_pixels<D: HasDimension>(&self, _parent: &D) -> i32 { in in_pixels()
100 fn in_pixels<D: HasDimension>(&self, parent: &D) -> i32 { in in_pixels()
157 fn in_pixels<D: HasDimension>(&self, parent: &D) -> i32 { in in_pixels()
/external/rust/crates/ryu/src/
Dcommon.rs53 pub fn log2_pow5(e: i32) -> i32 /* or u32 -> u32 */ { in log2_pow5()
64 pub fn pow5bits(e: i32) -> i32 /* or u32 -> u32 */ { in pow5bits()
75 pub fn ceil_log2_pow5(e: i32) -> i32 /* or u32 -> u32 */ { in ceil_log2_pow5()
/external/rust/crates/plotters/src/style/font/
Dfont_desc.rs121 pub fn layout_box(&self, text: &str) -> FontResult<((i32, i32), (i32, i32))> { in layout_box() argument
138 pub fn draw<E, DrawFunc: FnMut(i32, i32, f32) -> Result<(), E>>( in draw()
141 (x, y): (i32, i32), in draw() argument
Dmod.rs33 fn draw<E, DrawFunc: FnMut(i32, i32, f32) -> Result<(), E>>( in draw()
35 _pos: (i32, i32), in draw() argument
/external/rust/crates/plotters-backend/src/rasterizer/
Dcircle.rs5 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_a()
30 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_b()
45 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_c()
47 r: i32, in draw_part_c()
48 r_limit: i32, in draw_part_c()
90 (dx, dy): (i32, i32), in draw_sweep_line() argument
91 p0: i32, in draw_sweep_line()
/external/rust/crates/chrono/benches/
Dchrono.rs72 fn in_between(start: i32, end: i32, div: i32) -> i32 { in in_between()
84 fn num_days_from_ce_alt<Date: Datelike>(date: &Date) -> i32 { in num_days_from_ce_alt()
/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dckps.rs62 fn map(&self, value: &Self::ValueType, limit: (i32, i32)) -> i32 { in map() argument
74 fn axis_pixel_range(&self, limit: (i32, i32)) -> Range<i32> { in axis_pixel_range() argument
185 fn map(&self, value: &Self::ValueType, limit: (i32, i32)) -> i32 { in map() argument
197 fn axis_pixel_range(&self, limit: (i32, i32)) -> Range<i32> { in axis_pixel_range() argument
/external/rust/crates/intrusive-collections/src/
Dpointer_ops.rs283 let a: *const i32 = &*p; in test_box() constant
287 let a2: *const i32 = &*p2; in test_box() constant
297 let a: *const i32 = &*p; in test_rc() constant
301 let a2: *const i32 = &*p2; in test_rc() constant
311 let a: *const i32 = &*p; in test_arc() constant
315 let a2: *const i32 = &*p2; in test_arc() constant
377 let raw = &*p as *const i32; in clone_arc_from_raw() constant
389 let raw = &*p as *const i32; in clone_rc_from_raw() constant
400 let a: *const i32 = &*p; in test_pin_box() constant
404 let a2: *const i32 = &*p2; in test_pin_box() constant
[all …]

12345678910>>...13