Home
last modified time | relevance | path

Searched refs:metrics (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DEditLine.java62 private FontMetrics metrics; field in EditLine
215 metrics = comp.getFontMetrics(getFont()); in cacheDims()
226 w = metrics.stringWidth(text) + XPAD; in cacheHorizontal()
253 y = textY - (metrics.getAscent() + YPAD/2); in cacheVertical()
254 h = metrics.getHeight() + YPAD; in cacheVertical()
560 int width = metrics.stringWidth(text.substring( in makeVisible()
580 int beginW = metrics.stringWidth(text.substring(0, scrollPos)); in getCursorPos()
591 int lw = metrics.stringWidth(str.substring(0, lower)); in findCursorOffset()
592 int uw = metrics.stringWidth(str.substring(0, upper)); in findCursorOffset()
600 int width = metrics.stringWidth(str.substring(0, cur)); in findCursorOffset()
[all …]
H A DCLCheckbox.java136 FontMetrics metrics = canvas.getFontMetrics(); in size()
140 size.width += metrics.stringWidth(text) + 8; in size()
H A DCLIconLabel.java172 FontMetrics metrics = canvas.getFontMetrics(); in size()
181 size.width += metrics.stringWidth(text) + TEXT_PAD; in size()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_rts.c90 static int rts_getmetrics(ire_t *ire, ill_t *ill, rt_metrics_t *metrics);
93 static void rts_setmetrics(ire_t *ire, uint_t which, rt_metrics_t *metrics);
1402 rts_setmetrics(ire_t *ire, uint_t which, rt_metrics_t *metrics) in rts_setmetrics() argument
1426 rtt = metrics->rmx_rtt / 1000; in rts_setmetrics()
1428 rtt_sd = metrics->rmx_rttvar / 1000; in rts_setmetrics()
1435 ire->ire_metrics.iulp_mtu = metrics->rmx_mtu; in rts_setmetrics()
1439 ire->ire_metrics.iulp_ssthresh = metrics->rmx_ssthresh; in rts_setmetrics()
1443 ire->ire_metrics.iulp_spipe = metrics->rmx_sendpipe; in rts_setmetrics()
1445 ire->ire_metrics.iulp_rpipe = metrics->rmx_recvpipe; in rts_setmetrics()
1488 ifrt->ifrt_metrics.iulp_mtu = metrics->rmx_mtu; in rts_setmetrics()
[all …]
/titanic_41/usr/src/cmd/savecore/
H A Dsavecore.c1866 char *metrics = Zalloc(metrics_size + 1); in main() local
1868 Pread(dumpfd, metrics, metrics_size, endoff + in main()
1877 METRICSFILE, metrics); in main()
1895 metrics); in main()
1904 free(metrics); in main()
/titanic_41/usr/src/cmd/file/
H A Dmagic294 0 string StartFontMetrics Adobe font metrics