Lines Matching refs:usize
113 pub fn property_match_string(&self, name: &CStr, match_str: &CStr) -> Result<usize> { in property_match_string() argument
125 Ok(ret as usize) in property_match_string()
132 len: usize, in property_read_array_vec() argument
157 pub fn property_count_elem<T: PropertyInt>(&self, name: &CStr) -> Result<usize> { in property_count_elem() argument
340 unsafe { core::slice::from_raw_parts(self.0.args.as_ptr(), self.0.nargs as usize) } in as_slice()
344 pub fn len(&self) -> usize { in len() argument
345 self.0.nargs as usize in len()
483 fn read_array_len_from_fwnode_property(fwnode: &FwNode, name: &CStr) -> Result<usize>; in read_array_len_from_fwnode_property() argument
493 impl<const N: usize> Sealed for [$int; N] {}
524 fn read_array_len_from_fwnode_property(fwnode: &FwNode, name: &CStr) -> Result<usize> {
539 Ok(ret as usize)
550 impl<const N: usize> Property for [$int; N] {