Home
last modified time | relevance | path

Searched refs:usize (Results 1 – 13 of 13) sorted by relevance

/frameworks/minikin/rust/
Dhyphenator.rs210 let usize_offset = offset as usize; in read_u32()
332 let offset = self.data.read_u32(offset) as usize; in read_offset_and_slice()
344 alpha_codes: &mut [u16; MAX_HYPHEN_SIZE as usize], in lookup() argument
382 let code = self.data.bytes[(offset - self.min_codepoint) as usize + 12] as u16; in get_at()
538 self.data.bytes[(self.pattern_offset + (self.entry & 0xfffff) + offset) as usize] in value_at()
583 let mut alpha_codes: [u16; MAX_HYPHEN_SIZE as usize] = [0; MAX_HYPHEN_SIZE as usize]; in hyphenate()
628 join_type = getJoiningType(word[i as usize].into()); in get_hyph_type_for_arabic()
644 join_type = getJoiningType(word[i as usize].into()); in get_hyph_type_for_arabic()
669 let prev_char = word[i as usize - 1]; in hyphenate_with_no_pattern()
674 && getScript(word[i as usize].into()) == USCRIPT_LATIN in hyphenate_with_no_pattern()
[all …]
/frameworks/native/cmds/evemu-record/
Devdev.rs28 pub const SYN_CNT: usize = 0x10;
29 pub const KEY_CNT: usize = 0x300;
30 pub const REL_CNT: usize = 0x10;
31 pub const ABS_CNT: usize = 0x40;
32 pub const MSC_CNT: usize = 0x08;
33 pub const SW_CNT: usize = 0x11;
34 pub const LED_CNT: usize = 0x10;
35 pub const SND_CNT: usize = 0x08;
36 pub const REP_CNT: usize = 0x02;
60 fn code_count(&self) -> usize { in code_count() argument
[all …]
/frameworks/native/libs/bufferstreams/rust/src/buffers/
Dbuffer_pool.rs29 size: usize,
66 pub fn new(pool_size: usize, stream_config: StreamConfig) -> Option<Self> { in new() argument
100 pub fn size(&self) -> usize { in size() argument
/frameworks/native/libs/debugstore/rust/src/
Dstorage.rs20 pub struct Storage<T, const N: usize> {
24 impl<T, const N: usize> Storage<T, N> {
48 pub fn len(&self) -> usize { in len() argument
Dcore.rs39 const DEFAULT_EVENT_LIMIT: usize = 16;
/frameworks/native/libs/binder/rust/rpcbinder/src/
Dsession.rs68 pub fn set_max_incoming_threads(&self, threads: usize) { in set_max_incoming_threads() argument
76 pub fn set_max_outgoing_connections(&self, connections: usize) { in set_max_outgoing_connections() argument
/frameworks/native/libs/input/rust/
Dinput.rs116 action_index: usize,
121 action_index: usize,
186 fn breakdown_action(action: u32) -> (u32, usize) { in breakdown_action() argument
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs157 index: usize, in serialize_element() argument
213 index: usize, in deserialize_element() argument
333 let mut new_vec: Vec<T::UninitType> = Vec::with_capacity(len as usize); in allocate_vec()
334 new_vec.resize_with(len as usize, T::uninit); in allocate_vec()
741 impl<T: SerializeArray, const N: usize> Serialize for [T; N] {
748 impl<T: SerializeArray, const N: usize> SerializeOption for [T; N] {
754 impl<T: SerializeArray, const N: usize> SerializeArray for [T; N] {}
756 impl<T: DeserializeArray, const N: usize> Deserialize for [T; N] {
773 impl<T: DeserializeArray, const N: usize> DeserializeOption for [T; N] {
780 impl<T: DeserializeArray, const N: usize> DeserializeArray for [T; N] {}
/frameworks/native/libs/bufferstreams/rust/src/publishers/
Dbuffer_pool_publisher.rs31 pub fn new(stream_config: StreamConfig, size: usize) -> Option<Self> { in new()
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dandroid.rs159 pub fn set_max_threads(&self, count: usize) { in set_max_threads() argument
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/
Dparcel_fuzzer.rs38 ReadBasicTypes { instructions: Vec<usize> },
/frameworks/native/libs/binder/rust/src/
Dnative.rs355 std::slice::from_raw_parts(args, num_args as usize) in on_dump()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs561 let expected_defaults = usize::from(has_lights); in get_declared_instances()