Lines Matching refs:a_pos
920 *@a_pos: the relative offset of the new "current byte index."
932 cr_input_seek_index (CRInput * a_this, enum CRSeekPos a_origin, gint a_pos)
942 abs_offset = PRIVATE (a_this)->next_byte_index - 1 + a_pos;
946 abs_offset = a_pos;
950 abs_offset = PRIVATE (a_this)->in_buf_size - 1 - a_pos;
972 *@a_pos: out parameter. The returned position.
987 cr_input_get_cur_pos (CRInput * a_this, CRInputPos * a_pos)
989 g_return_val_if_fail (a_this && PRIVATE (a_this) && a_pos,
992 a_pos->next_byte_index = PRIVATE (a_this)->next_byte_index;
993 a_pos->line = PRIVATE (a_this)->line;
994 a_pos->col = PRIVATE (a_this)->col;
995 a_pos->end_of_line = PRIVATE (a_this)->end_of_line;
996 a_pos->end_of_file = PRIVATE (a_this)->end_of_input;
1164 *@a_pos: the new position.
1171 cr_input_set_cur_pos (CRInput * a_this, CRInputPos * a_pos)
1173 g_return_val_if_fail (a_this && PRIVATE (a_this) && a_pos,
1176 cr_input_set_column_num (a_this, a_pos->col);
1177 cr_input_set_line_num (a_this, a_pos->line);
1178 cr_input_set_cur_index (a_this, a_pos->next_byte_index);
1179 cr_input_set_end_of_line (a_this, a_pos->end_of_line);
1180 cr_input_set_end_of_file (a_this, a_pos->end_of_file);