Searched refs:nb (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/string/
H A Dstrvcmp.c35 register unsigned long nb; local
41 na = nb = 0;
45 nb = nb * 10 + *b++ - '0';
46 if (na < nb)
48 if (na > nb)
H A Dstrnvcmp.c37 register unsigned long nb; local
53 na = nb = 0;
57 nb = nb * 10 + *b++ - '0';
58 if (na < nb)
60 if (na > nb)
/ast/src/cmd/vczip/tests/
H A Dtvcbwzip.c48 ssize_t k, n, nb, nc; local
58 nb = b-buf;
78 if((nc = vcapply(bwz, buf, nb, &cmp)) < 0)
80 if((n = vcapply(unz, cmp, nc, &t)) != nb)
82 for(k = 0; k < nb; ++k)
94 if((n = vcapply(bwz, buf, nb, &t)) < 0)
101 if(n != nb || memcmp(t,buf,nb) != 0)
/ast/src/lib/libvcodex/
H A Dvcodex.h372 /* The below bit I/O macro functions use (bt,nb) for bit accumulation. These
377 ** usable as (bt,nb). In this way, applications that perform bits ops in function
380 #define vciosetb(io, bt, nb, tp) /* (tp) is only for symmetry with vcioendb */ \
381 do { (bt) = 0; (nb) = 0; \
384 #define vciofilb(io, bt, nb, mb) /* getting bits from stream into (bt) */ \
385 do { if((nb) < (mb)) while((nb) <= (VC_BITSIZE-8) && (io)->next < (io)->endb) \
386 { (nb) += 8; (bt) |= (*(io)->next++ << (VC_BITSIZE - (nb))); } \
389 #define vciodelb(io, bt, nb, n
[all...]
/ast/src/lib/libast/regex/
H A Dregdecomp.c84 int nb; local
152 nb = ne = ib = ie = -2;
165 else if (nb < 0)
166 ne = nb = m;
171 if (ne == nb)
175 *s++ = nb;
179 ne = nb = m;
207 if (nb >= 0)
209 *s++ = nb;
210 if (ne != nb)
[all...]
/ast/src/cmd/ksh93/tests/
H A Dsubshell.sh107 integer BS=1024 nb=64 ss=60 bs no
114 set -- $(printf %.'$(($BS*$nb))'c x | dd bs='$bs')
119 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs -- expected $((BS*nb)), got ${no:-0}"
129 set -- $(printf %.'$(($BS*$nb))'c x | dd bs='$bs' 2>/dev/null)
134 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs and trailing redirection -- expected $((BS*nb)), got ${no:-0}"
/ast/src/lib/libast/misc/
H A Doptget.c134 char* nb; /* next char in new string */ member in struct:Push_s
1226 tsp->nb = (char*)(tsp + 1);
1227 tsp->ne = tsp->nb + n;
1228 strcpy(tsp->nb, b);
1274 tsp->nb = (char*)(tsp + 1);
1275 tsp->ne = tsp->nb + n;
1276 strcpy(tsp->nb, u);
1362 s = psp->nb;
1443 s = psp->nb;
1507 if (psp->nb)
[all...]
/ast/src/cmd/codexlib/zip/
H A Ddeflate.c433 ulg nb; /* number of bit length codes */ local
459 nb = 4 + GETBITS(4); /* number of bit length codes */
475 for (j = 0; j < nb; j++)
/ast/src/lib/libbz/
H A Dbzlib.c667 Int32 nb, na, mid; local
668 nb = 0;
671 mid = (nb + na) >> 1;
672 if (indx >= cftab[mid]) nb = mid; else na = mid;
674 while (na - nb != 1);
675 return nb;
/ast/src/cmd/nmake/
H A Dexpand.c97 long nb = strton(b, NiL, NiL, 0); local
100 nb = strton(b, &eb, NiL, 0);
101 if (na < nb)
103 if (na > nb)

Completed in 46 milliseconds