HomeSort by relevance Sort by last modified time
    Searched refs:DataType (Results 1 - 25 of 418) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/compile/mclinker/include/mcld/Support/
GCFactoryListTraits.h 23 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* pNew, DataType* pSentinel) {
    [all...]
UniqueGCFactory.h 23 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* data = Alloc::allocate()
    [all...]
Allocators.h 24 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...]
  /frameworks/compile/mclinker/include/mcld/ADT/
TypeTraits.h 16 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...]
StringEntry.h 20 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>::value_type value_type
    [all...]
BinTree.h 24 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...]
  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSResizeTest.java 37 private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) {
40 if (dt == Element.DataType.UNSIGNED_8) {
95 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f);
98 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f);
101 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f);
104 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f);
108 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f);
111 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f);
114 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f);
117 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 2.f, 2.f)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IntrinsicColorMatrix.java 27 Element.DataType dtIn, int vsIn,
28 Element.DataType dtOut, int vsOut,
72 private void test(Element.DataType dtin, Element.DataType dtout, int subtest,
132 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, false);
136 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 0, false);
140 test(Element.DataType.UNSIGNED_8, Element.DataType.FLOAT_32, 0, false)
    [all...]
IntrinsicResize.java 27 private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) {
55 if (dt == Element.DataType.UNSIGNED_8) {
101 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f);
105 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f);
109 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f);
113 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f);
118 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f);
122 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f);
126 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f);
130 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 2.f, 2.f)
    [all...]
AllocationByteBufferTest.java 25 import android.renderscript.Element.DataType;
36 Allocation createTypedAllocation(DataType dt, int size, int dimX, int dimY) {
48 void testByteBufferHelper(DataType dt, int byteSize, int dimX, int dimY) {
71 void testByteBufferHelper1D(DataType dt, int byteSize) {
77 void testByteBufferHelper2D(DataType dt, int byteSize) {
127 testByteBufferHelper1D(DataType.UNSIGNED_8, 1);
131 testByteBufferHelper2D(DataType.UNSIGNED_8, 1);
135 testByteBufferHelper1D(DataType.UNSIGNED_16, 2);
139 testByteBufferHelper2D(DataType.UNSIGNED_16, 2);
143 testByteBufferHelper1D(DataType.UNSIGNED_32, 4)
    [all...]
ElementTest.java 20 import android.renderscript.Element.DataType;
28 DataType.UNSIGNED_8,
31 DataType.UNSIGNED_5_6_5,
34 DataType.UNSIGNED_8,
37 DataType.UNSIGNED_5_5_5_1,
40 DataType.UNSIGNED_4_4_4_4,
43 DataType.UNSIGNED_8,
51 assertTrue(Element.createVector(mRS, DataType.FLOAT_32, len) != null);
52 assertTrue(Element.createVector(mRS, DataType.FLOAT_64, len) != null);
53 assertTrue(Element.createVector(mRS, DataType.SIGNED_8, len) != null)
    [all...]
IntrinsicConvolve3x3.java 23 private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc) {
54 if (dt == Element.DataType.UNSIGNED_8) {
92 if (dt == Element.DataType.UNSIGNED_8) {
129 if (dt == Element.DataType.UNSIGNED_8) {
168 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 4, null);
172 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 3, null);
176 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 2, null);
180 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 1, null);
185 testConvolve3(100, 100, Element.DataType.FLOAT_32, 4, null);
190 testConvolve3(100, 100, Element.DataType.FLOAT_32, 3, null)
    [all...]
RSBaseCompute.java 76 protected Element getElement(RenderScript rs, Element.DataType dataType, int size) {
79 if (dataType == Element.DataType.FLOAT_64) {
81 } else if (dataType == Element.DataType.FLOAT_32) {
83 } else if (dataType == Element.DataType.FLOAT_16) {
85 } else if (dataType == Element.DataType.SIGNED_64)
    [all...]
IntrinsicConvolve5x5.java 39 if (e.getDataType() == Element.DataType.UNSIGNED_8) {
76 private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc) {
109 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 4, null);
113 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 3, null);
117 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 2, null);
121 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 1, null);
126 testConvolve5(100, 100, Element.DataType.FLOAT_32, 4, null);
130 testConvolve5(100, 100, Element.DataType.FLOAT_32, 3, null);
134 testConvolve5(100, 100, Element.DataType.FLOAT_32, 2, null);
138 testConvolve5(100, 100, Element.DataType.FLOAT_32, 1, null)
    [all...]
  /external/deqp/framework/opengl/
gluShaderUtil.hpp 95 // DataType
97 enum DataType
196 const char* getDataTypeName (DataType dataType);
197 int getDataTypeScalarSize (DataType dataType);
198 DataType getDataTypeScalarType (DataType dataType);
199 DataType getDataTypeFloatScalars (DataType dataType)
    [all...]
  /external/deqp/modules/glshared/
glsShaderConstExprTests.hpp 48 using glu::DataType;
55 DataType inType;
59 DataType outType;
  /external/ImageMagick/MagickCore/
mime-private.h 32 } DataType;
  /external/glide/library/src/main/java/com/bumptech/glide/
GenericTranscodeRequest.java 29 * @param <DataType> The type of data retrieved.
32 public class GenericTranscodeRequest<ModelType, DataType, ResourceType>
33 extends GenericRequestBuilder<ModelType, DataType, ResourceType, ResourceType> implements DownloadOptions {
34 private final ModelLoader<ModelType, DataType> modelLoader;
35 private final Class<DataType> dataClass;
47 ModelLoader<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resourceClass,
58 ModelLoader<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resourceClass,
76 public <TranscodeType> GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> transcode
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
icrsint.h 37 #define ADO_FIXED_LENGTH_ENTRY(Ordinal,DataType,Buffer,Status,Modify) {Ordinal,DataType,0,0,0,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),0,classoffset(CADORecordBinding,ADORowClass),Modify},
38 #define ADO_FIXED_LENGTH_ENTRY2(Ordinal,DataType,Buffer,Modify) {Ordinal,DataType,0,0,0,offsetof(ADORowClass,Buffer),0,0,classoffset(CADORecordBinding,ADORowClass),Modify},
39 #define ADO_NUMERIC_ENTRY(Ordinal,DataType,Buffer,Precision,Scale,Status,Modify) {Ordinal,DataType,Precision,Scale,0,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),0,classoffset(CADORecordBinding,ADORowClass),Modify},
40 #define ADO_NUMERIC_ENTRY2(Ordinal,DataType,Buffer,Precision,Scale,Modify) {Ordinal,DataType,Precision,Scale,0,offsetof(ADORowClass,Buffer),0,0,classoffset(CADORecordBinding,ADORowClass),Modify},
41 #define ADO_VARIABLE_LENGTH_ENTRY(Ordinal,DataType,Buffer,Size,Status,Length,Modify) {Ordinal,DataType,0,0,Size,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),offsetof(ADORowClass,Length),cl (…)
    [all...]
  /frameworks/base/rs/java/android/renderscript/
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
120 public enum DataType {
158 DataType(int id, int size) {
163 DataType(int id) {
295 public DataType getDataType() {
317 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
335 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.hpp 46 // Helper class for constructing DataType vectors.
49 std::vector<glu::DataType> vec;
50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; }
58 FlatColorShader (glu::DataType outputType);
67 const glu::DataType m_outputType;
73 GradientShader (glu::DataType outputType);
82 const glu::DataType m_outputType;
88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
112 const glu::DataType m_outputType;
118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType)
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
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 {
162 DataType(int id, int size) {
167 DataType(int id) {
299 public DataType getDataType() {
319 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN);
333 rs.mElement_U8 = createUser(rs, DataType.UNSIGNED_8)
    [all...]
  /external/llvm/include/llvm/Support/
CommandLine.h 369 template <class DataType> struct OptionValue;
373 template <class DataType, bool isClass>
376 typedef OptionValue<DataType> WrapperType;
380 const DataType &getValue() const { llvm_unreachable("no default value"); }
385 bool compare(const DataType & /*V*/) const { return false; }
396 template <class DataType> class OptionValueCopy : public GenericOptionValue {
397 DataType Value;
410 const DataType &getValue() const {
415 void setValue(const DataType &V) {
420 bool compare(const DataType &V) const { return Valid && (Value != V);
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/
traits.hpp 66 The DataType class is basically used to provide a description of such primitive data types without
69 DataType itself that is used but its specialized versions, such as:
71 template<> class DataType<uchar>
79 template<typename _Tp> DataType<std::complex<_Tp> >
95 Mat A(30, 40, DataType<float>::type);
103 defines the proper specialized template class DataType\<complex\<_Tp\> \> . This mechanism is also
106 template<typename _Tp> class DataType
121 template<> class DataType<bool>
136 template<> class DataType<uchar>
151 template<> class DataType<schar
    [all...]
  /external/gemmlowp/internal/
output.h 52 // with DataType=int32x4_t, Rows=4, Cols=1. MapOrder doesn't matter for
58 typedef tDataType DataType;
64 Fragment(const DataType& d) : data(d) {}
65 operator DataType() const { return data; }
67 DataType data;
232 typedef typename InputType::DataType DataType;
252 ToFixedPoint<DataType, 0>(inverse_amplitude_normalized_double);
261 ToFixedPoint<DataType, 0>(amplitude_normalized_double);
267 typedef FixedPoint<DataType, 3> F3
    [all...]

Completed in 680 milliseconds

1 2 3 4 5 6 7 8 91011>>