/ast/src/lib/libtk/library/demos/ |
H A D | hscale.tcl | 37 set x2 [expr $width - 30] 38 if {$x2 < 21} { 39 set x2 21 41 $w coords poly 20 15 20 35 $x2 35 $x2 45 $width 25 $x2 5 $x2 15 20 15 42 $w coords line 20 15 20 35 $x2 35 $x2 45 $width 25 $x2 [all...] |
H A D | arrow.tcl | 32 eval "$c create line $v(x1) $v(y) $v(x2) $v(y) -width [expr 10*$v(width)] \ 35 set xtip [expr $v(x2)-10*$v(b)] 37 $c create line $v(x2) $v(y) $xtip [expr $v(y)+$deltaY] \ 38 [expr $v(x2)-10*$v(a)] $v(y) $xtip [expr $v(y)-$deltaY] \ 39 $v(x2) $v(y) -width 2 -capstyle round -joinstyle round 43 eval "$c create rect [expr $v(x2)-10*$v(a)-5] [expr $v(y)-5] \ 44 [expr $v(x2)-10*$v(a)+5] [expr $v(y)+5] $v(boxStyle) \ 58 $c create line [expr $v(x2)+50] 0 [expr $v(x2)+50] 1000 \ 60 set tmp [expr $v(x2) [all...] |
/ast/src/lib/libast/uwin/ |
H A D | mathimpl.h | 69 # define vc(name, value, x1,x2,x3,x4, bexp, xval) \ 70 const static long cat3(name,,x)[] = {cat3t(0x,x1,x2), cat3t(0x,x3,x4)}; 78 # define vc(name, value, x1,x2,x3,x4, bexp, xval) ;
|
H A D | rand48.c | 72 unsigned short x2 = x[2]; local 74 r += a[2]*x2; 77 r += a[1]*x2; 83 r += a[0]*x2;
|
/ast/src/cmd/std/ |
H A D | banner.c | 97 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80, 0, 100 0x7c, 0x82, 0x2, 0x7c, 0x80, 0x80, 0xfe, 0, 101 0x7c, 0x82, 0x2, 0x7c, 0x2, 0x82, 0x7c, 0, 103 0xfe, 0x80, 0x80, 0xfc, 0x2, 0x82, 0x7c, 0, 107 0x7c, 0x82, 0x82, 0x7e, 0x2, 0x82, 0x7c, 0, 113 0x7c, 0x82, 0x2, 0x1c, 0x10, 0, 0x10, 0, 124 0x2, 0x2, 0x2, [all...] |
/ast/src/cmd/ksh93/include/ |
H A D | argnod.h | 115 #define ARG_MAKE 0x2 /* bit set during argument expansion */ 116 #define ARG_COMSUB 0x2 /* command sub */
|
H A D | edit.h | 262 #define HIST_QUESTION 0x2 /* question mark event designator */
|
H A D | shell.h | 104 #define SH_END_OPTIM 0x2
|
H A D | nval.h | 151 #define NV_INTEGER 0x2 /* integer attribute */
|
/ast/src/lib/libtk/generic/ |
H A D | tkCanvImg.c | 210 * x2, y2, ... */ 346 * The fields x1, y1, x2, and y2 are updated in the header 366 imgPtr->header.x1 = imgPtr->header.x2 = x; 415 imgPtr->header.x2 = x + width; 493 double x1, x2, y1, y2, xDiff, yDiff; 497 x2 = imgPtr->header.x2; 506 } else if (coordPtr[0] > x2) { 507 xDiff = coordPtr[0] - x2; 549 * (x1, y1, x2, y 486 double x1, x2, y1, y2, xDiff, yDiff; local [all...] |
H A D | tkCanvBmap.c | 214 * x2, y2, ... */ 359 * The fields x1, y1, x2, and y2 are updated in the header 379 bmapPtr->header.x1 = bmapPtr->header.x2 = x; 429 bmapPtr->header.x2 = x + width; 475 bmapWidth = bmapPtr->header.x2 - x; 478 if ((x+width) < bmapPtr->header.x2) { 481 bmapWidth = bmapPtr->header.x2 - bmapPtr->header.x1; 543 double x1, x2, y1, y2, xDiff, yDiff; 547 x2 = bmapPtr->header.x2; 536 double x1, x2, y1, y2, xDiff, yDiff; local [all...] |
H A D | tkRectOval.c | 26 * or oval (x1, y1, x2, y2). Item includes 27 * x1 and x2 but not y1 and y2. */ 181 itemPtr->typePtr->name, " x1 y1 x2 y2 ?options?\"", 249 * x2, y2, ... */ 427 * The fields x1, y1, x2, and y2 are updated in the header 483 rectOvalPtr->header.x2 = tmp + bloat; 522 short x1, y1, x2, y2; 533 &x2, &y2); 534 if (x2 <= x1) { 535 x2 516 short x1, y1, x2, y2; local 600 double xDiff, yDiff, x1, y1, x2, y2, inc, tmp; local [all...] |
H A D | tkCanvWind.c | 234 * x2, y2, ... */ 408 * The fields x1, y1, x2, and y2 are updated in the header 426 winItemPtr->header.x1 = winItemPtr->header.x2 = x; 493 winItemPtr->header.x2 = x + width; 545 width = winItemPtr->header.x2 - winItemPtr->header.x1; 594 double x1, x2, y1, y2, xDiff, yDiff; 598 x2 = winItemPtr->header.x2; 607 } else if (pointPtr[0] >= x2) { 608 xDiff = pointPtr[0] + 1 - x2; 587 double x1, x2, y1, y2, xDiff, yDiff; local [all...] |
H A D | tkCanvas.c | 420 int x1 = 0, y1 = 0, x2 = 0, y2 = 0; /* Initializations needed 434 if ((itemPtr->x1 >= itemPtr->x2) 441 x2 = itemPtr->x2; 451 if (itemPtr->x2 > x2) { 452 x2 = itemPtr->x2; 461 sprintf(interp->result, "%d %d %d %d", x1, y1, x2, y2); 637 itemPtr->x1, itemPtr->y1, itemPtr->x2, itemPt 418 int x1 = 0, y1 = 0, x2 = 0, y2 = 0; /* Initializations needed local 2449 int x1, y1, x2, y2; local 2625 int x1, y1, x2, y2; local 3084 int x1, y1, x2, y2; local [all...] |
H A D | tkCanvArc.c | 24 double bbox[4]; /* Coordinates (x1, y1, x2, y2) of bounding 130 static int HorizLineToArc _ANSI_ARGS_((double x1, double x2, 214 itemPtr->typePtr->name, " x1 y1 x2 y2 ?options?\"", 296 * x2, y2, ... */ 505 * The fields x1, y1, x2, and y2 are updated in the header 546 arcPtr->header.x1 = arcPtr->header.x2 = arcPtr->center1[0]; 604 arcPtr->header.x2 += tmp; 638 short x1, y1, x2, y2; 649 &x2, &y2); 650 if (x2 < 632 short x1, y1, x2, y2; local [all...] |
H A D | tkCanvText.c | 40 int x2, y2; /* Lower-left pixel that is part of text member in struct:TextLine 296 * x2, y2, ... */ 503 * The fields x1, y1, x2, and y2 are updated in the header 662 linePtr->x2 = linePtr->x + linePixels[i]; 674 textPtr->header.x1 = textPtr->header.x2 = leftX; 682 if (linePtr->x2 >= textPtr->header.x2) { 683 textPtr->header.x2 = linePtr->x2 + 1; 692 textPtr->header.x2 [all...] |
H A D | tkCanvPs.c | 33 int x2, y2; /* x+width and y+height. */ member in struct:TkPostscriptInfo 210 psInfo.x2 = psInfo.x + psInfo.width; 319 if ((itemPtr->x1 >= psInfo.x2) || (itemPtr->x2 < psInfo.x) 444 psInfo.x2, Tk_CanvasPsY((Tk_Canvas) canvasPtr, (double) psInfo.y), 445 psInfo.x2, Tk_CanvasPsY((Tk_Canvas) canvasPtr, (double) psInfo.y2), 464 if ((itemPtr->x1 >= psInfo.x2) || (itemPtr->x2 < psInfo.x)
|
H A D | tk3d.c | 322 int bottom, halfway, x1, x2, x1Delta, x2Delta; 366 x2 = x+width; 368 x2 -= height; 385 * rectangles) x1 can be >= x2. Don't draw the lines 389 if (x1 < x2) { 392 (unsigned) (x2-x1), (unsigned) 1); 395 x2 += x2Delta; 1168 * equations of the form y = (x-x1)*(y2-y1)/(x2-x1) + y1 to solve 319 int bottom, halfway, x1, x2, x1Delta, x2Delta; local
|
H A D | tkPlace.c | 717 double x1, y1, x2, y2; 767 x2 = x1 + (slavePtr->relWidth*masterWidth); 768 tmp = x2 + ((x2 > 0) ? 0.5 : -0.5); 711 double x1, y1, x2, y2; local
|
/ast/src/lib/libast/comp/ |
H A D | fmtmsg.h | 64 #define MM_ERROR 0x2 /* fault */
|
H A D | fmtmsglib.c | 40 #define INIT_CONSOLE 0x2
|
/ast/src/lib/libast/include/ |
H A D | proc.h | 60 #define PROC_FD_PARENT 0x2
|
/ast/src/lib/libcmd/ |
H A D | pathchk.c | 81 #define PATH 0x2
|
/ast/src/cmd/ksh93/tests/ |
H A D | builtins.sh | 244 float x2=.0000625 245 if [[ $(printf "%10.5E\n" x2) != 6.25000E-05 ]] 248 x2=.000000001 249 if [[ $(printf "%g\n" x2 2>/dev/null) != 1e-09 ]]
|
/ast/src/lib/libtk/library/ |
H A D | tkfbox.tcl | 330 set x2 [lindex $bbox 2] 332 incr x2 -[expr $pad * 1] 342 if {[expr $x2 - $dispX] >= $cW} { 343 set dispX [expr $x2 - $cW]
|