/system/tools/hidl/ |
H A D | Type.cpp | 17 #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 D | TypeDef.h | 26 TypeDef(const char* localName, const Location &location, Type *type); 30 Type *referencedType() const; 41 Type *mReferencedType;
|
H A D | TypeDef.cpp | 24 TypeDef::TypeDef(const char* localName, const Location &location, Type *type) 34 Type *TypeDef::referencedType() const {
|
/system/tools/hidl/c2hal/ |
H A D | Type.cpp | 17 #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 D | Expression.h | 34 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 D | VarDeclaration.h | 21 #include "Type.h" 26 VarDeclaration(Type *type, const std::string &name); 31 Type* getType() const; 41 Type *mType;
|
H A D | Expression.cpp | 33 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 D | FunctionDeclaration.h | 27 struct Type; 30 FunctionDeclaration(Type* type, 37 const Type * getType() const; 47 const Type *mType;
|
H A D | CompositeDeclaration.cpp | 29 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 D | CompositeDeclaration.h | 21 #include "Type.h" 27 const Type::Qualifier::Qualification qualifier, 34 const Type::Qualifier::Qualification &getQualifier() const; 50 const Type::Qualifier::Qualification mQualifier;
|
H A D | Type.h | 30 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 D | VarDeclaration.cpp | 21 VarDeclaration::VarDeclaration(Type *type, const std::string &name) 40 Type* VarDeclaration::getType() const {
|
H A D | c2hal_y.yy | 21 #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 D | type_traits.h | 32 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 D | tagged_union.h | 59 // 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 D | proto.hpp | 31 // |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 D | type_cpp.h | 33 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 D | type_cpp.cpp | 47 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 D | generate_java.h | 45 using Type = ::android::aidl::java::Type; 48 Variable* Get(const Type* type);
|
H A D | type_java.h | 32 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 D | ast_java.h | 52 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 D | ipc_manager.h | 39 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 D | mock_action.h | 40 ON_CALL(*this, Type()).WillByDefault(testing::Return("MockAction")); 47 MOCK_CONST_METHOD0(Type, std::string());
|
/system/netd/server/ |
H A D | DummyNetwork.cpp | 37 Network::Type DummyNetwork::getType() const {
|
H A D | LocalNetwork.h | 31 Type getType() const override;
|