Home
last modified time | relevance | path

Searched refs:DataType (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/compile/mclinker/include/mcld/ADT/
DTypeTraits.h19 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 …]
DStringEntry.tcc12 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 …]
DBinTree.h27 template<class DataType>
100 template<class DataType, class Traits, class IteratorType>
104 typedef DataType value_type;
143 template<class DataType, class Traits, class IteratorType>
144 class PolicyIterator : public PolicyIteratorBase<DataType, Traits, IteratorType>
147 typedef PolicyIterator<DataType, Traits, IteratorType> Self;
148 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base;
149 typedef PolicyIterator<DataType, typename Traits::nonconst_traits, IteratorType> iterator;
150 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> const_iterator;
176 template<class DataType>
[all …]
DStringEntry.h22 template<typename DataType>
28 template<typename DataType>
33 typedef DataType value_type;
54 void setValue(const DataType& pVal) in setValue()
70 DataType m_Value;
74 friend class StringEntryFactory<DataType>;
131 template<typename DataType>
135 typedef StringEntry<DataType> entry_type;
136 typedef typename StringEntry<DataType>::key_type key_type;
137 typedef typename StringEntry<DataType>::value_type value_type;
[all …]
DTreeAllocator.h31 template<typename DataType>
32 class NodeFactory : public GCFactory<Node<DataType>, 64>
35 typedef GCFactory<Node<DataType>, 64> Alloc;
38 typedef Node<DataType> NodeType;
DHashBase.tcc35 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()
DTreeBase.h110 template<typename DataType>
114 typedef DataType value_type;
/frameworks/native/opengl/libs/GLES_trace/tools/
Dgenapi.py42 class DataType: class
68 DataType.VOID = DataType("void")
69 DataType.CHAR = DataType("char")
70 DataType.BYTE = DataType("byte")
71 DataType.ENUM = DataType("enum")
72 DataType.BOOL = DataType("bool")
73 DataType.INT = DataType("int")
74 DataType.FLOAT = DataType("float")
75 DataType.POINTER = DataType("pointer")
76 DataType.INT64 = DataType("int64")
[all …]
Dtestgenapi.py22 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/
DGCFactoryListTraits.h26 template<typename DataType>
27 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType>
30 class SentinelNode : public DataType
39 DataType *createSentinel() const in createSentinel()
40 { return reinterpret_cast<DataType*>(&mSentinel); } in createSentinel()
42 static void destroySentinel(DataType*) { } in destroySentinel() argument
44 DataType *provideInitialHead() const in provideInitialHead()
47 DataType *ensureHead(DataType*) const in ensureHead() argument
50 static void noteHead(DataType*, DataType*) { } in noteHead() argument
53 static DataType *createNode(const DataType &V) { in createNode()
[all …]
DAllocators.h27 template<typename DataType, size_t ChunkSize>
31 typedef DataType value_type;
51 DataType data[ChunkSize];
54 template<typename DataType>
55 class Chunk<DataType, 0>
58 typedef DataType value_type;
64 data = (DataType*)malloc(sizeof(DataType)*m_Size); in Chunk()
90 DataType *data;
94 template<typename DataType>
95 size_t Chunk<DataType, 0>::m_Size = 0;
[all …]
DUniqueGCFactory.h26 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 …]
DGCFactory.h210 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/
DElement.java65 DataType mType;
122 public enum DataType { enum in Element
160 DataType(int id, int size) { in DataType() method in Element.DataType
289 public DataType getDataType() { in getDataType()
309 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
323 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
337 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
344 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
351 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
358 rs.mElement_U32 = createUser(rs, DataType.UNSIGNED_32); in U32()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DElement.java69 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 …]
DElementThunker.java64 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/
Dgltrace_api.cpp42 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 …]
Dgltrace_fixup.cpp88 arg_floatarray->set_type(GLMessage::DataType::FLOAT); in fixup_GenericFloatArray()
105 arg_intarray->set_type(GLMessage::DataType::INT); in fixup_GenericIntArray()
120 arg_enumarray->set_type(GLMessage::DataType::ENUM); in fixup_GenericEnumArray()
129 arg->set_type(GLMessage::DataType::CHAR); in fixup_CStringPtr()
140 ret->set_type(GLMessage::DataType::CHAR); in fixup_glGetString()
175 arg_data->set_type(GLMessage::DataType::BYTE); in fixup_glTexImage()
183 arg_data->set_type(GLMessage::DataType::VOID); in fixup_glTexImage()
232 arg_strpp->set_type(GLMessage::DataType::CHAR); in fixup_glShaderSource()
286 arg_params->set_type(GLMessage::DataType::BOOL); in fixup_glGetBooleanv()
297 arg_params->set_type(GLMessage::DataType::FLOAT); in fixup_glGetFloatv()
[all …]
Dgltrace_egl.cpp38 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/
Dslang_rs_export_type.h224 FirstPrimitiveType = DataType ## begin_type, \
225 LastPrimitiveType = DataType ## end_type,
228 FirstRSMatrixType = DataType ## begin_type, \
229 LastRSMatrixType = DataType ## end_type,
232 FirstRSObjectType = DataType ## begin_type, \
233 LastRSObjectType = DataType ## end_type,
236 DataType ## type,
241 } DataType; typedef
249 DataType mType;
252 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy;
[all …]
Dslang_rs_object_ref_count.h66 RSExportPrimitiveType::DataType DT,
94 RSExportPrimitiveType::DataType *DT,
100 RSExportPrimitiveType::DataType DT,
120 RSExportPrimitiveType::DataType DT) { in GetRSSetObjectFD()
130 RSExportPrimitiveType::DataType DT) { in GetRSClearObjectFD()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java96 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 …]
DDownloadManagerStressTest.java80 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/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_element.java24 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/
DShaderParam.java77 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()

123