Searched refs:cp1 (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libcmd/
H A Dcomm.c68 register char *cp1, *cp2; local
70 if(cp1 = sfgetr(in1,'\n',0))
74 while(cp1 && cp2)
77 if((comp=memcmp(cp1,cp2,n-1))==0 && (comp=n1-n2)==0)
87 if(sfwrite(out,cp1,n) < 0)
90 if(cp1 = sfgetr(in1,'\n',0))
109 if((mode&C_FILE1) && sfwrite(out,cp1,n1) < 0)
111 if(cp1 = sfgetr(in1,'\n',0))
118 cp1 = cp2;
127 if(!mode || !cp1)
[all...]
H A Djoin.c626 #define outrec(p,n) (sfprintf(sfstdout, "[R#%d,%d,%lld,%lld:%-.*s{%d}:%-.*s{%d}]", __LINE__, i1=n, lo, hi, jp->file[0].fieldlen, cp1, jp->file[0].hit, jp->file[1].fieldlen, cp2, jp->file[1].hit), outrec(p, i1))
632 register unsigned char* cp1; local
643 if ((cp1 = getrec(jp, 0, 0)) && (cp2 = getrec(jp, 1, 0)) || (cp2 = 0))
652 if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)))
654 sfprintf(sfstdout, "[C#%d:%d(%c-%c),%d,%lld,%lld%s]", __LINE__, cmp, *cp1, *cp2, same, lo, hi, (jp->outmode & C_COMMON) ? ",COMMON" : "");
657 if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp
[all...]

Completed in 23 milliseconds