Searched defs:reclen (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libast/common/misc/
H A Dreclen.c34 reclen(Recfmt_t f, const void* b, size_t n) function
/osnet-11/usr/src/lib/libcmd/common/
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)
111 register int n, reclen=0; local
117 reclen = opt_info.num;
141 n = asa(fp, sfstdout,reclen);
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;
266 if (len = cut->reclen)
350 if (!cut->nlflag && (skip || must || cut->reclen))
581 size_t reclen = 0; local
654 reclen
[all...]
H A Djoin.c135 int reclen; member in struct:File_s
317 fp->reclen = sfvalue(fp->iop);
321 cp += fp->reclen;
680 if (sfseek(jp->file[0].iop, (Sfoff_t)-jp->file[0].reclen, SEEK_CUR) < 0 || !(cp1 = getrec(jp, 0, 0)))
695 lo -= jp->file[1].reclen;
761 (hi -= jp->file[1].reclen) < 0 ||
/osnet-11/usr/src/lib/libuvfs/common/
H A Ddir.c43 #define DIRENT64_NAMELEN(reclen) \
44 ((reclen) - (offsetof(dirent64_t, d_name[0])))
51 int reclen; local
64 reclen = DIRENT64_RECLEN(strlen(name));
66 if (((char *)*cookie + reclen) > ((char *)data_buf + buflen))
68 *cookie = (void **)((uintptr_t)*cookie + reclen);
70 dp->d_reclen = reclen;
73 (void) strlcpy(dp->d_name, name, DIRENT64_NAMELEN(reclen));
74 return (reclen);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Ddb.h155 size_t reclen; /* record length (fixed-length records) */ member in struct:__anon1015
/osnet-11/usr/src/lib/storage/liba5k/common/
H A Dmon.c4184 int reclen; local
4202 reclen = strtol(&theRec.rlen[0], (char **)NULL, 16);
4203 if (reclen == 0) {
4207 nread = read(fd, (void *)&theRec.data[0], ((reclen*2) +1));
4208 if (nread != ((reclen*2) +1)) {
4228 reclen = strtol(&theRec.rlen[0], (char **)NULL, 16);
4229 if (reclen == 0) {
4233 nread = read(fd, (void *)&theRec.data[0], ((reclen*2) +1));
4234 if (nread != ((reclen*2) +1)) {
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c3729 uint64_t reclen; local
3733 while (bytes_read > sizeof (reclen)) {
3736 for (i = 0, reclen = 0; i < sizeof (reclen); i++)
3737 reclen += (uint64_t)(((uchar_t *)buf)[i]) << (8*i);
3739 if (bytes_read < sizeof (reclen) + reclen)
3743 if (nvlist_unpack(buf + sizeof (reclen), reclen, &nv, 0) != 0)
3745 bytes_read -= sizeof (reclen)
[all...]

Completed in 94 milliseconds