Lines Matching refs:Option

137     fn next_property(&self) -> Result<Option<Self>> {  in next_property()
169 pub fn device_type(&self) -> Result<Option<&CStr>> { in device_type()
174 pub fn reg(&self) -> Result<Option<RegIterator<'a>>> { in reg()
188 pub fn ranges<A, P, S>(&self) -> Result<Option<RangesIterator<'a, A, P, S>>> { in ranges()
212 pub fn getprop_str(&self, name: &CStr) -> Result<Option<&CStr>> { in getprop_str()
221 pub fn getprop_cells(&self, name: &CStr) -> Result<Option<CellIterator<'a>>> { in getprop_cells()
230 pub fn getprop_u32(&self, name: &CStr) -> Result<Option<u32>> { in getprop_u32()
239 pub fn getprop_u64(&self, name: &CStr) -> Result<Option<u64>> { in getprop_u64()
248 pub fn getprop(&self, name: &CStr) -> Result<Option<&'a [u8]>> { in getprop()
258 pub fn next_compatible(self, compatible: &CStr) -> Result<Option<Self>> { in next_compatible()
282 fn first_subnode(&self) -> Result<Option<Self>> { in first_subnode()
288 fn next_subnode(&self) -> Result<Option<Self>> { in next_subnode()
299 fn next_node(&self, depth: usize) -> Result<Option<(Self, usize)>> { in next_node()
312 fn first_property(&self) -> Result<Option<FdtProperty<'a>>> { in first_property()
321 pub fn get_phandle(&self) -> Result<Option<Phandle>> { in get_phandle()
333 pub fn subnode(&self, name: &CStr) -> Result<Option<Self>> { in subnode()
341 pub fn subnode_with_name_bytes(&self, name: &[u8]) -> Result<Option<Self>> { in subnode_with_name_bytes()
461 pub fn first_subnode(self) -> Result<Option<Self>> { in first_subnode()
468 pub fn next_subnode(self) -> Result<Option<Self>> { in next_subnode()
475 pub fn delete_and_next_subnode(self) -> Result<Option<Self>> { in delete_and_next_subnode()
487 pub fn next_node(self, depth: usize) -> Result<Option<(Self, usize)>> { in next_node()
500 pub fn next_node_skip_subnodes(self, depth: usize) -> Result<Option<(Self, usize)>> { in next_node_skip_subnodes()
513 pub fn delete_and_next_node(self, depth: usize) -> Result<Option<(Self, usize)>> { in delete_and_next_node()
529 pub fn next_compatible(self, compatible: &CStr) -> Result<Option<Self>> { in next_compatible()
547 pub fn delete_and_next_compatible(self, compatible: &CStr) -> Result<Option<Self>> { in delete_and_next_compatible()
553 fn delete_and_next(self, next_offset: Option<NodeOffset>) -> Result<Option<Self>> { in delete_and_next()
709 pub fn chosen(&self) -> Result<Option<FdtNode>> { in chosen()
714 pub fn chosen_mut(&mut self) -> Result<Option<FdtNodeMut>> { in chosen_mut()
724 pub fn symbols(&self) -> Result<Option<FdtNode>> { in symbols()
729 pub fn symbols_mut(&mut self) -> Result<Option<FdtNodeMut>> { in symbols_mut()
734 pub fn node(&self, path: &CStr) -> Result<Option<FdtNode>> { in node()
751 pub fn node_with_phandle(&self, phandle: Phandle) -> Result<Option<FdtNode>> { in node_with_phandle()
758 pub fn node_mut_with_phandle(&mut self, phandle: Phandle) -> Result<Option<FdtNodeMut>> { in node_mut_with_phandle()
770 pub fn node_mut(&mut self, path: &CStr) -> Result<Option<FdtNodeMut>> { in node_mut()
780 ) -> Result<Option<(NodeOffset, usize)>> { in next_node_skip_subnodes()