Lines Matching refs:cstr
18 use cstr::cstr;
24 pub(crate) const AVF_NODE_NAME: &CStr = cstr!("avf");
25 pub(crate) const UNTRUSTED_NODE_NAME: &CStr = cstr!("untrusted");
66 .add_subnode(cstr!("fragment@0")) in create_device_tree_overlay()
69 .setprop(cstr!("target-path"), b"/\0") in create_device_tree_overlay()
72 .add_subnode(cstr!("__overlay__")) in create_device_tree_overlay()
90 fdt.overlay_onto(cstr!("/fragment@0/__overlay__"), path)?; in create_device_tree_overlay()
95 .node_mut(cstr!("/fragment@0/__overlay__/avf")) in create_device_tree_overlay()
123 let prop_name = cstr!("XOXO"); in untrusted_prop_test()
130 .node(cstr!("/fragment@0/__overlay__/avf/untrusted")) in untrusted_prop_test()
142 let prop_name = cstr!("XOXOXO"); in trusted_prop_test()
149 .node(cstr!("/fragment@0/__overlay__/avf")) in trusted_prop_test()