Lines Matching defs:length
1768 * @param [in] length Length of the data to be compared.
1772 bool MapRangeReadBitTest::CompareWithReference(glw::GLuint* data, glw::GLintptr offset, glw::GLsizei length)
1778 << tcu::TestLog::Message << "glMapNamedBufferRange called with offset " << offset << " and length "
1779 << length << " returned NULL pointer, but buffer's data was expected." << tcu::TestLog::EndMessage;
1784 glw::GLuint end = static_cast<glw::GLuint>((offset + length) / sizeof(s_reference[0]));
1797 << tcu::TestLog::Message << "glMapNamedBufferRange called with offset " << offset << " and length "
1798 << length << " returned pointer to data which is not identical to reference data."
3402 * offset or length is negative, or if offset + length exceeds the size of
3462 /* Test negative length flush error behavior. */
3470 is_ok &= ErrorCheckAndLog("glFlushMappedNamedBufferRange", GL_INVALID_VALUE, " if length is negative.");
3476 /* Test length exceeds the mapping size flush error behavior. */
3485 " if length exceeds the size of the mapping.");
3491 /* Test offset + length exceeds the mapping size flush error behavior. */
3500 " if offset + length exceeds the size of the mapping.");
4089 * or length is negative, if offset+length is greater than the value of
4095 * - length is zero.
4161 /* Test negative length error behavior. */
4165 is_ok &= ErrorCheckAndLog("glMapNamedBufferRange", GL_INVALID_VALUE, " if length is negative.");
4176 /* Test length overflow error behavior. */
4181 " if length is greater than the value of BUFFER_SIZE"
4194 /* Test (offset+length) overflow error behavior. */
4200 " if offset+length is greater than the value of BUFFER_SIZE"
4213 /* Test zero length error behavior. */
4217 is_ok &= ErrorCheckAndLog("glMapNamedBufferRange", GL_INVALID_OPERATION, " if length is zero.");