Lines Matching defs:ndx

258 		deUint32 ndx = 0;
259 for (; ndx < size - stride + 1; ndx += stride)
265 data[ndx] = (randomGen->getUint8() & mask[ndx % 4]) & mask[3 - ndx % 4];
269 deFloat16* ptr = reinterpret_cast<deFloat16*>(&data[ndx]);
274 float* ptr = reinterpret_cast<float*>(&data[ndx]);
279 double* ptr = reinterpret_cast<double*>(&data[ndx]);
283 while (ndx < size) {
284 data[ndx] = 0;
289 for (deUint32 ndx = 0; ndx < size; ++ndx)
291 data[ndx] = randomGen->getUint8();
309 for (size_t ndx = 0; ndx < planeSize; ++ndx)
311 planePtr[ndx] = randomGen->getUint8();
1370 for (size_t ndx = 0; ndx < 4; ndx++)
1371 output[ndx] = input[ndx];
1424 for (int ndx = 0; ndx < 3; ndx++)
1425 output[ndx] = clampMaybe(output[ndx], 0.0, 1.0);
1524 for (size_t ndx = 0; ndx < 4; ndx++)
1526 const tcu::Interval weightA (filteringFormat.roundOut((ndx % 2) == 0 ? (1.0 - a) : a, false));
1527 const tcu::Interval weightB (filteringFormat.roundOut((ndx / 2) == 0 ? (1.0 - b) : b, false));
1530 result = filteringFormat.roundOut(result + filteringFormat.roundOut(p[ndx] * weight, false), false);
1725 for (size_t ndx = 0; ndx < sts.size(); ndx++)
1727 const Vec2 st (sts[ndx]);
1733 uvBounds[ndx][0] = (float)u.lo();
1734 uvBounds[ndx][1] = (float)u.hi();
1736 uvBounds[ndx][2] = (float)v.lo();
1737 uvBounds[ndx][3] = (float)v.hi();
1742 ijBounds[ndx][0] = iRange[0];
1743 ijBounds[ndx][1] = iRange[1];
1745 ijBounds[ndx][2] = jRange[0];
1746 ijBounds[ndx][3] = jRange[1];
1954 minBounds[ndx] = Vec4((float)bounds[0].lo(), (float)bounds[1].lo(), (float)bounds[2].lo(), (float)bounds[3].lo());
1955 maxBounds[ndx] = Vec4((float)bounds[0].hi(), (float)bounds[1].hi(), (float)bounds[2].hi(), (float)bounds[3].hi());