Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/frameworks/av/include/media/
DMetadata.h49 typedef int32_t Type; typedef
50 typedef SortedVector<Type> Filter;
52 static const Type kAny = 0;
55 static const Type kPauseAvailable = 1; // Boolean
56 static const Type kSeekBackwardAvailable = 2; // Boolean
57 static const Type kSeekForwardAvailable = 3; // Boolean
58 static const Type kSeekAvailable = 4; // Boolean
61 static const Type kTitle = 5; // String
62 static const Type kComment = 6; // String
63 static const Type kCopyright = 7; // String
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubMethodAdapter.java24 import org.objectweb.asm.Type;
38 private Type mReturnType;
51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, in StubMethodAdapter()
79 int sort = mReturnType != null ? mReturnType.getSort() : Type.VOID; in generateInvoke()
81 case Type.VOID: in generateInvoke()
88 case Type.BOOLEAN: in generateInvoke()
89 case Type.CHAR: in generateInvoke()
90 case Type.BYTE: in generateInvoke()
91 case Type.SHORT: in generateInvoke()
92 case Type.INT: in generateInvoke()
[all …]
DDelegateMethodAdapter2.java28 import org.objectweb.asm.Type;
174 Type.getObjectType(Type.getInternalName(LayoutlibDelegate.class)).toString(), in generateDelegateCode()
187 ArrayList<Type> paramTypes = new ArrayList<Type>(); in generateDelegateCode()
194 Type outerType = null; in generateDelegateCode()
199 outerType = Type.getObjectType(outerClass); in generateDelegateCode()
228 paramTypes.add(Type.getObjectType(mClassName)); in generateDelegateCode()
232 Type[] argTypes = Type.getArgumentTypes(mDesc); in generateDelegateCode()
234 for (Type t : argTypes) { in generateDelegateCode()
244 String desc = Type.getMethodDescriptor( in generateDelegateCode()
245 Type.getReturnType(mDesc), in generateDelegateCode()
[all …]
DRenameClassAdapter.java26 import org.objectweb.asm.Type;
79 return renameType(Type.getType(desc)); in renameTypeDesc()
87 String renameType(Type type) { in renameType()
92 if (type.getSort() == Type.OBJECT) { in renameType()
95 } else if (type.getSort() == Type.ARRAY) { in renameType()
112 Type renameTypeAsType(Type type) { in renameTypeAsType()
117 if (type.getSort() == Type.OBJECT) { in renameTypeAsType()
121 return Type.getType("L" + newIn + ";"); in renameTypeAsType()
123 } else if (type.getSort() == Type.ARRAY) { in renameTypeAsType()
129 return Type.getType(sb.toString()); in renameTypeAsType()
[all …]
/frameworks/base/tools/aidl/
DType.h10 class Type
26 Type(const string& name, int kind, bool canWriteToParcel,
28 Type(const string& package, const string& name,
31 virtual ~Type();
74 Type();
75 Type(const Type&);
88 class BasicType : public Type
135 class BooleanType : public Type
160 class CharType : public Type
186 class StringType : public Type
[all …]
DAST.h12 class Type; variable
38 virtual void GatherTypes(set<Type*>* types) const = 0;
69 Type* type;
74 Variable(Type* type, const string& name);
75 Variable(Type* type, const string& name, int dimension);
78 virtual void GatherTypes(set<Type*>* types) const;
86 Type* clazz;
90 FieldVariable(Type* clazz, const string& name);
107 virtual void GatherTypes(set<Type*>* types) const;
142 Type* cast;
[all …]
DType.cpp5 Type* VOID_TYPE;
6 Type* BOOLEAN_TYPE;
7 Type* BYTE_TYPE;
8 Type* CHAR_TYPE;
9 Type* INT_TYPE;
10 Type* LONG_TYPE;
11 Type* FLOAT_TYPE;
12 Type* DOUBLE_TYPE;
13 Type* STRING_TYPE;
14 Type* OBJECT_TYPE;
[all …]
Dgenerate_java_rpc.cpp8 Type* SERVICE_CONTEXT_TYPE = new Type("android.content",
9 "Context", Type::BUILT_IN, false, false, false);
10 Type* PRESENTER_BASE_TYPE = new Type("android.support.place.connector",
11 "EventListener", Type::BUILT_IN, false, false, false);
12 Type* PRESENTER_LISTENER_BASE_TYPE = new Type("android.support.place.connector",
13 "EventListener.Listener", Type::BUILT_IN, false, false, false);
14 Type* RPC_BROKER_TYPE = new Type("android.support.place.connector", "Broker",
15 Type::BUILT_IN, false, false, false);
16 Type* RPC_CONTAINER_TYPE = new Type("com.android.athome.connector", "ConnectorContainer",
17 Type::BUILT_IN, false, false, false);
[all …]
/frameworks/rs/cpp/
DType.cpp30 void Type::calcElementCount() { in calcElementCount()
67 Type::Type(void *id, RenderScript *rs) : BaseObj(id, rs) { in Type() function in Type
76 void Type::updateFromNative() { in updateFromNative()
99 Type::Builder::Builder(RenderScript *rs, sp<const Element> e) { in Builder()
109 void Type::Builder::setX(uint32_t value) { in setX()
116 void Type::Builder::setY(int value) { in setY()
123 void Type::Builder::setMipmaps(bool value) { in setMipmaps()
127 void Type::Builder::setFaces(bool value) { in setFaces()
131 sp<const Type> Type::Builder::create() { in create()
153 Type *t = new Type(id, mRS); in create()
/frameworks/support/renderscript/v8/rs_support/
DrsType.cpp22 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type() function in Type
27 void Type::preDestroy() const { in preDestroy()
36 Type::~Type() { in ~Type()
40 void Type::clear() { in clear()
58 size_t Type::getOffsetForFace(uint32_t face) const { in getOffsetForFace()
63 void Type::compute() { in compute()
113 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const { in getLODOffset()
119 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const { in getLODOffset()
125 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const { in getLODOffset()
133 uint32_t Type::getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, in getLODFaceOffset()
[all …]
DrsType.h34 class Type : public ObjectBase {
58 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
104 static Type *createFromStream(Context *rsc, IStream *stream);
106 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
107 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
109 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
113 static Type* getType(Context *rsc, const Element *e, in getType()
116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces); in getType()
142 virtual ~Type();
145 Type(Context *);
[all …]
/frameworks/rs/
DrsType.cpp22 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type() function in Type
27 void Type::preDestroy() const { in preDestroy()
36 Type::~Type() { in ~Type()
40 void Type::clear() { in clear()
58 size_t Type::getOffsetForFace(uint32_t face) const { in getOffsetForFace()
63 void Type::compute() { in compute()
113 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const { in getLODOffset()
119 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const { in getLODOffset()
125 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const { in getLODOffset()
133 uint32_t Type::getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, in getLODFaceOffset()
[all …]
DrsType.h34 class Type : public ObjectBase {
58 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
104 static Type *createFromStream(Context *rsc, IStream *stream);
106 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const;
107 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const;
109 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
113 static Type* getType(Context *rsc, const Element *e, in getType()
116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces); in getType()
142 virtual ~Type();
145 Type(Context *);
[all …]
/frameworks/compile/slang/
Dslang_rs_export_type.cpp84 static const clang::Type *TypeExportableHelper(
85 const clang::Type *T,
86 llvm::SmallPtrSet<const clang::Type*, 8>& SPS,
120 static const clang::Type *ConstantArrayTypeExportableHelper( in ConstantArrayTypeExportableHelper()
122 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, in ConstantArrayTypeExportableHelper() argument
127 const clang::Type *ElementType = GET_CONSTANT_ARRAY_ELEMENT_TYPE(CAT); in ConstantArrayTypeExportableHelper()
137 const clang::Type *BaseElementType = GET_EXT_VECTOR_ELEMENT_TYPE(EVT); in ConstantArrayTypeExportableHelper()
159 static const clang::Type *TypeExportableHelper( in TypeExportableHelper()
160 clang::Type const *T, in TypeExportableHelper()
161 llvm::SmallPtrSet<clang::Type const *, 8> &SPS, in TypeExportableHelper()
[all …]
Dslang_rs_export_type.h57 class Type; variable
108 mutable llvm::Type *mLLVMType;
125 const clang::Type *T,
128 static llvm::StringRef GetTypeName(const clang::Type *T);
138 virtual llvm::Type *convertToLLVMType() const = 0;
141 inline void setAbstractLLVMType(llvm::Type *LLVMType) const { in setAbstractLLVMType()
155 static bool NormalizeType(const clang::Type *&T,
174 static RSExportType *Create(RSContext *Context, const clang::Type *T);
178 static const clang::Type *GetTypeOfDecl(const clang::DeclaratorDecl *DD);
184 inline llvm::Type *getLLVMType() const { in getLLVMType()
[all …]
Dslang_rs_export_element.cpp60 const clang::Type *T, in Create()
77 case clang::Type::Builtin: in Create()
78 case clang::Type::Pointer: { in Create()
91 case clang::Type::ExtVector: { in Create()
121 const clang::Type* T = RSExportType::GetTypeOfDecl(DD); in CreateFromDecl()
122 const clang::Type* CT = GET_CANONICAL_TYPE(T); in CreateFromDecl()
127 if ((CT->getTypeClass() != clang::Type::Builtin) && in CreateFromDecl()
128 (CT->getTypeClass() != clang::Type::ExtVector)) { in CreateFromDecl()
135 if (T->getTypeClass() != clang::Type::Typedef) { in CreateFromDecl()
/frameworks/compile/libbcc/lib/Renderscript/
DRSForEachExpand.cpp65 llvm::SmallVector<llvm::Type*, 8> RootArgTys; in getRootSignature()
109 llvm::Value *getStepValue(llvm::TargetData *TD, llvm::Type *T, in getStepValue()
115 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*C); in getStepValue()
117 llvm::Type *ET = PT->getElementType(); in getStepValue()
119 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*C); in getStepValue()
176 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*C); in ExpandFunction()
177 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*C); in ExpandFunction()
178 llvm::Type *SizeTy = Int32Ty; in ExpandFunction()
195 llvm::SmallVector<llvm::Type*, 9> StructTys; in ExpandFunction()
207 llvm::Type *ForEachStubPtrTy = llvm::StructType::create( in ExpandFunction()
[all …]
/frameworks/compile/libbcc/lib/AndroidBitcode/ARM/
DARMABCExpandVAArg.cpp42 llvm::Type *pty = pInst->getType(); in expandVAArg()
43 llvm::Type *ty = pty->getContainedType(0); in expandVAArg()
48 llvm::Type *bp = llvm::Type::getInt8PtrTy(*mContext); in expandVAArg()
49 llvm::Type *bpp = bp->getPointerTo(0); in expandVAArg()
61 builder.CreatePtrToInt(addr, llvm::Type::getInt32Ty(*mContext)); in expandVAArg()
72 llvm::ConstantInt::get(llvm::Type::getInt32Ty(*mContext), offset), in expandVAArg()
/frameworks/compile/libbcc/lib/AndroidBitcode/X86/
DX86ABCExpandVAArg.cpp42 llvm::Type *pty = pInst->getType(); in expandVAArg()
43 llvm::Type *ty = pty->getContainedType(0); in expandVAArg()
48 llvm::Type *bp = llvm::Type::getInt8PtrTy(*mContext); in expandVAArg()
49 llvm::Type *bpp = bp->getPointerTo(0); in expandVAArg()
59 llvm::ConstantInt::get(llvm::Type::getInt32Ty(*mContext), offset), in expandVAArg()
/frameworks/compile/mclinker/include/mcld/Support/
DPositionDependentOption.h26 enum Type { enum
43 PositionDependentOption(unsigned int pPosition, Type pType) in PositionDependentOption()
48 Type type() in type()
51 Type type() const in type()
61 Type m_Type;
/frameworks/compile/mclinker/include/mcld/MC/
DMCLinker.h76 template<Input::Type FROM>
78 ResolveInfo::Type pType,
108 ResolveInfo::Type pType,
159 Relocation* addRelocation(Relocation::Type pType,
201 ResolveInfo::Type pType,
211 ResolveInfo::Type pType,
221 ResolveInfo::Type pType,
231 ResolveInfo::Type pType,
242 ResolveInfo::Type pType,
251 ResolveInfo::Type pType,
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DAllocation.java72 Type mType;
86 Type.CubemapFace mSelectedFace = Type.CubemapFace.POSITIVE_X;
183 private void updateCacheInfo(Type t) { in updateCacheInfo()
196 Allocation(int id, RenderScript rs, Type t, int usage) { in Allocation()
263 public Type getType() { in getType()
905 … static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { in createTyped()
928 static public Allocation createTyped(RenderScript rs, Type type, int usage) { in createTyped()
942 static public Allocation createTyped(RenderScript rs, Type type) { in createTyped()
961 Type.Builder b = new Type.Builder(rs, e); in createSized()
963 Type t = b.create(); in createSized()
[all …]
/frameworks/base/tools/preload/
DRecord.java55 enum Type { enum in Record
85 final Type type;
102 case '>': type = Type.START_LOAD; break; in Record()
103 case '<': type = Type.END_LOAD; break; in Record()
104 case '+': type = Type.START_INIT; break; in Record()
105 case '-': type = Type.END_INIT; break; in Record()
/frameworks/compile/libbcc/lib/AndroidBitcode/Mips/
DMipsABCExpandVAArg.cpp42 llvm::Type *pty = pInst->getType(); in expandVAArg()
43 llvm::Type *ty = pty->getContainedType(0); in expandVAArg()
48 llvm::Type *bp = llvm::Type::getInt8PtrTy(*mContext); in expandVAArg()
49 llvm::Type *bpp = bp->getPointerTo(0); in expandVAArg()
55 llvm::IntegerType *int_ty = llvm::Type::getInt32Ty(*mContext); in expandVAArg()
/frameworks/compile/mclinker/include/mcld/LD/
DRelocation.h36 typedef uint8_t Type; typedef
39 Relocation(Type pType,
48 Type type() const in type()
86 void setType(Type pType);
99 Type m_Type;

12345678910>>...13