Lines Matching defs:maxLength
178 * Copy string from <src> to <dst>, up to maxLength characters, returning
181 * \param maxLength max chars to copy
186 _mesa_copy_string(GLchar *dst, GLsizei maxLength,
190 for (len = 0; len < maxLength - 1 && src && src[len]; len++)
192 if (maxLength > 0)
1052 get_shader_source(struct gl_context *ctx, GLuint shader, GLsizei maxLength,
1057 if (maxLength < 0) {
1066 _mesa_copy_string(sourceOut, maxLength, length, sh->Source);
1663 _mesa_GetInfoLogARB(GLhandleARB object, GLsizei maxLength, GLsizei * length,
1668 get_program_info_log(ctx, object, maxLength, length, infoLog);
1671 get_shader_info_log(ctx, object, maxLength, length, infoLog);
1751 _mesa_GetShaderSource(GLuint shader, GLsizei maxLength,
1755 get_shader_source(ctx, shader, maxLength, length, sourceOut);