Searched refs:metric (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/utils/addftinfo/
H A Daddftinfo.cpp186 char_metric metric; local
187 metric.width = (int)strtol(p, &next, 10);
189 printf("%d", metric.width);
191 metric.type = (int)strtol(p, &next, 10);
194 guess(name.contents(), param, &metric);
195 if (metric.sk == 0) {
196 if (metric.left_ic == 0) {
197 if (metric.ic == 0) {
198 if (metric.depth == 0) {
199 if (metric
[all...]
H A Dguess.h46 void guess(const char *s, const font_params &param, char_metric *metric);
H A Dguess.cpp25 void guess(const char *s, const font_params &param, char_metric *metric) argument
27 int &height = metric->height;
28 int &depth = metric->depth;
30 metric->ic = 0;
31 metric->left_ic = 0;
32 metric->sk = 0;
41 if (metric->type & 01)
43 if (metric->type & 02)
/netbsd-6-1-5-RELEASE/usr.bin/rump_dhcpclient/
H A Dnet.h126 #define add_route(iface, dest, mask, gate, metric) \
127 if_route(iface, dest, mask, gate, metric, 1)
128 #define change_route(iface, dest, mask, gate, metric) \
129 if_route(iface, dest, mask, gate, metric, 0)
130 #define del_route(iface, dest, mask, gate, metric) \
131 if_route(iface, dest, mask, gate, metric, -1)
132 #define del_src_route(iface, dest, mask, gate, metric) \
133 if_route(iface, dest, mask, gate, metric, -2)
H A Ddhcpcd.h91 int metric; member in struct:interface
H A Dif-options.h84 int metric; member in struct:if_options
H A Dconfigure.c74 rt->iface->metric == r->iface->metric)) &&
135 if (!add_route(iface, &rt->dest, &rt->net, &rt->gate, iface->metric))
160 /* We delete and add the route so that we can change metric.
164 ort->iface->metric);
166 iface->metric))
173 d_route(struct rt *rt, const struct interface *iface, int metric) argument
178 retval = del_route(iface, &rt->dest, &rt->net, &rt->gate, metric);
386 d_route(rt, rt->iface, rt->iface->metric);
447 /* We need to delete the subnet route to have our metric o
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/
H A Dif-pref.c67 /* Finally, metric */
68 if (si->metric < ti->metric)
70 if (si->metric > ti->metric)
H A Dipv6.h60 int metric; member in struct:rt6
H A Dipv6.c201 rt->iface->metric == r->iface->metric &&
264 /* We delete and add the route so that we can change metric.
294 r->metric = rap->iface->metric;
335 /* We need to delete the subnet route to have our metric or
342 rt->metric = 256;
344 rt->metric = 0;
348 route under the original metric.
351 ort->metric !
[all...]
H A Ddhcpcd.h94 int metric; member in struct:interface
H A Dif-options.h90 int metric; member in struct:if_options
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-igrp.c53 u_int metric, mtu; local
67 metric = bandwidth + delay;
68 if (metric > 0xffffff)
69 metric = 0xffffff;
74 igr->igr_rel, igr->igr_ld, metric,
H A Dprint-dvmrp.c178 register int metric, done; local
217 metric = *bp++;
218 done = metric & 0x80;
219 metric &= 0x7f;
220 printf("\n\t %s metric %d", intoa(htonl(origin)),
221 metric);
268 register u_char metric; local
276 metric = *bp++;
284 ipaddr_string(bp), metric, thresh);
299 register u_char metric, thres local
[all...]
H A Dprint-ripng.c55 rip6_entry_print(register const struct netinfo6 *ni, int metric) argument
61 if (metric)
/netbsd-6-1-5-RELEASE/external/mit/xorg/lib/fontconfig/etc/conf.d/
H A DMakefile10 30-metric-aliases.conf \
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/libs/libgroff/
H A Dfont.cpp470 void font::add_entry(int idx, const font_char_metric &metric) argument
480 ch[ch_used++] = metric;
727 font_char_metric metric; local
728 metric.height = 0;
729 metric.depth = 0;
730 metric.pre_math_space = 0;
731 metric.italic_correction = 0;
732 metric.subscript_correction = 0;
734 &metric.width, &metric
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/map-mbone/
H A Dmapper.c56 u_char metric; /* TTL cost of forwarding */ member in struct:neighbor
308 u_char metric, threshold, ncount; local
321 metric = *p++;
357 if (nb_i->metric != nb_n->metric
361 "metric/threshold",
402 if (metric != nb->metric || threshold != nb->threshold)
405 "metric/threshold",
414 nb->metric
443 u_char metric, threshold, ncount, flags; local
[all...]
/netbsd-6-1-5-RELEASE/sbin/routed/
H A Doutput.c61 char metric; /* adjust metrics by interface */ member in struct:__anon5500
425 * shutting down, admit only a bad metric.
464 char metric, pref; local
533 metric = RT->rt_metric;
600 * Notice spare routes with the same metric that we are about to
614 if (rts->rts_metric > metric
620 * toward its source with an infinite metric.
622 * better metric than we now have, then we should
633 || RT->rt_poison_metric >= metric
638 metric
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/mrouted/
H A Droute.c342 update_route(u_int32_t origin, u_int32_t mask, u_int metric, u_int32_t src, argument
349 * Compute an adjusted metric, taking into account the cost of the
353 if (src != 0 && (metric < 1 || metric >= 2*UNREACHABLE)) {
355 "%s reports out-of-range metric %u for origin %s",
356 inet_fmt(src), metric,
360 adj_metric = metric + uvifs[vifi].uv_metric;
428 * the route timer and, if the reported metric has changed, update
460 * subnet and the reported metric for that origin is better than
462 * gateway and metric
703 int metric; member in struct:newrt
740 int metric; local
[all...]
/netbsd-6-1-5-RELEASE/external/mit/xorg/lib/fontconfig/etc/conf.avail/
H A DMakefile17 30-metric-aliases.conf \
/netbsd-6-1-5-RELEASE/sys/net/
H A Drtsock.c530 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->rtm_rmx.e; macro
531 metric(RTV_RPIPE, rmx_recvpipe);
532 metric(RTV_SPIPE, rmx_sendpipe);
533 metric(RTV_SSTHRESH, rmx_ssthresh);
534 metric(RTV_RTT, rmx_rtt);
535 metric(RTV_RTTVAR, rmx_rttvar);
536 metric(RTV_HOPCOUNT, rmx_hopcount);
537 metric(RTV_MTU, rmx_mtu);
538 metric(RTV_EXPIRE, rmx_expire);
539 #undef metric macro
545 #define metric macro
554 #undef metric macro
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/lockstat/
H A Dmain.c722 double pcscale, metric; local
759 metric = l->count;
761 metric = l->time;
762 metric *= pcscale;
769 metric, (int)(l->count * cscale),
777 metric = lb->lb_counts[event];
779 metric = lb->lb_times[event];
780 metric *= pcscale;
785 metric, (int)(lb->lb_counts[event] * cscale),
/netbsd-6-1-5-RELEASE/usr.sbin/mrinfo/
H A Dmrinfo.c203 u_char metric; local
209 metric = *p++;
219 inet_name(neighbor), metric, thresh);
241 u_char metric; local
248 metric = *p++;
262 inet_name(neighbor), metric, thresh);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_chu.c170 * m signal metric (0 - 100)
251 #define MINMETRIC 50 /* min channel metric (of 160) */
320 double metric; /* integrator sum */ member in struct:xmtr
344 struct xmtr xmtr[NCHAN]; /* station metric */
1353 * frame metric, it is considered valid. However, the timecode
1391 * If in sync and the signal metric is above threshold, the
1439 int metric; /* distance metric */ local
1461 metric = 0;
1474 metric
1536 double metric; local
[all...]

Completed in 302 milliseconds

12