/external/deqp/framework/opengl/ |
D | gluShaderUtil.hpp | 98 enum DataType enum 215 const char* getDataTypeName (DataType dataType); 216 int getDataTypeScalarSize (DataType dataType); 217 DataType getDataTypeScalarType (DataType dataType); 218 DataType getDataTypeFloatScalars (DataType dataType); 219 DataType getDataTypeDoubleScalars (DataType dataType); 220 DataType getDataTypeVector (DataType scalarType, int size); 221 DataType getDataTypeFloatVec (int vecSize); 222 DataType getDataTypeIntVec (int vecSize); 223 DataType getDataTypeUintVec (int vecSize); [all …]
|
D | gluShaderUtil.cpp | 180 const char* getDataTypeName (DataType dataType) in getDataTypeName() 285 int getDataTypeScalarSize (DataType dataType) in getDataTypeScalarSize() 390 DataType getDataTypeScalarType (DataType dataType) in getDataTypeScalarType() 392 static const DataType s_scalarTypes[] = in getDataTypeScalarType() 495 DataType getDataTypeFloatScalars (DataType dataType) in getDataTypeFloatScalars() 497 static const DataType s_floatTypes[] = in getDataTypeFloatScalars() 600 DataType getDataTypeDoubleScalars (DataType dataType) in getDataTypeDoubleScalars() 602 static const DataType s_doubleTypes[] = in getDataTypeDoubleScalars() 705 DataType getDataTypeVector (DataType scalarType, int size) in getDataTypeVector() 715 return (DataType)((int)scalarType + size - 1); in getDataTypeVector() [all …]
|
/external/vixl/src/aarch32/ |
D | disasm-aarch32.h | 151 DataType dt_; 152 DataType default_dt_; 155 DtPrinter(DataType dt, DataType default_dt) in DtPrinter() 157 DataType GetDt() const { return dt_; } in GetDt() 158 DataType GetDefaultDt() const { return default_dt_; } in GetDefaultDt() 310 virtual DisassemblerStream& operator<<(const DataType& type) { 1448 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 1451 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 1454 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); 1457 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); [all …]
|
D | assembler-aarch32.h | 344 typedef void (Assembler::*InstructionDtQQQ)(DataType dt, 365 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 367 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 369 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); 371 DataType dt, 375 DataType dt, 379 DataType dt, 383 Condition cond, DataType dt, SRegister rd, SRegister rn, SRegister rm); 385 Condition cond, DataType dt, DRegister rd, QRegister rn, QRegister rm); 387 Condition cond, DataType dt, QRegister rd, QRegister rn, DRegister rm); [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cast_op_impl.h | 75 GetCpuCastFromBool(DataType dst_dtype); 78 GetCpuCastFromUint8(DataType dst_dtype); 81 GetCpuCastFromInt8(DataType dst_dtype); 84 GetCpuCastFromUint16(DataType dst_dtype); 87 GetCpuCastFromInt16(DataType dst_dtype); 90 GetCpuCastFromInt32(DataType dst_dtype); 93 GetCpuCastFromInt64(DataType dst_dtype); 96 GetCpuCastFromHalf(DataType dst_dtype); 99 GetCpuCastFromFloat(DataType dst_dtype); 102 GetCpuCastFromDouble(DataType dst_dtype); [all …]
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
D | Tensor.java | 106 DataType dtype = DataType.fromClass(type); in create() 138 private static Tensor<?> create(Object obj, DataType dtype) { in create() 143 if (t.dtype != DataType.STRING) { in create() 168 Tensor<Integer> t = allocateForBuffer(DataType.INT32, shape, data.remaining()); in create() 186 Tensor<Float> t = allocateForBuffer(DataType.FLOAT, shape, data.remaining()); in create() 204 Tensor<Double> t = allocateForBuffer(DataType.DOUBLE, shape, data.remaining()); in create() 222 Tensor<Long> t = allocateForBuffer(DataType.INT64, shape, data.remaining()); in create() 244 Tensor<T> ret = (Tensor<T>) create(DataType.fromClass(type), shape, data); in create() 263 private static Tensor<?> create(DataType dtype, long[] shape, ByteBuffer data) { in create() 265 if (dtype != DataType.STRING) { in create() [all …]
|
D | DataType.java | 23 public enum DataType { enum 52 DataType(int value) { in DataType() method in DataType 62 private static final DataType[] values = values(); 64 static DataType fromC(int c) { in fromC() 65 for (DataType t : values) { in fromC() 82 public static DataType fromClass(Class<?> c) { in fromClass() 83 DataType dtype = typeCodes.get(c); in fromClass() 91 private static final Map<Class<?>, DataType> typeCodes = new HashMap<>(); 94 typeCodes.put(Float.class, DataType.FLOAT); in typeCodes.put() 95 typeCodes.put(Double.class, DataType.DOUBLE); in typeCodes.put() [all …]
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 432 template <class DataType> struct OptionValue; 436 template <class DataType, bool isClass> 439 typedef OptionValue<DataType> WrapperType; 443 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 448 bool compare(const DataType & /*V*/) const { return false; } in compare() 459 template <class DataType> class OptionValueCopy : public GenericOptionValue { 460 DataType Value; 473 const DataType &getValue() const { in getValue() 478 void setValue(const DataType &V) { in setValue() 483 bool compare(const DataType &V) const { return Valid && (Value != V); } in compare() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcLimitTest.inl | 26 template<typename DataType> 27 LimitCase<DataType>::LimitCase(deqp::Context& context, 30 DataType limitBoundry, 45 template<typename DataType> 46 LimitCase<DataType>::~LimitCase(void) 50 template<typename DataType> 51 tcu::TestNode::IterateResult LimitCase<DataType>::iterate(void) 53 DataType limitValue = DataType(); 112 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(DataType), NULL, GL_DYNAMIC_DRAW); 119 …DataType* data = static_cast<DataType*>(gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(Data… [all …]
|
D | glcLimitTest.hpp | 41 template <typename DataType> 45 LimitCase(deqp::Context& context, const char* caseName, deUint32 limitToken, DataType limitBoundry, 53 bool isWithinBoundry(DataType value, bool isBuiltin = false) const; 57 DataType getLimitValue(const glw::Functions& gl) const; 59 bool isEqual(DataType a, DataType b) const; 60 bool isGreater(DataType a, DataType b) const; 61 bool isSmaller(DataType a, DataType b) const; 68 DataType m_limitBoundry; // min/max value
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | CommandLine.h | 451 template <class DataType> struct OptionValue; 455 template <class DataType, bool isClass> 458 typedef OptionValue<DataType> WrapperType; 462 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 467 bool compare(const DataType & /*V*/) const { return false; } in compare() 478 template <class DataType> class OptionValueCopy : public GenericOptionValue { 479 DataType Value; 492 const DataType &getValue() const { in getValue() 497 void setValue(const DataType &V) { in setValue() 502 bool compare(const DataType &V) const { return Valid && (Value != V); } in compare() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | GenericRequestBuilder.java | 49 public class GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> implements Clo… 56 private ChildLoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider; 80 … GenericRequestBuilder(LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider, in GenericRequestBuilder() argument 92 LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider, in GenericRequestBuilder() argument 101 … ? new ChildLoadProvider<ModelType, DataType, ResourceType, TranscodeType>(loadProvider) : null; in GenericRequestBuilder() 126 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( in thumbnail() 158 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> thumbnail( in thumbnail() 176 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> sizeMultiplier( in sizeMultiplier() 196 public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> decoder( in decoder() 197 ResourceDecoder<DataType, ResourceType> decoder) { in decoder() argument [all …]
|
D | GenericTranscodeRequest.java | 32 public class GenericTranscodeRequest<ModelType, DataType, ResourceType> 33 …extends GenericRequestBuilder<ModelType, DataType, ResourceType, ResourceType> implements Download… 34 private final ModelLoader<ModelType, DataType> modelLoader; 35 private final Class<DataType> dataClass; 47 …ModelLoader<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resou… in GenericTranscodeRequest() 58 …ModelLoader<ModelType, DataType> modelLoader, Class<DataType> dataClass, Class<ResourceType> resou… in GenericTranscodeRequest() 76 …public <TranscodeType> GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> tra… in transcode() 78 …LoadProvider<ModelType, DataType, ResourceType, TranscodeType> loadProvider = build(glide, modelLo… in transcode() 81 …return optionsApplier.apply(new GenericRequestBuilder<ModelType, DataType, ResourceType, Transcode… in transcode() 99 private GenericRequestBuilder<ModelType, DataType, File, File> getDownloadOnlyRequest() { in getDownloadOnlyRequest() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_helpers.h | 34 DataType data_type); 39 DataType data_type); 44 DataType data_type); 49 DataType data_type); 54 DataType data_type); 60 DataType data_type, 66 DataType data_type, 81 const TensorShape& input_shape, DataType input_type, 82 DataType output_type, int axis, 91 const TensorShape& input_shape, DataType input_type, [all …]
|
D | xla_context.h | 48 const std::function<TensorShape(const TensorShape&, DataType)>* 69 void AddRetval(int retval_index, DataType type, 73 Status AddConstRetval(int retval_index, DataType dtype, 81 DataType type, TensorShape shape, 94 DataType type) const; 99 const xla::Computation* GetOrCreateMax(const DataType type); 104 const xla::Computation* GetOrCreateMin(const DataType type); 109 const xla::Computation* GetOrCreateAdd(const DataType type); 114 const xla::Computation* GetOrCreateMul(const DataType type); 145 const std::function<TensorShape(const TensorShape&, DataType)>* [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.hpp | 49 std::vector<glu::DataType> vec; 50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; } in operator <<() 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& outSc… 112 const glu::DataType m_outputType; 118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType); 134 const glu::DataType m_outputType; [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.h | 102 typedef gtl::InlinedVector<DataType, 4> DataTypeVector; 103 typedef gtl::ArraySlice<DataType> DataTypeSlice; 108 string DataTypeString(DataType dtype); 128 constexpr bool Contains(DataType dt) const { 141 DataType operator*() const { return static_cast<DataType>(pos_); } 230 bool DataTypeFromString(StringPiece sp, DataType* dt); 232 constexpr inline DataTypeSet ToSet(DataType dt) { 238 inline bool IsRefType(DataType dtype) { 239 return dtype > static_cast<DataType>(kDataTypeRefOffset); 241 inline DataType MakeRefType(DataType dtype) { [all …]
|
/external/tensorflow/tensorflow/go/ |
D | tensor.go | 35 type DataType C.TF_DataType type 39 Float DataType = C.TF_FLOAT 40 Double DataType = C.TF_DOUBLE 41 Int32 DataType = C.TF_INT32 42 Uint32 DataType = C.TF_UINT32 43 Uint8 DataType = C.TF_UINT8 44 Int16 DataType = C.TF_INT16 45 Int8 DataType = C.TF_INT8 46 String DataType = C.TF_STRING 47 Complex64 DataType = C.TF_COMPLEX64 [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CommandLine.h | 331 template<class DataType> struct OptionValue; 335 template<class DataType, bool isClass> 338 typedef OptionValue<DataType> WrapperType; 342 const DataType &getValue() const { assert(false && "no default value"); } in getValue() 348 bool compare(const DataType &/*V*/) const { return false; } in compare() 354 template<class DataType> 356 DataType Value; 363 const DataType &getValue() const { in getValue() 368 void setValue(const DataType &V) { Valid = true; Value = V; } in setValue() 370 bool compare(const DataType &V) const { in compare() [all …]
|
/external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/ |
D | heap.h | 33 template <typename KeyType, typename DataType> 39 DataType data; 42 Item(const KeyType& k, const DataType& d) : key(k), data(d) {} in Item() 47 void ExtractMin(KeyType* key, DataType* data) { in ExtractMin() 61 void InsertUnsorted(const KeyType& key, const DataType& data) { in InsertUnsorted() 71 void Insert(const KeyType& key, const DataType& data) { in Insert() 147 template <typename KeyType, typename DataType> 148 class SimpleHeap : public HeapBase<KeyType, DataType> { 150 void ReplaceTop(const KeyType& key, const DataType& data) { in ReplaceTop() 158 std::vector<typename HeapBase<KeyType, DataType>::Item>& GetData() { in GetData() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_tensor.cc | 40 case DataType::DT_FLOAT: in Build() 41 case DataType::DT_DOUBLE: { in Build() 43 if (tensor_->dtype() == DataType::DT_FLOAT) { in Build() 45 } else if (tensor_->dtype() == DataType::DT_DOUBLE) { in Build() 52 case DataType::DT_INT32: in Build() 53 case DataType::DT_INT64: { in Build() 55 if (tensor_->dtype() == DataType::DT_INT32) { in Build() 57 } else if (tensor_->dtype() == DataType::DT_INT64) { in Build() 63 case DataType::DT_STRING: { in Build()
|
/external/libxcam/modules/ocl/ |
D | cl_argument.h | 60 template<typename DataType> 66 CLArgumentT (const DataType &value) in CLArgumentT() 67 : CLArgument (sizeof (DataType)) in CLArgumentT() 75 DataType _value; 78 template<typename DataType, int count> 84 CLArgumentTArray (const DataType *value) in CLArgumentTArray() 85 : CLArgument (sizeof (DataType) * count) in CLArgumentTArray() 87 memcpy (&_value[0], value, sizeof (DataType) * count); in CLArgumentTArray() 93 DataType _value[count];
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | validation_test_input_parser.cc | 35 struct DataType; 40 const DataType& type, 43 struct DataType { struct in mojo::test::__anonea2408050111::ValidationTestInputParser 62 bool ParseUnsignedInteger(const DataType& type, 64 bool ParseSignedInteger(const DataType& type, 66 bool ParseFloat(const DataType& type, const std::string& value_string); 67 bool ParseDouble(const DataType& type, const std::string& value_string); 68 bool ParseBinarySequence(const DataType& type, 70 bool ParseDistance(const DataType& type, const std::string& value_string); 71 bool ParseAnchor(const DataType& type, const std::string& value_string); [all …]
|
/external/webrtc/webrtc/system_wrappers/test/TestSort/ |
D | TestSort.cc | 31 template<typename DataType> 34 DataType dataX = (DataType)*(const DataType*)dataX; in Compare() 35 DataType dataY = (DataType)*(const DataType*)dataY; in Compare() 48 template<typename DataType, typename KeyType> 51 KeyType keyX = ((const DataType*)dataX)->key; in CompareKey() 52 KeyType keyY = ((const DataType*)dataY)->key; in CompareKey() 65 template<typename DataType> 68 bool operator()(const DataType &dataX, const DataType &dataY) const in operator ()()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_build_util.h | 52 inline Instruction *mkOp(operation, DataType, Value *); 53 Instruction *mkOp1(operation, DataType, Value *, Value *); 54 Instruction *mkOp2(operation, DataType, Value *, Value *, Value *); 55 Instruction *mkOp3(operation, DataType, Value *, Value *, Value *, Value *); 57 LValue *mkOp1v(operation, DataType, Value *, Value *); 58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *); 59 LValue *mkOp3v(operation, DataType, Value *, Value *, Value *, Value *); 61 Instruction *mkLoad(DataType, Value *dst, Symbol *, Value *ptr); 62 Instruction *mkStore(operation, DataType, Symbol *, Value *ptr, Value *val); 64 LValue *mkLoadv(DataType, Symbol *, Value *ptr); [all …]
|