/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TypeTraits.h | 19 template<typename DataType> 22 template<typename DataType> 25 typedef DataType value_type; 26 typedef const DataType* pointer; 27 typedef const DataType& reference; 29 typedef ConstTraits<DataType> const_traits; 30 typedef NonConstTraits<DataType> nonconst_traits; 33 template<typename DataType> 36 typedef DataType value_type; 37 typedef DataType* pointer; [all …]
|
D | BinTree.h | 27 template<class DataType> 100 template<class DataType, class Traits, class IteratorType> 104 typedef DataType value_type; 146 template<class DataType, class Traits, class IteratorType> 147 class PolicyIterator : public PolicyIteratorBase<DataType, Traits, IteratorType> 150 typedef PolicyIterator<DataType, Traits, IteratorType> Self; 151 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base; 152 typedef PolicyIterator<DataType, typename Traits::nonconst_traits, IteratorType> iterator; 153 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> const_iterator; 179 template<class DataType> [all …]
|
D | TreeAllocator.h | 33 template<typename DataType> 34 class NodeFactory : public GCFactory<Node<DataType>, 64> 37 typedef GCFactory<Node<DataType>, 64> Alloc; 40 typedef Node<DataType> NodeType;
|
D | HashBase.tcc | 35 template<typename DataType> 36 typename HashBucket<DataType>::entry_type* 37 HashBucket<DataType>::getEmptyBucket() in getEmptyBucket() 43 template<typename DataType> 44 typename HashBucket<DataType>::entry_type* 45 HashBucket<DataType>::getTombstone() in getTombstone()
|
D | TreeBase.h | 106 template<typename DataType> 110 typedef DataType value_type;
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
D | genapi.py | 42 class DataType: class 66 DataType.VOID = DataType("void") 67 DataType.CHAR = DataType("char") 68 DataType.BYTE = DataType("byte") 69 DataType.ENUM = DataType("enum") 70 DataType.BOOL = DataType("bool") 71 DataType.INT = DataType("int") 72 DataType.FLOAT = DataType("float") 73 DataType.POINTER = DataType("pointer") 77 "GLvoid":DataType.VOID, [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 | 27 template<typename DataType> 28 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> { 30 class SentinelNode : public llvm::ilist_node<DataType> { 32 SentinelNode() : llvm::ilist_node<DataType>() { } in SentinelNode() 38 DataType *createSentinel() const in createSentinel() 39 { return reinterpret_cast<DataType*>(&mSentinel); } in createSentinel() 41 static void destroySentinel(DataType*) { } in destroySentinel() argument 43 DataType *provideInitialHead() const in provideInitialHead() 46 DataType *ensureHead(DataType*) const in ensureHead() argument 49 static void noteHead(DataType*, DataType*) { } in noteHead() argument [all …]
|
D | Allocators.h | 30 template<typename DataType, size_t ChunkSize> 34 typedef DataType value_type; 45 DataType data[ChunkSize]; 48 template<typename DataType> 49 struct Chunk<DataType, 0> 52 typedef DataType value_type; 58 data = (DataType*)malloc(sizeof(DataType)*m_Size); 74 DataType *data; 78 template<typename DataType> 79 size_t Chunk<DataType, 0>::m_Size = 0; [all …]
|
D | UniqueGCFactory.h | 26 template<typename KeyType, typename DataType, size_t ChunkSize> 27 class UniqueGCFactoryBase : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > 30 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc; 31 typedef std::map<KeyType, DataType*> KeyMap; 35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() in UniqueGCFactoryBase() 39 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) in UniqueGCFactoryBase() 46 DataType* find(const KeyType& pKey) { in find() 53 const DataType* find(const KeyType& pKey) const { in find() 60 DataType* produce(const KeyType& pKey, bool& pExist) { in produce() 66 DataType* data = Alloc::allocate(); in produce() [all …]
|
D | GCFactory.h | 210 template<typename DataType, size_t ChunkSize> 211 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > 215 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() in GCFactory() 219 template<typename DataType> 220 class GCFactory<DataType, 0> : public GCFactoryBase<LinearAllocator<DataType, 0> > 224 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) in GCFactory()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Element.java | 59 DataType mType; 116 public enum DataType { enum in Element 154 DataType(int id, int size) { in DataType() method in Element.DataType 282 public DataType getDataType() { in getDataType() 302 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN() 316 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8() 330 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8() 337 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16() 344 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16() 351 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32() [all …]
|
D | Allocation.java | 267 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() 268 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32() 276 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16() 277 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16() 285 if ((mType.mElement.mType == Element.DataType.SIGNED_8) || in validateIsInt8() 286 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) { in validateIsInt8() 294 if (mType.mElement.mType == Element.DataType.FLOAT_32) { in validateIsFloat32() 302 if ((mType.mElement.mType == Element.DataType.RS_ELEMENT) || in validateIsObject() 303 (mType.mElement.mType == Element.DataType.RS_TYPE) || in validateIsObject() 304 (mType.mElement.mType == Element.DataType.RS_ALLOCATION) || in validateIsObject() [all …]
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_api.cpp | 42 arg_texture->set_type(GLMessage::DataType::ENUM); in GLTrace_glActiveTexture() 70 arg_program->set_type(GLMessage::DataType::INT); in GLTrace_glAttachShader() 76 arg_shader->set_type(GLMessage::DataType::INT); in GLTrace_glAttachShader() 104 arg_program->set_type(GLMessage::DataType::INT); in GLTrace_glBindAttribLocation() 110 arg_index->set_type(GLMessage::DataType::INT); in GLTrace_glBindAttribLocation() 116 arg_name->set_type(GLMessage::DataType::INT); in GLTrace_glBindAttribLocation() 145 arg_target->set_type(GLMessage::DataType::ENUM); in GLTrace_glBindBuffer() 151 arg_buffer->set_type(GLMessage::DataType::INT); in GLTrace_glBindBuffer() 179 arg_target->set_type(GLMessage::DataType::ENUM); in GLTrace_glBindFramebuffer() 185 arg_framebuffer->set_type(GLMessage::DataType::INT); in GLTrace_glBindFramebuffer() [all …]
|
D | gltrace_fixup.cpp | 87 arg_floatarray->set_type(GLMessage::DataType::FLOAT); in fixup_GenericFloatArray() 104 arg_intarray->set_type(GLMessage::DataType::INT); in fixup_GenericIntArray() 119 arg_enumarray->set_type(GLMessage::DataType::ENUM); in fixup_GenericEnumArray() 128 arg->set_type(GLMessage::DataType::CHAR); in fixup_CStringPtr() 139 ret->set_type(GLMessage::DataType::CHAR); in fixup_glGetString() 174 arg_data->set_type(GLMessage::DataType::BYTE); in fixup_glTexImage() 182 arg_data->set_type(GLMessage::DataType::VOID); in fixup_glTexImage() 231 arg_strpp->set_type(GLMessage::DataType::CHAR); in fixup_glShaderSource() 287 arg_params->set_type(GLMessage::DataType::BOOL); in fixup_glGetBooleanv() 298 arg_params->set_type(GLMessage::DataType::FLOAT); in fixup_glGetFloatv() [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/compile/slang/ |
D | slang_rs_export_type.h | 215 FirstPrimitiveType = DataType ## begin_type, \ 216 LastPrimitiveType = DataType ## end_type, 219 FirstRSMatrixType = DataType ## begin_type, \ 220 LastRSMatrixType = DataType ## end_type, 223 FirstRSObjectType = DataType ## begin_type, \ 224 LastRSObjectType = DataType ## end_type, 227 DataType ## type, 232 } DataType; typedef 240 DataType mType; 243 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy; [all …]
|
D | slang_rs_object_ref_count.h | 66 RSExportPrimitiveType::DataType DT, 94 RSExportPrimitiveType::DataType *DT, 100 RSExportPrimitiveType::DataType DT, 120 RSExportPrimitiveType::DataType DT) { in GetRSSetObjectFD() 130 RSExportPrimitiveType::DataType DT) { in GetRSClearObjectFD()
|
D | slang_rs_spec_table.cpp | 119 const RSDataTypeSpec *DataType) in ClangBuiltinTypeMap() argument 121 mDataType(DataType) { in ClangBuiltinTypeMap() 140 const RSDataTypeSpec *DataType, in RSDataElementSpec() argument 144 mDataType(DataType), in RSDataElementSpec()
|
D | slang_rs_export_type.cpp | 640 RSExportPrimitiveType::DataType dt = in Create() 793 RSExportPrimitiveType::DataType 800 RSSpecificTypeMap->GetOrCreateValue(cname, DataType ## type); in GetRSSpecificType() 803 RSSpecificTypeMap->GetOrCreateValue(cname, DataType ## type); in GetRSSpecificType() 814 RSExportPrimitiveType::DataType 823 bool RSExportPrimitiveType::IsRSMatrixType(DataType DT) { in IsRSMatrixType() 827 bool RSExportPrimitiveType::IsRSObjectType(DataType DT) { in IsRSObjectType() 855 RSExportPrimitiveType::DataType DT = GetRSSpecificType(FT); in IsStructureTypeWithRSObject() 899 RSExportPrimitiveType::DataType 911 return DataType ## type; \ in GetDataType() [all …]
|
/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 …]
|
D | DownloadManagerStressTest.java | 80 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads() 122 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testDownloadLargeFile() 195 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
|
/frameworks/base/tests/RenderScriptTests/tests/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()
|
/frameworks/native/opengl/libs/GLES_trace/ |
D | gltrace.proto | 516 // A GL call's return data and arguments are formatted into this DataType 517 message DataType { message 549 repeated DataType args = 5; // GL function's arguments 550 optional DataType returnValue = 6; // GL function's return value
|