HomeSort by relevance Sort by last modified time
    Searched refs:numValues (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /libcore/support/src/test/java/tests/util/
SummaryStatistics.java 21 private int numValues;
43 numValues++;
49 return sum / numValues;
54 return (squaresSum / numValues) - square(mean());
70 sb.append(numValues);
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineUniqueRandomIterator.hpp 41 UniqueRandomIterator (deUint32 numItems, deUint32 numValues, int seed);
56 UniqueRandomIterator<T>::UniqueRandomIterator (deUint32 numItems, deUint32 numValues, int seed)
60 DE_ASSERT(numItems <= numValues);
62 if (numItems == numValues)
74 // Populate set with "numItems" unique values between 0 and numValues - 1
76 uniqueIndices.insert(rnd.getUint32() % numValues);
  /external/deqp/modules/gles31/functional/
es31fShaderSharedVarTests.cpp 187 const int numValues = (int)product(m_workGroupSize);
196 const int minInt = -de::min(numValues/2, maxInt);
197 vector<float> values (numValues*scalarSize);
206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]);
207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]);
208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]);
209 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]);
215 const int minInt = -de::min(numValues/2, maxInt);
216 vector<int> values (numValues*scalarSize);
225 if (scalarSize == 1) gl.uniform1iv(location, numValues, &values[0])
    [all...]
es31fShaderAtomicOpTests.cpp 76 virtual void getInputs (int numValues, int stride, void* inputs) const = 0;
77 virtual bool verify (int numValues, int inputStride, const void* inputs, int outputStride, const void* outputs, int groupStride, const void* groupOutputs) const = 0;
123 const deUint32 numValues = product(m_workGroupSize)*product(m_numWorkGroups);
132 << " " << precName << " " << typeName << " inputValues[" << numValues << "];\n"
133 << " " << precName << " " << outTypeName << " outputValues[" << numValues << "];\n"
203 const deUint32 numValues = product(m_workGroupSize)*product(m_numWorkGroups);
205 TCU_CHECK(inVarInfo.arraySize == numValues &&
206 outVarInfo.arraySize == numValues &&
216 getInputs((int)numValues, (int)inVarInfo.arrayStride, &bufData[0] + inVarInfo.offset);
240 isOk = verify((int)numValues,
    [all...]
es31fShaderCommonFunctionTests.cpp 87 static void fillRandomVectors (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0)
90 for (int ndx = 0; ndx < numValues; ndx++)
95 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, int offset = 0)
98 for (int ndx = 0; ndx < numValues; ndx++)
251 virtual void getInputValues (int numValues, void* const* values) const = 0;
312 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues)
324 curScalarOffset += scalarSize*numValues;
508 void getInputValues (int numValues, void* const* values) const
529 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
531 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize)
    [all...]
es31fShaderPackingFunctionTests.cpp 207 const int numValues = (int)inputs.size();
211 for (int valNdx = 0; valNdx < numValues; valNdx++)
239 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
295 const int numValues = (int)inputs.size();
329 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
398 const int numValues = (int)inputs.size();
430 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage
    [all...]
es31fShaderIntegerFunctionTests.cpp 137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues)
146 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx)
152 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx)
176 virtual void getInputValues (int numValues, void* const* values) const = 0;
236 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues)
248 curScalarOffset += scalarSize*numValues;
368 void getInputValues (int numValues, void* const* values) const
419 generateRandomInputData(rnd, m_shaderType, type, precision, in0, numValues - DE_LENGTH_OF_ARRAY(easyCases));
420 generateRandomInputData(rnd, m_shaderType, type, precision, in1, numValues - DE_LENGTH_OF_ARRAY(easyCases));
464 void getInputValues (int numValues, void* const* values) cons
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioGain.cpp 50 uint32_t numValues;
52 numValues = audio_channel_count_from_in_mask(mGain.channel_mask);
54 numValues = audio_channel_count_from_out_mask(mGain.channel_mask);
56 for (size_t i = 0; i < numValues; i++) {
79 uint32_t numValues;
81 numValues = audio_channel_count_from_in_mask(config->channel_mask);
83 numValues = audio_channel_count_from_out_mask(config->channel_mask);
85 for (size_t i = 0; i < numValues; i++) {
  /frameworks/rs/
rsClosure.h 25 const int numValues,
35 const size_t numValues,
rsClosure.cpp 61 const int numValues,
72 for (i = 0; i < (size_t)numValues && fieldIDs[i] == nullptr; i++);
80 for (; i < (size_t)numValues; i++) {
97 for (; i < (size_t)numValues; i++) {
114 const size_t numValues, const ScriptFieldID** fieldIDs,
121 for (size_t i = 0; i < numValues; i++) {
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderIntegerFunctionTests.cpp 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues)
148 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx)
154 for (int valueNdx = 0; valueNdx < numValues; ++valueNdx)
176 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues)
188 curScalarOffset += scalarSize*numValues;
368 IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, ShaderExecutor& executor, int numValues, const char* name)
372 , m_numValues (numValues)
381 virtual void getInputValues (int numValues, void* const* values) const = 0;
466 UaddCarryCaseInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, ShaderExecutor& executor, int numValues, const char* name)
467 : IntegerFunctionTestInstance (context, shaderType, spec, executor, numValues, name
    [all...]
vktShaderCommonFunctionTests.cpp 91 static void fillRandomVectors (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0)
94 for (int ndx = 0; ndx < numValues; ndx++)
99 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, int offset = 0)
102 for (int ndx = 0; ndx < numValues; ndx++)
255 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues)
267 curScalarOffset += scalarSize*numValues;
492 CommonFunctionTestInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, ShaderExecutor& executor, int numValues, const char* name)
496 , m_numValues (numValues)
504 virtual void getInputValues (int numValues, void* const* values) const = 0;
589 AbsCaseInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, ShaderExecutor& executor, int numValues, const char* name
    [all...]
vktShaderPackingFunctionTests.cpp 220 const int numValues = (int)inputs.size();
224 for (int valNdx = 0; valNdx < numValues; valNdx++)
252 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
327 const int numValues = (int)inputs.size();
361 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
445 const int numValues = (int)inputs.size();
477 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage
    [all...]
vktShaderExecutor.cpp 452 int numValues,
461 int numValues,
515 static std::vector<tcu::Vec2> computeVertexPositions (int numValues, const tcu::IVec2& renderSize)
517 std::vector<tcu::Vec2> positions(numValues);
518 for (int valNdx = 0; valNdx < numValues; valNdx++)
647 void FragmentOutExecutor::bindAttributes (const Context& ctx, Allocator& memAlloc, int numValues, const void* const* inputs)
680 addAttribute(ctx, memAlloc, (deUint32)m_vertexBindingDescriptions.size(), format, elementSize * vecSize, numValues, ptr);
693 void FragmentOutExecutor::execute (const Context& ctx, int numValues, const void* const* inputs, void* const* outputs)
703 const deUint32 renderSizeX = de::min(static_cast<deUint32>(DEFAULT_RENDER_WIDTH), (deUint32)numValues);
704 const deUint32 renderSizeY = ((deUint32)numValues / renderSizeX) + (((deUint32)numValues % renderSizeX != 0) ? 1u : 0u)
    [all...]
  /external/deqp/modules/glshared/
glsShaderExecUtil.cpp 488 void execute (int numValues, const void* const* inputs, void* const* outputs);
566 void FragmentOutExecutor::execute (int numValues, const void* const* inputs, void* const* outputs)
571 const int framebufferW = de::min(maxRenderbufferSize, numValues);
572 const int framebufferH = (numValues / framebufferW) + ((numValues % framebufferW != 0) ? 1 : 0);
578 vector<tcu::Vec2> positions (numValues);
584 for (int valNdx = 0; valNdx < numValues; valNdx++)
595 vertexArrays.push_back(glu::va::Float("a_position", 2, numValues, 0, (const float*)&positions[0]));
606 vertexArrays.push_back(glu::va::Float(attribName, vecSize, numValues, 0, (const float*)ptr));
608 vertexArrays.push_back(glu::va::Int32(attribName, vecSize, numValues, 0, (const deInt32*)ptr))
    [all...]
glsShaderExecUtil.hpp 88 virtual void execute (int numValues, const void* const* inputs, void* const* outputs) = 0;
  /external/skia/src/core/
SkConvolver.cpp 112 // |srcData| and continues for the numValues() of the filter.
118 int numValues = filter.numValues();
119 for (int outX = 0; outX < numValues; outX++) {
375 int rowBufferWidth = (filterX.numValues() + 15) & ~0xF;
398 SkASSERT(outputByteRowStride >= filterX.numValues() * 4);
399 int numOutputRows = filterY.numValues();
412 filterX.FilterForValue(filterX.numValues() - 1, &lastFilterOffset,
476 filterX.numValues(), curOutputRow,
481 filterX.numValues(), curOutputRow
    [all...]
  /frameworks/av/services/audioflinger/tests/
test_utils.h 54 size_t numValues = 0;
65 values.resize(++numValues);
67 for (size_t i = 1; i < numValues; ) {
72 return numValues;
78 numValues++;
  /external/deqp/modules/gles3/functional/
es3fShaderPackingFunctionTests.cpp 203 const int numValues = (int)inputs.size();
207 for (int valNdx = 0; valNdx < numValues; valNdx++)
235 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
291 const int numValues = (int)inputs.size();
325 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
394 const int numValues = (int)inputs.size();
426 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage
    [all...]
es3fShaderCommonFunctionTests.cpp 83 static void fillRandomVectors (de::Random& rnd, const tcu::Vector<T, Size>& minValue, const tcu::Vector<T, Size>& maxValue, void* dst, int numValues, int offset = 0)
86 for (int ndx = 0; ndx < numValues; ndx++)
91 static void fillRandomScalars (de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, int offset = 0)
94 for (int ndx = 0; ndx < numValues; ndx++)
178 virtual void getInputValues (int numValues, void* const* values) const = 0;
238 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data, const int numValues)
250 curScalarOffset += scalarSize*numValues;
430 void getInputValues (int numValues, void* const* values) const
451 fillRandomScalars(rnd, floatRanges[precision].x(), floatRanges[precision].y(), values[0], numValues*scalarSize);
453 fillRandomScalars(rnd, intRanges[precision].x(), intRanges[precision].y(), values[0], numValues*scalarSize)
    [all...]
  /external/deqp/framework/common/
tcuRandomValueIterator.hpp 61 static RandomValueIterator begin (deUint32 seed, int numValues) { return RandomValueIterator<T>(seed, numValues); }
  /external/javassist/src/main/javassist/bytecode/annotation/
AnnotationsWriter.java 336 * This method must be followed by <code>numValues</code> calls
340 * @param numValues <code>num_values</code>
343 public void arrayValue(int numValues) throws IOException {
345 write16bit(numValues);
  /frameworks/base/core/java/android/animation/
ValueAnimator.java 483 int numValues = values.length;
485 mValuesMap = new HashMap<String, PropertyValuesHolder>(numValues);
486 for (int i = 0; i < numValues; ++i) {
519 int numValues = mValues.length;
520 for (int i = 0; i < numValues; ++i) {
    [all...]
  /external/clang/test/Analysis/
cfref_PR2519.c 19 extern CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
  /external/opencv3/modules/flann/src/
miniflann.cpp 94 std::vector<double>& numValues) const
99 numValues.clear();
112 numValues.push_back(-1);
123 numValues.push_back(val);
131 numValues.push_back(val);
139 numValues.push_back(val);
147 numValues.push_back(val);
155 numValues.push_back(val);
163 numValues.push_back(val);
171 numValues.push_back(val)
    [all...]

Completed in 726 milliseconds

1 2 3 4 5