Lines Matching refs:a_pos
921 *@a_pos: the relative offset of the new "current byte index."
933 cr_input_seek_index (CRInput * a_this, enum CRSeekPos a_origin, gint a_pos)
943 abs_offset = PRIVATE (a_this)->next_byte_index - 1 + a_pos;
947 abs_offset = a_pos;
951 abs_offset = PRIVATE (a_this)->in_buf_size - 1 - a_pos;
973 *@a_pos: out parameter. The returned position.
988 cr_input_get_cur_pos (CRInput const * a_this, CRInputPos * a_pos)
990 g_return_val_if_fail (a_this && PRIVATE (a_this) && a_pos,
993 a_pos->next_byte_index = PRIVATE (a_this)->next_byte_index;
994 a_pos->line = PRIVATE (a_this)->line;
995 a_pos->col = PRIVATE (a_this)->col;
996 a_pos->end_of_line = PRIVATE (a_this)->end_of_line;
997 a_pos->end_of_file = PRIVATE (a_this)->end_of_input;
1165 *@a_pos: the new position.
1172 cr_input_set_cur_pos (CRInput * a_this, CRInputPos const * a_pos)
1174 g_return_val_if_fail (a_this && PRIVATE (a_this) && a_pos,
1177 cr_input_set_column_num (a_this, a_pos->col);
1178 cr_input_set_line_num (a_this, a_pos->line);
1179 cr_input_set_cur_index (a_this, a_pos->next_byte_index);
1180 cr_input_set_end_of_line (a_this, a_pos->end_of_line);
1181 cr_input_set_end_of_file (a_this, a_pos->end_of_file);