Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp186 const int numValues = (int)product(m_workGroupSize); in iterate() local
195 const int minInt = -de::min(numValues/2, maxInt); in iterate()
196 vector<float> values (numValues*scalarSize); in iterate()
205 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); in iterate()
206 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); in iterate()
207 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]); in iterate()
208 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]); in iterate()
214 const int minInt = -de::min(numValues/2, maxInt); in iterate()
215 vector<int> values (numValues*scalarSize); in iterate()
224 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.cpp84 …T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0) in fillRandomVectors() argument
87 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomVectors()
92 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, i… in fillRandomScalars() argument
95 for (int ndx = 0; ndx < numValues; ndx++) in fillRandomScalars()
205 virtual void getInputValues (int numValues, void* const* values) const = 0;
265 …getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues) in getInputOutputPointers() argument
277 curScalarOffset += scalarSize*numValues; in getInputOutputPointers()
461 void getInputValues (int numValues, void* const* values) const in getInputValues() argument
482 …lars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize); in getInputValues()
484 …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.cpp118 …UBOToSSBOInvertCase (Context& context, const char* name, const char* description, int numValues, c… in UBOToSSBOInvertCase() argument
120 , m_numValues (numValues) in UBOToSSBOInvertCase()
238 …CopyInvertSSBOCase (Context& context, const char* name, const char* description, int numValues, co… in CopyInvertSSBOCase() argument
240 , m_numValues (numValues) in CopyInvertSSBOCase()
359 …InvertSSBOInPlaceCase (Context& context, const char* name, const char* description, int numValues,… in InvertSSBOInPlaceCase() argument
361 , m_numValues (numValues) in InvertSSBOInPlaceCase()
461 …OCase (Context& context, const char* name, const char* description, int numValues, bool isSized, c… in WriteToMultipleSSBOCase() argument
463 , m_numValues (numValues) in WriteToMultipleSSBOCase()
600 const int numValues = workGroupSize*workGroupCount; in iterate() local
606 << " coherent uint values[" << numValues << "];\n" in iterate()
[all …]
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp412 void execute (int numValues, const void* const* inputs, void* const* outputs);
466 void VertexProcessorExecutor::execute (int numValues, const void* const* inputs, void* const* outpu… in execute() argument
484 vertexArrays.push_back(glu::va::Float(symbol.name, vecSize, numValues, 0, (const float*)ptr)); in execute()
486 vertexArrays.push_back(glu::va::Int32(symbol.name, vecSize, numValues, 0, (const deInt32*)ptr)); in execute()
488 … vertexArrays.push_back(glu::va::Uint32(symbol.name, vecSize, numValues, 0, (const deUint32*)ptr)); in execute()
496 …vertexArrays.push_back(glu::va::Float(symbol.name, colNdx, numRows, numValues, stride, ((const flo… in execute()
506 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, outputBufferStride*numValues, DE_NULL, GL_STREAM_READ); in execute()
514 glu::pr::Points(numValues)); in execute()
521 …= gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, outputBufferStride*numValues, GL_MAP_READ_BIT… in execute()
533 for (int ndx = 0; ndx < numValues; ndx++) in execute()
[all …]
DglsShaderExecUtil.hpp88 virtual void execute (int numValues, const void* const* inputs, void* const* outputs) = 0;
/external/chromium_org/third_party/skia/src/core/
DSkConvolver.cpp119 int numValues = filter.numValues(); in ConvolveHorizontally() local
120 for (int outX = 0; outX < numValues; outX++) { in ConvolveHorizontally()
393 int rowBufferWidth = (filterX.numValues() + 15) & ~0xF; in BGRAConvolve2D()
402 SkASSERT(outputByteRowStride >= filterX.numValues() * 4); in BGRAConvolve2D()
403 int numOutputRows = filterY.numValues(); in BGRAConvolve2D()
416 filterX.FilterForValue(filterX.numValues() - 1, &lastFilterOffset, in BGRAConvolve2D()
480 filterX.numValues(), curOutputRow, in BGRAConvolve2D()
485 filterX.numValues(), curOutputRow, in BGRAConvolve2D()
/external/skia/src/core/
DSkConvolver.cpp119 int numValues = filter.numValues(); in ConvolveHorizontally() local
120 for (int outX = 0; outX < numValues; outX++) { in ConvolveHorizontally()
365 int rowBufferWidth = (filterX.numValues() + 15) & ~0xF; in BGRAConvolve2D()
374 SkASSERT(outputByteRowStride >= filterX.numValues() * 4); in BGRAConvolve2D()
375 int numOutputRows = filterY.numValues(); in BGRAConvolve2D()
388 filterX.FilterForValue(filterX.numValues() - 1, &lastFilterOffset, in BGRAConvolve2D()
452 filterX.numValues(), curOutputRow, in BGRAConvolve2D()
457 filterX.numValues(), curOutputRow, in BGRAConvolve2D()
/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 …]
Des3fASTCDecompressionCases.cpp339 static inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues) in computeNumRequiredBits() argument
343 case ISEMODE_TRIT: return divRoundUp(numValues*8, 5) + numValues*iseParams.numBits; in computeNumRequiredBits()
344 case ISEMODE_QUINT: return divRoundUp(numValues*7, 3) + numValues*iseParams.numBits; in computeNumRequiredBits()
345 case ISEMODE_PLAIN_BIT: return numValues*iseParams.numBits; in computeNumRequiredBits()
658 …xplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues) in encodeISETritBlock() argument
680 DE_ASSERT(de::inRange(numValues, 1, 5)); in encodeISETritBlock()
687 if (i < numValues) in encodeISETritBlock()
725 …xplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues) in encodeISEQuintBlock() argument
737 DE_ASSERT(de::inRange(numValues, 1, 3)); in encodeISEQuintBlock()
744 if (i < numValues) in encodeISEQuintBlock()
[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/(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/clang/test/Analysis/
DCFContainers.mm21 CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CF…
76 …AllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDiction…
88 …yCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const
92 CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetC…
115 CFIndex numValues = 6;
127 …ryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)values, numValues, &keyCB, &valCB)…
128 …eate(kCFAllocatorDefault, (const void**)elems[0], (const void**)values, numValues, &keyCB, &valCB)…
129 …aryCreate(kCFAllocatorDefault, (const void**)keys, (const void**)elems, numValues, &keyCB, &valCB)…
Dcfref_PR2519.c19 …AllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDiction…
/external/deqp/framework/common/
DtcuRandomValueIterator.hpp61 …domValueIterator begin (deUint32 seed, int numValues) { return RandomValueIterator<T>(seed, nu… in begin() argument
DtcuCompressedTexture.cpp1292 static inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues) in computeNumRequiredBits() argument
1296 case ISEMODE_TRIT: return divRoundUp(numValues*8, 5) + numValues*iseParams.numBits; in computeNumRequiredBits()
1297 case ISEMODE_QUINT: return divRoundUp(numValues*7, 3) + numValues*iseParams.numBits; in computeNumRequiredBits()
1298 case ISEMODE_PLAIN_BIT: return numValues*iseParams.numBits; in computeNumRequiredBits()
1595 static void decodeISETritBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int nu… in decodeISETritBlock() argument
1597 DE_ASSERT(de::inRange(numValues, 1, 5)); in decodeISETritBlock()
1612 switch (numValues) in decodeISETritBlock()
1648 for (int i = 0; i < numValues; i++) in decodeISETritBlock()
1656 static void decodeISEQuintBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int n… in decodeISEQuintBlock() argument
1658 DE_ASSERT(de::inRange(numValues, 1, 3)); in decodeISEQuintBlock()
[all …]
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationsWriter.java343 public void arrayValue(int numValues) throws IOException { in arrayValue() argument
345 write16bit(numValues); in arrayValue()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSParserValues.cpp34 size_t numValues = values.size(); in destroy() local
35 for (size_t i = 0; i < numValues; i++) { in destroy()
/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/(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/chromium_org/third_party/icu/source/i18n/
Duspoof_conf.cpp431 int32_t numValues = fValueVec->size(); in outputData() local
432 U_ASSERT(numKeys == numValues); in outputData()
438 for (i=0; i<numValues; i++) { in outputData()
445 rawData->fCFUStringIndexSize = numValues; in outputData()
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapProcState_arm_neon.cpp106 int numValues = filter.numValues(); in convolveHorizontally_neon() local
107 for (int outX = 0; outX < numValues; outX++) { in convolveHorizontally_neon()
386 int num_values = filter.numValues(); in convolve4RowsHorizontally_neon()
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp431 int32_t numValues = fValueVec->size(); in outputData() local
432 U_ASSERT(numKeys == numValues); in outputData()
438 for (i=0; i<numValues; i++) { in outputData()
445 rawData->fCFUStringIndexSize = numValues; in outputData()
/external/skia/src/opts/
DSkBitmapProcState_arm_neon.cpp106 int numValues = filter.numValues(); in convolveHorizontally_neon() local
107 for (int outX = 0; outX < numValues; outX++) { in convolveHorizontally_neon()
386 int num_values = filter.numValues(); in convolve4RowsHorizontally_neon()

12