Searched refs:cpmax (Results 1 – 4 of 4) sorted by relevance
119 register char *cp = (char*)buff, *first, *cpmax; local134 cpmax = cp+n-1;139 dp->last = *cpmax;150 else if(dp->last!='\n' || cpmax[-1]!='\r')151 *cpmax = '\r';156 if(cp > cpmax || *cp=='\n')161 if((count = cpmax+1-cp) <=0)163 *cpmax = dp->last;198 if(cp==cpmax)202 if(cp<=cpmax && *cp!='\n')[all …]
213 unsigned char *cpmax; in sh_readline() local461 cpmax = cp + c; in sh_readline()463 if(delim=='\n' && c>=2 && cpmax[-2]=='\r') in sh_readline()464 cpmax--; in sh_readline()466 if(*(cpmax-1) != delim) in sh_readline()467 *(cpmax-1) = delim; in sh_readline()478 if(cpmax[-1] == '\n') in sh_readline()479 cpmax--; in sh_readline()480 if(cpmax>cp) in sh_readline()482 while((c=shp->ifstable[*--cpmax])==S_DELIM || c==S_SPACE); in sh_readline()[all …]
938 register const char *cp = string, *cpmax; in fmtvecho() local1007 cpmax = cp + 4; in fmtvecho()1008 while(++cp<cpmax && *cp>='0' && *cp<='7') in fmtvecho()
473 register char* cpmax; in outfield() local481 cpmax = fp->fields[n].end + 1; in outfield()521 size = cpmax - cp; in outfield()