Searched refs:margin (Results 1 - 17 of 17) sorted by relevance

/freebsd-current/usr.bin/tabs/
H A Dtabs.c34 * and optionally sets a soft margin.
80 long cols, i, inc, j, margin, nstops, stops[NSTOPS]; local
87 margin = 0;
96 margin = strtol(arg, &end, 10);
97 if (errno != 0 || *end != '\0' || margin < 0)
98 errx(1, "%s: invalid margin width",
101 margin = 10;
156 * Set soft margin.
160 printf("%*s", (int)margin, "");
162 } else if (margin !
[all...]
/freebsd-current/contrib/bsddialog/lib/
H A Dtextbox.c44 int margin; /* 2 with multicolumn char, 0 otherwise */ member in struct:scrolltext
69 if (st->xpad + d->w - 2 - st->margin < st->wpad) {
93 d->text, NULL, &d->bs, st->hpad, st->wpad + st->margin) != 0)
95 minw = (st->wpad > 0) ? 2 /*multicolumn char*/ + st->margin : 0 ;
118 st->xs = (st->margin == 0) ? d->x + 1 : d->x + 2;
120 st->xe = st->xs + d->w - 3 - st->margin;
157 st.margin = 0;
173 st.margin = 2;
239 if (st.xpad + d.w - 2 - st.margin < st.wpad)
H A Dlib_util.c271 unsigned int newmargin, margin, wbuttons; local
279 margin = t.button.minmargin;
282 margin = newmargin;
284 wbuttons += (d->bs.nbuttons + 1) * margin;
289 x = i * (d->bs.sizebutton + margin);
/freebsd-current/contrib/dialog/
H A Dbuttons.c284 dlg_button_x_step(const char **labels, int limit, int *gap, int *margin, int *step) argument
291 *margin = 0;
303 *margin = *gap;
305 *margin = *gap * 2;
321 int gap, margin, step; local
326 while (!dlg_button_x_step(labels, width, &gap, &margin, &step))
354 int margin; local
367 dlg_button_x_step(labels, limit, &gap, &margin, &step);
368 x += margin;
/freebsd-current/usr.bin/vgrind/
H A Dvfontedpr.c86 static int margin; variable
328 margin = 0;
558 i = tabs(s_start, start) - margin / 8;
559 printf("\\h'|%dn'", i * 10 + 1 - margin % 8);
/freebsd-current/sys/dev/vt/hw/fb/
H A Dvt_fb.c466 u_int margin; local
472 margin = (info->fb_height - vd->vd_height) >> 1;
473 vd->vd_transpose = margin * info->fb_stride;
475 margin = (info->fb_width - vd->vd_width) >> 1;
476 vd->vd_transpose += margin * (info->fb_bpp / NBBY);
/freebsd-current/contrib/bsddialog/utility/
H A Dutil_theme.c369 int margin, i; local
445 margin = rand() % 5;
446 memset(title, ' ', margin);
447 strcpy(title + margin, conf->title);
448 memset(title + strlen(title), ' ', margin);
/freebsd-current/contrib/llvm-project/lld/COFF/
H A DWriter.cpp222 bool isInRange(uint16_t relType, uint64_t s, uint64_t p, int margin);
225 uint16_t type, int margin);
226 bool createThunks(OutputSection *os, int margin);
394 bool Writer::isInRange(uint16_t relType, uint64_t s, uint64_t p, int margin) { argument
396 int64_t diff = AbsoluteDifference(s, p + 4) + margin;
407 int64_t diff = AbsoluteDifference(s, p) + margin;
427 uint64_t p, uint16_t type, int margin) {
429 if (lastThunk && isInRange(type, lastThunk->getRVA(), p, margin))
451 // specified margin, to make sure that relocations that originally are in
456 // no extra margin requirement
426 getThunk(DenseMap<uint64_t, Defined *> &lastThunks, Defined *target, uint64_t p, uint16_t type, int margin) argument
458 createThunks(OutputSection *os, int margin) argument
633 int margin = 1024 * 100; local
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dv_txt.c260 size_t margin; /* Wrapmargin value. */ local
392 * from the RIGHT-HAND margin, not the left. It's more useful to
393 * us as a distance from the left-hand margin, i.e. the same as
400 * Setting margin causes a significant performance hit. Normally
402 * have to if margin is set, otherwise the screen routines don't
417 if ((margin = O_VAL(sp, O_WRAPMARGIN)) != 0)
418 margin = sp->cols - margin;
420 margin = O_VAL(sp, O_WRAPLEN);
422 margin
[all...]
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_dfs.c183 static int mt76x02_dfs_get_multiple(int val, int frac, int margin) argument
190 if (abs(val - frac) <= margin)
196 if (remainder > margin) {
197 if ((frac - remainder) <= margin)
/freebsd-current/contrib/ncurses/
H A Ddist.mk65 # versions of 'man' leave no margin (and make it harder to sync with pages).
/freebsd-current/contrib/bsnmp/tests/
H A Dcatch.hpp3035 // Validates the new margin (margin >= 0)
3037 void setMargin(double margin);
3111 Approx& margin( T const& newMargin ) {
3382 WithinAbsMatcher(double target, double margin);
3421 Floating::WithinAbsMatcher WithinAbs(double target, double margin);
3654 ApproxMatcher& margin( T const& newMargin ) {
3655 approx.margin(newMargin);
7773 // Performs equivalent check of std::fabs(lhs - rhs) <= margin
7775 bool marginComparison(double lhs, double rhs, double margin) {
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp542 id="showArrows" style="margin-left: 10px" />
922 // Compute the margin offset by counting tabs and non-tabs.
962 os << "\" style=\"margin-left:" << PosNo << "ex";
1134 "margin-left:5px\">"
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c1451 int i, j, margin = 5; local
1519 if (dt_printf(dtp, fp, "\n%*s ", margin, "") < 0)
1531 if (dt_printf(dtp, fp, "%*s%5x:", margin, "", i) < 0)
/freebsd-current/contrib/libxo/xohtml/external/
H A Djquery.qtip.js1933 MARGIN = 'margin',
2378 tip.css({ margin: '', top: '', bottom: '', left: '', right: '' }).css(position);
H A Djquery.js1505 margin: 0,
1564 // Check if div with explicit width and no margin-right incorrectly
1565 // gets computed margin-right based on width of container. For more
1568 // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
1605 ptlm = "position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",
1621 container.style.cssText = vb + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px";
6744 // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
6749 ret = curCSS( elem, "margin-right", "marginRight" );
6836 if ( extra === "margin" ) {
6855 // Add padding, border, margin
[all...]
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c12235 ** <table border=1 style="margin-left:8ex;margin-right:8ex">
12825 ** <table border=1 style="margin-left:8ex;margin-right:8ex">
210598 RtreeDValue margin = 0; local
210920 RtreeDValue margin = RTREE_ZERO; local
[all...]

Completed in 1052 milliseconds