Home
last modified time | relevance | path

Searched refs:numValues (Results 1 – 25 of 47) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp187 const int numValues = (int)product(m_workGroupSize); in iterate() local
196 const int minInt = -de::min(numValues/2, maxInt); in iterate()
197 vector<float> values (numValues*scalarSize); in iterate()
206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); in iterate()
207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); in iterate()
208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]); in iterate()
209 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]); in iterate()
215 const int minInt = -de::min(numValues/2, maxInt); in iterate()
216 vector<int> values (numValues*scalarSize); in iterate()
225 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0]); in iterate()
[all …]
Des31fShaderAtomicOpTests.cpp76 virtual void getInputs (int numValues, int stride, void* inputs) const = 0;
77 …virtual bool verify (int numValues, int inputStride, const void* inputs, int outputStride, co…
123 const deUint32 numValues = product(m_workGroupSize)*product(m_numWorkGroups); in init() local
132 << " " << precName << " " << typeName << " inputValues[" << numValues << "];\n" in init()
133 << " " << precName << " " << outTypeName << " outputValues[" << numValues << "];\n" in init()
203 const deUint32 numValues = product(m_workGroupSize)*product(m_numWorkGroups); in iterate() local
205 TCU_CHECK(inVarInfo.arraySize == numValues && in iterate()
206 outVarInfo.arraySize == numValues && in iterate()
216 getInputs((int)numValues, (int)inVarInfo.arrayStride, &bufData[0] + inVarInfo.offset); in iterate()
240 isOk = verify((int)numValues, in iterate()
[all …]
Des31fShaderCommonFunctionTests.cpp87 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
90 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
95 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
98 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
251 virtual void getInputValues (int numValues, void* const* values) const = 0;
312 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
324 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
508 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
529 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues()
531 …fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*sc… in getInputValues()
[all …]
Des31fShaderIntegerFunctionTests.cpp137 …derType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) in generateRandomInputData() argument
146 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData()
152 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData()
176 virtual void getInputValues (int numValues, void* const* values) const = 0;
236 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
248 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
368 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
419 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
420 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
464 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
[all …]
Des31fShaderPackingFunctionTests.cpp207 const int numValues = (int)inputs.size(); in iterate() local
211 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate()
239 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
295 const int numValues = (int)inputs.size(); in iterate() local
329 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
398 const int numValues = (int)inputs.size(); in iterate() local
430 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
486 const int numValues = (int)inputs.size(); in iterate() local
520 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
594 const int numValues = (int)inputs.size(); in iterate() local
[all …]
Des31fBasicComputeShaderTests.cpp121 …UBOToSSBOInvertCase (Context& context, const char* name, const char* description, int numValues, c… in UBOToSSBOInvertCase() argument
123 , m_numValues (numValues) in UBOToSSBOInvertCase()
243 …CopyInvertSSBOCase (Context& context, const char* name, const char* description, int numValues, co… in CopyInvertSSBOCase() argument
245 , m_numValues (numValues) in CopyInvertSSBOCase()
366 …InvertSSBOInPlaceCase (Context& context, const char* name, const char* description, int numValues,… in InvertSSBOInPlaceCase() argument
368 , m_numValues (numValues) in InvertSSBOInPlaceCase()
470 …OCase (Context& context, const char* name, const char* description, int numValues, bool isSized, c… in WriteToMultipleSSBOCase() argument
472 , m_numValues (numValues) in WriteToMultipleSSBOCase()
611 const int numValues = workGroupSize*workGroupCount; in iterate() local
619 << " coherent uint values[" << numValues << "];\n" in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp91 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
94 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
99 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
102 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
255 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
267 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
480 …ntext& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* nam… in CommonFunctionTestInstance() argument
484 , m_numValues (numValues) in CommonFunctionTestInstance()
492 virtual void getInputValues (int numValues, void* const* values) const = 0;
578 …ntext& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* nam… in AbsCaseInstance() argument
[all …]
DvktShaderIntegerFunctionTests.cpp139 …derType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) in generateRandomInputData() argument
148 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData()
154 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx) in generateRandomInputData()
176 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
188 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
356 …ntext& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* nam… in IntegerFunctionTestInstance() argument
360 , m_numValues (numValues) in IntegerFunctionTestInstance()
369 virtual void getInputValues (int numValues, void* const* values) const = 0;
454 …ntext& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* nam… in UaddCarryCaseInstance() argument
455 : IntegerFunctionTestInstance (context, shaderType, spec, numValues, name) in UaddCarryCaseInstance()
[all …]
DvktShaderExecutor.cpp580 virtual void execute (int numValues,
590 void bindAttributes (int numValues,
654 static std::vector<tcu::Vec2> computeVertexPositions (int numValues, const tcu::IVec2& renderSize) in computeVertexPositions() argument
656 std::vector<tcu::Vec2> positions(numValues); in computeVertexPositions()
657 for (int valNdx = 0; valNdx < numValues; valNdx++) in computeVertexPositions()
793 void FragmentOutExecutor::bindAttributes (int numValues, const void* const* inputs) in bindAttributes() argument
828 …ibute((deUint32)m_vertexBindingDescriptions.size(), format, elementSize * vecSize, numValues, ptr); in bindAttributes()
886 void FragmentOutExecutor::execute (int numValues, const void* const* inputs, void* const* outputs, … in execute() argument
894 … renderSizeX = de::min(static_cast<deUint32>(DEFAULT_RENDER_WIDTH), (deUint32)numValues); in execute()
895 …const deUint32 renderSizeY = ((deUint32)numValues / renderSizeX) + (((deUint32)numValu… in execute()
[all …]
DvktShaderPackingFunctionTests.cpp208 const int numValues = (int)inputs.size(); in iterate() local
212 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate()
240 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
314 const int numValues = (int)inputs.size(); in iterate() local
348 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
431 const int numValues = (int)inputs.size(); in iterate() local
463 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
537 const int numValues = (int)inputs.size(); in iterate() local
571 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
661 const int numValues = (int)inputs.size(); in iterate() local
[all …]
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp488 void execute (int numValues, const void* const* inputs, void* const* outputs);
566 void FragmentOutExecutor::execute (int numValues, const void* const* inputs, void* const* outputs) in execute() argument
571 const int framebufferW = de::min(maxRenderbufferSize, numValues); in execute()
572 …const int framebufferH = (numValues / framebufferW) + ((numValues % framebufferW != 0) ? 1 :… in execute()
578 vector<tcu::Vec2> positions (numValues); in execute()
584 for (int valNdx = 0; valNdx < numValues; valNdx++) in execute()
595 vertexArrays.push_back(glu::va::Float("a_position", 2, numValues, 0, (const float*)&positions[0])); in execute()
606 vertexArrays.push_back(glu::va::Float(attribName, vecSize, numValues, 0, (const float*)ptr)); in execute()
608 vertexArrays.push_back(glu::va::Int32(attribName, vecSize, numValues, 0, (const deInt32*)ptr)); in execute()
610 vertexArrays.push_back(glu::va::Uint32(attribName, vecSize, numValues, 0, (const deUint32*)ptr)); in execute()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineUniqueRandomIterator.hpp41 UniqueRandomIterator (deUint32 numItems, deUint32 numValues, int seed);
56 UniqueRandomIterator<T>::UniqueRandomIterator (deUint32 numItems, deUint32 numValues, int seed) in UniqueRandomIterator() argument
60 DE_ASSERT(numItems <= numValues); in UniqueRandomIterator()
62 if (numItems == numValues) in UniqueRandomIterator()
76 uniqueIndices.insert(rnd.getUint32() % numValues); in UniqueRandomIterator()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp83 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
86 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
91 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
94 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
178 virtual void getInputValues (int numValues, void* const* values) const = 0;
238 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
250 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
430 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
451 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues()
453 …fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*sc… in getInputValues()
[all …]
Des3fShaderPackingFunctionTests.cpp203 const int numValues = (int)inputs.size(); in iterate() local
207 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate()
235 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
291 const int numValues = (int)inputs.size(); in iterate() local
325 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
394 const int numValues = (int)inputs.size(); in iterate() local
426 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
482 const int numValues = (int)inputs.size(); in iterate() local
516 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
590 const int numValues = (int)inputs.size(); in iterate() local
[all …]
Des3fDepthStencilTests.cpp232 void getStencilTestValues (int stencilBits, int numValues, int* values) in getStencilTestValues() argument
234 int numLowest = numValues/2; in getStencilTestValues()
235 int numHighest = numValues-numLowest; in getStencilTestValues()
242 values[numValues-ndx-1] = maxVal-ndx; in getStencilTestValues()
273 int numValues = DE_LENGTH_OF_ARRAY(depthValues); in generateBaseClearAndDepthCommands() local
274 float depthStep = 2.0f/(float)(numValues-1); in generateBaseClearAndDepthCommands()
276 for (int ndx = 0; ndx < numValues; ndx++) in generateBaseClearAndDepthCommands()
338 const int numValues = 4*4; in generateStencilVisualizeCommands() local
339 float colorStep = 1.0f / numValues; // 0 is reserved for non-matching. in generateStencilVisualizeCommands()
340 int stencilValues[numValues]; in generateStencilVisualizeCommands()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp619 const size_t numValues = 500; in testPlaneView() local
620 vector<Vec2> texCoord (numValues); in testPlaneView()
621 vector<Vec4> resultWhole (numValues); in testPlaneView()
622 vector<Vec4> resultPlane (numValues); in testPlaneView()
623 vector<Vec4> referenceWhole (numValues); in testPlaneView()
624 vector<Vec4> referencePlane (numValues); in testPlaneView()
628 generateLookupCoordinates(size, numValues, &randomGen, &texCoord); in testPlaneView()
635 executor->execute((int)numValues, inputs, outputs, *descSet); in testPlaneView()
647 for (size_t ndx = 0; ndx < numValues; ++ndx) in testPlaneView()
655 for (size_t ndx = 0; ndx < numValues; ++ndx) in testPlaneView()
[all …]
/external/deqp/framework/common/
DtcuAstcUtil.cpp120 inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues) in computeNumRequiredBits() argument
124 case ISEMODE_TRIT: return deDivRoundUp32(numValues*8, 5) + numValues*iseParams.numBits; in computeNumRequiredBits()
125 case ISEMODE_QUINT: return deDivRoundUp32(numValues*7, 3) + numValues*iseParams.numBits; in computeNumRequiredBits()
126 case ISEMODE_PLAIN_BIT: return numValues*iseParams.numBits; in computeNumRequiredBits()
579 void decodeISETritBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int numBits) in decodeISETritBlock() argument
581 DE_ASSERT(de::inRange(numValues, 1, 5)); in decodeISETritBlock()
596 switch (numValues) in decodeISETritBlock()
640 for (int i = 0; i < numValues; i++) in decodeISETritBlock()
648 void decodeISEQuintBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int numBits) in decodeISEQuintBlock() argument
650 DE_ASSERT(de::inRange(numValues, 1, 3)); in decodeISEQuintBlock()
[all …]
/external/u-boot/cmd/
Dyaffs2.c160 ulong numValues; in do_ywr() local
169 numValues = simple_strtoul(argv[3], NULL, 16); in do_ywr()
171 printf("Writing value (%lx) %lx times to %s... ", value, numValues, in do_ywr()
174 cmd_yaffs_write_file(filename, value, numValues); in do_ywr()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp156 const int numValues = workGroupSize * workGroupCount; in initPrograms() local
162 << " uint values[" << numValues << "];\n" in initPrograms()
327 const int numValues = workGroupSize * workGroupCount; in initPrograms() local
333 << " uint values[" << numValues << "];\n" in initPrograms()
498 const int numValues = workGroupSize * workGroupCount; in initPrograms() local
504 << " uint values[" << numValues << "];\n" in initPrograms()
1031 const deUint32 numValues,
1038 const deUint32 numValues,
1046 const deUint32 numValues,
1061 const deUint32 numValues,
[all …]
/external/harfbuzz_ng/src/
Dhb-subset-cff2.cc115 if (unlikely (!((arg.numValues > 0) && (env.argStack.get_count () >= arg.numValues)))) in flush_args()
121 i += arg.numValues; in flush_args()
137 for (unsigned int j = 0; j < arg.numValues; j++) in flatten_blends()
140 …if (unlikely (!((arg1.blending () && (arg.numValues == arg1.numValues) && (arg1.valueIndex == j) && in flatten_blends()
149 for (unsigned int j = 0; j < arg.numValues; j++) in flatten_blends()
156 encoder.encode_int (arg.numValues); in flatten_blends()
Dhb-cff2-interp-cs.hh57 numValues = numValues_; in set_blends()
67 numValues = valueIndex = 0; in reset_blends()
71 unsigned int numValues; member
/external/clang/test/Analysis/
DCFContainers.mm21 CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CF…
77 …AllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDiction…
89 …yCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const
93 CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetC…
116 CFIndex numValues = 6;
128 …ryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)values, numValues, &keyCB, &valCB)…
129 …eate(kCFAllocatorDefault, (const void**)elems[0], (const void**)values, numValues, &keyCB, &valCB)…
130 …aryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)elems, numValues, &keyCB, &valCB)…
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorForcedEval.h117 const Index numValues = internal::array_prod(m_impl.dimensions());
118 m_buffer = (CoeffReturnType*)m_device.allocate(numValues * sizeof(CoeffReturnType));
121 for (Index i = 0; i < numValues; ++i) {
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp441 int32_t numValues = fValueVec->size(); in outputData() local
442 U_ASSERT(numKeys == numValues); in outputData()
448 for (i=0; i<numValues; i++) { in outputData()
455 rawData->fCFUStringIndexSize = numValues; in outputData()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp232 void getStencilTestValues (int stencilBits, int numValues, int* values) in getStencilTestValues() argument
234 int numLowest = numValues/2; in getStencilTestValues()
235 int numHighest = numValues-numLowest; in getStencilTestValues()
242 values[numValues-ndx-1] = maxVal-ndx; in getStencilTestValues()
273 int numValues = DE_LENGTH_OF_ARRAY(depthValues); in generateBaseClearAndDepthCommands() local
274 float depthStep = 2.0f/(float)(numValues-1); in generateBaseClearAndDepthCommands()
276 for (int ndx = 0; ndx < numValues; ndx++) in generateBaseClearAndDepthCommands()
338 const int numValues = 4*4; in generateStencilVisualizeCommands() local
339 float colorStep = 1.0f / numValues; // 0 is reserved for non-matching. in generateStencilVisualizeCommands()
340 int stencilValues[numValues]; in generateStencilVisualizeCommands()
[all …]

12