Searched refs:strwidth (Results 1 – 4 of 4) sorted by relevance
453 int strwidth = fm.stringWidth(text); in paint() local456 if (strwidth > textwidth) in paint()457 strwidth = textwidth; in paint()463 offset = (width - strwidth) / 2; in paint()466 offset = width - strwidth - thickness - 5; in paint()475 g.clearRect(offset - 5, 0, strwidth + 10, fontheight); in paint()476 g.clipRect(offset, 0, strwidth, fontheight); in paint()
102 static int strwidth(char *s) in strwidth() function138 *len = strwidth(dt->name); in entrylen()145 len[3] = FLAG(n) ? numlen(st->st_uid) : strwidth(getusername(st->st_uid)); in entrylen()146 len[4] = FLAG(n) ? numlen(st->st_gid) : strwidth(getgroupname(st->st_gid)); in entrylen()155 len[7] = FLAG(Z) ? strwidth((char *)dt->extra) : 0; in entrylen()
1045 long strwidth char *s
2865 retval = strwidth( arg1 ); in gl_strwidth()