Lines Matching refs:cur_ptr
246 static void init_file(LINE *cur_ptr);
247 static void get_line(LINE *cur_ptr, uchar_t *s);
248 static void get_ncount(LINE *cur_ptr, uchar_t *s);
297 static void fgetfile(LINE *cur_ptr);
1757 init_file(LINE *cur_ptr)
1760 cur_ptr->ln = 0;
1762 cur_ptr->newline = buffer - 1;
1779 fgetfile(LINE *cur_ptr)
1788 uchar_t *begin = cur_ptr->prntbuf;
1856 cur_ptr->newline = begin - 1;
1860 get_line(LINE *cur_ptr, uchar_t *s)
1864 cur_ptr->newline = --s;
1865 cur_ptr->ln++;
1869 get_ncount(LINE *cur_ptr, uchar_t *s)
1871 uchar_t *p = cur_ptr->prntbuf;
1875 cur_ptr->newline = s++;
1878 cur_ptr->ln++;
1881 cur_ptr->ln--;
1882 cur_ptr->prntbuf = s;