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

123456

/system/tools/hidl/
H A DType.cpp17 #include "Type.h"
27 Type::Type() function in class:android::Type
31 Type::~Type() {}
33 void Type::setAnnotations(std::vector<Annotation *> *annotations) {
37 const std::vector<Annotation *> &Type::annotations() const {
41 bool Type::isScope() const {
45 bool Type::isInterface() const {
49 bool Type
[all...]
H A DTypeDef.h26 TypeDef(const char* localName, const Location &location, Type *type);
30 Type *referencedType() const;
41 Type *mReferencedType;
H A DTypeDef.cpp24 TypeDef::TypeDef(const char* localName, const Location &location, Type *type)
34 Type *TypeDef::referencedType() const {
/system/tools/hidl/c2hal/
H A DType.cpp17 #include "Type.h"
24 Type::Type(std::vector<Qualifier*> *qualifiers) function in class:android::Type
28 Type::~Type() {
43 void Type::setArrays(std::vector<Expression*> *arrays) {
47 const std::string Type::decorateName(const std::string &name) const {
64 std::map<std::string, std::string> Type::kSignedToUnsignedMap = {
76 const std::string Type::signedToUnsigned(const std::string &signedType) {
87 std::map<std::string, std::string> Type
[all...]
H A DExpression.h34 enum Type { enum in struct:android::Expression
42 static std::string getTypeDescription(Type type) {
54 static std::string getTypeName(Type type) {
66 static Type integralType(std::string integer);
67 static Type coalesceTypes(Type lhs, Type rhs);
70 static Expression *atom(Type type, const std::string &value, bool isId = false);
77 virtual Type getType(const AST &scope) = 0;
H A DVarDeclaration.h21 #include "Type.h"
26 VarDeclaration(Type *type, const std::string &name);
31 Type* getType() const;
41 Type *mType;
H A DExpression.cpp33 Expression::Type Expression::integralType(std::string integer) {
35 return Type::S32;
39 return Type::U32;
43 return Type::S64;
47 return Type::U64;
52 return Type::UNKNOWN;
56 Expression::Type Expression::coalesceTypes(Type lhs, Type rhs) {
69 return (Type)MAX_RAN
[all...]
H A DFunctionDeclaration.h27 struct Type;
30 FunctionDeclaration(Type* type,
37 const Type * getType() const;
47 const Type *mType;
H A DCompositeDeclaration.cpp29 const Type::Qualifier::Qualification qualifier,
53 const Type::Qualifier::Qualification &CompositeDeclaration::getQualifier() const {
71 CHECK(mQualifier == Type::Qualifier::STRUCT ||
72 mQualifier == Type::Qualifier::UNION ||
73 mQualifier == Type::Qualifier::ENUM);
75 out << Type::qualifierText(mQualifier) << " " << getName();
77 if (mQualifier == Type::Qualifier::ENUM) {
141 auto subStruct = new CompositeDeclaration(Type::Qualifier::STRUCT,
155 if (mQualifier != Type::Qualifier::STRUCT) {
168 CHECK(mQualifier == Type
[all...]
H A DCompositeDeclaration.h21 #include "Type.h"
27 const Type::Qualifier::Qualification qualifier,
34 const Type::Qualifier::Qualification &getQualifier() const;
50 const Type::Qualifier::Qualification mQualifier;
H A DType.h30 struct Type { struct in namespace:android
50 Type *generics;
57 Qualifier(Qualification qualification, Type* generics)
67 Type(std::vector<Qualifier*> *qualifiers);
68 ~Type();
112 DISALLOW_COPY_AND_ASSIGN(Type);
H A DVarDeclaration.cpp21 VarDeclaration::VarDeclaration(Type *type, const std::string &name)
40 Type* VarDeclaration::getType() const {
H A Dc2hal_y.yy21 #include "Type.h"
160 android::Type *type;
161 android::Type::Qualifier *qualifier;
162 android::Type::Qualifier::Qualification qualification;
163 std::vector<android::Type::Qualifier*> *qualifiers;
267 $$ = new CompositeDeclaration(Type::Qualifier::STRUCT,
326 $$ = new CompositeDeclaration(Type::Qualifier::ENUM, $2, $6);
437 $$ = new VarDeclaration(new Type(NULL), "...");
444 $$ = new Type($1);
451 $$ = new std::vector<Type
[all...]
/system/nvram/messages/include/nvram/messages/
H A Dtype_traits.h32 using Type = T;
36 using Type = T;
41 using Type = T;
45 using Type = T;
49 using Type = T;
57 using Type = T;
76 using Type = typename make_index_sequence_builder<size - 1,
78 indices...>::Type;
83 using Type = index_sequence<indices...>;
87 constexpr typename make_index_sequence_builder<size>::Type
[all...]
H A Dtagged_union.h59 // template <typename Type>
60 // void MemberToInt(const Type* member, int* value) {
104 using Type = Member;
141 using Type = typename MemberForTag<TagType, tag, Tail...>::Type;
149 using Type = TaggedUnionMember<tag, MemberType>;
155 using Type = Elem;
165 using Type = typename detail::MemberForTag<TagType, tag, Member...>::Type;
171 Construct<static_cast<TagType>(detail::Head<Member...>::Type
[all...]
H A Dproto.hpp31 // |Codec<Type>| provides encoding and decoding logic for |Type|.
102 // field of the C++ type |Type|. The base template is left undefined here,
103 // specific implementations for relevant |Type|s are provided by template
107 // * |static bool Encode(const Type& object, ProtoWriter* writer)| writes the
109 // * |static bool Decode(Type& object, ProtoReader* reader)| decodes a field
115 template <typename Type, typename Enable = void>
117 // The assert below fails unconditionally, but must depend on the |Type|
123 static_assert(sizeof(Type) == 0,
132 // occurrence of a field of type |Type|
310 struct Type { struct in struct:nvram::proto::detail::__anon2440::StructDescriptor::FieldDescriptorBuilder::MemberCodecLookup
[all...]
/system/tools/aidl/
H A Dtype_cpp.h33 class Type : public ValidatableType { class in namespace:android::aidl::cpp
35 Type(int kind, // from ValidatableType
42 Type* array_type = nullptr,
43 Type* nullable_type = nullptr,
46 virtual ~Type() = default;
52 const Type* ArrayType() const override { return array_type_.get(); }
53 const Type* NullableType() const override { return nullable_type_.get(); }
84 const std::unique_ptr<Type> array_type_;
85 const std::unique_ptr<Type> nullable_type_;
87 DISALLOW_COPY_AND_ASSIGN(Type);
[all...]
H A Dtype_cpp.cpp47 Type* const kNoArrayType = nullptr;
48 Type* const kNoNullableType = nullptr;
70 class VoidType : public Type {
72 VoidType() : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, "void",
79 class CppArrayType : public Type {
90 : Type(kind, package,
129 class PrimitiveType : public Type {
138 : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, aidl_type, {header},
155 class ByteType : public Type {
158 : Type(ValidatableTyp
391 Type::Type(int kind, function in class:android::aidl::cpp::Type
[all...]
H A Dgenerate_java.h45 using Type = ::android::aidl::java::Type;
48 Variable* Get(const Type* type);
H A Dtype_java.h32 class Type : public ValidatableType { class in namespace:android::aidl::java
37 Type(const JavaTypeNamespace* types, const std::string& name, int kind,
39 Type(const JavaTypeNamespace* types, const std::string& package,
42 virtual ~Type() = default;
66 std::unique_ptr<Type> m_array_type;
69 Type();
70 Type(const Type&);
78 class BasicArrayType : public Type {
99 class BasicType : public Type {
[all...]
H A Dast_java.h52 class Type;
87 const Type* type = nullptr;
92 Variable(const Type* type, const std::string& name);
93 Variable(const Type* type, const std::string& name, int dimension);
102 const Type* clazz;
106 FieldVariable(const Type* clazz, const std::string& name);
152 const Type* cast;
155 Assignment(Variable* lvalue, Expression* rvalue, const Type* cast);
162 const Type* clazz = nullptr;
170 MethodCall(const Type* claz
[all...]
/system/bt/service/ipc/
H A Dipc_manager.h39 enum Type { enum in class:ipc::IPCManager
53 virtual void OnIPCHandlerStarted(Type type) = 0;
57 virtual void OnIPCHandlerStopped(Type type) = 0;
79 bool Start(Type type, Delegate* delegate);
/system/update_engine/common/
H A Dmock_action.h40 ON_CALL(*this, Type()).WillByDefault(testing::Return("MockAction"));
47 MOCK_CONST_METHOD0(Type, std::string());
/system/netd/server/
H A DDummyNetwork.cpp37 Network::Type DummyNetwork::getType() const {
H A DLocalNetwork.h31 Type getType() const override;

Completed in 387 milliseconds

123456