Searched defs:x2 (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/uwin/
H A Drand48.c72 unsigned short x2 = x[2]; local
74 r += a[2]*x2;
77 r += a[1]*x2;
83 r += a[0]*x2;
/ast/src/lib/libtk/generic/
H A DtkCanvImg.c210 * 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 DtkCanvWind.c234 * 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 DtkCanvBmap.c214 * 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 DtkPlace.c717 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
H A DtkRectOval.c26 * 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 Dtk3d.c322 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 DtkCanvArc.c24 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 DtkCanvPs.c33 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 DtkCanvText.c40 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 DtkCanvas.c420 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 DtkEntry.c469 int index, x1, x2;
493 &x2);
495 x2 = x1;
499 (Tk_Height(entryPtr->tkwin) - height)/2, x2-x1, height);
467 int index, x1, x2; local
H A Dtk.h149 #define TK_ARGV_NO_LEFTOVERS 0x2
579 int x1, y1, x2, y2; /* Bounding box for item, in integer
583 * includes x1 and y1 but not x2
985 Tk_Canvas canvas, int x1, int y1, int x2,
577 int x1, y1, x2, y2; /* Bounding box for item, in integer member in struct:Tk_Item
/ast/src/cmd/pax/
H A Dpax.c1964 register char* x2 = x1 + x; local
1965 register char* x3 = x2 + x;
2004 sfsprintf(x2, x, ", %d parts", ap->part - ap->volume + 1);
2006 *x2 = 0;
2018 sfprintf(sfstderr, "%s%s%I*d block%s%s%s\n", x3, x4, sizeof(n), n, n == 1 ? "" : "s", x1, x2);
/ast/src/cmd/std/
H A Dls.c1109 char* x2; local
1112 x2 = strrchr(f2->name, '.');
1115 if (x2)
1116 n = strcoll(x1, x2);
1120 else if (x2)

Completed in 56 milliseconds