Home
last modified time | relevance | path

Searched refs:IntKind (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/codegen/
Dserialize.rs3 use crate::callbacks::IntKind;
193 IntKind::Bool => write!(writer, "bool")?, in serialize()
194 IntKind::SChar => write!(writer, "signed char")?, in serialize()
195 IntKind::UChar => write!(writer, "unsigned char")?, in serialize()
196 IntKind::WChar => write!(writer, "wchar_t")?, in serialize()
197 IntKind::Short => write!(writer, "short")?, in serialize()
198 IntKind::UShort => write!(writer, "unsigned short")?, in serialize()
199 IntKind::Int => write!(writer, "int")?, in serialize()
200 IntKind::UInt => write!(writer, "unsigned int")?, in serialize()
201 IntKind::Long => write!(writer, "long")?, in serialize()
[all …]
Dmod.rs39 use crate::ir::int::IntKind;
3061 IntKind::Int in codegen()
3072 (true, 1) => IntKind::I8, in codegen()
3073 (false, 1) => IntKind::U8, in codegen()
3074 (true, 2) => IntKind::I16, in codegen()
3075 (false, 2) => IntKind::U16, in codegen()
3076 (true, 4) => IntKind::I32, in codegen()
3077 (false, 4) => IntKind::U32, in codegen()
3078 (true, 8) => IntKind::I64, in codegen()
3079 (false, 8) => IntKind::U64, in codegen()
[all …]
/third_party/rust/crates/bindgen/bindgen/ir/
Dvar.rs7 use super::int::IntKind;
118 fn default_macro_constant_type(ctx: &BindgenContext, value: i64) -> IntKind { in default_macro_constant_type() argument
124 IntKind::I64 in default_macro_constant_type()
129 IntKind::I32 in default_macro_constant_type()
133 IntKind::I16 in default_macro_constant_type()
135 IntKind::I8 in default_macro_constant_type()
138 IntKind::U64 in default_macro_constant_type()
142 IntKind::U32 in default_macro_constant_type()
144 IntKind::U16 in default_macro_constant_type()
146 IntKind::U8 in default_macro_constant_type()
[all …]
Dint.rs5 pub enum IntKind { enum
88 impl IntKind { implementation
91 use self::IntKind::*; in is_signed()
112 use self::IntKind::*; in known_size()
Dcontext.rs15 use super::int::IntKind;
1959 CXType_Bool => TypeKind::Int(IntKind::Bool), in build_builtin_ty()
1960 CXType_Int => TypeKind::Int(IntKind::Int), in build_builtin_ty()
1961 CXType_UInt => TypeKind::Int(IntKind::UInt), in build_builtin_ty()
1962 CXType_Char_S => TypeKind::Int(IntKind::Char { is_signed: true }), in build_builtin_ty()
1963 CXType_Char_U => TypeKind::Int(IntKind::Char { is_signed: false }), in build_builtin_ty()
1964 CXType_SChar => TypeKind::Int(IntKind::SChar), in build_builtin_ty()
1965 CXType_UChar => TypeKind::Int(IntKind::UChar), in build_builtin_ty()
1966 CXType_Short => TypeKind::Int(IntKind::Short), in build_builtin_ty()
1967 CXType_UShort => TypeKind::Int(IntKind::UShort), in build_builtin_ty()
[all …]
Dty.rs8 use super::int::IntKind;
170 matches!(self.kind, TypeKind::Int(IntKind::Bool)) in is_bool()
180 pub fn as_integer(&self) -> Option<IntKind> { in as_integer() argument
603 Int(IntKind),
/third_party/rust/crates/bindgen/bindgen-integration/
Dbuild.rs5 DeriveInfo, IntKind, MacroParsingBehavior, ParseCallbacks,
31 fn int_macro(&self, name: &str, _value: i64) -> Option<IntKind> { in int_macro() argument
33 "TESTMACRO_CUSTOMINTKIND_PATH" => Some(IntKind::Custom { in int_macro()
/third_party/rust/crates/bindgen/bindgen/
Dcallbacks.rs6 pub use crate::ir::int::IntKind;
50 fn int_macro(&self, _name: &str, _value: i64) -> Option<IntKind> { in int_macro() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEFrameLowering.cpp589 StringRef IntKind = in emitInterruptPrologueStub() local
595 if (IntKind == "eic") { in emitInterruptPrologueStub()
640 if (IntKind == "eic") { in emitInterruptPrologueStub()
645 InsSize = StringSwitch<unsigned>(IntKind) in emitInterruptPrologueStub()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp2727 StringRef IntKind = F.getFnAttribute("interrupt").getValueAsString(); in LowerInterruptReturn() local
2740 if (IntKind == "" || IntKind == "IRQ" || IntKind == "FIQ" || in LowerInterruptReturn()
2741 IntKind == "ABORT") in LowerInterruptReturn()
2743 else if (IntKind == "SWI" || IntKind == "UNDEF") in LowerInterruptReturn()