/frameworks/av/include/media/ |
D | Metadata.h | 49 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/libs/hwui/utils/ |
D | Macros.h | 19 #define PREVENT_COPY_AND_ASSIGN(Type) \ argument 21 Type(const Type&); \ 22 void operator=(const Type&) 24 #define DESCRIPTION_TYPE(Type) \ argument 25 int compare(const Type& rhs) const { return memcmp(this, &rhs, sizeof(Type));} \ 26 bool operator==(const Type& other) const { return compare(other) == 0; } \ 27 bool operator!=(const Type& other) const { return compare(other) != 0; } \ 28 …friend inline int strictly_order_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs) … 29 … friend inline int compare_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs); } \ 30 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); }
|
/frameworks/rs/cpp/ |
D | Type.cpp | 32 void Type::calcElementCount() { in calcElementCount() 69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { in Type() function in Type 79 void Type::updateFromNative() { in updateFromNative() 102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t … in create() 104 Type *t = new Type(id, rs); in create() 118 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { in Builder() 128 void Type::Builder::setX(uint32_t value) { in setX() 135 void Type::Builder::setY(uint32_t value) { in setY() 142 void Type::Builder::setZ(uint32_t value) { in setZ() 149 void Type::Builder::setYuvFormat(RSYuvFormat format) { in setYuvFormat() [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StubMethodAdapter.java | 24 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 …]
|
D | ReplaceMethodCallsAdapter.java | 25 import org.objectweb.asm.Type; 55 private static final String JAVA_LOCALE_CLASS = Type.getInternalName(java.util.Locale.class); 56 private static final Type STRING = Type.getType(String.class); 58 private static final String JAVA_LANG_SYSTEM = Type.getInternalName(System.class); 81 Type.getMethodDescriptor(STRING, Type.getType(Locale.class)); in METHOD_REPLACERS.add() 101 private final String STRING_TO_STRING = Type.getMethodDescriptor(STRING, STRING); in METHOD_REPLACERS.add() 102 private final String STRING_TO_LOCALE = Type.getMethodDescriptor( in METHOD_REPLACERS.add() 103 Type.getType(Locale.class), STRING); in METHOD_REPLACERS.add() 133 mi.owner = Type.getInternalName(System_Delegate.class); in METHOD_REPLACERS.add() 141 Type.getMethodDescriptor(Type.getType(Map.Entry.class)); in METHOD_REPLACERS.add() [all …]
|
D | DelegateMethodAdapter.java | 28 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 …]
|
D | AbstractClassAdapter.java | 25 import org.objectweb.asm.Type; 59 return renameType(Type.getType(desc)); in renameTypeDesc() 67 String renameType(Type type) { in renameType() 72 if (type.getSort() == Type.OBJECT) { in renameType() 75 } else if (type.getSort() == Type.ARRAY) { in renameType() 92 Type renameTypeAsType(Type type) { in renameTypeAsType() 97 if (type.getSort() == Type.OBJECT) { in renameTypeAsType() 101 return Type.getType("L" + newIn + ";"); in renameTypeAsType() 103 } else if (type.getSort() == Type.ARRAY) { in renameTypeAsType() 109 return Type.getType(sb.toString()); in renameTypeAsType() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.cpp | 166 static const clang::Type *TypeExportableHelper( 167 const clang::Type *T, 168 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, 193 static const clang::Type *ConstantArrayTypeExportableHelper( in ConstantArrayTypeExportableHelper() 195 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, in ConstantArrayTypeExportableHelper() argument 200 const clang::Type *ElementType = GetConstantArrayElementType(CAT); in ConstantArrayTypeExportableHelper() 210 const clang::Type *BaseElementType = GetExtVectorElementType(EVT); in ConstantArrayTypeExportableHelper() 241 static const clang::Type *TypeExportableHelper( in TypeExportableHelper() 242 clang::Type const *T, in TypeExportableHelper() 243 llvm::SmallPtrSet<clang::Type const *, 8> &SPS, in TypeExportableHelper() [all …]
|
D | slang_rs_export_type.h | 37 inline const clang::Type* GetCanonicalType(const clang::Type* T) { in GetCanonicalType() 44 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType() 48 inline const clang::Type* GetExtVectorElementType(const clang::ExtVectorType *T) { in GetExtVectorElementType() 55 inline const clang::Type* GetPointeeType(const clang::PointerType *T) { in GetPointeeType() 62 inline const clang::Type* GetConstantArrayElementType(const clang::ConstantArrayType *T) { in GetConstantArrayElementType() 71 class Type; variable 189 mutable llvm::Type *mLLVMType; 204 const clang::Type *T, 207 static llvm::StringRef GetTypeName(const clang::Type *T); 217 virtual llvm::Type *convertToLLVMType() const = 0; [all …]
|
D | slang_rs_export_element.cpp | 72 const clang::Type *T, in Create() 88 case clang::Type::Builtin: in Create() 89 case clang::Type::Pointer: { in Create() 102 case clang::Type::ExtVector: { in Create() 132 const clang::Type* T = RSExportType::GetTypeOfDecl(DD); in CreateFromDecl() 133 const clang::Type* CT = GetCanonicalType(T); in CreateFromDecl() 138 if ((CT->getTypeClass() != clang::Type::Builtin) && in CreateFromDecl() 139 (CT->getTypeClass() != clang::Type::ExtVector)) { in CreateFromDecl() 146 if (T->getTypeClass() != clang::Type::Typedef) { in CreateFromDecl()
|
/frameworks/base/tools/aidl/ |
D | Type.h | 10 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 …]
|
D | AST.h | 12 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 …]
|
D | Type.cpp | 7 Type* VOID_TYPE; 8 Type* BOOLEAN_TYPE; 9 Type* BYTE_TYPE; 10 Type* CHAR_TYPE; 11 Type* INT_TYPE; 12 Type* LONG_TYPE; 13 Type* FLOAT_TYPE; 14 Type* DOUBLE_TYPE; 15 Type* STRING_TYPE; 16 Type* OBJECT_TYPE; [all …]
|
D | generate_java_rpc.cpp | 8 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/ |
D | rsType.cpp | 30 Type::Type(Context *rsc) : ObjectBase(rsc) { in Type() function in Type 35 void Type::preDestroy() const { in preDestroy() 44 Type::~Type() { in ~Type() 48 void Type::operator delete(void* ptr) { in operator delete() 50 Type *t = (Type*) ptr; in operator delete() 55 void Type::clear() { in clear() 72 void Type::compute() { in compute() 148 void Type::dumpLOGV(const char *prefix) const { in dumpLOGV() 161 void Type::serialize(Context *rsc, OStream *stream) const { in serialize() 176 Type *Type::createFromStream(Context *rsc, IStream *stream) { in createFromStream() [all …]
|
D | rsType.h | 34 class Type : public ObjectBase { 61 Type * createTex2D(const Element *, size_t w, size_t h, bool mip); 97 static Type *createFromStream(Context *rsc, IStream *stream); 99 ObjectBaseRef<Type> cloneAndResize1D(Context *rsc, uint32_t dimX) const; 100 ObjectBaseRef<Type> cloneAndResize2D(Context *rsc, uint32_t dimX, uint32_t dimY) const; 102 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, 106 static Type* getType(Context *rsc, const Element *e, in getType() 109 ObjectBaseRef<Type> type = getTypeRef(rsc, e, dimX, dimY, dimZ, dimLOD, dimFaces, yuv); in getType() 135 virtual ~Type(); 138 Type(Context *); [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | TypeThunker.java | 23 class TypeThunker extends Type { 24 android.renderscript.Type mN; 26 android.renderscript.Type getNObj() { in getNObj() 30 static HashMap<android.renderscript.Type, Type> mMap = new HashMap(); 42 TypeThunker(RenderScript rs, android.renderscript.Type t) { in TypeThunker() 57 static Type find(android.renderscript.Type nt) { in find() 61 static Type create(RenderScript rs, Element e, in create() 66 android.renderscript.Type.Builder tb = in create() 67 new android.renderscript.Type.Builder(rst.mN, et.mN); in create() 74 android.renderscript.Type nt = tb.create(); in create()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapEventReport.java | 41 public enum Type { enum in BluetoothMapEventReport 50 private Type(String specName) { in Type() method in BluetoothMapEventReport.Type 60 private final Type mType; 68 private final BluetoothMapBmessage.Type mMsgType; 73 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in BluetoothMapEventReport() 91 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in BluetoothMapEventReport() 107 private Type parseType(String type) throws IllegalArgumentException { in parseType() 108 for (Type t : Type.values()) { in parseType() 117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() 118 for (BluetoothMapBmessage.Type t : BluetoothMapBmessage.Type.values()) { in parseMsgType() [all …]
|
D | BluetoothMapMessage.java | 51 private final Type mType; 69 public enum Type { enum in BluetoothMapMessage 142 private Type strToType(String s) { in strToType() 144 return Type.EMAIL; in strToType() 146 return Type.SMS_GSM; in strToType() 148 return Type.SMS_CDMA; in strToType() 150 return Type.MMS; in strToType() 153 return Type.UNKNOWN; in strToType() 265 public Type getType() { in getType()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TypeReference.java | 22 import java.lang.reflect.Type; 48 private final Type mType; 83 public Type getType() { in getType() 87 private TypeReference(Type type) { in TypeReference() 104 public SpecializedBaseTypeReference(Type type) { in SpecializedBaseTypeReference() 139 public static TypeReference<?> createSpecializedTypeReference(Type type) { in createSpecializedTypeReference() 162 private static final Class<?> getRawType(Type type) { in getRawType() 184 private static final Class<?> getRawType(Type[] types) { in getRawType() 189 for (Type type : types) { in getRawType() 209 Type componentType = getComponentType(mType); in getComponentType() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 46 public class Type extends BaseObj { class 187 Type(long id, RenderScript rs) { in Type() method in Type 222 static public Type createX(RenderScript rs, Element e, int dimX) { in createX() 228 Type t = new Type(id, rs); in createX() 246 static public Type createXY(RenderScript rs, Element e, int dimX, int dimY) { in createXY() 252 Type t = new Type(id, rs); in createXY() 272 static public Type createXYZ(RenderScript rs, Element e, int dimX, int dimY, int dimZ) { in createXYZ() 278 Type t = new Type(id, rs); in createXYZ() 382 public Type create() { in create() 410 Type t = new Type(id, mRS); in create()
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | Relocation.h | 34 typedef uint32_t Type; typedef 40 Relocation(Type pType, 61 static Relocation* Create(Type pType, FragmentRef& pFragRef, 68 Type type() const in type() 103 void setType(Type pType); 111 Type m_Type;
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSForEachExpand.cpp | 83 llvm::SmallVector<llvm::Type*, 8> RootArgTys; in getRootSignature() 123 bool isStepOptSupported(llvm::Type *AllocType) { in isStepOptSupported() 126 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context); in isStepOptSupported() 151 llvm::Type *V2xi64Ty = llvm::VectorType::get(llvm::Type::getInt64Ty(*Context), 2); in isStepOptSupported() 152 llvm::Type *Int128Ty = llvm::Type::getIntNTy(*Context, 128); in isStepOptSupported() 170 llvm::Value *getStepValue(llvm::DataLayout *DL, llvm::Type *AllocType, in getStepValue() 177 llvm::Type *ET = PT->getElementType(); in getStepValue() 179 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context); in getStepValue() 190 llvm::Type *VoidPtrTy = llvm::Type::getInt8PtrTy(*Context); in buildTypes() 191 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(*Context); in buildTypes() [all …]
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | InputToken.h | 24 enum Type { enum 32 InputToken(Type pType, const std::string& pName, bool pAsNeeded); 37 Type type() const { return m_Type; } in type() 47 Type m_Type;
|
/frameworks/base/tools/preload/ |
D | Record.java | 65 enum Type { enum in Record 95 final Type type; 112 case '>': type = Type.START_LOAD; break; in Record() 113 case '<': type = Type.END_LOAD; break; in Record() 114 case '+': type = Type.START_INIT; break; in Record() 115 case '-': type = Type.END_INIT; break; in Record()
|