Home
last modified time | relevance | path

Searched refs:dataType (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/deqp/framework/opengl/
DgluShaderUtil.hpp258 const char* getDataTypeName (DataType dataType);
259 int getDataTypeScalarSize (DataType dataType);
260 DataType getDataTypeScalarType (DataType dataType);
261 DataType getDataTypeFloat16Scalars (DataType dataType);
262 DataType getDataTypeFloatScalars (DataType dataType);
263 DataType getDataTypeDoubleScalars (DataType dataType);
272 …ine bool isDataTypeFloat16OrVec (DataType dataType) { return (dataType >= TYPE_FLOAT16) && … in isDataTypeFloat16OrVec() argument
273 …nline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatOrVec() argument
274 …nline bool isDataTypeFloatType (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatType() argument
275 …nline bool isDataTypeDoubleType (DataType dataType) { return (dataType >= TYPE_DOUBLE) && … in isDataTypeDoubleType() argument
[all …]
DgluShaderUtil.cpp196 const char* getDataTypeName (DataType dataType) in getDataTypeName() argument
326 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_names))); in getDataTypeName()
327 return s_names[(int)dataType]; in getDataTypeName()
330 int getDataTypeScalarSize (DataType dataType) in getDataTypeScalarSize() argument
460 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_sizes))); in getDataTypeScalarSize()
461 return s_sizes[(int)dataType]; in getDataTypeScalarSize()
464 DataType getDataTypeScalarType (DataType dataType) in getDataTypeScalarType() argument
594 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_scalarTypes))); in getDataTypeScalarType()
595 return s_scalarTypes[(int)dataType]; in getDataTypeScalarType()
598 DataType getDataTypeFloat16Scalars (DataType dataType) in getDataTypeFloat16Scalars() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() argument
142 switch (dataType) in getElementSize()
215 bool samplersNeeded (DataType dataType) in samplersNeeded() argument
219 switch (dataType) in samplersNeeded()
237 bool storageImageNeeded (DataType dataType) in storageImageNeeded() argument
239 return (dataType == DataType::PTR_TEXEL); in storageImageNeeded()
245 std::pair<std::string, std::string> getGLSLInputValDecl (DataType dataType, VectorType vectorType) in getGLSLInputValDecl() argument
251 const auto dataTypeIdx = static_cast<int>(dataType); in getGLSLInputValDecl()
315 const auto key = std::make_pair(dataType, vectorType); in getGLSLInputValDecl()
325 else if (dataType == DataType::STRUCT) in getGLSLInputValDecl()
[all …]
/external/tensorflow/tensorflow/lite/swift/Tests/
DTensorTests.swift23 let dataType: Tensor.DataType = .uInt8 in testInit() variable
29 dataType: dataType, in testInit()
35 XCTAssertEqual(inputTensor.dataType, dataType) in testInit()
43 let dataType: Tensor.DataType = .uInt8 in testEquatable() variable
49 dataType: dataType, in testEquatable()
56 dataType: dataType, in testEquatable()
65 dataType: dataType, in testEquatable()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution10.java114 if (value.dataType == Res_value.TYPE_REFERENCE) { in ResolveAttrs()
154 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
163 … ALOGI("-> From def style: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
173 if (value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
181 ALOGI("-> Resolved attr: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
188 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
196 … ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
206 if (value.dataType == Res_value.TYPE_REFERENCE && value.data == 0) { in ResolveAttrs()
215 ALOGI("Attribute 0x%08x: type=0x%x, data=0x%08x", cur_ident, value.dataType, in ResolveAttrs()
220 out_values[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
[all …]
DAttributeResolution9.java110 if (value.dataType == Res_value.TYPE_REFERENCE) { in ResolveAttrs()
150 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
159 ALOGI("-> From def style: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
169 if (value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
177 ALOGI("-> Resolved attr: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
184 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
192 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
202 if (value.dataType == Res_value.TYPE_REFERENCE && value.data == 0) { in ResolveAttrs()
211 ALOGI("Attribute 0x%08x: type=0x%x, data=0x%08x", cur_ident, value.dataType, in ResolveAttrs()
216 out_values[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
[all …]
DAttributeResolution.java85 if (value.dataType == Res_value.TYPE_REFERENCE) { in ResolveAttrs()
128 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
137 ALOGI("-> From def style: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
147 if (value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
157 ALOGI("-> Resolved attr: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
168 ALOGI("-> From theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
182 ALOGI("-> Resolved theme: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
188 if (value.dataType == Res_value.TYPE_REFERENCE && value.data == 0) { in ResolveAttrs()
197 ALOGI("Attribute 0x%08x: type=0x%x, data=0x%08x", curIdent, value.dataType, in ResolveAttrs()
202 outValues[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
[all …]
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DTensorImage.java51 private final DataType dataType; field in TensorImage
81 public TensorImage(DataType dataType) { in TensorImage() argument
83 dataType == DataType.UINT8 || dataType == DataType.FLOAT32, in TensorImage()
85 this.dataType = dataType; in TensorImage()
108 public static TensorImage createFrom(TensorImage src, DataType dataType) { in createFrom() argument
109 TensorImage dst = new TensorImage(dataType); in createFrom()
259 return container.getTensorBuffer(dataType); in getTensorBuffer()
269 return dataType; in getDataType()
/external/deqp/modules/gles3/scripts/
Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
108 scalarSize = getDataTypeScalarSize(dataType)
109 print(inputType, precision, dataType)
171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument
174 self.dataType = dataType
255 for dataType in VECTOR_TYPES:
256 scalarSize = getDataTypeScalarSize(dataType)
262 caseName = "%s_%s_%s" % (precision, dataType, swizzle)
263 inputs = INPUTS[dataType]
266 …torSwizzleCases.append(SwizzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, …
Dgen-large-constant-arrays.py76 def genArray(dataType, size): argument
79 if dataType == "float":
81 if dataType == "vec4":
100 for dataType in DATA_TYPES:
103 array = genArray(dataType, arraySize)
106 caseName = "%s_%s" % (dataType, arraySize)
Dgen-swizzle-math-operations.py164 for dataType in VECTOR_TYPES:
165 scalarSize = getDataTypeScalarSize(dataType)
174 operands1 = INPUTS[dataType]
175 operands2 = INPUTS[dataType] # these input values will be swizzled
179 caseName = "%s_%s_%s_%s" % (precision, dataType, swizzle1, swizzle2)
184 [("%s in0" % dataType, operands1)],
185 [("%s in1" % dataType, operands2)],
/external/deqp/modules/gles2/scripts/
Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
108 scalarSize = getDataTypeScalarSize(dataType)
109 print(inputType, precision, dataType)
167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument
170 self.dataType = dataType
251 for dataType in VECTOR_TYPES:
252 scalarSize = getDataTypeScalarSize(dataType)
258 caseName = "%s_%s_%s" % (precision, dataType, swizzle)
259 inputs = INPUTS[dataType]
262 …torSwizzleCases.append(SwizzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, …
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp126 int scalarSize = getDataTypeScalarSize(val.dataType); in setUniformValue()
136 switch (val.dataType) in setUniformValue()
380 DataType dataType = val.dataType; in execute() local
381 int scalarSize = getDataTypeScalarSize(val.dataType); in execute()
390 if (isDataTypeFloatOrVec(dataType) || isDataTypeMatrix(dataType)) in execute()
413 if ((m_caseType == CASETYPE_FRAGMENT_ONLY) || (getDataTypeScalarType(dataType) != TYPE_FLOAT)) in execute()
426 if (isDataTypeMatrix(dataType)) in execute()
428 int numCols = getDataTypeMatrixNumColumns(dataType); in execute()
429 int numRows = getDataTypeMatrixNumRows(dataType); in execute()
439 DE_ASSERT(isDataTypeFloatOrVec(dataType) || isDataTypeIntOrIVec(dataType) || in execute()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMediaSourceEventListener.java199 public void loadStarted(LoadEventInfo loadEventInfo, int dataType) { in loadStarted() argument
202 dataType, in loadStarted()
213 int dataType, in loadStarted() argument
223 dataType, in loadStarted()
239 public void loadCompleted(LoadEventInfo loadEventInfo, int dataType) { in loadCompleted() argument
242 dataType, in loadCompleted()
253 int dataType, in loadCompleted() argument
263 dataType, in loadCompleted()
279 public void loadCanceled(LoadEventInfo loadEventInfo, int dataType) { in loadCanceled() argument
282 dataType, in loadCanceled()
[all …]
DMediaLoadData.java26 public final int dataType; field in MediaLoadData
76 int dataType, in MediaLoadData() argument
83 this.dataType = dataType; in MediaLoadData()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/tensorbuffer/
DTensorBuffer.java75 public static TensorBuffer createFixedSize(@NonNull int[] shape, DataType dataType) { in createFixedSize() argument
76 switch (dataType) { in createFixedSize()
82 throw new AssertionError("TensorBuffer does not support data type: " + dataType); in createFixedSize()
96 public static TensorBuffer createDynamic(DataType dataType) { in createDynamic() argument
97 switch (dataType) { in createDynamic()
103 throw new AssertionError("TensorBuffer does not support data type: " + dataType); in createDynamic()
115 public static TensorBuffer createFrom(@NonNull TensorBuffer buffer, DataType dataType) { in createFrom() argument
119 result = createDynamic(dataType); in createFrom()
121 result = createFixedSize(buffer.shape, dataType); in createFrom()
126 if (buffer.getDataType() == DataType.FLOAT32 && dataType == DataType.FLOAT32) { in createFrom()
/external/skia/platform_tools/debugging/lldb/
Dskia.py70 offset, self.dataType)
78 self.dataType = self.fItemArray.GetType().GetPointeeType()
79 self.dataSize = self.dataType.GetByteSize()
116 offset, self.dataType)
127 self.dataType = self.fValue.GetType().GetPointeeType()
128 self.dataSize = self.dataType.GetByteSize()
165 offset, self.dataType)
173 self.dataType = self.fPtr.GetType().GetPointeeType()
174 self.dataSize = self.dataType.GetByteSize()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp340 glu::DataType dataType, in verifyConstantDerivate() argument
347 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate()
348 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate()
404 glu::DataType dataType, in reverifyConstantDerivateWithFlushRelaxations() argument
420 const int numComponents = glu::getDataTypeFloatScalars(dataType); in reverifyConstantDerivateWithFlushRelaxations()
529 dataType = glu::TYPE_LAST; in DerivateCaseDefinition()
539 glu::DataType dataType; member
755 DE_ASSERT(glu::isDataTypeFloatOrVec(definitions.dataType)); in setup()
757 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup()
758 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup()
[all …]
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp54 deUint32 dataType; in init() member
70 deUint32 dataType = texFormats[formatNdx].dataType; in init() local
77 …g descriptionBase = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init()
79 …enderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, dataType, wrapS, wrapT, mi… in init()
Des2pTextureCountTests.cpp56 deUint32 dataType; in init() member
71 deUint32 dataType = texFormats[formatNdx].dataType; in init() local
78 …ring description = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init()
80 …addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, dataType, w… in init()
/external/protobuf/objectivec/google/protobuf/
DApi.pbobjc.m90 .dataType = GPBDataTypeString,
99 .dataType = GPBDataTypeMessage,
108 .dataType = GPBDataTypeMessage,
117 .dataType = GPBDataTypeString,
126 .dataType = GPBDataTypeMessage,
135 .dataType = GPBDataTypeMessage,
144 .dataType = GPBDataTypeEnum,
211 .dataType = GPBDataTypeString,
220 .dataType = GPBDataTypeString,
229 .dataType = GPBDataTypeBool,
[all …]
DType.pbobjc.m125 .dataType = GPBDataTypeString,
134 .dataType = GPBDataTypeMessage,
143 .dataType = GPBDataTypeString,
152 .dataType = GPBDataTypeMessage,
161 .dataType = GPBDataTypeMessage,
170 .dataType = GPBDataTypeEnum,
244 .dataType = GPBDataTypeEnum,
253 .dataType = GPBDataTypeEnum,
262 .dataType = GPBDataTypeInt32,
271 .dataType = GPBDataTypeString,
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DLoadErrorHandlingPolicy.java82 int dataType, long loadDurationMs, IOException exception, int errorCount); in getBlacklistDurationMsFor() argument
94 loadErrorInfo.mediaLoadData.dataType, in getBlacklistDurationMsFor()
117 long getRetryDelayMsFor(int dataType, long loadDurationMs, IOException exception, int errorCount); in getRetryDelayMsFor() argument
133 loadErrorInfo.mediaLoadData.dataType, in getRetryDelayMsFor()
149 int getMinimumLoadableRetryCount(int dataType); in getMinimumLoadableRetryCount() argument
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterFlexTest.java72 assertThat(interpreter.getInputTensor(0).dataType()).isEqualTo(DataType.FLOAT32); in testCommon()
73 assertThat(interpreter.getInputTensor(1).dataType()).isEqualTo(DataType.FLOAT32); in testCommon()
74 assertThat(interpreter.getInputTensor(2).dataType()).isEqualTo(DataType.FLOAT32); in testCommon()
75 assertThat(interpreter.getInputTensor(3).dataType()).isEqualTo(DataType.FLOAT32); in testCommon()
77 assertThat(interpreter.getOutputTensor(0).dataType()).isEqualTo(DataType.FLOAT32); in testCommon()
78 assertThat(interpreter.getOutputTensor(1).dataType()).isEqualTo(DataType.FLOAT32); in testCommon()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp45 deUint32 dataType = GL_NONE; in texImage2D() local
55 dataType = GL_UNSIGNED_BYTE; in texImage2D()
62 dataType = transferFmt.dataType; in texImage2D()
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); in texImage2D()

1234567891011