Lines Matching refs:ndx

64 			for (int ndx = 0; ndx < type.getNumElements(); ndx++)
67 float minVal = valueRange.component(ndx).getMin().asFloat();
68 float maxVal = valueRange.component(ndx).getMax().asFloat();
69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep);
74 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
76 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1;
85 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
87 int minVal = valueRange.component(ndx).getMin().asInt();
88 int maxVal = valueRange.component(ndx).getMax().asInt();
89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal);
96 for (int ndx = 0; ndx < numElements; ndx++)
97 computeRandomValue(rnd, dst.arrayElement(ndx), valueRange.arrayElement(ndx));
104 for (int ndx = 0; ndx < numMembers; ndx++)
105 computeRandomValue(rnd, dst.member(ndx), valueRange.member(ndx));
136 for (int ndx = 0; ndx < valueRange.getType().getNumElements(); ndx++)
138 if (valueRange.getMin().component(ndx).asScalar() != infMin ||
139 valueRange.getMax().component(ndx).asScalar() != infMax)
193 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
197 valueRange.getMin().component(ndx).asBool() = minVal;
198 valueRange.getMax().component(ndx).asBool() = maxVal;
203 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
213 valueRange.getMin().component(ndx).asInt() = minVal;
214 valueRange.getMax().component(ndx).asInt() = maxVal;
219 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
231 valueRange.getMin().component(ndx).asFloat() = minVal;
232 valueRange.getMax().component(ndx).asFloat() = maxVal;
302 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
304 float minVal = valueRange.component(ndx).getMin().asFloat();
305 float maxVal = valueRange.component(ndx).getMax().asFloat();
311 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
313 int minVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
314 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0;
322 for (int ndx = 0; ndx < type.getNumElements(); ndx++)
324 deInt64 minVal = valueRange.component(ndx).getMin().asInt();
325 deInt64 maxVal = valueRange.component(ndx).getMax().asInt();
333 for (int ndx = 0; ndx < numElements; ndx++)
334 rangeLength += computeRangeLengthSum(valueRange.arrayElement(ndx));
341 for (int ndx = 0; ndx < numMembers; ndx++)
342 rangeLength += computeRangeLengthSum(valueRange.member(ndx));