Home
last modified time | relevance | path

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

123

/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.cpp74 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
77 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
82 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
85 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
238 virtual void getInputValues (int numValues, void* const* values) const = 0;
300 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
312 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
468 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
489 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues()
491 …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()
340 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
391 …generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
392 …generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(ea… in getInputValues()
436 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
[all …]
Des31fShaderPackingFunctionTests.cpp179 const int numValues = (int)inputs.size(); in iterate() local
183 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate()
211 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
267 const int numValues = (int)inputs.size(); in iterate() local
301 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
370 const int numValues = (int)inputs.size(); in iterate() local
402 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
458 const int numValues = (int)inputs.size(); in iterate() local
492 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
566 const int numValues = (int)inputs.size(); in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
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()
335 …ntext& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* nam… in IntegerFunctionTestInstance() argument
339 , m_numValues (numValues) in IntegerFunctionTestInstance()
348 virtual void getInputValues (int numValues, void* const* values) const = 0;
433 …ntext& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* nam… in UaddCarryCaseInstance() argument
434 : IntegerFunctionTestInstance (context, shaderType, spec, numValues, name) in UaddCarryCaseInstance()
[all …]
DvktShaderCommonFunctionTests.cpp81 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
84 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
89 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
92 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
221 … getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint8>& data, const int numValues) in getInputOutputPointers() argument
234 curScalarOffset += scalarSize*numValues*componentBytes; in getInputOutputPointers()
398 …CommonFunctionTestInstance (Context& context, const ShaderSpec& spec, int numValues, const char* n… in CommonFunctionTestInstance() argument
401 , m_numValues (numValues) in CommonFunctionTestInstance()
409 virtual void getInputValues (int numValues, void* const* values) const = 0;
496 AbsCaseInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in AbsCaseInstance() argument
[all …]
DvktShaderPackingFunctionTests.cpp183 const int numValues = (int)inputs.size(); in iterate() local
187 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate()
215 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
289 const int numValues = (int)inputs.size(); in iterate() local
323 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
402 const int numValues = (int)inputs.size(); in iterate() local
434 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
508 const int numValues = (int)inputs.size(); in iterate() local
542 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
632 const int numValues = (int)inputs.size(); in iterate() local
[all …]
DvktShaderExecutor.cpp581 virtual void execute (int numValues,
591 void bindAttributes (int numValues,
655 static std::vector<tcu::Vec2> computeVertexPositions (int numValues, const tcu::IVec2& renderSize) in computeVertexPositions() argument
657 std::vector<tcu::Vec2> positions(numValues); in computeVertexPositions()
658 for (int valNdx = 0; valNdx < numValues; valNdx++) in computeVertexPositions()
794 void FragmentOutExecutor::bindAttributes (int numValues, const void* const* inputs) in bindAttributes() argument
831 …ibute((deUint32)m_vertexBindingDescriptions.size(), format, elementSize * vecSize, numValues, ptr); in bindAttributes()
889 void FragmentOutExecutor::execute (int numValues, const void* const* inputs, void* const* outputs, … in execute() argument
897 const deUint32 renderSizeX = de::min(static_cast<deUint32>(128), (deUint32)numValues); in execute()
898 …const deUint32 renderSizeY = ((deUint32)numValues / renderSizeX) + (((deUint32)numValu… in execute()
[all …]
DvktShaderFConvertTests.cpp190 const size_t numValues = interesting.size() + normals.size() + otherNormals.size(); in getInputValues() local
191 const size_t extraValues = numValues % kGCFNumFloats; in getInputValues()
325 info.numValues = numValues_; in calculate()
340 size_t numValues; member
477 size_t numValues = 0; in initPrograms() local
481 numValues = inputGenerator.getInputValues16().size(); in initPrograms()
484 numValues = inputGenerator.getInputValues32().size(); in initPrograms()
487 numValues = inputGenerator.getInputValues64().size(); in initPrograms()
494 const size_t arraySize = numValues / m_params.vectorLength; in initPrograms()
833 …s = unpackFloats<tcu::Float16>(outputMemory, m_params.vectorLength, inputBufferSizeInfo.numValues); in iterate()
[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/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/postmortem/
DvktPostmortemUseAfterFreeTests.cpp117 const deUint32 numValues,
124 const deUint32 numValues,
132 const deUint32 numValues,
147 const deUint32 numValues,
173 const deUint32 numValues, in UseAfterFreeTestCase() argument
179 , m_numValues (numValues) in UseAfterFreeTestCase()
190 const deUint32 numValues, in UBOToSSBOInvertCase() argument
194 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in UBOToSSBOInvertCase()
200 const deUint32 numValues, in CopyInvertSSBOCase() argument
204 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in CopyInvertSSBOCase()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp70 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
73 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
78 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
81 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
165 virtual void getInputValues (int numValues, void* const* values) const = 0;
225 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
237 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
393 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
414 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues()
416 …fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*sc… in getInputValues()
[all …]
Des3fShaderPackingFunctionTests.cpp179 const int numValues = (int)inputs.size(); in iterate() local
183 for (int valNdx = 0; valNdx < numValues; valNdx++) in iterate()
211 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
267 const int numValues = (int)inputs.size(); in iterate() local
301 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
370 const int numValues = (int)inputs.size(); in iterate() local
402 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
458 const int numValues = (int)inputs.size(); in iterate() local
492 …m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " value… in iterate()
566 const int numValues = (int)inputs.size(); in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp580 const size_t numValues = 500; in testPlaneView() local
581 vector<Vec2> texCoord (numValues); in testPlaneView()
582 vector<Vec4> resultWhole (numValues); in testPlaneView()
583 vector<Vec4> resultPlane (numValues); in testPlaneView()
584 vector<Vec4> referenceWhole (numValues); in testPlaneView()
585 vector<Vec4> referencePlane (numValues); in testPlaneView()
589 generateLookupCoordinates(size, numValues, &randomGen, &texCoord); in testPlaneView()
596 executor->execute((int)numValues, inputs, outputs, *descSet); in testPlaneView()
608 for (size_t ndx = 0; ndx < numValues; ++ndx) in testPlaneView()
616 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/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/harfbuzz_ng/src/
Dhb-subset-cff2.cc119 if (unlikely (!((arg.numValues > 0) && (env.argStack.get_count () >= arg.numValues)))) in flush_args()
125 i += arg.numValues; in flush_args()
141 for (unsigned int j = 0; j < arg.numValues; j++) in flatten_blends()
144 …if (unlikely (!((arg1.blending () && (arg.numValues == arg1.numValues) && (arg1.valueIndex == j) && in flatten_blends()
153 for (unsigned int j = 0; j < arg.numValues; j++) in flatten_blends()
160 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/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp162 const int numValues = workGroupSize * workGroupCount; in initPrograms() local
168 << " uint values[" << numValues << "];\n" in initPrograms()
333 const int numValues = workGroupSize * workGroupCount; in initPrograms() local
339 << " uint values[" << numValues << "];\n" in initPrograms()
504 const int numValues = workGroupSize * workGroupCount; in initPrograms() local
510 << " uint values[" << numValues << "];\n" in initPrograms()
1037 const deUint32 numValues,
1044 const deUint32 numValues,
1052 const deUint32 numValues,
1067 const deUint32 numValues,
[all …]
/external/llvm-project/clang/test/Analysis/
DCFContainers.mm24 CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CF…
80 …AllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDiction…
92 …yCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const
96 CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetC…
123 CFIndex numValues = 6;
135 …ryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)values, numValues, &keyCB, &valCB)…
136 …eate(kCFAllocatorDefault, (const void**)elems[0], (const void**)values, numValues, &keyCB, &valCB);
140 …aryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)elems, numValues, &keyCB, &valCB);
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp107 const deUint32 numValues = 1024; in iterate() local
169 const VkDeviceSize bufferSizeBytes = sizeof(deUint32) * numValues; in iterate()
175 data_vector_t inputData(numValues); in iterate()
182 for (deUint32 i = 0; i < numValues; ++i) in iterate()
321 for (deUint32 ndx = 0; ndx < numValues; ++ndx) in iterate()
/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()

123