Home
last modified time | relevance | path

Searched refs:DataType (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/compile/mclinker/include/mcld/ADT/
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* pointer;
[all …]
DStringEntry.tcc12 template <typename DataType>
13 StringEntry<DataType>::StringEntry() in StringEntry()
17 template <typename DataType>
18 StringEntry<DataType>::StringEntry(const StringEntry::key_type& pKey) in StringEntry()
22 template <typename DataType>
23 StringEntry<DataType>::StringEntry(const StringEntry<DataType>& pCopy) in StringEntry()
28 template <typename DataType>
29 StringEntry<DataType>::~StringEntry() { in ~StringEntry()
34 template <typename DataType>
35 StringEntryFactory<DataType>::StringEntryFactory() { in StringEntryFactory()
[all …]
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 …]
DStringEntry.h20 template <typename DataType>
26 template <typename DataType>
30 typedef DataType value_type;
45 void setValue(const DataType& pVal) { m_Value = pVal; } in setValue()
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>::value_type value_type;
[all …]
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;
DHashBase.tcc35 template <typename DataType>
36 typename HashBucket<DataType>::entry_type*
37 HashBucket<DataType>::getEmptyBucket() { in getEmptyBucket()
42 template <typename DataType>
43 typename HashBucket<DataType>::entry_type*
44 HashBucket<DataType>::getTombstone() { in getTombstone()
DTreeBase.h98 template <typename DataType>
101 typedef DataType value_type;
/frameworks/compile/mclinker/include/mcld/Support/
DGCFactoryListTraits.h23 template <typename DataType>
24 class GCFactoryListTraits : public llvm::ilist_default_traits<DataType> {
26 class SentinelNode : public DataType {
34 DataType* createSentinel() const { in createSentinel()
35 return reinterpret_cast<DataType*>(&mSentinel); in createSentinel()
38 static void destroySentinel(DataType* pData) {} in destroySentinel()
40 DataType* provideInitialHead() const { return createSentinel(); } in provideInitialHead()
42 DataType* ensureHead(DataType* pData) const { return createSentinel(); } in ensureHead()
44 static void noteHead(DataType* pNew, DataType* pSentinel) {} in noteHead()
47 static DataType* createNode(const DataType& V) { in createNode()
[all …]
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)); in Chunk()
81 DataType* data;
85 template <typename DataType>
86 size_t Chunk<DataType, 0>::m_Size = 0;
[all …]
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> >() {} in UniqueGCFactoryBase()
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {} in UniqueGCFactoryBase()
40 DataType* find(const KeyType& pKey) { in find()
47 const DataType* find(const KeyType& pKey) const { in find()
54 DataType* produce(const KeyType& pKey, bool& pExist) { in produce()
60 DataType* data = Alloc::allocate(); in produce()
[all …]
DGCFactory.h185 template <typename DataType, size_t ChunkSize>
186 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
188 GCFactory() : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in GCFactory()
191 template <typename DataType>
192 class GCFactory<DataType, 0>
193 : public GCFactoryBase<LinearAllocator<DataType, 0> > {
196 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) {} in GCFactory()
/frameworks/rs/support/java/src/androidx/renderscript/
DElement.java74 DataType mType;
135 public enum DataType { enum in Element
167 DataType(int id, int size) { in DataType() method in Element.DataType
172 DataType(int id) { in DataType() method in Element.DataType
304 public DataType getDataType() { in getDataType()
324 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
338 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
352 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
359 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
366 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
[all …]
DAllocation.java89 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray()
104 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray()
112 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray()
120 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray()
128 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray()
135 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray()
142 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray()
405 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64()
406 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64()
414 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
[all …]
/frameworks/base/rs/java/android/renderscript/
DElement.java69 DataType mType;
127 public enum DataType { enum in Element
165 DataType(int id, int size) { in DataType() method in Element.DataType
170 DataType(int id) { in DataType() method in Element.DataType
302 public DataType getDataType() { in getDataType()
324 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); in BOOLEAN()
342 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8); in U8()
360 rs.mElement_I8 = createUser(rs, DataType.SIGNED_8); in I8()
371 rs.mElement_U16 = createUser(rs, DataType.UNSIGNED_16); in U16()
382 rs.mElement_I16 = createUser(rs, DataType.SIGNED_16); in I16()
[all …]
DAllocation.java95 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { in validateObjectIsPrimitiveArray()
110 return Element.DataType.SIGNED_64; in validateObjectIsPrimitiveArray()
118 return Element.DataType.SIGNED_32; in validateObjectIsPrimitiveArray()
126 return Element.DataType.SIGNED_16; in validateObjectIsPrimitiveArray()
134 return Element.DataType.SIGNED_8; in validateObjectIsPrimitiveArray()
141 return Element.DataType.FLOAT_32; in validateObjectIsPrimitiveArray()
148 return Element.DataType.FLOAT_64; in validateObjectIsPrimitiveArray()
440 if ((mType.mElement.mType == Element.DataType.SIGNED_64) || in validateIsInt64()
441 (mType.mElement.mType == Element.DataType.UNSIGNED_64)) { in validateIsInt64()
449 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_tests.cpp39 using DataType = int8_t; typedef
43 PDX_REMOTE_METHOD(Sum, kOpSum, int64_t(const std::vector<DataType>&));
64 const std::vector<TestProtocol::DataType>& data) { in OnSum()
73 int64_t Sum(const std::vector<TestProtocol::DataType>& data) { in Sum()
135 std::uniform_int_distribution<TestProtocol::DataType> dist{ in TEST_F()
136 std::numeric_limits<TestProtocol::DataType>::min(), in TEST_F()
137 std::numeric_limits<TestProtocol::DataType>::max()}; in TEST_F()
140 std::vector<TestProtocol::DataType> data) { in TEST_F()
149 std::vector<TestProtocol::DataType> data; in TEST_F()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java102 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBinaryDownload()
115 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownload()
154 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null); in testDownloadToExternal_fileExists()
155 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists()
193 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal()
224 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory()
252 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes in testGetDownloadIdOnNotification()
302 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testRelativeRedirect()
321 byte[] blobData = generateData(fileSize, DataType.BINARY); in testRemoveDownload()
341 byte[] blobData = generateData(fileSize, DataType.BINARY); in testSetTitle()
[all …]
DDownloadManagerStressTest.java83 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads()
125 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testDownloadLargeFile()
198 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
/frameworks/compile/slang/
Dslang_rs_export_type.h109 enum DataType { enum
371 DataType mType;
374 typedef llvm::StringMap<DataType> RSSpecificTypeMapTy;
392 DataType DT, in RSExportPrimitiveType()
401 static DataType GetDataType(RSContext *Context, const clang::Type *T);
412 static DataType GetRSSpecificType(const llvm::StringRef &TypeName);
413 static DataType GetRSSpecificType(const clang::Type *T);
415 static bool IsRSMatrixType(DataType DT);
416 static bool IsRSObjectType(DataType DT);
430 inline DataType getType() const { return mType; } in getType()
[all …]
Dslang_rs_object_ref_count.h72 DataType DT,
132 DataType *DT,
173 static clang::FunctionDecl *GetRSSetObjectFD(DataType DT) { in GetRSSetObjectFD()
187 static clang::FunctionDecl *GetRSClearObjectFD(DataType DT) { in GetRSClearObjectFD()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverterTest.java66 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_Email()
79 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_Email()
126 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_MusicRecording()
139 .setDataType(PropertyConfigProto.DataType.Code.INT64) in testGetProto_MusicRecording()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_element.java24 import androidx.renderscript.Element.DataType;
101 simpleElem.getDataType() == DataType.FLOAT_32); in testJavaSide()
108 complexElem.getDataType() == DataType.NONE); in testJavaSide()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_element.java22 import android.renderscript.Element.DataType;
99 simpleElem.getDataType() == DataType.FLOAT_32); in testJavaSide()
106 complexElem.getDataType() == DataType.NONE); in testJavaSide()
/frameworks/base/cmds/idmap2/include/idmap2/
DResourceUtils.h37 using DataType = uint8_t; // Res_value::dataType variable
41 DataType data_type;
/frameworks/base/core/proto/android/util/
Devent_log_tags.proto43 enum DataType { enum
51 optional DataType type = 2;

123