/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TypeTraits.h | 16 template<typename DataType> 19 template<typename DataType> 22 typedef DataType value_type; 23 typedef const DataType* pointer; 24 typedef const DataType& reference; 26 typedef ConstTraits<DataType> const_traits; 27 typedef NonConstTraits<DataType> nonconst_traits; 30 template<typename DataType> 33 typedef DataType value_type; 34 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() 35 template<typename DataType> 36 StringEntryFactory<DataType>::StringEntryFactory() in StringEntryFactory() [all …]
|
D | BinTree.h | 24 template<class DataType> 97 template<class DataType, class Traits, class IteratorType> 101 typedef DataType value_type; 140 template<class DataType, class Traits, class IteratorType> 141 class PolicyIterator : public PolicyIteratorBase<DataType, Traits, IteratorType> 144 typedef PolicyIterator<DataType, Traits, IteratorType> Self; 145 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base; 146 typedef PolicyIterator<DataType, typename Traits::nonconst_traits, IteratorType> iterator; 147 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> const_iterator; 173 template<class DataType> [all …]
|
D | StringEntry.h | 19 template<typename DataType> 25 template<typename DataType> 30 typedef DataType value_type; 51 void setValue(const DataType& pVal) in setValue() 67 DataType m_Value; 71 friend class StringEntryFactory<DataType>; 128 template<typename DataType> 132 typedef StringEntry<DataType> entry_type; 133 typedef typename StringEntry<DataType>::key_type key_type; 134 typedef typename StringEntry<DataType>::value_type value_type; [all …]
|
D | TreeAllocator.h | 28 template<typename DataType> 29 class NodeFactory : public GCFactory<Node<DataType>, 64> 32 typedef GCFactory<Node<DataType>, 64> Alloc; 35 typedef Node<DataType> NodeType;
|
D | HashBase.tcc | 37 template<typename DataType> 38 typename HashBucket<DataType>::entry_type* 39 HashBucket<DataType>::getEmptyBucket() in getEmptyBucket() 45 template<typename DataType> 46 typename HashBucket<DataType>::entry_type* 47 HashBucket<DataType>::getTombstone() in getTombstone()
|
D | TreeBase.h | 103 template<typename DataType> 107 typedef DataType value_type;
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
D | genapi.py | 42 class DataType: class 70 DataType.VOID = DataType("void") 71 DataType.CHAR = DataType("char") 72 DataType.BYTE = DataType("byte") 73 DataType.ENUM = DataType("enum") 74 DataType.BOOL = DataType("bool") 75 DataType.INT = DataType("int") 76 DataType.FLOAT = DataType("float") 77 DataType.POINTER = DataType("pointer") 78 DataType.INT64 = DataType("int64") [all …]
|
D | testgenapi.py | 22 from genapi import DataType, ApiCall, getApis, parseArgs 57 self.assertEqual(args, [("a", DataType.CHAR)]) 60 self.assertEqual(args, [("a", DataType.POINTER)]) 63 self.assertEqual(args, [("exponent", DataType.POINTER)])
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactoryListTraits.h | 23 template<typename DataType> 24 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> 27 class SentinelNode : public DataType 36 DataType *createSentinel() const in createSentinel() 37 { return reinterpret_cast<DataType*>(&mSentinel); } in createSentinel() 39 static void destroySentinel(DataType*) { } in destroySentinel() argument 41 DataType *provideInitialHead() const in provideInitialHead() 44 DataType *ensureHead(DataType*) const in ensureHead() argument 47 static void noteHead(DataType*, DataType*) { } in noteHead() argument 50 static DataType *createNode(const DataType &V) { in createNode() [all …]
|
D | Allocators.h | 24 template<typename DataType, size_t ChunkSize> 28 typedef DataType value_type; 48 DataType data[ChunkSize]; 51 template<typename DataType> 52 class Chunk<DataType, 0> 55 typedef DataType value_type; 61 data = (DataType*)malloc(sizeof(DataType)*m_Size); in Chunk() 87 DataType *data; 91 template<typename DataType> 92 size_t Chunk<DataType, 0>::m_Size = 0; [all …]
|
D | UniqueGCFactory.h | 23 template<typename KeyType, typename DataType, size_t ChunkSize> 24 class UniqueGCFactoryBase : 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() 36 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) in UniqueGCFactoryBase() 43 DataType* find(const KeyType& pKey) { in find() 50 const DataType* find(const KeyType& pKey) const { in find() 57 DataType* produce(const KeyType& pKey, bool& pExist) { in produce() 63 DataType* data = Alloc::allocate(); in produce() [all …]
|
D | GCFactory.h | 207 template<typename DataType, size_t ChunkSize> 208 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > 212 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() in GCFactory() 216 template<typename DataType> 217 class GCFactory<DataType, 0> : public GCFactoryBase<LinearAllocator<DataType, 0> > 221 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) in GCFactory()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 62 DataType mType; 119 public enum DataType { enum in Element 157 DataType(int id, int size) { in DataType() method in Element.DataType 162 DataType(int id) { in DataType() method in Element.DataType 294 public DataType getDataType() { in getDataType() 314 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 328 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 342 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 349 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 356 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() [all …]
|
D | Allocation.java | 80 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray() 95 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray() 103 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray() 111 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray() 119 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray() 126 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray() 133 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray() 351 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64() 352 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64() 360 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() [all …]
|
/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 291 public DataType getDataType() { in getDataType() 311 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 325 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 339 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 346 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 353 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() 360 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32() [all …]
|
D | ElementThunker.java | 64 static android.renderscript.Element.DataType convertType(DataType cdt) { in convertType() 67 return android.renderscript.Element.DataType.NONE; in convertType() 70 return android.renderscript.Element.DataType.FLOAT_32; in convertType() 72 return android.renderscript.Element.DataType.FLOAT_64; in convertType() 74 return android.renderscript.Element.DataType.SIGNED_8; in convertType() 76 return android.renderscript.Element.DataType.SIGNED_16; in convertType() 78 return android.renderscript.Element.DataType.SIGNED_32; in convertType() 80 return android.renderscript.Element.DataType.SIGNED_64; in convertType() 82 return android.renderscript.Element.DataType.UNSIGNED_8; in convertType() 84 return android.renderscript.Element.DataType.UNSIGNED_16; in convertType() [all …]
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_api.cpp | 41 arg_texture->set_type(GLMessage::DataType::ENUM); in GLTrace_glActiveTexture() 69 arg_program->set_type(GLMessage::DataType::INT); in GLTrace_glAttachShader() 75 arg_shader->set_type(GLMessage::DataType::INT); in GLTrace_glAttachShader() 103 arg_program->set_type(GLMessage::DataType::INT); in GLTrace_glBindAttribLocation() 109 arg_index->set_type(GLMessage::DataType::INT); in GLTrace_glBindAttribLocation() 115 arg_name->set_type(GLMessage::DataType::INT64); in GLTrace_glBindAttribLocation() 144 arg_target->set_type(GLMessage::DataType::ENUM); in GLTrace_glBindBuffer() 150 arg_buffer->set_type(GLMessage::DataType::INT); in GLTrace_glBindBuffer() 178 arg_target->set_type(GLMessage::DataType::ENUM); in GLTrace_glBindFramebuffer() 184 arg_framebuffer->set_type(GLMessage::DataType::INT); in GLTrace_glBindFramebuffer() [all …]
|
D | gltrace_fixup.cpp | 115 arg_floatarray->set_type(GLMessage::DataType::FLOAT); in fixup_GenericFloatArray() 132 arg_intarray->set_type(GLMessage::DataType::INT); in fixup_GenericIntArray() 147 arg_enumarray->set_type(GLMessage::DataType::ENUM); in fixup_GenericEnumArray() 156 arg->set_type(GLMessage::DataType::CHAR); in fixup_CStringPtr() 167 ret->set_type(GLMessage::DataType::CHAR); in fixup_glGetString() 203 arg_data->set_type(GLMessage::DataType::BYTE); in fixup_glTexImage() 211 arg_data->set_type(GLMessage::DataType::VOID); in fixup_glTexImage() 264 arg_data->set_type(GLMessage::DataType::BYTE); in fixup_glCompressedTexImage2D() 272 arg_data->set_type(GLMessage::DataType::VOID); in fixup_glCompressedTexImage2D() 292 arg_data->set_type(GLMessage::DataType::BYTE); in fixup_glCompressedTexSubImage2D() [all …]
|
D | gltrace_egl.cpp | 38 arg_version->set_type(GLMessage::DataType::INT); in GLTrace_eglCreateContext() 44 arg_context->set_type(GLMessage::DataType::INT); in GLTrace_eglCreateContext() 64 arg_context->set_type(GLMessage::DataType::INT); in GLTrace_eglMakeCurrent()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 96 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBinaryDownloadToSystemCache() 109 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownloadToSystemCache() 150 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null); in testDownloadToExternal_fileExists() 151 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists() 190 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal() 221 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory() 249 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes in testGetDownloadIdOnNotification() 308 byte[] blobData = generateData(fileSize, DataType.BINARY); in testRemoveDownload() 328 byte[] blobData = generateData(fileSize, DataType.BINARY); in testSetTitle() 358 byte[] blobData = generateData(fileSize, DataType.TEXT); in testDownloadNoWifi() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_object_ref_count.h | 64 DataType DT, 92 DataType *DT, 98 DataType DT, 115 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) { in GetRSSetObjectFD() 129 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) { in GetRSClearObjectFD()
|
D | slang_rs_export_type.h | 97 enum DataType { enum 287 DataType mType; 290 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy; 308 DataType DT, in RSExportPrimitiveType() 317 static DataType GetDataType(RSContext *Context, const clang::Type *T); 328 static DataType GetRSSpecificType(const llvm::StringRef &TypeName); 329 static DataType GetRSSpecificType(const clang::Type *T); 331 static bool IsRSMatrixType(DataType DT); 332 static bool IsRSObjectType(DataType DT); 343 inline DataType getType() const { return mType; } in getType() [all …]
|
/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()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | ShaderParam.java | 77 if (subElem.getDataType() == Element.DataType.FLOAT_32) { in fillInParams() 79 } else if (subElem.getDataType() == Element.DataType.MATRIX_4X4) { in fillInParams() 90 if (subElem.getDataType() == Element.DataType.FLOAT_32) { in fillInParams()
|