Home
last modified time | relevance | path

Searched refs:strwidth (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java451 int strwidth = fm.stringWidth(text); in paint() local
454 if (strwidth > textwidth) in paint()
455 strwidth = textwidth; in paint()
461 offset = (width - strwidth) / 2; in paint()
464 offset = width - strwidth - thickness - 5; in paint()
473 g.clearRect(offset - 5, 0, strwidth + 10, fontheight); in paint()
474 g.clipRect(offset, 0, strwidth, fontheight); in paint()
/external/toybox/toys/posix/
Dls.c69 int strwidth(char *s) in strwidth() function
134 *len = strwidth(dt->name); in entrylen()
142 len[3] = fn ? numlen(st->st_uid) : strwidth(getusername(st->st_uid)); in entrylen()
143 len[4] = fn ? numlen(st->st_gid) : strwidth(getgroupname(st->st_gid)); in entrylen()
150 len[5] = strwidth(tmp); in entrylen()
155 len[7] = (flags & FLAG_Z) ? strwidth((char *)dt->extra) : 0; in entrylen()
295 strwidth(indir->name); in listfiles()
440 else strwidth(ss = getusername(st->st_uid)); in listfiles()
447 else strwidth(ss = getgroupname(st->st_gid)); in listfiles()