Home
last modified time | relevance | path

Searched refs:builder (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/src/debug/kprobe/
H A Dargs.rs50 let mut builder = KprobeBuilder::new( in try_from() localVariable
59 builder = builder.with_fault_handler(fault_handler); in try_from()
62 builder = builder.with_event_callback(event_callback); in try_from()
64 Ok(builder) in try_from()
/DragonOS/build-scripts/kernel_build/src/bindgen/
H A Dmod.rs19 let builder = bindgen::Builder::default() in generate_bindings() localVariable
39 let builder = current_bindgenarch().generate_bindings(builder); in generate_bindings() localVariable
42 let bindings = builder in generate_bindings()
/DragonOS/tools/debugging/logmonitor/src/
H A Dlogging.rs10 let mut builder = simple_logger::SimpleLogger::new().with_level(LevelFilter::Info); in init() localVariable
16 builder = builder.with_backend(Box::new(TUILoggingBackend::new(channel.0))); in init()
20 builder.init().expect("failed to initialize logging"); in init()
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/
H A Dx86_64.rs6 fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder { in generate_bindings()
7 builder in generate_bindings()
H A Driscv64.rs5 fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder { in generate_bindings()
6 builder in generate_bindings()
H A Dmod.rs9 fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder; in generate_bindings()
/DragonOS/
H A D.readthedocs.yaml20 …# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for si…
21 # builder: "dirhtml"
/DragonOS/user/apps/test_ebpf/src/
H A Dmain.rs12 env_logger::builder() in main()
/DragonOS/kernel/crates/rbpf/src/
H A Dcranelift.rs62 let mut flag_builder = settings::builder(); in new()
70 let isa_builder = cranelift_native::builder().unwrap_or_else(|msg| { in new()
139 let mut builder: FunctionBuilder = FunctionBuilder::new(&mut ctx.func, &mut func_ctx); in compile_function() localVariable
141 let entry = builder.create_block(); in compile_function()
142 builder.append_block_params_for_function_params(entry); in compile_function()
143 builder.switch_to_block(entry); in compile_function()
145 self.build_cfg(&mut builder, prog)?; in compile_function()
146 self.build_function_prelude(&mut builder, entry)?; in compile_function()
147 self.translate_program(&mut builder, prog)?; in compile_function()
149 builder.seal_all_blocks(); in compile_function()
[all …]
/DragonOS/kernel/crates/rbpf/
H A DREADME.md538 builder API. It looks less like assembly, maybe more like high-level functions.