Lines Matching defs:maxLength
221 * Copy string from <src> to <dst>, up to maxLength characters, returning
224 * \param maxLength max chars to copy
229 _mesa_copy_string(GLchar *dst, GLsizei maxLength,
233 for (len = 0; len < maxLength - 1 && src && src[len]; len++)
235 if (maxLength > 0)
1147 get_shader_source(struct gl_context *ctx, GLuint shader, GLsizei maxLength,
1152 if (maxLength < 0) {
1161 _mesa_copy_string(sourceOut, maxLength, length, sh->Source);
1811 _mesa_GetInfoLogARB(GLhandleARB object, GLsizei maxLength, GLsizei * length,
1816 get_program_info_log(ctx, object, maxLength, length, infoLog);
1819 get_shader_info_log(ctx, object, maxLength, length, infoLog);
1899 _mesa_GetShaderSource(GLuint shader, GLsizei maxLength,
1903 get_shader_source(ctx, shader, maxLength, length, sourceOut);