Searched refs:Type (Results 1 - 25 of 50) sorted by relevance

12

/gem5/src/base/
H A Dflags.hh41 typedef T Type; typedef in class:Flags
43 Flags(Type flags) : _flags(flags) {}
45 operator const Type() const { return _flags; }
63 bool isSet(Type flags) const { return (_flags & flags); }
65 bool allSet(Type flags) const { return (_flags & flags) == flags; }
67 bool noneSet(Type flags) const { return (_flags & flags) == 0; }
69 void clear(Type flags) { _flags &= ~flags; }
70 void set(Type flags) { _flags |= flags; }
71 void set(Type f, bool val) { _flags = (_flags & ~f) | (val ? f : 0); }
73 update(Type flag
[all...]
H A Dbitunion.hh70 typedef Type2 Type; typedef in struct:BitfieldTypeImpl::TypeDeducer::T
79 typedef typename T<decltype(&Wrapper::setter)>::Type Type; typedef in struct:BitfieldTypeImpl::TypeDeducer
84 typedef typename TypeDeducer::Type Type; typedef in class:BitfieldTypeImpl
86 Type getter(const Storage &storage) const = delete;
87 void setter(Storage &storage, Type val) = delete;
91 operator Type () const
96 Type
97 operator=(const Type va
391 typedef typename BitUnionType<T>::__StorageType Type; typedef in struct:BitfieldBackend::BitUnionBaseType
397 typedef typename BitUnionType<T>::__StorageType Type; typedef in struct:BitfieldBackend::BitUnionBaseType
[all...]
/gem5/ext/dsent/model/optical_graph/
H A DOpticalNode.h43 enum Type enum in class:DSENT::OpticalNode
53 OpticalNode(Type type_, const String& instance_name_, OpticalModel* model_, const WavelengthGroup& wavelengths_);
58 Type getType() const;
95 const Type m_type_;
H A DOpticalNode.cc30 OpticalNode::OpticalNode(Type type_, const String& instance_name_, OpticalModel* model_, const WavelengthGroup& wavelengths_)
43 OpticalNode::Type OpticalNode::getType() const
/gem5/src/mem/slicc/ast/
H A DIsValidPtrExprAST.py30 from slicc.symbols import Type
51 type = self.symtab.find("bool", Type)
H A DTypeAST.py30 from slicc.symbols import Type
46 type = self.symtab.find(self.ident, Type)
48 self.error("Type '%s' not declared.", self)
51 self.error("Type '%s' is should be type '%s'", self, assert_type)
H A DStateDeclAST.py28 from slicc.symbols import Func, Type
55 t = Type(self.symtab, ident, self.location, self.pairs,
69 self.symtab.find("std::string", Type), [ t ], [], "",
79 self.symtab.find("AccessPermission", Type), [ t ], [], "",
H A DInPortDeclAST.py30 from slicc.symbols import Func, Type, Var
47 void_type = symtab.find("void", Type)
57 "attribute. Type '%s' does not have this attribute.",
70 type = symtab.find("Event", Type)
76 type = symtab.find("Addr", Type)
104 type = symtab.find("Event", Type)
111 type = symtab.find("Addr", Type)
H A DOperatorExprAST.py29 from slicc.symbols import Type
53 self.error("Type mismatch: left and right operands of " +
80 left_input_type = self.symtab.find(expected_type[0], Type)
81 right_input_type = self.symtab.find(expected_type[1], Type)
87 self.error("Type mismatch: operands ({0}, {1}) for operator " \
95 return self.symtab.find(output, Type)
115 type_in_symtab = self.symtab.find(opmap[self.op], Type)
117 self.error("Type mismatch: right operand of " +
129 return self.symtab.find(output, Type)
H A DLiteralExprAST.py29 from slicc.symbols import Type
50 type = self.symtab.find(self.type, Type)
H A DExprStatementAST.py31 from slicc.symbols import Type
47 actual_type != self.symtab.find("void", Type)):
H A DTypeDeclAST.py29 from slicc.symbols.Type import Type
56 new_type = Type(self.symtab, ident, self.location, self.pairs,
H A DEnumDeclAST.py29 from slicc.symbols import Func, Type
56 t = Type(self.symtab, ident, self.location, self.pairs,
70 self.symtab.find("std::string", Type), [ t ], [], "",
H A DIfStatementAST.py29 from slicc.symbols import Type
49 if cond_type != self.symtab.find("bool", Type):
H A DOutPortDeclAST.py31 from slicc.symbols import Type
51 "attribute. Type '%s' does not have this attribute.",
54 if not self.symtab.find(self.msg_type.ident, Type):
H A DVarExprAST.py30 from slicc.symbols import Type, Var
52 expected_type = self.symtab.find(type_ident, Type)
H A DMachineAST.py29 from slicc.symbols import StateMachine, Type
74 machine_type = self.symtab.find("MachineType", Type)
H A DFuncCallExprAST.py30 from slicc.symbols import Func, Type
75 return self.symtab.find("void", Type)
93 return self.symtab.find("void", Type)
99 return self.symtab.find("void", Type)
/gem5/ext/pybind11/include/pybind11/
H A Deigen.h110 template <typename Type> struct eigen_extract_stride { using type = Type; };
118 using Type = Type_;
119 using Scalar = typename Type::Scalar;
120 using StrideType = typename eigen_extract_stride<Type>::type;
122 rows = Type::RowsAtCompileTime,
123 cols = Type::ColsAtCompileTime,
124 size = Type::SizeAtCompileTime;
126 row_major = Type::IsRowMajor,
127 vector = Type
[all...]
H A Dstl.h67 template <typename Type, typename Key> struct set_caster {
68 using type = Type;
101 template <typename Type, typename Key, typename Value> struct map_caster {
140 PYBIND11_TYPE_CASTER(Type, _("Dict[") + key_conv::name + _(", ") + value_conv::name + _("]"));
143 template <typename Type, typename Value> struct list_caster {
162 template <typename T = Type,
164 void reserve_maybe(sequence s, Type *) { value.reserve(s.size()); }
183 PYBIND11_TYPE_CASTER(Type, _("List[") + value_conv::name + _("]"));
186 template <typename Type, typename Alloc> struct type_caster<std::vector<Type, Allo
[all...]
/gem5/src/mem/slicc/symbols/
H A D__init__.py38 from slicc.symbols.Type import Type
H A DFunc.py29 from slicc.symbols.Type import Type
53 void_type = self.symtab.find("void", Type)
79 expr.error("Type mismatch: expected: %s actual: %s" % \
94 void_type = self.symtab.find("void", Type)
/gem5/src/systemc/tests/systemc/bugs/stack_alignment/
H A Dstack_alignment.cpp74 # define ALIGNED_ARRAY( Type, Name, Size, Align ) \
75 Type Name[Size] __attribute__((aligned(Align)))
77 # define ALIGNED_ARRAY( Type, Name, Size, Align ) \
78 __declspec(align(Align)) Type Name[Size]
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-test-part.h51 enum Type { enum in class:testing::TestPartResult
60 TestPartResult(Type a_type,
72 Type type() const { return type_; }
103 Type type_;
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_ver.cpp122 #define SC_API_PERFORM_CHECK_( Type, Name, Symbol ) \
125 static Type SC_CONCAT_UNDERSCORE_( Name, config ); \

Completed in 24 milliseconds

12