Searched refs:reclen (Results 1 - 11 of 11) sorted by relevance

/ast/src/cmd/builtin/
H A Dasa.c48 "[r]#[reclen?If \areclen\a is greater than zero, the file is assumed to "
62 static int asa(register Sfio_t *in, Sfio_t *out, int reclen) argument
68 if(reclen>0)
69 cp = sfreserve(in,n=reclen, -1);
74 if(reclen<=0)
112 register int n, reclen=0; local
118 reclen = opt_info.num;
142 n = asa(fp, sfstdout,reclen);
/ast/src/lib/libcmd/
H A Duniq.c90 int reclen,oreclen= -1,count=0,cwidth=0,sep,next; local
125 if ((reclen = n - (cp - bufp)) <= 0)
127 reclen = 1;
130 else if (width >= 0 && width < reclen)
134 reclen = 0;
136 while (reclen < width && mp < ep)
138 reclen++;
141 reclen = mp - cp;
144 reclen = width;
148 reclen
[all...]
H A Dcut.c57 "[R|r:reclen]#[reclen?If \areclen\a > 0, the input will be read as fixed length "
96 int reclen; member in struct:Cut_s
131 cutinit(int mode, char* str, Delim_t* wdelim, Delim_t* ldelim, size_t reclen) argument
159 cut->reclen = reclen;
265 if (len = cut->reclen)
348 if (!cut->nlflag && (skip || must || cut->reclen))
579 size_t reclen = 0; local
652 reclen
[all...]
H A Djoin.c135 int reclen; member in struct:File_s
317 fp->reclen = sfvalue(fp->iop);
321 cp += fp->reclen;
670 if (sfseek(jp->file[0].iop, (Sfoff_t)-jp->file[0].reclen, SEEK_CUR) < 0 || !(cp1 = getrec(jp, 0, 0)))
685 lo -= jp->file[1].reclen;
751 (hi -= jp->file[1].reclen) < 0 ||
/ast/src/lib/libast/misc/
H A Dreclen.c34 reclen(Recfmt_t f, const void* b, size_t n) function
/ast/src/lib/libast/include/
H A Drecfmt.h79 extern ssize_t reclen(Recfmt_t, const void*, size_t);
/ast/src/cmd/pax/
H A Dpax-saveset.c60 int reclen; /* record length */ member in struct:Saveset_s
151 ss->reclen = swapget(1, p + FILHDR_data + FILATT_reclen, 2);
223 if (j <= 0) j = ss->reclen;
/ast/src/cmd/sort/
H A Drec.c163 z = reclen(f, s, e - s);
/ast/src/lib/librecsort/
H A Drsmerge.c172 { if ((datalen = reclen(rsc, cur, x)) < 0)
215 datalen = reclen(rsc, cur, sizeof(ssize_t));
310 { if ((datalen = reclen(rsc, cur, endrsrv-cur)) < 0 || datalen > (endrsrv-cur))
334 datalen = reclen(rsc, cur, sizeof(ssize_t));
675 { if ((len = reclen(rsc, mgcur, x)) < 0)
741 if ((len = reclen(rsc, mgcur, sizeof(ssize_t))) < 0)
H A Drsprocess.c170 { if ((datalen = reclen(d, data, s_loop)) <= 0 || s_loop < datalen)
/ast/src/lib/libast/
H A DMakefile90 base64.c recfmt.c recstr.c reclen.c fmtrec.c \

Completed in 40 milliseconds