Home
last modified time | relevance | path

Searched refs:wrap_unsafe_ops (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/codegen/
Ddyngen.rs86 let from_library = if ctx.options().wrap_unsafe_ops { in get_tokens()
162 let call_body = if ctx.options().wrap_unsafe_ops { in push()
181 let library_get = if ctx.options().wrap_unsafe_ops { in push()
Dmod.rs2603 let block = ctx.wrap_unsafe_ops(quote! ( #( #stmts );*)); in codegen_method()
4254 ctx.wrap_unsafe_ops(body) in objc_method_codegen()
4682 ctx.wrap_unsafe_ops(quote!(::#prefix::mem::transmute(self))); in prepend_union_types()
4793 let from_raw_parts = ctx.wrap_unsafe_ops(quote! ( in prepend_incomplete_array_types()
4796 let from_raw_parts_mut = ctx.wrap_unsafe_ops(quote! ( in prepend_incomplete_array_types()
/third_party/rust/crates/bindgen/bindgen-cli/
Doptions.rs343 wrap_unsafe_ops: bool, field
485 wrap_unsafe_ops, in builder_from_flags()
928 if wrap_unsafe_ops { in builder_from_flags()
929 builder = builder.wrap_unsafe_ops(true); in builder_from_flags()
/third_party/rust/crates/bindgen/bindgen/
Dlib.rs654 if self.options.wrap_unsafe_ops { in command_line_flags()
1806 pub fn wrap_unsafe_ops(mut self, doit: bool) -> Self { in wrap_unsafe_ops() method
1807 self.options.wrap_unsafe_ops = doit; in wrap_unsafe_ops()
2175 wrap_unsafe_ops: bool, field
2373 wrap_unsafe_ops, in default()
/third_party/rust/crates/bindgen/bindgen/ir/
Dcontext.rs2789 pub(crate) fn wrap_unsafe_ops(&self, tokens: impl ToTokens) -> TokenStream { in wrap_unsafe_ops() method
2790 if self.options.wrap_unsafe_ops { in wrap_unsafe_ops()