Searched refs:builder (Results 1 – 10 of 10) sorted by relevance
50 let mut builder = KprobeBuilder::new( in try_from() localVariable59 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()
19 let builder = bindgen::Builder::default() in generate_bindings() localVariable39 let builder = current_bindgenarch().generate_bindings(builder); in generate_bindings() localVariable42 let bindings = builder in generate_bindings()
10 let mut builder = simple_logger::SimpleLogger::new().with_level(LevelFilter::Info); in init() localVariable16 builder = builder.with_backend(Box::new(TUILoggingBackend::new(channel.0))); in init()20 builder.init().expect("failed to initialize logging"); in init()
6 fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder { in generate_bindings()7 builder in generate_bindings()
5 fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder { in generate_bindings()6 builder in generate_bindings()
9 fn generate_bindings(&self, builder: bindgen::Builder) -> bindgen::Builder; in generate_bindings()
20 …# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for si…21 # builder: "dirhtml"
12 env_logger::builder() in main()
62 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() localVariable141 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 …]
538 builder API. It looks less like assembly, maybe more like high-level functions.