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

12

/frameworks/compile/mclinker/include/mcld/ADT/
H A DTypeTraits.h16 template <typename DataType>
19 template <typename DataType>
21 typedef DataType value_type;
22 typedef const DataType* pointer;
23 typedef const DataType& reference;
25 typedef ConstTraits<DataType> const_traits;
26 typedef NonConstTraits<DataType> nonconst_traits;
29 template <typename DataType>
31 typedef DataType value_type;
32 typedef DataType* pointe
[all...]
H A DStringEntry.h20 template <typename DataType>
26 template <typename DataType>
30 typedef DataType value_type;
45 void setValue(const DataType& pVal) { m_Value = pVal; }
58 DataType m_Value;
62 friend class StringEntryFactory<DataType>;
108 template <typename DataType>
111 typedef StringEntry<DataType> entry_type;
112 typedef typename StringEntry<DataType>::key_type key_type;
113 typedef typename StringEntry<DataType>
[all...]
H A DBinTree.h24 template <class DataType>
87 template <class DataType, class Traits, class IteratorType>
90 typedef DataType value_type;
134 template <class DataType, class Traits, class IteratorType>
136 : public PolicyIteratorBase<DataType, Traits, IteratorType> {
138 typedef PolicyIterator<DataType, Traits, IteratorType> Self;
139 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base;
140 typedef PolicyIterator<DataType,
143 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType>
167 template <class DataType>
[all...]
H A DTreeAllocator.h31 template <typename DataType>
32 class NodeFactory : public GCFactory<Node<DataType>, 64> {
34 typedef GCFactory<Node<DataType>, 64> Alloc;
37 typedef Node<DataType> NodeType;
H A DTreeBase.h98 template <typename DataType>
101 typedef DataType value_type;
/frameworks/compile/mclinker/include/mcld/Support/
H A DGCFactoryListTraits.h23 template <typename DataType>
24 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> {
26 class SentinelNode : public DataType {
34 DataType* createSentinel() const {
35 return reinterpret_cast<DataType*>(&mSentinel);
38 static void destroySentinel(DataType* pData) {}
40 DataType* provideInitialHead() const { return createSentinel(); }
42 DataType* ensureHead(DataType* pData) const { return createSentinel(); }
44 static void noteHead(DataType* pNe
[all...]
H A DUniqueGCFactory.h23 template <typename KeyType, typename DataType, size_t ChunkSize>
25 : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
28 typedef std::map<KeyType, DataType*> KeyMap;
32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {}
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {}
40 DataType* find(const KeyType& pKey) {
47 const DataType* find(const KeyType& pKey) const {
54 DataType* produce(const KeyType& pKey, bool& pExist) {
60 DataType* dat
[all...]
H A DAllocators.h24 template <typename DataType, size_t ChunkSize>
27 typedef DataType value_type;
45 DataType data[ChunkSize];
48 template <typename DataType>
49 class Chunk<DataType, 0> {
51 typedef DataType value_type;
56 data = reinterpret_cast<DataType*>(malloc(sizeof(DataType) * m_Size));
81 DataType* data;
85 template <typename DataType>
[all...]
H A DGCFactory.h185 template <typename DataType, size_t ChunkSize>
186 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
188 GCFactory() : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {}
191 template <typename DataType>
192 class GCFactory<DataType, 0>
193 : public GCFactoryBase<LinearAllocator<DataType, 0> > {
196 : 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 INT64 DataType
70 DataType.VOID = DataType("void")
71 DataType.CHAR = DataType("char")
72 DataType.BYTE = DataType("byte")
73 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/rs/java/android/renderscript/
H A DElement.java35 * android.renderscript.Element.DataType} and a {@link
36 * android.renderscript.Element.DataKind}. The DataType encodes C type
62 DataType mType;
104 * DataType represents the basic type information for a basic element. The
120 public enum DataType { enum in class:Element
158 DataType(int id, int size) { method in class:Element.DataType
163 DataType(int id) { method in class:Element.DataType
295 public DataType getDataType() {
315 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
329 rs.mElement_U8 = createUser(rs, DataType
[all...]
H A DAllocation.java82 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) {
97 return Element.DataType.SIGNED_64;
105 return Element.DataType.SIGNED_32;
113 return Element.DataType.SIGNED_16;
121 return Element.DataType.SIGNED_8;
128 return Element.DataType.FLOAT_32;
135 return Element.DataType.FLOAT_64;
364 if ((mType.mElement.mType == Element.DataType.SIGNED_64) ||
365 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) {
373 if ((mType.mElement.mType == Element.DataType
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
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
167 DataType(int id) { method in class:Element.DataType
299 public DataType getDataType() {
319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
333 rs.mElement_U8 = createUser(rs, DataType
[all...]
H A DAllocation.java84 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) {
99 return Element.DataType.SIGNED_64;
107 return Element.DataType.SIGNED_32;
115 return Element.DataType.SIGNED_16;
123 return Element.DataType.SIGNED_8;
130 return Element.DataType.FLOAT_32;
137 return Element.DataType.FLOAT_64;
357 if ((mType.mElement.mType == Element.DataType.SIGNED_64) ||
358 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) {
366 if ((mType.mElement.mType == Element.DataType
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp41 arg_texture->set_type(GLMessage::DataType::ENUM);
69 arg_program->set_type(GLMessage::DataType::INT);
75 arg_shader->set_type(GLMessage::DataType::INT);
103 arg_program->set_type(GLMessage::DataType::INT);
109 arg_index->set_type(GLMessage::DataType::INT);
115 arg_name->set_type(GLMessage::DataType::INT64);
144 arg_target->set_type(GLMessage::DataType::ENUM);
150 arg_buffer->set_type(GLMessage::DataType::INT);
178 arg_target->set_type(GLMessage::DataType::ENUM);
184 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.cpp115 arg_floatarray->set_type(GLMessage::DataType::FLOAT);
132 arg_intarray->set_type(GLMessage::DataType::INT);
147 arg_enumarray->set_type(GLMessage::DataType::ENUM);
156 arg->set_type(GLMessage::DataType::CHAR);
167 ret->set_type(GLMessage::DataType::CHAR);
203 arg_data->set_type(GLMessage::DataType::BYTE);
211 arg_data->set_type(GLMessage::DataType::VOID);
264 arg_data->set_type(GLMessage::DataType::BYTE);
272 arg_data->set_type(GLMessage::DataType::VOID);
292 arg_data->set_type(GLMessage::DataType
[all...]
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.h64 DataType DT,
92 DataType *DT,
98 DataType DT,
115 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) {
129 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) {
H A Dslang_rs_export_element.h44 DataType type;
H A Dslang_rs_export_type.h85 // From graphics/java/android/renderscript/Element.java: Element.DataType
97 enum DataType { enum in namespace:slang
287 DataType mType;
290 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy;
308 DataType DT,
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 D
[all...]
/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/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/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 1733 milliseconds

12