Searched refs:XawMin (Results 1 - 11 of 11) sorted by relevance

/xsrc/external/mit/libXaw/dist/src/
H A DPrivate.h32 #define XawMin(a, b) ((a) < (b) ? (a) : (b)) macro
H A DAsciiSink.c459 right = XawMin(right, ctx->text.lastPos + 1);
471 if ((length = XawMin(from, pos) - tmp) > 0)
484 if ((length = XawMin(from, pos) - tmp) > 0) {
497 if ((length = XawMin(from, pos) - tmp) > 0)
507 tmp = XawMin(pos, from);
514 tmp = XawMin(pos, from);
569 pos = XawMin(pos, to);
711 right = XawMin(right, ctx->text.lastPos);
1210 right = XawMin(right, ctx->text.lastPos + 1);
1386 length = (Cardinal)(XawMin(toPo
[all...]
H A DScrollbar.c381 bottom = XawMin(bottom, XtWidth(w) - 1);
383 bottom = XawMin(bottom, XtHeight(w) - 1);
432 FillArea(w, newtop, XawMin(newbot, oldtop), 1);
434 FillArea(w, oldtop, XawMin(newtop, oldbot), 0);
H A DAsciiSrc.c368 end = XawMin(end, src->ascii_src.length);
380 end = XawMin(end, offset);
392 end = XawMin(end, offset + block->length);
1337 bytes = (int)(XawMin(bytes, tmp->used));
1538 piece->used = XawMin(len, src->ascii_src.piece_size);
1555 piece->used = XawMin(src->ascii_src.length, src->ascii_src.piece_size);
1566 piece->used = XawMin(left, src->ascii_src.piece_size);
H A DDisplayList.c1337 rects[i].x = XawMin(x1, x2);
1338 rects[i].y = XawMin(y1, y2);
1370 dst_x = XawMin(tmp1, tmp2);
1375 dst_y = XawMin(tmp1, tmp2);
1496 0, 0, (unsigned)XawMin(width, xe - x), (unsigned)XawMin(height, ye - y),
1500 (unsigned)XawMin(width, xe - x), (unsigned)XawMin(height, ye - y), x, y);
H A DText.c1537 src_x = XawMax(x1, XawMin(src_x, x2));
1538 src_y = XawMax(y1, XawMin(src_y, y2));
1539 dst_x = XawMax(x1, XawMin(dst_x, x2));
1540 dst_y = XawMax(y1, XawMin(dst_y, y2));
1541 width = (unsigned)XawMax(0, XawMin(x2 - dst_x, (int)width));
1542 height = (unsigned)XawMax(0, XawMin(y2 - dst_y, (int)height));
1637 top = XawMin(lt->info[vlines].position, ctx->text.lastPos);
1751 pixels = XawMin(pixels, max);
2809 XawMin(to, ctx->text.s.right), True);
3336 ctx->text.s.right = XawMin(ct
[all...]
H A DActions.c260 strncpy(name, p, XawMin((int)sizeof(name) - 1,
262 name[XawMin((int)sizeof(name) -1, info->cp - p)] = '\0';
H A DTextSrc.c1057 entity->length = (Cardinal) (XawMin(entity->length, offset - right));
1940 int length = (int) (XawMin(entity->length, left - offset));
1975 entity->length = (Cardinal) (XawMin(entity->length, offset - right));
H A DTextSink.c431 x2 = (Position) (XawMin(x + (int)width, (int)XtWidth(xaw) - xaw->text.r_margin.right));
432 y2 = (Position) (XawMin(y + (int)height, (int)XtHeight(xaw) - xaw->text.r_margin.bottom));
H A DPixmap.c833 steps = XawMin(steps, dimension);
H A DTextAction.c2051 tw->text.insertPos = XawMin(XawMax(0, pos[i]), tw->text.lastPos);
2315 ctx->text.insertPos = XawMin(ipos, ctx->text.lastPos);
2411 spaces = XawMin(-spaces, min);
2461 tw->text.insertPos = XawMin(XawMax(0, pos[i]), tw->text.lastPos);
3823 XawMin(ctx->text.s.left, ctx->text.s.right),

Completed in 27 milliseconds