Lines Matching refs:pos
207 _mesa_set_program_error(struct gl_context *ctx, GLint pos, const char *string)
209 ctx->Program.ErrorPos = pos;
218 * Find the line number and column for 'pos' within 'string'.
219 * Return a copy of the line which contains 'pos'. Free the line with
222 * \param pos the position within the string
223 * \param line returns the line number corresponding to 'pos'.
224 * \param col returns the column number corresponding to 'pos'.
225 * \return copy of the line containing 'pos'.
228 _mesa_find_line_column(const GLubyte *string, const GLubyte *pos,
238 while (p != pos) {
246 *col = (pos - lineStart) + 1;