Searched refs:DataType (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/compile/mclinker/include/mcld/ADT/
H A 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* pointe
[all...]
H A DStringEntry.h22 template<typename DataType>
28 template<typename DataType>
33 typedef DataType value_type;
54 void setValue(const DataType& pVal)
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>
[all...]
H A 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...]
H A DTreeAllocator.h33 template<typename DataType>
34 class NodeFactory : public GCFactory<Node<DataType>, 64>
37 typedef GCFactory<Node<DataType>, 64> Alloc;
40 typedef Node<DataType> NodeType;
H A DTreeBase.h109 template<typename DataType>
113 typedef DataType value_type;
/frameworks/compile/mclinker/include/mcld/Support/
H A DGCFactoryListTraits.h27 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>() { }
38 DataType *createSentinel() const
39 { return reinterpret_cast<DataType*>(&mSentinel); }
41 static void destroySentinel(DataType*) { }
43 DataType *provideInitialHead() const
46 DataType *ensureHead(DataType*) cons
[all...]
H A 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> >()
39 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum)
46 DataType* find(const KeyType& pKey) {
53 const DataType* find(const KeyType& pKey) const {
60 DataType* produce(const KeyType& pKey, bool& pExist) {
66 DataType* dat
[all...]
H A DAllocators.h29 template<typename DataType, size_t ChunkSize>
33 typedef DataType value_type;
44 DataType data[ChunkSize];
47 template<typename DataType>
48 struct Chunk<DataType, 0>
51 typedef DataType value_type;
57 data = (DataType*)malloc(sizeof(DataType)*m_Size);
73 DataType *data;
77 template<typename DataType>
[all...]
H A DGCFactory.h210 template<typename DataType, size_t ChunkSize>
211 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> >
215 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >()
219 template<typename DataType>
220 class GCFactory<DataType, 0> : public GCFactoryBase<LinearAllocator<DataType, 0> >
224 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum)
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py41 # Constants corresponding to the protobuf DataType.Type
42 class DataType: class in inherits:
47 if self.name == "pointer": # pointers map to the INT DataType
66 DataType.VOID = DataType("void")
67 DataType.CHAR = DataType("char")
68 DataType.BYTE = DataType("byte")
69 DataType
[all...]
H A Dtestgenapi.py22 from genapi import DataType, ApiCall, getApis, parseArgs namespace
57 self.assertEqual(args, [("a", DataType.CHAR)])
60 self.assertEqual(args, [("a", DataType.POINTER)])
63 self.assertEqual(args, [("exponent", DataType.POINTER)])
/frameworks/base/graphics/java/android/renderscript/
H A DElement.java59 DataType mType;
101 * DataType represents the basic type information for a basic element. The
116 public enum DataType { enum in class:Element
154 DataType(int id, int size) { method in class:Element.DataType
282 public DataType getDataType() {
302 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
316 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8);
330 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8);
337 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16);
344 rs.mElement_I16 = createUser(rs, DataType
[all...]
H A DAllocation.java267 if ((mType.mElement.mType == Element.DataType.SIGNED_32) ||
268 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) {
276 if ((mType.mElement.mType == Element.DataType.SIGNED_16) ||
277 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) {
285 if ((mType.mElement.mType == Element.DataType.SIGNED_8) ||
286 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) {
294 if (mType.mElement.mType == Element.DataType.FLOAT_32) {
302 if ((mType.mElement.mType == Element.DataType.RS_ELEMENT) ||
303 (mType.mElement.mType == Element.DataType.RS_TYPE) ||
304 (mType.mElement.mType == Element.DataType
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DElement.java75 DataType mType;
117 * DataType represents the basic type information for a basic element. The
132 public enum DataType { enum in class:Element
164 DataType(int id, int size) { method in class:Element.DataType
291 public DataType getDataType() {
311 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
325 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8);
339 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8);
346 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16);
353 rs.mElement_I16 = createUser(rs, DataType
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp42 arg_texture->set_type(GLMessage::DataType::ENUM);
70 arg_program->set_type(GLMessage::DataType::INT);
76 arg_shader->set_type(GLMessage::DataType::INT);
104 arg_program->set_type(GLMessage::DataType::INT);
110 arg_index->set_type(GLMessage::DataType::INT);
116 arg_name->set_type(GLMessage::DataType::INT);
145 arg_target->set_type(GLMessage::DataType::ENUM);
151 arg_buffer->set_type(GLMessage::DataType::INT);
179 arg_target->set_type(GLMessage::DataType::ENUM);
185 arg_framebuffer->set_type(GLMessage::DataType
[all...]
H A Dgltrace_egl.cpp38 arg_version->set_type(GLMessage::DataType::INT);
44 arg_context->set_type(GLMessage::DataType::INT);
64 arg_context->set_type(GLMessage::DataType::INT);
H A Dgltrace_fixup.cpp88 arg_floatarray->set_type(GLMessage::DataType::FLOAT);
105 arg_intarray->set_type(GLMessage::DataType::INT);
120 arg_enumarray->set_type(GLMessage::DataType::ENUM);
129 arg->set_type(GLMessage::DataType::CHAR);
140 ret->set_type(GLMessage::DataType::CHAR);
175 arg_data->set_type(GLMessage::DataType::BYTE);
183 arg_data->set_type(GLMessage::DataType::VOID);
232 arg_strpp->set_type(GLMessage::DataType::CHAR);
288 arg_params->set_type(GLMessage::DataType::BOOL);
299 arg_params->set_type(GLMessage::DataType
[all...]
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.h66 RSExportPrimitiveType::DataType DT,
94 RSExportPrimitiveType::DataType *DT,
100 RSExportPrimitiveType::DataType DT,
120 RSExportPrimitiveType::DataType DT) {
130 RSExportPrimitiveType::DataType DT) {
H A Dslang_rs_export_type.h218 // From graphics/java/android/renderscript/Element.java: Element.DataType
224 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 in class:slang::RSExportPrimitiveType
249 DataType mTyp
[all...]
H A Dslang_rs_export_element.h44 RSExportPrimitiveType::DataType type;
H A Dslang_rs_spec_table.cpp119 const RSDataTypeSpec *DataType)
121 mDataType(DataType) {
140 const RSDataTypeSpec *DataType,
144 mDataType(DataType),
118 ClangBuiltinTypeMap(const char *BuiltinTypeKind, const RSDataTypeSpec *DataType) argument
139 RSDataElementSpec(const char *ElementName, const RSDataTypeSpec *DataType, bool IsNormal, unsigned VectorSize) argument
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java96 byte[] blobData = generateData(fileSize, DataType.BINARY);
109 byte[] blobData = generateData(fileSize, DataType.TEXT);
150 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null);
151 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
190 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
221 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
249 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes
308 byte[] blobData = generateData(fileSize, DataType.BINARY);
328 byte[] blobData = generateData(fileSize, DataType.BINARY);
358 byte[] blobData = generateData(fileSize, DataType
[all...]
H A DDownloadManagerStressTest.java80 byte[] blobData = generateData(size, DataType.TEXT);
122 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null);
195 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_element.java24 import android.renderscript.Element.DataType.*;
102 simpleElem.getDataType() == DataType.FLOAT_32);
109 complexElem.getDataType() == DataType.NONE);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DShaderParam.java77 if (subElem.getDataType() == Element.DataType.FLOAT_32) {
79 } else if (subElem.getDataType() == Element.DataType.MATRIX_4X4) {
90 if (subElem.getDataType() == Element.DataType.FLOAT_32) {

Completed in 2006 milliseconds

12