Searched refs:percent (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/library/
H A Dpalette.tcl158 # brightens) the given color by a given percent.
163 # percent: 50 means darken by 50%, 110 means brighten
166 proc tkDarken {color percent} {
171 set red [expr ($red*$percent)/100]
175 set green [expr ($green*$percent)/100]
179 set blue [expr ($blue*$percent)/100]
/ast/src/cmd/std/
H A Ddf.c121 int percent; member in struct:__anon226
473 s = (df->total || df->ttotal) ? (sfsprintf(state.buf, sizeof(state.buf), "%3d%%", df->percent), state.buf) : "-";
599 df->percent = 0;
612 df->percent = (df->ttotal = df->avail + df->used) ? (unsigned long)(((double)df->used / (double)df->ttotal + 0.005) * 100.0) : 0;
H A Dps.c282 "Cpu percent usage.",
678 goto percent;
799 percent:
879 goto percent;
987 percent:
/ast/src/cmd/ksh93/tests/
H A Dbuiltins.sh229 typeset -Z3 percent=$(printf '%o\n' "'%'")
230 forrmat=\\${percent}s

Completed in 22 milliseconds