Searched refs:DataType (Results 1 - 25 of 32) 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/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() {
317 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
335 rs.mElement_U8 = createUser(rs, DataType
[all...]
H A DAllocation.java91 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) {
106 return Element.DataType.SIGNED_64;
114 return Element.DataType.SIGNED_32;
122 return Element.DataType.SIGNED_16;
130 return Element.DataType.SIGNED_8;
137 return Element.DataType.FLOAT_32;
144 return Element.DataType.FLOAT_64;
308 * the same {@link android.renderscript.Element.DataType}, with the fourth vector
436 if ((mType.mElement.mType == Element.DataType.SIGNED_64) ||
437 (mType.mElement.mType == Element.DataType
[all...]
/frameworks/rs/support/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;
276 * the same {@link android.support.v8.renderscript.Element.DataType}, with the fourth vector
400 if ((mType.mElement.mType == Element.DataType.SIGNED_64) ||
401 (mType.mElement.mType == Element.DataType
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java100 byte[] blobData = generateData(fileSize, DataType.BINARY);
113 byte[] blobData = generateData(fileSize, DataType.TEXT);
152 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null);
153 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
191 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
222 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
250 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes
300 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT);
319 byte[] blobData = generateData(fileSize, DataType.BINARY);
339 byte[] blobData = generateData(fileSize, DataType
[all...]
H A DDownloadManagerStressTest.java82 byte[] blobData = generateData(size, DataType.TEXT);
124 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null);
197 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT);
H A DDownloadManagerBaseTest.java99 protected enum DataType { enum in class:DownloadManagerBaseTest
297 * @param type The type of data to generate: currently, one of {@link DataType#TEXT} or
298 * {@link DataType#BINARY}.
301 protected byte[] generateData(int size, DataType type) {
309 * @param type The type of data to generate: currently, one of {@link DataType#TEXT} or
310 * {@link DataType#BINARY}.
314 protected byte[] generateData(int size, DataType type, Random rng) {
319 if (type == DataType.TEXT) {
592 protected File createFileOnSD(String filename, long fileSize, DataType type,
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_element.java22 import android.renderscript.Element.DataType;
101 simpleElem.getDataType() == DataType.FLOAT_32);
108 complexElem.getDataType() == DataType.NONE);
/frameworks/compile/slang/
H A Dslang_rs_export_element.h44 DataType type;
H A Dslang_rs_export_type.h97 // From graphics/java/android/renderscript/Element.java: Element.DataType
109 enum DataType { enum in namespace:slang
370 DataType mType;
373 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy;
391 DataType DT,
400 static DataType GetDataType(RSContext *Context, const clang::Type *T);
411 static DataType GetRSSpecificType(const llvm::StringRef &TypeName);
412 static DataType GetRSSpecificType(const clang::Type *T);
414 static bool IsRSMatrixType(DataType DT);
415 static bool IsRSObjectType(DataType D
[all...]
H A Dslang_rs_object_ref_count.h72 DataType DT,
132 DataType *DT,
173 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) {
187 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) {
H A Dslang_rs_export_type.cpp58 // specified by the corresponding DataType enum.
105 DataType type;
156 DataType dataType;
848 DataType dt = RSExportPrimitiveType::GetRSSpecificType(TypeName);
992 DataType
1011 DataType RSExportPrimitiveType::GetRSSpecificType(const clang::Type *T) {
1019 bool RSExportPrimitiveType::IsRSMatrixType(DataType DT) {
1026 bool RSExportPrimitiveType::IsRSObjectType(DataType DT) {
1064 DataType DT = GetRSSpecificType(FT);
1105 DataType
[all...]
H A Dslang_rs_export_element.cpp36 DataType dataType;
H A Dslang_rs_object_ref_count.cpp79 DataType DT = RSExportPrimitiveType::GetRSSpecificType(RST.getTypePtr());
477 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType);
512 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T);
857 DataType DT = RSExportPrimitiveType::GetRSSpecificType(BaseType);
970 DataType DT = RSExportPrimitiveType::GetRSSpecificType(FT);
1074 DataType DT,
1281 DataType DT = RSExportPrimitiveType::GetRSSpecificType(T);
1295 DataType *DT,
1520 DataType DT = DataTypeUnknown;
/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_tests.cpp38 using DataType = int8_t;
42 PDX_REMOTE_METHOD(Sum, kOpSum, int64_t(const std::vector<DataType>&));
63 const std::vector<TestProtocol::DataType>& data) {
72 int64_t Sum(const std::vector<TestProtocol::DataType>& data) {
134 std::uniform_int_distribution<TestProtocol::DataType> dist{
135 std::numeric_limits<TestProtocol::DataType>::min(),
136 std::numeric_limits<TestProtocol::DataType>::max()};
139 std::vector<TestProtocol::DataType> data) {
148 std::vector<TestProtocol::DataType> data;
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV));

Completed in 9185 milliseconds

12