Searched defs:metric (Results 1 - 24 of 24) sorted by relevance

/external/tcpdump/
H A Dprint-ripng.c50 rip6_entry_print(register const struct netinfo6 *ni, int metric) argument
56 if (metric)
H A Dprint-igrp.c48 u_int metric, mtu; local
62 metric = bandwidth + delay;
63 if (metric > 0xffffff)
64 metric = 0xffffff;
69 igr->igr_rel, igr->igr_ld, metric,
H A Dprint-dvmrp.c173 register int metric, done; local
212 metric = *bp++;
213 done = metric & 0x80;
214 metric &= 0x7f;
215 printf("\n\t %s metric %d", intoa(htonl(origin)),
216 metric);
263 register u_char metric; local
271 metric = *bp++;
279 ipaddr_string(bp), metric, thresh);
294 register u_char metric, thres local
[all...]
H A Dprint-babel.c443 u_short interval, seqno, metric; local
457 metric = EXTRACT_16BITS(message + 10);
458 printf("%s%s%s %s metric %u seqno %u interval %s",
463 metric, seqno, format_interval_update(interval));
H A Dprint-eigrp.c145 u_int8_t metric[4]; member in struct:eigrp_tlv_ip_ext_t
186 u_int8_t metric[2]; member in struct:eigrp_tlv_at_ext_t
373 printf("\n\t origin-router %s, origin-as %u, origin-proto %s, flags [0x%02x], tag 0x%08x, metric %u",
379 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_ip_ext->metric));
436 printf("\n\t origin-router %u, origin-as %u, origin-proto %s, flags [0x%02x], tag 0x%08x, metric %u",
442 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_at_ext->metric));
H A Dprint-isoclns.c1579 /* print the 4-byte metric block which is common found in the old-style TLVs */
1970 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; local
1974 metric = EXTRACT_32BITS(tptr);
2031 metric);
/external/libnl/lib/route/
H A Droute_utils.c157 char *rtnl_route_metric2str(int metric, char *buf, size_t size) argument
159 return __type2str(metric, buf, size, route_metrices,
H A Droute_obj.c668 int rtnl_route_set_metric(struct rtnl_route *route, int metric, uint32_t value) argument
670 if (metric > RTAX_MAX || metric < 1)
673 route->rt_metrics[metric - 1] = value;
675 if (!(route->rt_metrics_mask & (1 << (metric - 1)))) {
677 route->rt_metrics_mask |= (1 << (metric - 1));
685 int rtnl_route_unset_metric(struct rtnl_route *route, int metric) argument
687 if (metric > RTAX_MAX || metric < 1)
690 if (route->rt_metrics_mask & (1 << (metric
698 rtnl_route_get_metric(struct rtnl_route *route, int metric, uint32_t *value) argument
[all...]
/external/skia/bench/
H A DResultsWriter.h37 // then config and metric can be called multiple times to record runs.
46 // Record a single test metric.
47 virtual void metric(const char name[], double ms) {} function in class:ResultsWriter
108 virtual void metric(const char name[], double ms) { function in class:NanoJSONResultsWriter
/external/dhcpcd/
H A Dnet.h87 int metric; member in struct:rt
H A Ddhcpcd.h117 int metric; member in struct:interface
H A Dif-linux.c233 int len, idx, metric; local
260 metric = 0;
277 metric = *(int *)RTA_DATA(rta);
283 if (metric == rt.iface->metric) {
591 add_attr_32(&nlm->hdr, sizeof(*nlm), RTA_PRIORITY, rt->metric);
H A Dif-options.h86 int metric; member in struct:if_options
/external/lldb/tools/lldb-perf/lib/
H A DMeasurement.h97 auto metric = GetMetric (); local
98 results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typename GaugeType::ValueType> (NULL, metric.GetStartValue()));
104 auto metric = GetMetric (); local
105 results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typename GaugeType::ValueType> (NULL, metric.GetStopValue()));
111 auto metric = GetMetric (); local
112 results.GetDictionary().Add(metric
118 auto metric = GetMetric (); local
129 auto metric = GetMetric (); local
[all...]
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c377 TEXTMETRIC metric; local
383 VERIFY(GetTextMetrics(fontDevice, &metric));
435 VERIFY(TextOut(bitDevice, 0, metric.tmAscent, &curChar, 1));
452 glBitmap(bmapWidth, bmapHeight, 0.0, (GLfloat)metric.tmDescent,
/external/toybox/toys/pending/
H A Droute.c115 int flags, ref, use, metric, mss, win, irtt, items; local
126 &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt)) == 11) {
147 else xprintf("%-6d %-2d %7d %s\n", metric, ref, use, iface);
192 * used to get the params like: metric, netmask, gw, mss, window, irtt, dev and their values.
198 //set the metric field in the routing table.
199 if (!strcmp(*argv, "metric")) {
345 * used to get the params like: metric, gw, dev and their values.
351 if (!strcmp(*argv, "metric")) {
352 //set the metric field in the routing table.
406 rt.rtmsg_metric = 1; //default metric
448 int prefixlen, metric, use, refcount, flag, items = 0; local
[all...]
H A Dnetstat.c524 int flags, ref, use, metric, mss, win, irtt; local
539 iface, &dest, &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt);
570 else xprintf("%-6d %-2d %7d %s\n", metric, ref, use, iface);
H A Dip.c1462 " ROUTE := [TYPE] PREFIX [proto RTPROTO] [metric METRIC]";
1566 sprintf(out, "%s metric %d ", out, *(uint32_t*)RTA_DATA(attr[RTA_PRIORITY]));
1900 {"to", 8}, {"metric", 9}, {NULL,-1}
1966 unsigned long metric; local
1970 metric = strtoul(*argv, &ptr, 0);
1971 if (!(!*ptr && metric <= 0xFFFFFFFFUL))
1972 error_exit("Invalid argument metric %s.",*argv);
1974 res = metric;
/external/iproute2/ip/
H A Diproute.c73 fprintf(stderr, " [ scope SCOPE ] [ metric METRIC ]\n");
407 fprintf(fp, " metric %u ", rta_getattr_u32(tb[RTA_PRIORITY]));
535 fprintf(fp, " metric %d", i);
770 } else if (matches(*argv, "metric") == 0 ||
773 __u32 metric; local
775 if (get_u32(&metric, *argv, 0))
776 invarg("\"metric\" value is invalid\n", *argv);
777 addattr32(&req.n, sizeof(req), RTA_PRIORITY, metric);
/external/libopus/src/
H A Dopus_encoder.c526 float metric; local
534 metric = sumE*sumE_1/(M*M);
536 printf("%f\n", metric);*/
537 /*return metric>10 ? 1 : 0;*/
538 /*return MAX16(0,1-exp(-.25*(metric-2.)));*/
539 return MIN16(1,(float)sqrt(MAX16(0,.05f*(metric-2))));
/external/valgrind/exp-dhat/
H A Ddh_main.c1065 " sort the allocation points by the metric\n"
1179 /* Given a string, return the metric-access function and also a Bool
1181 metric. This is used twice, once in command line processing, and
1246 ULong metric = get_metric(api); local
1247 if (increasing ? (metric < best_metric) : (metric > best_metric)) {
1248 best_metric = metric;
/external/skia/src/ports/
H A DSkFontHost_mac.cpp2148 int metric = compute_metric(pattern, fontstyle_from_descriptor(desc)); local
2149 if (0 == metric) {
2152 if (metric < bestMetric) {
2153 bestMetric = metric;
/external/mdnsresponder/mDNSCore/
H A DmDNS.c2689 mDNSu32 metric = SPSMetric(cr->resrec.rdata->u.name.c); local
2690 if (bestmetric > metric) { bestmetric = metric; bestcr = cr; }
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1082 milliseconds