/system/tools/hidl/ |
H A D | Type.cpp | 17 #include "Type.h" 31 Type::Type(Scope* parent) : mParent(parent) {} function in class:android::Type 33 Type::~Type() {} 35 bool Type::isScope() const { 39 bool Type::isInterface() const { 43 bool Type::isScalar() const { 47 bool Type::isString() const { 51 bool Type 220 topologicalOrder( std::unordered_map<const Type*, size_t>* reversedOrder, std::unordered_set<const Type*>* stack) const argument [all...] |
H A D | TypeDef.h | 27 const Reference<Type>& type); 33 Type* referencedType(); 34 const Type* referencedType() const; 42 const Type* resolve() const override; 44 std::vector<const Reference<Type>*> getReferences() const override; 49 Reference<Type> mReferencedType;
|
H A D | TypeDef.cpp | 25 Scope* parent, const Reference<Type>& type) 33 Type* TypeDef::referencedType() { 37 const Type* TypeDef::referencedType() const { 58 const Type* TypeDef::resolve() const { 62 std::vector<const Reference<Type>*> TypeDef::getReferences() const {
|
H A D | Type.h | 40 struct Type : DocCommentable { struct in namespace:android 41 Type(Scope* parent); 42 virtual ~Type(); 62 Type* resolve(); 63 virtual const Type* resolve() const; 66 std::vector<Type*> getDefinedTypes(); 67 virtual std::vector<const Type*> getDefinedTypes() const; 70 std::vector<Reference<Type>*> getReferences(); 71 virtual std::vector<const Reference<Type>*> getReferences() const; 79 std::vector<Reference<Type>*> getStrongReference [all...] |
H A D | Method.h | 41 struct Type; 55 Method(const char* name, std::vector<NamedReference<Type>*>* args, 56 std::vector<NamedReference<Type>*>* results, bool oneway, 60 const std::vector<NamedReference<Type>*>& args() const; 61 const std::vector<NamedReference<Type>*>& results() const; 71 std::vector<Reference<Type>*> getReferences(); 72 std::vector<const Reference<Type>*> getReferences() const; 74 std::vector<Reference<Type>*> getStrongReferences(); 75 std::vector<const Reference<Type>*> getStrongReferences() const; 106 const NamedReference<Type>* canElideCallbac [all...] |
H A D | RefType.h | 24 #include "Type.h" 33 bool isCompatibleElementType(const Type* elementType) const override; 35 std::vector<const Reference<Type>*> getStrongReferences() const override; 74 bool deepNeedsResolveReferences(std::unordered_set<const Type*>* visited) const override; 77 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override; 78 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
|
H A D | PointerType.cpp | 24 PointerType::PointerType(Scope* parent) : Type(parent) {} 66 bool PointerType::deepIsJavaCompatible(std::unordered_set<const Type*>* /* visited */) const { 70 bool PointerType::deepContainsPointer(std::unordered_set<const Type*>* /* visited */) const {
|
H A D | PointerType.h | 21 #include "Type.h" 25 struct PointerType : public Type { 51 bool deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const override; 52 bool deepContainsPointer(std::unordered_set<const Type*>* visited) const override;
|
H A D | AST.cpp | 130 std::unordered_set<const Type*> visited; 132 [](Type* type) { 143 std::unordered_set<const Type*> visitedTypes; 146 [&](Type* type) -> status_t { 157 std::unordered_set<const Type*> visited; 159 [&](Type* type) -> status_t { 167 Type* nextType = lookupType(nextRef->getLookupFqName(), scope); 183 std::unordered_set<const Type*> visited; 185 [&](Type* type) -> status_t { 187 const Type *targetTyp [all...] |
H A D | Scope.cpp | 119 std::vector<const Type*> Scope::getDefinedTypes() const { 120 std::vector<const Type*> ret; 134 void Scope::topologicalReorder(const std::unordered_map<const Type*, size_t>& reversedOrder) { argument 135 auto less = [&](const Type* lhs, const Type* rhs) { 153 for (const Type* type : mTypes) { 162 for (const Type* type : mTypes) { 169 for (const Type* type : mTypes) { 175 for (const Type* type : mTypes) { 181 for (const Type* typ [all...] |
/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 { 63 std::map<std::string, std::string> Type::kSignedToUnsignedMap = { 74 const std::string Type::signedToUnsigned(const std::string &signedType) { 84 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(const 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 | FunctionDeclaration.h | 27 struct Type; 30 FunctionDeclaration(Type* type, 37 const Type * getType() const; 47 const Type *mType;
|
H A D | Expression.cpp | 32 Expression::Type Expression::integralType(const std::string& integer) { 34 return Type::S32; 38 return Type::U32; 42 return Type::S64; 46 return Type::U64; 51 return Type::UNKNOWN; 54 Expression::Type Expression::coalesceTypes(Type lhs, Type rhs) { 67 return (Type)MAX_RAN [all...] |
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);
|
/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...] |
/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 { 91 : Type(kind, package, 131 class PrimitiveType : public Type { 140 : Type(ValidatableType::KIND_BUILT_IN, kNoPackage, aidl_type, {header}, 157 class ByteType : public Type { 160 : Type(ValidatableTyp 393 Type::Type(int kind, function in class:android::aidl::cpp::Type [all...] |
H A D | generate_java.h | 48 using Type = ::android::aidl::java::Type; 51 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...] |
/system/bt/service/ipc/ |
H A D | ipc_manager.h | 39 enum Type { enum in class:ipc::IPCManager 54 virtual void OnIPCHandlerStarted(Type type) = 0; 58 virtual void OnIPCHandlerStopped(Type type) = 0; 80 bool Start(Type type, Delegate* delegate);
|