Searched refs:DataType (Results 1 - 25 of 46) 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.h31 template<typename DataType>
32 class NodeFactory : public GCFactory<Node<DataType>, 64>
35 typedef GCFactory<Node<DataType>, 64> Alloc;
38 typedef Node<DataType> NodeType;
H A DTreeBase.h110 template<typename DataType>
114 typedef DataType value_type;
/frameworks/compile/mclinker/include/mcld/Support/
H A DGCFactoryListTraits.h26 template<typename DataType>
27 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType>
30 class SentinelNode : public DataType
39 DataType *createSentinel() const
40 { return reinterpret_cast<DataType*>(&mSentinel); }
42 static void destroySentinel(DataType*) { }
44 DataType *provideInitialHead() const
47 DataType *ensureHead(DataType*) const
50 static void noteHead(DataType*, DataTyp
[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.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);
90 DataType *data;
94 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
68 DataType.VOID = DataType("void")
69 DataType.CHAR = DataType("char")
70 DataType.BYTE = DataType("byte")
71 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.java38 * android.renderscript.Element.DataType} and a {@link
39 * android.renderscript.Element.DataKind}. The DataType encodes C type
65 DataType mType;
107 * DataType represents the basic type information for a basic element. The
122 public enum DataType { enum in class:Element
160 DataType(int id, int size) { method in class:Element.DataType
289 public DataType getDataType() {
309 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
323 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8);
337 rs.mElement_I8 = createUser(rs, DataType
[all...]
H A DAllocation.java294 if ((mType.mElement.mType == Element.DataType.SIGNED_32) ||
295 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) {
303 if ((mType.mElement.mType == Element.DataType.SIGNED_16) ||
304 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) {
312 if ((mType.mElement.mType == Element.DataType.SIGNED_8) ||
313 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) {
321 if (mType.mElement.mType == Element.DataType.FLOAT_32) {
329 if ((mType.mElement.mType == Element.DataType.RS_ELEMENT) ||
330 (mType.mElement.mType == Element.DataType.RS_TYPE) ||
331 (mType.mElement.mType == Element.DataType
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElementThunker.java64 static android.renderscript.Element.DataType convertType(DataType cdt) {
67 return android.renderscript.Element.DataType.NONE;
68 //case DataType.FLOAT_16:
70 return android.renderscript.Element.DataType.FLOAT_32;
72 return android.renderscript.Element.DataType.FLOAT_64;
74 return android.renderscript.Element.DataType.SIGNED_8;
76 return android.renderscript.Element.DataType.SIGNED_16;
78 return android.renderscript.Element.DataType.SIGNED_32;
80 return android.renderscript.Element.DataType
[all...]
H A DElement.java40 * android.support.v8.renderscript.Element.DataType} and a {@link
41 * android.support.v8.renderscript.Element.DataKind}. The DataType encodes C
69 DataType mType;
115 * DataType represents the basic type information for a basic element. The
130 public enum DataType { enum in class:Element
162 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
[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);
286 arg_params->set_type(GLMessage::DataType::BOOL);
297 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;
/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/rs/java/tests/RsTest/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 415 milliseconds

12