Home
last modified time | relevance | path

Searched refs:valInt (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dcmdline.c298 valInt,
309 valInt,
350 valInt,
360 valInt,
480 valInt,
542 valInt,
552 valInt,
602 valInt,
853 valInt,
962 valInt,
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/adt/
H A Dvector.c41 #define indexVector(v, e) ( valInt(e) - valInt(v->offset) - 1 )
183 { int h = valInt(high); in highIndexVector()
184 int oh = valInt(v->offset) + valInt(v->size); in highIndexVector()
212 { int l = valInt(low); in lowIndexVector()
216 { int size = valInt(v->size) + valInt(v->offset) - l; in lowIndexVector()
298 f = (isDefault(from) ? valInt(getLowIndexVector(v)) : valInt(from)); in fillVector()
299 t = (isDefault(to) ? valInt(getHighIndexVector(v)) : valInt(to)); in fillVector()
423 { int start = valInt(v->size) + valInt(v->offset) + 1; in appendVector()
471 f = valInt(from); in sortVector()
473 t = valInt(to); in sortVector()
[all …]
H A Dregion.c38 #define InitAreaA int ax = valInt(a->x), ay = valInt(a->y), \
39 aw = valInt(a->w), ah = valInt(a->h)
40 #define InitAreaB int bx = valInt(b->x), by = valInt(b->y), \
41 bw = valInt(b->w), bh = valInt(b->h)
82 int px = valInt(p->x); in insideRegion()
83 int py = valInt(p->y); in insideRegion()
85 x = valInt(getAreaXRegion(r, a)); in insideRegion()
86 w = valInt(getAreaWRegion(r, a)); in insideRegion()
91 y = valInt(getAreaYRegion(r, a)); in insideRegion()
92 h = valInt(getAreaHRegion(r, a)); in insideRegion()
/dports/games/xpilot/xpilot-4.5.5/src/server/
H A Dcmdline.c442 valInt,
465 valInt,
475 valInt,
486 valInt,
527 valInt,
537 valInt,
547 valInt,
557 valInt,
627 valInt,
684 valInt,
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/txt/
H A Dsyntax.c203 t->context[valInt(chr)] = isDefault(context) ? 0 : valInt(context); in syntaxSyntaxTable()
208 t->context[valInt(context)] = valInt(chr); in syntaxSyntaxTable()
211 t->context[valInt(context)] = valInt(chr); in syntaxSyntaxTable()
234 t->context[valInt(context)] = valInt(chr); in addSyntaxSyntaxTable()
235 t->context[valInt(chr)] = valInt(context); in addSyntaxSyntaxTable()
238 t->context[valInt(context)] = valInt(chr); in addSyntaxSyntaxTable()
239 t->context[valInt(chr)] = valInt(context); in addSyntaxSyntaxTable()
249 t->context[valInt(chr)] |= valInt(context); in addSyntaxSyntaxTable()
258 { t->context[valInt(chr)] = isDefault(context) ? 0 : valInt(context); in contextSyntaxTable()
266 { if ( t->context[valInt(chr)] ) in getContextSyntaxTable()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/men/
H A Dtab.c104 w = valInt(a->w) + 2 * valInt(t->gap->w); in computeTab()
105 h = valInt(a->h) + 2 * valInt(t->gap->h); in computeTab()
107 { w = valInt(t->size->w); in computeTab()
108 h = valInt(t->size->h); in computeTab()
113 y = valInt(t->offset->y) - valInt(t->label_size->h); in computeTab()
212 chr = valInt(offset) + valInt(t->label_size->w); /* shift right */ in labelOffsetTab()
350 { int x = valInt(X) - valInt(t->offset->x); in inEventAreaTab()
351 int y = valInt(Y) - valInt(t->offset->y); in inEventAreaTab()
356 x < valInt(t->label_offset) + valInt(t->label_size->w) ) in inEventAreaTab()
373 x = valInt(X), y = valInt(Y); in eventTab()
[all …]
H A Dlabelbox.c72 *w += valInt(getExFont(lb->label_font)); in compute_label()
78 *w = valInt(lb->label_width); in compute_label()
90 { int ry = valInt(pt->y); in compute_label()
164 x = valInt(a->x) - valInt(border->w); in computeLabelBox()
165 y = valInt(a->y) - valInt(border->h); in computeLabelBox()
166 w = valInt(a->w) + 2 * valInt(border->w); in computeLabelBox()
167 h = valInt(a->h) + 2 * valInt(border->h); in computeLabelBox()
172 { x = valInt(lb->offset->x); in computeLabelBox()
173 y = valInt(lb->offset->y); in computeLabelBox()
174 w = valInt(lb->size->w); in computeLabelBox()
[all …]
H A Dintitem.c76 return(valInt(w)); in width_text()
96 sprintf(s2, INTPTR_FORMAT, valInt(high)); in rangeIntItem()
101 { sprintf(s1, INTPTR_FORMAT, valInt(low)); in rangeIntItem()
103 sprintf(buf, INTPTR_FORMAT "..", valInt(low)); in rangeIntItem()
105 { sprintf(s1, INTPTR_FORMAT, valInt(low)); in rangeIntItem()
106 sprintf(s2, INTPTR_FORMAT, valInt(high)); in rangeIntItem()
108 valInt(low), valInt(high)); in rangeIntItem()
187 val = valInt(ival); in addIntItem()
190 val += valInt(change); in addIntItem()
192 val = max(val, valInt(low)); in addIntItem()
[all …]
H A Dmenu.c108 *cols = valInt(m->columns); in rows_and_cols()
119 int gx = valInt(m->gap->w); in x_gap()
140 *x = valInt(m->item_offset->x) + valInt(m->margin); in area_menu_item()
343 { if ( valInt(m->item_size->h) > valInt(a->h) ) in computeMenu()
347 x = valInt(a->x); y = valInt(a->y); in computeMenu()
348 w = valInt(a->w); h = valInt(a->h); in computeMenu()
421 ry = valInt(m->item_offset->y) + valInt(m->item_size->h); in getReferenceMenu()
859 ax = valInt(a->x); ay = valInt(a->y); in RedrawAreaMenu()
860 aw = valInt(a->w); ah = valInt(a->h); in RedrawAreaMenu()
983 x = valInt(X) - valInt(m->item_offset->x); in getItemFromEventMenu()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/gra/
H A Dimage.c394 { if ( valInt(x) >= 0 && valInt(y) >= 0 && in inImage()
395 valInt(x) < valInt(image->size->w) && in inImage()
396 valInt(y) < valInt(image->size->h) ) in inImage()
446 d_image(image, 0, 0, valInt(w), valInt(h)); in copyImage()
448 r_image(i2, 0, 0, 0, 0, valInt(w), valInt(h), OFF); in copyImage()
631 r_complement_pixel(valInt(x), valInt(y)); in invertPixelImage()
665 pixel = r_get_pixel(valInt(x), valInt(y)); in getPixelImage()
752 { x = valInt(area->x); y = valInt(area->y); in getClipImage()
753 w = valInt(area->w); h = valInt(area->h); in getClipImage()
807 { int hx = (valInt(image->hot_spot->x) * valInt(size->w)) / in getScaleImage()
[all …]
H A Dline.c83 int x = valInt(a->x); in loadLine()
84 int y = valInt(a->y); in loadLine()
251 { r_complement(valInt(ln->start_x)-2, valInt(ln->start_y)-2, 5, 5); in paintSelectedLine()
252 r_complement(valInt(ln->end_x)-2, valInt(ln->end_y)-2, 5, 5); in paintSelectedLine()
490 d = distanceLineToPoint(valInt(ln->start_x), valInt(ln->start_y), in inEventAreaLine()
491 valInt(ln->end_x), valInt(ln->end_y), in inEventAreaLine()
492 valInt(x), valInt(y), FALSE); in inEventAreaLine()
512 valInt(ln->end_x), valInt(ln->end_y), in getDistanceLine()
513 valInt(pt->x), valInt(pt->y), extended))); in getDistanceLine()
525 { int dx = valInt(ln->end_x) - valInt(ln->start_x); in getLengthLine()
[all …]
H A Dpath.c140 ox = x - valInt(p->area->x) + valInt(p->offset->x); in RedrawAreaPath()
141 oy = y - valInt(p->area->y) + valInt(p->offset->y); in RedrawAreaPath()
192 ox = x - valInt(p->area->x) + valInt(p->offset->x); in paintSelectedPath()
193 oy = y - valInt(p->area->y) + valInt(p->offset->y); in paintSelectedPath()
313 if ( valInt(pos->x) != px || valInt(pos->y) != py ) in smooth_path()
327 if ( valInt(pos->x) != px || valInt(pos->y) != py ) in smooth_path()
661 xf = (float) valInt(p->area->w) / (float) valInt(ow); in geometryPath()
662 yf = (float) valInt(p->area->h) / (float) valInt(oh); in geometryPath()
808 if ( valInt(d) < valInt(dist) && (isNil(rval) || valInt(d) < bestd) ) in getPointPath()
899 int dl = distanceLineToPoint(valInt(p0->x), valInt(p0->y), in getDistancePath()
[all …]
H A Dpostscript.c193 valInt(gr->area->x), in _output()
194 valInt(gr->area->y)); in _output()
200 valInt(p->x), valInt(p->y)); in _output()
206 valInt(f->offset->x), valInt(f->offset->y)); in _output()
366 { float r = (float) valInt(getRedColour(c)) / (float) valInt(BRIGHT); in ps_colour()
367 float g = (float) valInt(getGreenColour(c)) / (float) valInt(BRIGHT); in ps_colour()
368 float b = (float) valInt(getBlueColour(c)) / (float) valInt(BRIGHT); in ps_colour()
1132 int ly = valInt(img->area->y) + valInt(img->area->h)/2; in drawPostScriptNode()
1155 int ty = valInt(last->area->y) + valInt(last->area->h)/2; in drawPostScriptNode()
1313 x0 = valInt(pt->x); in drawPostScriptPath()
[all …]
H A Dtext.c49 #define Before(x, y) if ( valInt(x) > valInt(y) ) { Int _z = x; x=y; y=_z; }
432 y = valInt(pos->y); in initAreaText()
437 { x = valInt(pos->x); in initAreaText()
438 y = valInt(pos->y); in initAreaText()
517 { int x, y, w = valInt(t->area->w) - valInt(t->border), shift; in initOffsetText()
621 { int caret = (isDefault(chr) ? valInt(t->caret) : valInt(chr)); in get_char_pos_text()
709 { int x = valInt(pos->x); in getPointedText()
960 assign(p, x, toInt(valInt(p->x) + valInt(a->x) - valInt(ox))); in geometryText()
961 assign(p, y, toInt(valInt(p->y) + valInt(a->y) - valInt(oy))); in geometryText()
1347 tms = valInt(times); in insertSelfText()
[all …]
H A Darc.c88 int aw = valInt(a->size->w); in RedrawAreaArc()
89 int ah = valInt(a->size->h); in RedrawAreaArc()
96 cx = valInt(a->position->x); in RedrawAreaArc()
97 cy = valInt(a->position->y); in RedrawAreaArc()
99 r_thickness(valInt(a->pen)); in RedrawAreaArc()
104 r_arc(valInt(a->position->x) - aw, valInt(a->position->y) - ah, in RedrawAreaArc()
132 r_msarc(valInt(a->position->x) - aw, valInt(a->position->y) - ah, in RedrawAreaArc()
214 cx = valInt(a->position->x); in includeArrowsInAreaArc()
215 cy = valInt(a->position->y); in includeArrowsInAreaArc()
513 sx = valInt(Sx), sy = valInt(Sy), ex = valInt(Ex), ey = valInt(Ey); in pointsArc()
[all …]
H A Dgraphical.c507 int ox = valInt(x), oy = valInt(y), in changedAreaGraphical()
508 ow = valInt(w), oh = valInt(h); in changedAreaGraphical()
2680 int x = valInt(xc), y = valInt(yc); in inEventAreaGraphical()
3021 d_clip(valInt(a->x), valInt(a->y), valInt(a->w), valInt(a->h)); in clipGraphical()
3070 { r_line(valInt(x1), valInt(y1), valInt(x2), valInt(y2)); in drawLineGraphical()
3135 r_arc(valInt(x), valInt(y), valInt(w), valInt(h), s, e, fill); in drawArcGraphical()
3161 r_box(valInt(x), valInt(y), valInt(w), valInt(h), radius, fillp); in drawBoxGraphical()
3163 r_3d_box(valInt(x), valInt(y), valInt(w), valInt(h), radius, e, up != OFF); in drawBoxGraphical()
3173 { int ax = valInt(x), ay = valInt(y), aw = valInt(w), ah = valInt(h); in drawFillGraphical()
3194 valInt(x), valInt(y), in drawImageGraphical()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/evt/
H A Dresizegesture.c68 x = valInt(X), y = valInt(Y); in verifyResizeGesture()
69 w = valInt(gr->area->w); in verifyResizeGesture()
70 h = valInt(gr->area->h); in verifyResizeGesture()
178 x = valInt(gr->area->x); in dragResizeGesture()
179 y = valInt(gr->area->y); in dragResizeGesture()
180 w = valInt(gr->area->w); in dragResizeGesture()
181 h = valInt(gr->area->h); in dragResizeGesture()
183 ex = valInt(X); ey = valInt(Y); in dragResizeGesture()
189 ex = valInt(g->min_size->w); in dragResizeGesture()
193 ey = valInt(g->min_size->h); in dragResizeGesture()
[all …]
H A Dresizetabslice.c102 cn = valInt(cell->column); in verifyResizeTableSliceGesture()
103 rn = valInt(cell->row); in verifyResizeTableSliceGesture()
107 cn = valInt(pt->x); in verifyResizeTableSliceGesture()
108 rn = valInt(pt->y); in verifyResizeTableSliceGesture()
115 ex = valInt(X), ey = valInt(Y); in verifyResizeTableSliceGesture()
116 x = valInt(col->position); in verifyResizeTableSliceGesture()
117 y = valInt(row->position); in verifyResizeTableSliceGesture()
118 w = valInt(col->width); in verifyResizeTableSliceGesture()
119 h = valInt(row->width); in verifyResizeTableSliceGesture()
224 int nw = valInt(cx) - valInt(col->position); in dragResizeTableSliceGesture()
[all …]
H A Devent.c101 int px = valInt(x); in initialiseEvent()
102 int py = valInt(y); in initialiseEvent()
119 (valInt(last_down_bts)&BUTTON_mask) == (valInt(bts)&BUTTON_mask) && in initialiseEvent()
176 valInt(last_x) > 0 && valInt(last_y) > 0 ) in considerLocStillEvent()
506 *rx += valInt(a2->x) - valInt(a1->x); in get_xy_event_frame()
507 *ry += valInt(a2->y) - valInt(a1->y); in get_xy_event_frame()
599 x -= valInt(dev->area->x) - valInt(dev->offset->x); in get_xy_event()
600 y -= valInt(dev->area->y) - valInt(dev->offset->y); in get_xy_event()
685 valInt(x), valInt(y), pp(gr))); in insideEvent()
713 { int dx = valInt(ev1->x) - valInt(ev2->x); in getDistanceEvent()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/fmt/
H A Dtable.c84 valInt(c->column) == col && valInt(c->row) == row ) \
117 valInt(c->column) == col && valInt(c->row) == row ) \
389 { int tx = valInt(cell->column) + valInt(cell->col_span); in deleteCellTable()
390 int ty = valInt(cell->row) + valInt(cell->row_span); in deleteCellTable()
564 { t = valInt(to); in deleteRowsTable()
972 { int tabw = valInt(size) + valInt(slice->position); in userResizeSliceTable()
992 { int tabh = valInt(size) + valInt(slice->position); in userResizeSliceTable()
1406 valInt(a.x), valInt(a.y), in computeTable()
1407 valInt(a.w), valInt(a.h))); in computeTable()
1663 if ( valInt(cell->row) + valInt(cell->row_span) > rmax ) in RedrawRulesTableCell()
[all …]
H A Dtabcell.c286 int w = valInt(span); in colSpanTableCell()
290 for(y=valInt(cell->row); y<valInt(cell->row)+valInt(cell->row_span); y++) in colSpanTableCell()
323 int fy = valInt(cell->row); in rowSpanTableCell()
324 int h = valInt(span); in rowSpanTableCell()
331 for(x=valInt(cell->column); x<valInt(cell->column)+valInt(cell->col_span); x++) in rowSpanTableCell()
371 *pxptr = valInt(size->w); in table_cell_padding()
372 *pyptr = valInt(size->h); in table_cell_padding()
386 int x = valInt(cell->column); in dims_table_cell()
387 int y = valInt(cell->row); in dims_table_cell()
399 w = valInt(col->width); in dims_table_cell()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/box/
H A Dparbox.c238 r_fill(valInt(a2->x), valInt(a2->y), valInt(a2->w), valInt(a2->h), in RedrawAreaParBox()
297 { int ex = valInt(X); in getLocateEventParBox()
327 ex < valInt(gr->area->x) + valInt(gr->area->w) && in getLocateEventParBox()
329 ey < valInt(gr->area->y) + valInt(gr->area->h) ) in getLocateEventParBox()
990 int h = valInt(grb->ascent)+valInt(grb->descent); in push_shape_graphicals()
1058 pp(gr), pp(grb), pp(pb), valInt(x), valInt(y), valInt(w))); in PlaceGrBox()
1113 valInt(grb->ascent)+valInt(grb->descent), in PlaceAlignedGr()
1114 valInt(grw)); in PlaceAlignedGr()
1121 valInt(grb->ascent)+valInt(grb->descent), in PlaceAlignedGr()
1248 int lm = valInt(pb->area->x) - valInt(pb->offset->x); in requestGeometryParBox()
[all …]
H A Dlbox.c60 pp(gr), pp(lp), valInt(x), valInt(y), pp(w))); in PlaceLBox()
99 int isep = valInt(lb->item_sep); in computeLBox()
100 int lsep = valInt(lb->label_sep); in computeLBox()
101 int cy = valInt(lb->top_sep); in computeLBox()
121 lh = valInt(label->area->h); in computeLBox()
127 cy += max(lh, valInt(item->area->h)); in computeLBox()
133 cy += valInt(lb->top_sep); in computeLBox()
135 if ( valInt(lb->area->h) != cy ) in computeLBox()
151 { int iw = valInt(lb->area->w) - in getItemWidthLBox()
152 valInt(lb->left_margin) - in getItemWidthLBox()
[all …]
/dports/editors/picpas/PicPas-7940bc3/txpres/Demo2 - Evaluador de Expresiones/
H A Dunit1.pas36 Res.valInt := p1^.valInt * p2^.valInt;
42 Res.valInt := p1^.valInt + p2^.valInt;
68 ShowMessage(IntToStr(res.valInt));
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/win/
H A Dwindow.c580 *X = (ox1 + valInt(a1->x)) - (ox2 + valInt(a2->x)); in offset_windows()
581 *Y = (oy1 + valInt(a1->y)) - (oy2 + valInt(a2->y)); in offset_windows()
1262 nx = -valInt(x); in scrollWindow()
1269 ny = -valInt(y); in scrollWindow()
1319 int ax = valInt(a->x), ay = valInt(a->y); in normalise_window()
1320 int aw = valInt(a->w), ah = valInt(a->h); in normalise_window()
1423 { int h = ((valInt(bb->w)-valInt(sw->area->w)) * valInt(amount)) / 1000; in scrollHorizontalWindow()
1429 int d = (valInt(a->w) * valInt(amount)) / 1000; in scrollHorizontalWindow()
1454 { int h = ((valInt(bb->h)-valInt(sw->area->h)) * valInt(amount)) / 1000; in scrollVerticalWindow()
1460 int d = (valInt(a->h) * valInt(amount)) / 1000; in scrollVerticalWindow()
[all …]

12345678910>>...19