/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/rs/support/java/src/androidx/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 | 64 DataType mType; 122 public enum DataType { enum in Element 160 DataType(int id, int size) { in DataType() method in Element.DataType 165 DataType(int id) { in DataType() method in Element.DataType 297 public DataType getDataType() { in getDataType() 319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 337 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 355 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 366 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 377 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/ml/nn/runtime/test/specs/V1_3/ |
D | while_sum_of_powers.mod.py | 30 DataType = ["TENSOR_FLOAT32", [1, 2]] variable 35 xi = Input("xi", DataType) 38 x = Input("x", DataType) 47 xi = Input("xi", DataType) 50 x = Input("x", DataType) 51 xi_out = Output("xi_out", DataType) 61 sum = Input("sum", DataType) 64 x = Input("x", DataType) 73 sum = Input("sum", DataType) 76 x = Input("x", DataType) [all …]
|
/frameworks/ml/nn/common/operations/ |
D | Comparisons.cpp | 42 template <typename DataType, typename ComparisonType> 43 bool compute(const std::function<bool(ComparisonType, ComparisonType)>& func, const DataType* aData, in compute() 44 const Shape& aShape, const DataType* bData, const Shape& bShape, bool8* outputData, in compute() 73 template <typename DataType, typename ComparisonType> 75 return compute<DataType, ComparisonType>( in executeLessTyped() 76 std::less<ComparisonType>(), context->getInputBuffer<DataType>(kInputTensor1), in executeLessTyped() 77 context->getInputShape(kInputTensor1), context->getInputBuffer<DataType>(kInputTensor2), in executeLessTyped() 82 template <typename DataType, typename ComparisonType> 84 return compute<DataType, ComparisonType>( in executeLessEqualTyped() 85 std::less_equal<ComparisonType>(), context->getInputBuffer<DataType>(kInputTensor1), in executeLessEqualTyped() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel_tests.cpp | 39 using DataType = int8_t; typedef 43 PDX_REMOTE_METHOD(Sum, kOpSum, int64_t(const std::vector<DataType>&)); 64 const std::vector<TestProtocol::DataType>& data) { in OnSum() 73 int64_t Sum(const std::vector<TestProtocol::DataType>& data) { in Sum() 135 std::uniform_int_distribution<TestProtocol::DataType> dist{ in TEST_F() 136 std::numeric_limits<TestProtocol::DataType>::min(), in TEST_F() 137 std::numeric_limits<TestProtocol::DataType>::max()}; in TEST_F() 140 std::vector<TestProtocol::DataType> data) { in TEST_F() 149 std::vector<TestProtocol::DataType> data; in TEST_F()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 102 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBinaryDownload() 115 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownload() 154 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null); in testDownloadToExternal_fileExists() 155 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists() 193 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal() 224 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory() 252 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes in testGetDownloadIdOnNotification() 302 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testRelativeRedirect() 321 byte[] blobData = generateData(fileSize, DataType.BINARY); in testRemoveDownload() 341 byte[] blobData = generateData(fileSize, DataType.BINARY); in testSetTitle() [all …]
|
D | DownloadManagerStressTest.java | 83 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads() 125 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testDownloadLargeFile() 198 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.h | 109 enum DataType { enum 371 DataType mType; 374 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy; 392 DataType DT, in RSExportPrimitiveType() 401 static DataType GetDataType(RSContext *Context, const clang::Type *T); 412 static DataType GetRSSpecificType(const llvm::StringRef &TypeName); 413 static DataType GetRSSpecificType(const clang::Type *T); 415 static bool IsRSMatrixType(DataType DT); 416 static bool IsRSObjectType(DataType DT); 430 inline DataType getType() const { return mType; } in getType() [all …]
|
D | slang_rs_object_ref_count.h | 72 DataType DT, 132 DataType *DT, 173 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) { in GetRSSetObjectFD() 187 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) { in GetRSClearObjectFD()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_element.java | 24 import androidx.renderscript.Element.DataType; 101 simpleElem.getDataType() == DataType.FLOAT_32); in testJavaSide() 108 complexElem.getDataType() == DataType.NONE); in testJavaSide()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_element.java | 22 import android.renderscript.Element.DataType; 99 simpleElem.getDataType() == DataType.FLOAT_32); in testJavaSide() 106 complexElem.getDataType() == DataType.NONE); in testJavaSide()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | ResourceMapping.h | 38 typedef uint8_t DataType; typedef 40 DataType data_type; 95 Result<Unit> AddMapping(ResourceId target_resource, TargetValue::DataType data_type,
|