Lines Matching defs:maxLength
250 * Copy string from <src> to <dst>, up to maxLength characters, returning
253 * \param maxLength max chars to copy
258 _mesa_copy_string(GLchar *dst, GLsizei maxLength,
262 for (len = 0; len < maxLength - 1 && src && src[len]; len++)
264 if (maxLength > 0)
1129 get_shader_source(struct gl_context *ctx, GLuint shader, GLsizei maxLength,
1134 if (maxLength < 0) {
1143 _mesa_copy_string(sourceOut, maxLength, length, sh->Source);
1786 _mesa_GetInfoLogARB(GLhandleARB object, GLsizei maxLength, GLsizei * length,
1791 get_program_info_log(ctx, object, maxLength, length, infoLog);
1794 get_shader_info_log(ctx, object, maxLength, length, infoLog);
1874 _mesa_GetShaderSource(GLuint shader, GLsizei maxLength,
1878 get_shader_source(ctx, shader, maxLength, length, sourceOut);