Home
last modified time | relevance | path

Searched refs:logLen (Results 1 – 6 of 6) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fInfoLogQueryShared.cpp41 int logLen, in verifyInfoLogQuery() argument
48 std::string buf (logLen + 2, 'X'); in verifyInfoLogQuery()
50 buf[logLen + 1] = '\0'; in verifyInfoLogQuery()
51 (gl.*getInfoLog)(object, logLen, DE_NULL, &buf[0]); in verifyInfoLogQuery()
54 if (logLen > 0 && buf[logLen-1] != '\0') in verifyInfoLogQuery()
56 else if (buf[logLen] != 'X' && buf[logLen+1] != '\0') in verifyInfoLogQuery()
62 std::string buf (logLen + 4, 'X'); in verifyInfoLogQuery()
65 buf[logLen + 3] = '\0'; in verifyInfoLogQuery()
66 (gl.*getInfoLog)(object, logLen+2, &written, &buf[0]); in verifyInfoLogQuery()
73 else if (logLen != 0 && (written + 1) > logLen) in verifyInfoLogQuery()
[all …]
Des31fShaderStateQueryTests.cpp421 StateQueryMemoryWriteGuard<glw::GLint> logLen; in iterate() local
434 gl.glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLen); in iterate()
435 logLen.verifyValidity(result); in iterate()
437 if (!logLen.isUndefined()) in iterate()
438 …verifyInfoLogQuery(result, gl, logLen, shader, &glu::CallLogWrapper::glGetShaderInfoLog, "glGetSha… in iterate()
Des31fProgramPipelineStateQueryTests.cpp353 StateQueryMemoryWriteGuard<glw::GLint> logLen; in iterate() local
365 gl.glGetProgramPipelineiv(pipeline.getPipeline(), GL_INFO_LOG_LENGTH, &logLen); in iterate()
368 if (logLen.verifyValidity(result)) in iterate()
369 …verifyInfoLogQuery(result, gl, logLen, pipeline.getPipeline(), &glu::CallLogWrapper::glGetProgramP… in iterate()
Des31fInfoLogQueryShared.hpp40 int logLen,
Des31fProgramStateQueryTests.cpp677 StateQueryMemoryWriteGuard<glw::GLint> logLen; in iterate() local
683 gl.glGetProgramiv(program.getProgram(), GL_INFO_LOG_LENGTH, &logLen); in iterate()
684 logLen.verifyValidity(result); in iterate()
686 if (logLen.verifyValidity(result)) in iterate()
687 …verifyInfoLogQuery(result, gl, logLen, program.getProgram(), &glu::CallLogWrapper::glGetProgramInf… in iterate()
/external/zstd/contrib/single_file_libs/examples/
Demscripten.c149 GLint logLen; in compileShader() local
150 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLen); in compileShader()
151 if (logLen > 1) { in compileShader()
152 GLchar* logStr = malloc(logLen); in compileShader()
153 glGetShaderInfoLog(shader, logLen, NULL, logStr); in compileShader()