Lines Matching refs:ps
31 unsigned char* ps; in _stdgets() local
43 if((p = f->endb - (ps = f->next)) <= 0 ) in _stdgets()
46 if(SFRPEEK(f,ps,p) <= 0) in _stdgets()
54 if((ps = (uchar*)memccpy((char*)is,(char*)ps,'\n',p)) != NIL(uchar*)) in _stdgets()
55 p = ps-is; in _stdgets()
57 ps = f->next+p; in _stdgets()
60 { while(p-- && (*is++ = *ps++) != '\n') in _stdgets()
62 p = ps-f->next; in _stdgets()
65 { reg int c = ps[p-1]; in _stdgets()
67 ps[p-1] = '\n'; in _stdgets()
68 while((*is++ = *ps++) != '\n') in _stdgets()
72 if((ps-f->next) >= p) in _stdgets()
79 f->next = ps; in _stdgets()