/third_party/rust/crates/bindgen/bindgen/ir/ |
D | item_kind.rs | 13 pub enum ItemKind { enum 28 impl ItemKind { impl 33 ItemKind::Module(ref module) => Some(module), in as_module() 41 ItemKind::Module(..) => "Module", in kind_name() 42 ItemKind::Type(..) => "Type", in kind_name() 43 ItemKind::Function(..) => "Function", in kind_name() 44 ItemKind::Var(..) => "Var", in kind_name() 63 ItemKind::Function(ref func) => Some(func), in as_function() 83 ItemKind::Type(ref ty) => Some(ty), in as_type() 92 ItemKind::Type(ref mut ty) => Some(ty), in as_type_mut() [all …]
|
D | item.rs | 14 use super::item_kind::ItemKind; 183 impl AsTemplateParam for ItemKind { implementation 192 ItemKind::Type(ref ty) => ty.as_template_param(ctx, item), in as_template_param() 193 ItemKind::Module(..) | in as_template_param() 194 ItemKind::Function(..) | in as_template_param() 195 ItemKind::Var(..) => None, in as_template_param() 281 ItemKind::Type(ref ty) => { in trace() 291 ItemKind::Function(ref fun) => { in trace() 296 ItemKind::Var(ref var) => { in trace() 299 ItemKind::Module(_) => { in trace() [all …]
|
D | context.rs | 17 use super::item_kind::ItemKind; 1423 Item::new(id, None, None, id, ItemKind::Module(module), None) in build_root_module() 1732 ItemKind::Type(sub_ty), in instantiate_template() 1797 ItemKind::Type(ty), in instantiate_template() 1940 ItemKind::Type(ty), in build_wrapper() 2010 ItemKind::Type(ty), in build_builtin_ty() 2198 ItemKind::Module(module), in module() 2346 ItemKind::Module(..) => true, in compute_allowlisted_and_codegen_items() 2347 ItemKind::Function(_) => { in compute_allowlisted_and_codegen_items() 2350 ItemKind::Var(_) => { in compute_allowlisted_and_codegen_items() [all …]
|
D | var.rs | 10 use crate::callbacks::{ItemInfo, ItemKind, MacroParsingBehavior}; 280 kind: ItemKind::Var, in parse()
|
D | function.rs | 9 use crate::callbacks::{ItemInfo, ItemKind}; 729 kind: ItemKind::Function, in parse()
|
/third_party/rust/crates/bindgen/bindgen-integration/src/ |
D | lib.rs | 86 third.assert(0, false, bindings::bitfields::ItemKind::ITEM_KIND_UNO) in test_bitfields_third() 90 third.set_kind(bindings::bitfields::ItemKind::ITEM_KIND_TRES); in test_bitfields_third() 92 third.assert(12345, true, bindings::bitfields::ItemKind::ITEM_KIND_TRES) in test_bitfields_third() 198 bindings::bitfields::ItemKind::ITEM_KIND_TRES, in test_bitfield_constructors() 202 third.assert(42, false, bindings::bitfields::ItemKind::ITEM_KIND_TRES) in test_bitfield_constructors()
|
/third_party/rust/crates/bindgen/bindgen-integration/cpp/ |
D | Test.h | 94 enum ItemKind { enum 103 ItemKind kind : 3; 106 bool assert(int first, bool second, ItemKind third);
|
D | Test.cc | 64 Third::assert(int first, bool second, ItemKind third) in assert()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceThreading.h | 175 enum ItemKind { WI_Nop, WI_GlobalInits, WI_Asm, WI_Cfg }; enum 185 ItemKind getKind() const { return Kind; } in getKind() 193 const ItemKind Kind;
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/parse_callbacks/ |
D | mod.rs | 20 ItemKind::Function => ("function_", "_name"), in generated_name_override() 21 ItemKind::Var => ("var_", "_name"), in generated_name_override()
|
/third_party/rust/crates/bindgen/bindgen/ |
D | callbacks.rs | 155 pub kind: ItemKind, 160 pub enum ItemKind { enum
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | serialize.rs | 10 use crate::ir::item_kind::ItemKind; 44 ItemKind::Function(func) => { in serialize()
|
D | mod.rs | 41 use crate::ir::item_kind::ItemKind; 520 ItemKind::Module(ref module) => { in codegen() 523 ItemKind::Function(ref fun) => { in codegen() 526 ItemKind::Var(ref var) => { in codegen() 529 ItemKind::Type(ref ty) => { in codegen()
|
/third_party/rust/crates/syn/tests/common/ |
D | eq.rs | 69 use rustc_ast::ast::ItemKind; 536 spanless_eq_enum!(ItemKind; ExternCrate(0) Use(0) Static(0 1 2) Const(0 1 2)
|
/third_party/rust/crates/bindgen/ |
D | CONTRIBUTING.md | 278 * An `ItemKind`, which is one of:
|