Searched defs:left (Results 1 - 25 of 34) sorted by relevance

12

/ast/src/cmd/pack/
H A Dhuffman.h46 int left; member in struct:__anon178
H A Dhuffencode.c39 #define putbits(buff,left,bits,n) (left+=(n),buff=((buff<<(n))|(bits)))
40 #define outchars(fp,buff,left,outp,n) while(left>=CHAR_BIT)\
42 left-=CHAR_BIT; \
43 *outp++ = buff>>left; \
62 register int left, i, c; local
82 left = hp->left;
106 putbits(buffer,left,bit
[all...]
H A Dhuffdecode.c32 #define fillbuff(b,left,bit,inp) while(left<(bit))\
36 left+=CHAR_BIT;\
40 #define getbits(b,left,n) (((b)>>(left-=(n)))&((1L<<(n))-1))
42 #define putbits(b,left,n) (left+=(n))
67 register int left, i, n; local
99 left = hp->left;
[all...]
/ast/src/cmd/dsslib/ip_t/
H A Direexec.h120 int left = ire->left; local
129 } while (!left && lp < rp);
/ast/src/cmd/ksh93/sh/
H A Dtimers.c91 static double left; local
93 left = 0;
144 if(tpmin && (left==0 || (tp && tpmin->wakeup < (now+left))))
146 if(left==0)
148 left = setalarm(tpmin->wakeup-now);
149 if(left && (now+left) < tpmin->wakeup)
150 setalarm(left);
152 left
[all...]
H A Dlex.c2152 register int left = offset-(sp-stkptr(stkp,0)); local
2158 while(left--)
2168 * The result is left on the stak
/ast/src/cmd/mailx/port/
H A Ddthdr.h81 #define left hl._left macro
121 #define RROTATE(x,y) ((x)->left = (y)->right, (y)->right = (x), (x) = (y))
122 #define LROTATE(x,y) ((x)->right = (y)->left, (y)->left = (x), (x) = (y))
123 #define RLINK(r,x) (r = r->left = x )
/ast/src/lib/libz/
H A Dinfback.c122 left = strm->avail_out; \
133 strm->avail_out = left; \
203 if (left == 0) { \
205 left = state->wsize; \
206 state->whave = left; \
207 if (out(out_desc, put, left)) { \
251 unsigned have, left; /* available input and output */ local
278 left = state->wsize;
337 if (copy > left) copy = left;
[all...]
H A Dinftrees.c52 int left; /* number of prefix codes available */ local
137 left = 1;
139 left <<= 1;
140 left -= count[len];
141 if (left < 0) return -1; /* over-subscribed */
143 if (left > 0 && (type == CODES || max != 1))
276 left = (int)(1 << curr);
278 left -= count[curr + drop];
279 if (left <= 0) break;
281 left <<
[all...]
H A Dinflate.c406 left = strm->avail_out; \
417 strm->avail_out = left; \
500 input left to load n bits into the accumulator, or it continues. BITS(n)
513 state information is maintained to continue the loop where it left off
561 unsigned have, left; /* available input and output */ local
585 out = left;
824 if (copy > left) copy = left;
829 left -= copy;
951 if (have >= 6 && left >
[all...]
/ast/src/lib/libexpr/
H A Dexgram.h53 exnewnode(Expr_t* p, int op, int binary, int type, Exnode_t* left, Exnode_t* right) argument
63 x->data.operand.left = left;
132 if (x->data.operand.left)
133 exfreenode(p, x->data.operand.left);
365 if (type != args->data.operand.left->type)
366 args->data.operand.left = excast(expr.program, args->data.operand.left, type, NiL, num);
393 if (!args || args->data.operand.left->type != STRING)
395 if (args->data.operand.left
[all...]
H A Dexpr.h162 Exnode_t* left; /* left operand */ member in struct:Exdata_u::__anon354
191 Exshort_t binary; /* data.operand.{left,right} ok */
/ast/src/cmd/ksh93/edit/
H A Dcompletion.c303 char *cp=begin, *left=0, *saveout="."; local
394 left=stakcopy(out);
481 if(left)
482 out = strcopy(out,left);
/ast/src/lib/libardir/
H A Dar-omf.c62 static int namcomp(Dt_t *dp, Void_t *left, Void_t *right, Dtdisc_t *dsp) argument
64 char *l= (char*)left;
72 static int offcomp(Dt_t *dp, Void_t *left, Void_t *right, Dtdisc_t *dsp) argument
74 off_t l= *((off_t*)left);
/ast/src/lib/libcmd/
H A Dexpr.c48 "left associative. The symbols \aexpr1\a and \aexpr2\a represent "
401 register char *left,*right; local
410 left = np->str;
412 sfsprintf(left=buff1,sizeof(buff1),"%d",np->num);
421 np->num = streq(left,right);
424 np->num = (strcoll(left,right)>0);
427 np->num = (strcoll(left,right)<0);
430 np->num = (strcoll(left,right)>=0);
433 np->num = (strcoll(left,right)<=0);
436 np->num = !streq(left,righ
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dtest.c464 int test_binop(Shell_t *shp,register int op,const char *left,const char *right) argument
469 while(*left=='0')
470 left++;
473 lnum = sh_arith(shp,left);
481 return(*left!=0);
483 return(test_strmatch(shp, left, right));
485 return(!test_strmatch(shp, left, right));
487 return(strcoll(left, right)>0);
489 return(strcoll(left, right)<0);
491 return(strcmp(left, righ
[all...]
/ast/src/lib/libast/misc/
H A Dfts.c85 FTSENT* left; /* left child */ \
254 #define RROTATE(r) (t = r->left, r->left = t->right, t->right = r, r = t)
255 #define LROTATE(r) (t = r->right, r->right = t->left, t->left = r, r = t)
262 register FTSENT* left; local
267 left = right = lroot = rroot = 0;
275 * this is the left zig-zig case
278 if (root->left
349 register FTSENT* left; local
[all...]
/ast/src/lib/librecsort/
H A Drecsort.h73 Rsobj_t* left; /* left/last link or out of order */ member in struct:_rsobj_s
/ast/src/lib/libtk/generic/
H A Dtk3d.c109 * NULL is returned and an error message will be left
229 * left side of the object; 0 means it
237 GC left, right;
254 left = borderPtr->lightGC;
261 XFillRectangle(display, drawable, left, x, y, (unsigned) half,
266 left = borderPtr->darkGC;
302 int leftIn, rightIn; /* Describes whether the left and right
305 * is true, the left side of the bevel
735 * 3-D border borderWidth units width wide on the left
754 * pixels to the left o
235 GC left, right; local
[all...]
H A DtkCanvas.c1930 int x1, y1; /* Upper left corner of area to redraw.
2230 * one to return), and return if there are no items left.
2337 * Grow the tag space if there's no more room left in the current
3654 * corresponding to left edge of canvas
3660 int left, right, top, bottom, delta;
3666 * left corner.
3694 * canvas in the view. The variables left, right, etc. keep track of
3704 left = xOrigin + canvasPtr->inset - canvasPtr->scrollX1;
3710 if ((left < 0) && (right > 0)) {
3711 delta = (right > -left)
3630 int left, right, top, bottom, delta; local
[all...]
H A DtkListbox.c28 * origin to left edge of character. */
30 * left bearing and right bearing). */
121 int xOffset; /* The left edge of each string in the
122 * listbox is offset to the left by this
1042 int left, right; /* Non-zero values here indicate
1043 * that the left or right edge of
1082 left = right = 0;
1084 left = listPtr->selBorderWidth+1;
1109 * 1. The left and right bevels may not be visible if horizontal
1110 * scrolling is enabled (the "left" an
1037 int left, right; /* Non-zero values here indicate local
[all...]
/ast/src/cmd/paxlib/calib/
H A Dcalib.c81 size_t left; member in struct:Ar_s
234 #define cagetbits(ar,n) ((n)<=(ar)->left? \
235 ((((ar)->buf)>>((ar)->left-=(n)))&((1L<<(n))-1)):\
243 while (ar->left <= 8 * (sizeof(ar->buf) - 1))
250 ar->left += 8;
252 else if (ar->left < nbits)
472 ar->left = 0;
/ast/src/cmd/sortlib/sync/
H A Dss.h125 Ssop_t left; /* left operand */ member in struct:Ssexpr_s
/ast/src/lib/libtksh/tcl/
H A DtclCmdMZ.c1125 int left = 0, right = 0;
1306 left = right = 1;
1319 if (left) {
1348 left = 1;
1116 int left = 0, right = 0; local
/ast/src/lib/libvdelta/
H A Dvdelhdr.h203 int left; member in struct:_vdio_s
214 #define LEFT(io) ((io)->left)

Completed in 98 milliseconds

12