Home
last modified time | relevance | path

Searched refs:CompKind (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/bindgen/src/codegen/
Dimpl_debug.rs1 use crate::ir::comp::{BitfieldUnit, CompKind, Field, FieldData, FieldMethods};
11 kind: CompKind, in gen_debug_impl() argument
21 CompKind::Union => { in gen_debug_impl()
24 CompKind::Struct => { in gen_debug_impl()
Dimpl_partialeq.rs1 use crate::ir::comp::{CompInfo, CompKind, Field, FieldMethods};
21 } else if comp_info.kind() == CompKind::Union { in gen_partialeq_impl()
Dmod.rs24 Base, Bitfield, BitfieldUnit, CompInfo, CompKind, Field, FieldData,
1799 let is_union = self.kind() == CompKind::Union; in codegen()
/external/rust/crates/bindgen/src/ir/analysis/
Dhas_destructor.rs4 use crate::ir::comp::{CompKind, Field, FieldMethods};
119 CompKind::Union => ConstrainResult::Same, in constrain()
120 CompKind::Struct => { in constrain()
Dderive.rs7 use crate::ir::comp::CompKind;
322 if info.kind() == CompKind::Union { in constrain_type()
/external/rust/crates/bindgen/src/ir/
Dcomp.rs24 pub enum CompKind { enum
1001 kind: CompKind,
1074 pub fn new(kind: CompKind) -> Self { in new()
1105 if self.kind == CompKind::Struct { in layout()
1209 pub fn kind(&self) -> CompKind { in kind() argument
1215 self.kind() == CompKind::Union in is_union()
1552 ) -> Result<CompKind, ParseError> { in kind_from_cursor() argument
1555 CXCursor_UnionDecl => CompKind::Union, in kind_from_cursor()
1556 CXCursor_ClassDecl | CXCursor_StructDecl => CompKind::Struct, in kind_from_cursor()
1560 CXCursor_UnionDecl => CompKind::Union, in kind_from_cursor()
[all …]