/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TypeTraits.h | 16 template <typename DataType> 19 template <typename DataType> 21 typedef DataType value_type; 22 typedef const DataType* pointer; 23 typedef const DataType& reference; 25 typedef ConstTraits<DataType> const_traits; 26 typedef NonConstTraits<DataType> nonconst_traits; 29 template <typename DataType> 31 typedef DataType value_type; 32 typedef DataType* pointer; [all …]
|
D | StringEntry.tcc | 12 template <typename DataType> 13 StringEntry<DataType>::StringEntry() in StringEntry() 17 template <typename DataType> 18 StringEntry<DataType>::StringEntry(const StringEntry::key_type& pKey) in StringEntry() 22 template <typename DataType> 23 StringEntry<DataType>::StringEntry(const StringEntry<DataType>& pCopy) in StringEntry() 28 template <typename DataType> 29 StringEntry<DataType>::~StringEntry() { in ~StringEntry() 34 template <typename DataType> 35 StringEntryFactory<DataType>::StringEntryFactory() { in StringEntryFactory() [all …]
|
D | BinTree.h | 24 template <class DataType> 87 template <class DataType, class Traits, class IteratorType> 90 typedef DataType value_type; 134 template <class DataType, class Traits, class IteratorType> 136 : public PolicyIteratorBase<DataType, Traits, IteratorType> { 138 typedef PolicyIterator<DataType, Traits, IteratorType> Self; 139 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base; 140 typedef PolicyIterator<DataType, 143 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> 167 template <class DataType> [all …]
|
D | StringEntry.h | 20 template <typename DataType> 26 template <typename DataType> 30 typedef DataType value_type; 45 void setValue(const DataType& pVal) { m_Value = pVal; } in setValue() 58 DataType m_Value; 62 friend class StringEntryFactory<DataType>; 108 template <typename DataType> 111 typedef StringEntry<DataType> entry_type; 112 typedef typename StringEntry<DataType>::key_type key_type; 113 typedef typename StringEntry<DataType>::value_type value_type; [all …]
|
D | TreeAllocator.h | 31 template <typename DataType> 32 class NodeFactory : public GCFactory<Node<DataType>, 64> { 34 typedef GCFactory<Node<DataType>, 64> Alloc; 37 typedef Node<DataType> NodeType;
|
D | HashBase.tcc | 35 template <typename DataType> 36 typename HashBucket<DataType>::entry_type* 37 HashBucket<DataType>::getEmptyBucket() { in getEmptyBucket() 42 template <typename DataType> 43 typename HashBucket<DataType>::entry_type* 44 HashBucket<DataType>::getTombstone() { in getTombstone()
|
D | TreeBase.h | 98 template <typename DataType> 101 typedef DataType value_type;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactoryListTraits.h | 23 template <typename DataType> 24 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> { 26 class SentinelNode : public DataType { 34 DataType* createSentinel() const { in createSentinel() 35 return reinterpret_cast<DataType*>(&mSentinel); in createSentinel() 38 static void destroySentinel(DataType* pData) {} in destroySentinel() 40 DataType* provideInitialHead() const { return createSentinel(); } in provideInitialHead() 42 DataType* ensureHead(DataType* pData) const { return createSentinel(); } in ensureHead() 44 static void noteHead(DataType* pNew, DataType* pSentinel) {} in noteHead() 47 static DataType* createNode(const DataType& V) { in createNode() [all …]
|
D | Allocators.h | 24 template <typename DataType, size_t ChunkSize> 27 typedef DataType value_type; 45 DataType data[ChunkSize]; 48 template <typename DataType> 49 class Chunk<DataType, 0> { 51 typedef DataType value_type; 56 data = reinterpret_cast<DataType*>(malloc(sizeof(DataType) * m_Size)); in Chunk() 81 DataType* data; 85 template <typename DataType> 86 size_t Chunk<DataType, 0>::m_Size = 0; [all …]
|
D | UniqueGCFactory.h | 23 template <typename KeyType, typename DataType, size_t ChunkSize> 25 : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > { 27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc; 28 typedef std::map<KeyType, DataType*> KeyMap; 32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in UniqueGCFactoryBase() 35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {} in UniqueGCFactoryBase() 40 DataType* find(const KeyType& pKey) { in find() 47 const DataType* find(const KeyType& pKey) const { in find() 54 DataType* produce(const KeyType& pKey, bool& pExist) { in produce() 60 DataType* data = Alloc::allocate(); in produce() [all …]
|
D | GCFactory.h | 185 template <typename DataType, size_t ChunkSize> 186 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > { 188 GCFactory() : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in GCFactory() 191 template <typename DataType> 192 class GCFactory<DataType, 0> 193 : public GCFactoryBase<LinearAllocator<DataType, 0> > { 196 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) {} in GCFactory()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Element.java | 69 DataType mType; 130 public enum DataType { enum in Element 162 DataType(int id, int size) { in DataType() method in Element.DataType 167 DataType(int id) { in DataType() method in Element.DataType 299 public DataType getDataType() { in getDataType() 319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 333 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 347 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 354 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 361 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() [all …]
|
D | Allocation.java | 84 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray() 99 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray() 107 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray() 115 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray() 123 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray() 130 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray() 137 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray() 400 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 401 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() 409 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 62 DataType mType; 120 public enum DataType { enum in Element 158 DataType(int id, int size) { in DataType() method in Element.DataType 163 DataType(int id) { in DataType() method in Element.DataType 295 public DataType getDataType() { in getDataType() 317 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 335 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 353 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 364 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 375 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() [all …]
|
D | Allocation.java | 91 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray() 106 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray() 114 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray() 122 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray() 130 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray() 137 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray() 144 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray() 436 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 437 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() 445 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 100 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBinaryDownloadToSystemCache() 113 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownloadToSystemCache() 152 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null); in testDownloadToExternal_fileExists() 153 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists() 191 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal() 222 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory() 250 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes in testGetDownloadIdOnNotification() 300 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testRelativeRedirect() 319 byte[] blobData = generateData(fileSize, DataType.BINARY); in testRemoveDownload() 339 byte[] blobData = generateData(fileSize, DataType.BINARY); in testSetTitle() [all …]
|
D | DownloadManagerStressTest.java | 82 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads() 124 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testDownloadLargeFile() 197 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
|
D | DownloadManagerBaseTest.java | 99 protected enum DataType { enum in DownloadManagerBaseTest 295 protected byte[] generateData(int size, DataType type) { in generateData() 308 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() 313 if (type == DataType.TEXT) { in generateData() 586 protected File createFileOnSD(String filename, long fileSize, DataType type, in createFileOnSD()
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.h | 108 enum DataType { enum 317 DataType mType; 320 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy; 338 DataType DT, in RSExportPrimitiveType() 347 static DataType GetDataType(RSContext *Context, const clang::Type *T); 358 static DataType GetRSSpecificType(const llvm::StringRef &TypeName); 359 static DataType GetRSSpecificType(const clang::Type *T); 361 static bool IsRSMatrixType(DataType DT); 362 static bool IsRSObjectType(DataType DT); 376 inline DataType getType() const { return mType; } in getType() [all …]
|
D | slang_rs_object_ref_count.h | 71 DataType DT, 131 DataType *DT, 167 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) { in GetRSSetObjectFD() 181 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) { in GetRSClearObjectFD()
|
D | slang_rs_export_type.cpp | 105 DataType type; 156 DataType dataType; 842 DataType dt = RSExportPrimitiveType::GetRSSpecificType(TypeName); in Create() 987 DataType 1006 DataType RSExportPrimitiveType::GetRSSpecificType(const clang::Type *T) { in GetRSSpecificType() 1014 bool RSExportPrimitiveType::IsRSMatrixType(DataType DT) { in IsRSMatrixType() 1021 bool RSExportPrimitiveType::IsRSObjectType(DataType DT) { in IsRSObjectType() 1059 DataType DT = GetRSSpecificType(FT); in IsStructureTypeWithRSObject() 1100 DataType 1138 DataType DT = GetDataType(Context, T); in Create() [all …]
|
D | slang_rs_export_element.h | 44 DataType type;
|
D | slang_rs_object_ref_count.cpp | 80 DataType DT = RSExportPrimitiveType::GetRSSpecificType(RST.getTypePtr()); in GetRSRefCountingFunctions() 478 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject() 513 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T); in CountRSObjectTypes() 967 DataType DT = RSExportPrimitiveType::GetRSSpecificType(FT); in CreateStructRSSetObject() 1071 DataType DT, in AppendRSObjectInit() 1260 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T); in ClearRSObject() 1274 DataType *DT, in InitializeRSObject() 1411 DataType DT = DataTypeUnknown; in VisitDeclStmt()
|
D | slang_rs_export_element.cpp | 36 DataType dataType;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_element.java | 24 import android.renderscript.Element.DataType.*; 102 simpleElem.getDataType() == DataType.FLOAT_32); in testJavaSide() 109 complexElem.getDataType() == DataType.NONE); in testJavaSide()
|