Searched defs:scale (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/string/
H A Dfmtscale.c46 static const char scale[] = "bkMGTPE"; local
48 u = scale;
74 if (u > scale)
/ast/src/lib/libsum/
H A Dsum-ast4.c100 ast4_print(Sum_t* p, Sfio_t* sp, int flags, size_t scale) argument
H A Dsum-sha1.c302 sha1_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
H A Dsumlib.c54 int scale; member in struct:Method_s
118 long_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
130 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale)))
331 sumprint(Sum_t* p, Sfio_t* sp, int flags, size_t scale) argument
333 return (*p->method->print)(p, sp, flags, scale);
H A Dsum-md5.c334 md5_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
H A Dsum-lmd.c80 lmd_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
H A Dsum-sha2.c775 sha256_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
1136 sha512_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
1205 sha384_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) argument
/ast/src/cmd/std/
H A Ddu.c53 "[h:binary-scale|human-readable?Scale disk usage to powers of 1024.]"
54 "[K:decimal-scale?Scale disk usage to powers of 1000.]"
138 int scale = 0; local
161 scale = 1024;
165 scale = 1000;
215 scale = 0;
315 if (scale)
316 sfprintf(sfstdout, "%s\t%s\n", fmtscale((Sfulong_t)n * blocksize, scale), ent->fts_path);
323 if (scale)
324 sfprintf(sfstdout, "%s\n", fmtscale(count * blocksize, scale));
[all...]
H A Ddf.c41 "[e:decimal-scale|thousands?Scale disk usage to powers of 1000.]"
61 "[K:scale|binary-scale|human-readable?Scale disk usage to powers of 1024."
314 int scale; /* metric scale power */ member in struct:__anon228
362 * scale <m,w,p> into op
366 scale(int m, unsigned long w, unsigned long p) function
370 if (state.scale)
374 return fmtscale(n, state.scale);
467 s = (df->total || df->ttotal) ? scale(d
[all...]
H A Dls.c127 "[h:scale|binary-scale|human-readable?Scale sizes to powers of 1024 { Ki Mi Gi Ti Pi Xi }.]"
207 "[102:decimal-scale|thousands?Scale sizes to powers of 1000 { K M G T P X }.]"
344 int scale; /* metric scale power */ member in struct:__anon232
559 if (!state.scale)
569 if (state.scale)
571 s = fmtscale(n, state.scale);
710 if (state.scale)
712 s = fmtscale(n, state.scale);
[all...]
/ast/src/lib/libcmd/
H A Dcksum.c53 "[B:scale?Block count scale (bytes per block) override for methods that"
54 " include size in the output. The default is method specific.]#[scale]"
100 "[r:bsd?Equivalent to \b--method=bsd --scale=512\b for compatibility with"
131 size_t scale; /* scale override */ member in struct:State_s
233 sumprint(state->sum, op, state->flags|SUM_SCALE, state->scale);
473 state.scale = opt_info.num;
490 state.scale = 512;
627 sumprint(state.sum, sfstdout, state.flags|SUM_TOTAL|SUM_SCALE, state.scale);
[all...]
/ast/src/lib/libast/sfio/
H A Dsfvprintf.c109 int scale; local
226 scale = 0;
692 if(scale)
970 scale = 1024;
982 scale = 1000;
1008 if(scale)
1009 { sp = fmtscale(lv, scale);
1068 if(scale)
1069 { sp = fmtscale(v, scale);
/ast/src/lib/libtk/generic/
H A DtkCanvPs.c42 double scale; /* Scale factor for conversion: each pixel member in struct:TkPostscriptInfo
186 psInfo.scale = 1.0;
227 &psInfo.scale) != TCL_OK) {
230 psInfo.scale /= psInfo.width;
233 &psInfo.scale) != TCL_OK) {
236 psInfo.scale /= psInfo.height;
238 psInfo.scale = (72.0/25.4)*WidthMMOfScreen(Tk_Screen(canvasPtr->tkwin));
239 psInfo.scale /= WidthOfScreen(Tk_Screen(canvasPtr->tkwin));
364 (int) (psInfo.pageX + psInfo.scale*deltaX),
365 (int) (psInfo.pageY + psInfo.scale*delta
[all...]
/ast/src/cmd/coshell/
H A Dservice.h70 int scale; /* load average scale */ \
155 #define SETSCALE (1L<<16) /* scale was set */
200 int scale; member in struct:__anon58
/ast/src/cmd/html/
H A Dtroff2html.c321 operand(register char* s, char** e, int scale) argument
344 expression(s + 1, &x, scale);
399 if (c = scale)
401 scale = 0;
423 * convert units to scale
427 convert(long n, int up, int scale) argument
432 switch (scale)
496 expression(char* s, char** e, int scale) argument
501 n = operand(s, &s, scale);
515 n += operand(s, &s, scale);
[all...]

Completed in 30 milliseconds