/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | helpers.rs | 77 pub fn blob(ctx: &BindgenContext, layout: Layout) -> TokenStream { in blob() 109 ctx: &BindgenContext, in integer_type() 118 pub fn bitfield_unit(ctx: &BindgenContext, layout: Layout) -> TokenStream { in bitfield_unit() 162 pub fn raw_type(ctx: &BindgenContext, name: &str) -> TokenStream { in raw_type() 188 ctx: &BindgenContext, in float_kind_rust_type() 258 pub fn float_expr(ctx: &BindgenContext, f: f64) -> Result<TokenStream, ()> { in float_expr() 291 ctx: &BindgenContext, in arguments_from_signature()
|
D | serialize.rs | 26 ctx: &BindgenContext, in serialize() 38 ctx: &BindgenContext, in serialize() 62 ctx: &BindgenContext, in serialize() 155 ctx: &BindgenContext, in serialize() 170 ctx: &BindgenContext, in serialize() 337 F: FnMut(I::Item, &BindgenContext, &mut W) -> Result<(), CodegenError>, in serialize_sep() 342 ctx: &BindgenContext, in serialize_sep()
|
D | impl_debug.rs | 7 ctx: &BindgenContext, in gen_debug_impl() 62 ctx: &BindgenContext, in impl_debug() 72 ctx: &BindgenContext, in impl_debug() 88 ctx: &BindgenContext, in impl_debug() 117 ctx: &BindgenContext, in impl_debug()
|
D | mod.rs | 90 ctx: &BindgenContext, in top_level_path() 105 ctx: &BindgenContext, in root_import() 142 ctx: &BindgenContext, in derives_of_item() 402 ctx: &BindgenContext, in append_implicit_template_params() 410 ctx: &BindgenContext, in append_implicit_template_params() 467 ctx: &BindgenContext, in codegen() 476 ctx: &BindgenContext, in process_before_codegen() 510 ctx: &BindgenContext, in codegen() 542 ctx: &BindgenContext, in codegen() 634 ctx: &BindgenContext, in codegen() [all …]
|
D | impl_partialeq.rs | 9 ctx: &BindgenContext, in gen_partialeq_impl() 74 ctx: &BindgenContext, in gen_field()
|
D | dyngen.rs | 79 ctx: &BindgenContext, in get_tokens() 138 ctx: &BindgenContext, in push()
|
D | struct_layout.rs | 87 ctx: &'a BindgenContext, in new()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | context.rs | 308 pub struct BindgenContext { struct 310 items: Vec<Option<Item>>, 314 types: HashMap<TypeKey, TypeId>, 318 type_params: HashMap<clang::Cursor, TypeId>, 321 modules: HashMap<Cursor, ModuleId>, 324 root_module: ModuleId, 327 current_module: ModuleId, 335 semantic_parents: HashMap<clang::Cursor, ItemId>, 348 currently_parsed_types: Vec<PartialType>, 355 parsed_macros: StdHashMap<Vec<u8>, cexpr::expr::EvalResult>, [all …]
|
D | layout.rs | 38 ctx: &BindgenContext, in known_type_for_size() 75 pub fn for_size(ctx: &BindgenContext, size: usize) -> Self { in for_size() 112 ctx: &BindgenContext, in known_rust_type_for_array() 132 ctx: &BindgenContext, in array_size_within_derive_limit()
|
D | template.rs | 173 ctx: &BindgenContext, in as_template_param() 180 ctx: &BindgenContext, in is_template_param() 222 ctx: &mut BindgenContext, in from_ty() 296 fn is_opaque(&self, ctx: &BindgenContext, item: &Item) -> bool { in is_opaque() 332 fn trace<T>(&self, _ctx: &BindgenContext, tracer: &mut T, _: &()) in trace()
|
D | dot.rs | 16 ctx: &BindgenContext, in dot_attributes() 24 pub fn write_dot_file<P>(ctx: &BindgenContext, path: P) -> io::Result<()> in write_dot_file()
|
D | item.rs | 64 ctx: &BindgenContext, in namespace_aware_canonical_path() 79 fn is_opaque(&self, ctx: &BindgenContext, extra: &Self::Extra) -> bool; in is_opaque() 128 fn new<Id: Into<ItemId>>(ctx: &'a BindgenContext, id: Id) -> Self { in new() 164 ctx: &BindgenContext, in as_template_param() 176 ctx: &BindgenContext, in as_template_param() 188 ctx: &BindgenContext, in as_template_param() 219 ctx: &BindgenContext, in namespace_aware_canonical_path() 258 fn trace<T>(&self, ctx: &BindgenContext, tracer: &mut T, extra: &()) in trace() 269 fn trace<T>(&self, ctx: &BindgenContext, tracer: &mut T, _extra: &()) in trace() 456 ctx: &mut BindgenContext, in new_opaque_type() [all …]
|
D | ty.rs | 271 ctx: &BindgenContext, in sanitized_name() 294 ctx: &'tr BindgenContext, in canonical_type() 307 ctx: &'tr BindgenContext, in safe_canonical_type() 361 fn is_opaque(&self, ctx: &BindgenContext, item: &Item) -> bool { in is_opaque() 379 ctx: &BindgenContext, in as_template_param() 391 ctx: &BindgenContext, in as_template_param() 405 ctx: &BindgenContext, in dot_attributes() 434 ctx: &BindgenContext, in dot_attributes() 688 ctx: &mut BindgenContext, in from_clang_ty() 1231 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, item: &Item) in trace()
|
D | comp.rs | 214 fn trace<T>(&self, _: &BindgenContext, tracer: &mut T, _: &()) in trace() 234 ctx: &BindgenContext, in dot_attributes() 274 _ctx: &BindgenContext, in dot_attributes() 292 _ctx: &BindgenContext, in dot_attributes() 495 ctx: &BindgenContext, in raw_fields_to_fields_and_bitfield_units() 550 ctx: &BindgenContext, in bitfields_to_allocation_units() 732 fn compute_bitfield_units(&mut self, ctx: &BindgenContext, packed: bool) { in compute_bitfield_units() 755 fn deanonymize_fields(&mut self, ctx: &BindgenContext, methods: &[Method]) { in deanonymize_fields() 767 ctx: &BindgenContext, in deanonymize_fields() 847 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, _: &()) in trace() [all …]
|
D | var.rs | 96 _ctx: &BindgenContext, in dot_attributes() 118 fn default_macro_constant_type(ctx: &BindgenContext, value: i64) -> IntKind { in default_macro_constant_type() 176 ctx: &mut BindgenContext, in parse() 377 ctx: &BindgenContext, in parse_macro()
|
D | function.rs | 153 _ctx: &BindgenContext, in dot_attributes() 301 ctx: &BindgenContext, in cursor_mangling() 365 ctx: &mut BindgenContext, in args_from_ty_and_cursor() 405 ctx: &mut BindgenContext, in from_ty() 598 ctx: &BindgenContext, in abi() 657 context: &mut BindgenContext, in parse() 749 fn trace<T>(&self, _: &BindgenContext, tracer: &mut T, _: &()) in trace()
|
D | module.rs | 65 _ctx: &BindgenContext, in dot_attributes() 78 ctx: &mut BindgenContext, in parse()
|
D | traversal.rs | 190 pub fn all_edges(_: &BindgenContext, _: Edge) -> bool { in all_edges() 199 pub fn only_inner_type_edges(_: &BindgenContext, edge: Edge) -> bool { in only_inner_type_edges() 206 pub fn codegen_edges(ctx: &BindgenContext, edge: Edge) -> bool { in codegen_edges() 364 context: &BindgenContext, in trace() 401 ctx: &'ctx BindgenContext, in new()
|
D | enum_ty.rs | 56 ctx: &mut BindgenContext, in from_ty() 152 ctx: &BindgenContext, in is_matching_enum() 174 ctx: &BindgenContext, in computed_enum_variation()
|
D | objc.rs | 126 ctx: &mut BindgenContext, in from_ty() 322 fn trace<T>(&self, context: &BindgenContext, tracer: &mut T, _: &()) in trace()
|
D | item_kind.rs | 132 ctx: &BindgenContext, in dot_attributes()
|
/third_party/rust/crates/bindgen/bindgen/ |
D | parse.rs | 38 context: &mut BindgenContext, in parse()
|
D | clang.rs | 1218 ctx: &BindgenContext, in fallible_size() 1242 ctx: &BindgenContext, in fallible_align() 1256 ctx: &BindgenContext, in fallible_layout()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
D | derive.rs | 459 fn not_by_name(&self, ctx: &BindgenContext, item: &Item) -> bool { in not_by_name() 629 (ctx, derive_trait): (&'ctx BindgenContext, DeriveTrait), in new()
|
D | mod.rs | 178 ctx: &BindgenContext, in generate_dependencies()
|