Home
last modified time | relevance | path

Searched refs:NotFound (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Virtualization/vmbase/src/
Dfdt.rs36 fdt.compatible_nodes(cstr!("restricted-dma-pool"))?.next().ok_or(FdtError::NotFound)?; in new_from_fdt()
39 let reg = reg.next().ok_or(FdtError::NotFound)?; in new_from_fdt()
40 let size = reg.size.ok_or(FdtError::NotFound)?; in new_from_fdt()
43 let size = node.getprop_u64(cstr!("size"))?.ok_or(FdtError::NotFound)?; in new_from_fdt()
44 let align = node.getprop_u64(cstr!("alignment"))?.ok_or(FdtError::NotFound)?; in new_from_fdt()
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs118 let mut node = fdt.chosen_mut()?.ok_or(FdtError::NotFound)?; in patch_initrd_range()
137 let mut node = fdt.chosen_mut()?.ok_or(FdtError::NotFound)?; in patch_bootargs()
185 .ok_or(FdtError::NotFound)? in patch_memory_range()
205 let prop = subnode.getprop_u64(cstr!("opp-hz"))?.ok_or(FdtError::NotFound)?;
252 let cpu = core.getprop_u32(cstr!("cpu"))?.ok_or(FdtError::NotFound)?; in read_cpu_map_from()
277 let node = fdt.node_with_phandle(phandle)?.ok_or(FdtError::NotFound)?;
286 let phandle = cpu.get_phandle()?.ok_or(FdtError::NotFound)?;
320 let mut regs = node.reg()?.ok_or(FdtError::NotFound)?; in read_vcpufreq_info()
321 let reg = regs.next().ok_or(FdtError::NotFound)?; in read_vcpufreq_info()
322 let size = reg.size.ok_or(FdtError::NotFound)?; in read_vcpufreq_info()
[all …]
Ddevice_assignment.rs1191 return Err(FdtError::NotFound.into()); in parse()
/packages/modules/Virtualization/rialto/src/
Dfdt.rs23 let node = fdt.node(cstr!("/reserved-memory"))?.ok_or(FdtError::NotFound)?; in read_dice_range_from()
24 let node = node.next_compatible(cstr!("google,open-dice"))?.ok_or(FdtError::NotFound)?; in read_dice_range_from()
29 let node = fdt.node(cstr!("/avf"))?.ok_or(FdtError::NotFound)?; in read_vendor_hashtree_root_digest()
/packages/modules/Virtualization/libs/libfdt/src/
Dresult.rs25 NotFound, enumerator
70 Self::NotFound => write!(f, "The requested node or property does not exist"), in fmt()
119 x if x == -(FDT_ERR_NOTFOUND as c_int) => Err(FdtError::NotFound), in try_from()
149 Err(FdtError::NotFound) => Ok(None), in try_from()
177 Err(FdtError::NotFound) => Ok(None), in try_from()
Dsafe_types.rs152 Err(FdtError::NotFound) => Ok(None), in try_from()
185 Err(FdtError::NotFound) => Ok(None), in try_from()
218 Err(FdtError::NotFound) => Ok(None), in try_from()
Dlib.rs266 self.reg()?.ok_or(FdtError::NotFound)?.next().ok_or(FdtError::NotFound) in first_reg()
416 let prop = self.as_node().getprop(name)?.ok_or(FdtError::NotFound)?; in trimprop()
696 let node = self.root().subnode(cstr!("memory"))?.ok_or(FdtError::NotFound)?; in memory()
705 self.memory()?.next().ok_or(FdtError::NotFound) in first_memory_range()
Diterators.rs101 let size = to_usize(reg.size.ok_or(FdtError::NotFound)?)?; in try_from()
/packages/modules/Virtualization/microdroid_manager/src/
Dioutil.rs42 if error.kind() != io::ErrorKind::NotFound { in wait_for_file()
46 return Err(anyhow!(io::Error::from(io::ErrorKind::NotFound))); in wait_for_file()
103 io::ErrorKind::NotFound, in test_wait_for_file_fails()
/packages/modules/Virtualization/virtualizationmanager/src/
Ddebug_config.rs69 Err(error) if error.kind() == ErrorKind::NotFound => return Ok(false), in get_debug_policy_bool()
88 Err(error) if error != FdtError::NotFound => { in get_fdt_prop_bool()
98 Err(error) if error != FdtError::NotFound => { in get_fdt_prop_bool()
114 Err(error) if error.kind() == ErrorKind::NotFound => Default::default(), in from_overlay_onto_new_fdt()
/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/
Dle_remove_device_from_periodic_advertiser_list_test.cc53 TEST_F(LeRemoveDeviceFromPeriodicAdvertiserListTest, NotFound) { in TEST_F() argument
Dle_remove_device_from_filter_accept_list_test.cc51 TEST_F(LeRemoveDeviceFromFilterAcceptListTest, NotFound) { in TEST_F() argument
Dle_remove_device_from_resolving_list_test.cc52 TEST_F(LeRemoveDeviceFromResolvingListTest, NotFound) { in TEST_F() argument
/packages/modules/Virtualization/libs/avflog/src/
Dlib.rs65 let e = Error::from(ErrorKind::NotFound); in test_logresult_emits_error_log()
/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs228 Err(Error::new(io::Error::from(ErrorKind::NotFound)).context(context)) in find_signature_scheme_block()
292 assert_eq!(error.downcast_ref::<io::Error>().unwrap().kind(), ErrorKind::NotFound); in test_apk_sections_cannot_find_signature()
/packages/modules/Virtualization/libs/libfdt/tests/
Dapi_test.rs67 assert_eq!(fdt.first_memory_range(), Err(FdtError::NotFound)); in retrieving_first_memory_from_fdt_with_empty_memory_range_fails()
75 assert_eq!(fdt.memory().unwrap_err(), FdtError::NotFound); in retrieving_memory_from_fdt_with_no_memory_node_fails()
76 assert_eq!(fdt.first_memory_range(), Err(FdtError::NotFound)); in retrieving_memory_from_fdt_with_no_memory_node_fails()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dgatt.rs434 NotFound = 0x0a, enumerator