/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TypeTraits.h | 16 template<typename DataType> 19 template<typename DataType> 22 typedef DataType value_type; 23 typedef const DataType* pointer; 24 typedef const DataType& reference; 26 typedef ConstTraits<DataType> const_traits; 27 typedef NonConstTraits<DataType> nonconst_traits; 30 template<typename DataType> 33 typedef DataType value_type; 34 typedef DataType* pointe [all...] |
H A D | StringEntry.h | 19 template<typename DataType> 25 template<typename DataType> 30 typedef DataType value_type; 51 void setValue(const DataType& pVal) 67 DataType m_Value; 71 friend class StringEntryFactory<DataType>; 128 template<typename DataType> 132 typedef StringEntry<DataType> entry_type; 133 typedef typename StringEntry<DataType>::key_type key_type; 134 typedef typename StringEntry<DataType> [all...] |
H A D | BinTree.h | 24 template<class DataType> 97 template<class DataType, class Traits, class IteratorType> 101 typedef DataType value_type; 140 template<class DataType, class Traits, class IteratorType> 141 class PolicyIterator : public PolicyIteratorBase<DataType, Traits, IteratorType> 144 typedef PolicyIterator<DataType, Traits, IteratorType> Self; 145 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base; 146 typedef PolicyIterator<DataType, typename Traits::nonconst_traits, IteratorType> iterator; 147 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> const_iterator; 173 template<class DataType> [all...] |
H A D | TreeAllocator.h | 28 template<typename DataType> 29 class NodeFactory : public GCFactory<Node<DataType>, 64> 32 typedef GCFactory<Node<DataType>, 64> Alloc; 35 typedef Node<DataType> NodeType;
|
H A D | TreeBase.h | 103 template<typename DataType> 107 typedef DataType value_type;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | GCFactoryListTraits.h | 23 template<typename DataType> 24 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> 27 class SentinelNode : public DataType 36 DataType *createSentinel() const 37 { return reinterpret_cast<DataType*>(&mSentinel); } 39 static void destroySentinel(DataType*) { } 41 DataType *provideInitialHead() const 44 DataType *ensureHead(DataType*) const 47 static void noteHead(DataType*, DataTyp [all...] |
H A D | UniqueGCFactory.h | 23 template<typename KeyType, typename DataType, size_t ChunkSize> 24 class UniqueGCFactoryBase : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > 27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc; 28 typedef std::map<KeyType, DataType*> KeyMap; 32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() 36 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) 43 DataType* find(const KeyType& pKey) { 50 const DataType* find(const KeyType& pKey) const { 57 DataType* produce(const KeyType& pKey, bool& pExist) { 63 DataType* dat [all...] |
H A D | Allocators.h | 24 template<typename DataType, size_t ChunkSize> 28 typedef DataType value_type; 48 DataType data[ChunkSize]; 51 template<typename DataType> 52 class Chunk<DataType, 0> 55 typedef DataType value_type; 61 data = (DataType*)malloc(sizeof(DataType)*m_Size); 87 DataType *data; 91 template<typename DataType> [all...] |
H A D | GCFactory.h | 207 template<typename DataType, size_t ChunkSize> 208 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > 212 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() 216 template<typename DataType> 217 class GCFactory<DataType, 0> : public GCFactoryBase<LinearAllocator<DataType, 0> > 221 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum)
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
H A D | genapi.py | 41 # 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 D | testgenapi.py | 22 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 D | Element.java | 35 * 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 119 public enum DataType { enum in class:Element 157 DataType(int id, int size) { method in class:Element.DataType 162 DataType(int id) { method in class:Element.DataType 294 public DataType getDataType() { 314 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); 328 rs.mElement_U8 = createUser(rs, DataType [all...] |
H A D | Allocation.java | 80 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { 95 return Element.DataType.SIGNED_64; 103 return Element.DataType.SIGNED_32; 111 return Element.DataType.SIGNED_16; 119 return Element.DataType.SIGNED_8; 126 return Element.DataType.FLOAT_32; 133 return Element.DataType.FLOAT_64; 351 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || 352 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { 360 if ((mType.mElement.mType == Element.DataType [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ElementThunker.java | 64 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 D | Element.java | 40 * 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 D | gltrace_api.cpp | 41 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 D | gltrace_egl.cpp | 38 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 D | gltrace_fixup.cpp | 115 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 D | slang_rs_object_ref_count.h | 64 DataType DT, 92 DataType *DT, 98 DataType DT, 115 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) { 129 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) {
|
H A D | slang_rs_export_element.h | 44 DataType type;
|
H A D | slang_rs_export_type.h | 85 // 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 D | UT_element.java | 24 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 D | DownloadManagerFunctionalTest.java | 96 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 D | DownloadManagerStressTest.java | 80 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 D | ShaderParam.java | 77 if (subElem.getDataType() == Element.DataType.FLOAT_32) { 79 } else if (subElem.getDataType() == Element.DataType.MATRIX_4X4) { 90 if (subElem.getDataType() == Element.DataType.FLOAT_32) {
|