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

1 2 3 4 5 6

  /libcore/support/src/test/java/tests/util/
SummaryStatistics.java 21 private int numValues;
48 numValues++;
53 return sum / numValues;
58 double shiftedMean = (sum - numValues * firstValue) / numValues;
59 return (shiftedSquaresSum / numValues) - square(shiftedMean);
75 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;
356 IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name)
360 , m_numValues (numValues)
369 virtual void getInputValues (int numValues, void* const* values) const = 0;
454 UaddCarryCaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name)
455 : IntegerFunctionTestInstance (context, shaderType, spec, 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;
480 CommonFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name)
484 , m_numValues (numValues)
492 virtual void getInputValues (int numValues, void* const* values) const = 0;
578 AbsCaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name
    [all...]
vktShaderPackingFunctionTests.cpp 208 const int numValues = (int)inputs.size();
212 for (int valNdx = 0; valNdx < numValues; valNdx++)
240 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
314 const int numValues = (int)inputs.size();
348 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage;
431 const int numValues = (int)inputs.size();
463 m_testCtx.getLog() << TestLog::Message << (numValues - numFailed) << " / " << numValues << " values passed" << TestLog::EndMessage
    [all...]
vktShaderExecutor.hpp 78 virtual void execute (int numValues, const void* const* inputs, void* const* outputs, vk::VkDescriptorSet extraResources = (vk::VkDescriptorSet)0) = 0;
  /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 198 int rowBufferWidth = (filterX.numValues() + 31) & ~0x1F;
221 SkASSERT(outputByteRowStride >= filterX.numValues() * 4);
222 int numOutputRows = filterY.numValues();
268 filterX.numValues(), curOutputRow,
  /frameworks/av/media/libaudioprocessing/tests/
test_utils.h 60 size_t numValues = 0;
71 values.resize(++numValues);
73 for (size_t i = 1; i < numValues; ) {
78 return numValues;
84 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/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrViewTests.cpp 623 const size_t numValues = 500;
624 vector<Vec2> texCoord (numValues);
625 vector<Vec4> resultWhole (numValues);
626 vector<Vec4> resultPlane (numValues);
627 vector<Vec4> referenceWhole (numValues);
628 vector<Vec4> referencePlane (numValues);
632 generateLookupCoordinates(size, numValues, &randomGen, &texCoord);
639 executor->execute((int)numValues, inputs, outputs, *descSet);
651 for (size_t ndx = 0; ndx < numValues; ++ndx)
659 for (size_t ndx = 0; ndx < numValues; ++ndx
    [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 519 int numValues = values.length;
521 mValuesMap = new HashMap<String, PropertyValuesHolder>(numValues);
522 for (int i = 0; i < numValues; ++i) {
555 int numValues = mValues.length;
556 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);

Completed in 1090 milliseconds

1 2 3 4 5 6