Lines Matching defs:ptr
597 deUint8* ptr = inputBasePtr + position.offset + inputStride*ndx;
598 *((float*)(ptr+ 0)) = rnd.getFloat(-1.2f, 1.2f);
599 *((float*)(ptr+ 4)) = rnd.getFloat(-1.2f, 1.2f);
600 *((float*)(ptr+ 8)) = rnd.getFloat(-1.2f, 1.2f);
601 *((float*)(ptr+12)) = rnd.getFloat(0.1f, 2.0f);
610 deUint8* ptr = inputBasePtr + pointSizePos->offset + inputStride*ndx;
611 *((float*)ptr) = rnd.getFloat(1.0f, 8.0f);
800 deUint8* ptr = (deUint8*)gl.mapBufferRange(target, bufferSize, guardSize, GL_MAP_WRITE_BIT);
801 if (ptr)
802 deMemset(ptr, 0xcd, guardSize);
807 static bool verifyGuard (const deUint8* ptr, int guardSize)
811 if (ptr[ndx] != 0xcd)
1125 const void* ptr = &inputData[0] + attrib->offset;
1131 if (scalarType == glu::TYPE_FLOAT) gl.vertexAttribPointer (loc, numComponents, GL_FLOAT, GL_FALSE, m_inputStride, ptr);
1132 else if (scalarType == glu::TYPE_INT) gl.vertexAttribIPointer (loc, numComponents, GL_INT, m_inputStride, ptr);
1133 else if (scalarType == glu::TYPE_UINT) gl.vertexAttribIPointer (loc, numComponents, GL_UNSIGNED_INT, m_inputStride, ptr);