Lines Matching defs:length
73 const size_t length = lengths && lengths[ndx] >= 0 ? lengths[ndx] : strlen(sourceStrings[ndx]);
74 m_info.source += std::string(sourceStrings[ndx], length);
115 // add tolerance for off-by-one in log length, buffer write, and for terminator
173 // add tolerance for off-by-one in log length, buffer write, and for terminator
218 // add tolerance for off-by-one in log length, buffer write, and for terminator
403 const int length = (int)sources.sources[shaderType][shaderNdx].size();
408 m_shaders[shaderType].back()->setSources(1, &source, &length);
461 const int length = (int)(shaderBinary.binary.size() * sizeof(deUint32));
477 setBinary(gl, shaders, binaries.binaryFormat, binary, length);
509 void ShaderProgram::setBinary (const glw::Functions& gl, std::vector<Shader*>& shaders, glw::GLenum binaryFormat, const void* binaryData, const int length)
515 gl.shaderBinary((glw::GLsizei)shaderVec.size(), shaderVec.data(), binaryFormat, binaryData, length);