Lines Matching refs:dlen
85 static int paste(int nstream,Sfio_t* streams[],Sfio_t *out, register const char *delim, int dsiz, int dlen, Delim_t* mp)
92 d = (dlen>0?0:-1);
105 else if(dlen>0)
107 for(d=n; d>dlen; d-=dlen)
130 if(d >= dlen)
148 static int spaste(Sfio_t *in,register Sfio_t* out,register const char *delim,int dsiz,int dlen,Delim_t* mp)
156 if(dlen)
159 if(d >= dlen)
182 int dlen, dsiz;
217 dlen = dsiz = stresc(delim);
222 ep = delim + dlen;
223 dlen = 0;
227 dlen++;
229 if(dlen < dsiz)
231 if (!(mp = newof(0, Delim_t, dlen, 0)))
237 dlen = 0;
240 mp[dlen].chr = cp;
242 mp[dlen].len = cp - mp[dlen].chr;
243 dlen++;
268 if(spaste(fp,sfstdout,delim,dsiz,dlen,mp) < 0)
278 if(error_info.errors==0 && paste(n,streams,sfstdout,delim,dsiz,dlen,mp) < 0)