/ast/src/cmd/INIT/ |
H A D | filter.sh | 25 suf= 80 trap 'rm -f $tmp$suf' 0 1 2 3 15 86 do suf=${file##*/} 87 case $suf in 88 *.*) suf=.${suf#*.} ;; 89 *) suf= ;; 91 cp $file $tmp$suf || exit 1 92 chmod u+rwx $tmp$suf || exit 1 93 $cmd $tmp$suf || exi [all...] |
H A D | package.sh | 6538 suf=out 6560 old) suf=old 6598 eval set '""' $i - $i.$suf - $dir/$i - $dir/$i.$suf -
|
/ast/src/lib/libast/string/ |
H A D | fmtnum.c | 42 char suf[2]; local 52 suf[1] = 0; 54 suf[0] = 0; 57 suf[0] = 'k'; 63 suf[0] = 'm'; 69 suf[0] = 'g'; 88 sfsprintf(buf, z, "%lu.%0*lu%s", n, i, r, suf); 90 sfsprintf(buf, z, "%lu%s", n, suf);
|
H A D | fmtscale.c | 41 char suf[3]; local 73 s = suf; 86 sfsprintf(buf, z, "%I*u%c%d%s", sizeof(n), n, p->decimal >= 0 ? p->decimal : '.', r, suf); 91 sfsprintf(buf, z, "%I*u%s", sizeof(n), n, suf);
|
/ast/src/lib/libast/tm/ |
H A D | tmlex.c | 38 * ntab and nsuf are the number of elements in tab and suf, 42 * suf is a table of nsuf valid str suffixes 48 tmlex(register const char* s, char** e, char** tab, int ntab, char** suf, int nsuf) argument 55 if (*x && *x != '%' && tmword(s, e, x, suf, nsuf)) 60 if (suf && tab >= tm_info.format && tab < tm_info.format + TM_NFORM) 61 suf = tm_data.format + (suf - tm_info.format); 63 if (*x && *x != '%' && tmword(s, e, x, suf, nsuf))
|
H A D | tmword.c | 37 * suf is an n element table of suffixes that may trail s 44 tmword(register const char* s, char** e, register const char* t, char** suf, int n) argument 73 while (n-- && (t = *suf++))
|
/ast/src/cmd/pax/ |
H A D | testpax.sh | 64 do suf=${format##*.} 90 '') "$@" -wf ../old.$suf $fmt * || status=1 ;; 91 *) $tar cf ../old.$suf . || status=1 ;; 100 then "$@" -rf ../old.$suf || status=1 129 '') "$@" -wf ../new.$suf $fmt * || status=1 ;; 130 *) $tar cf ../new.$suf . || status=1 ;; 136 "$@" -rf new.$suf -wf old-new.$suf $fmt -z old.$suf || status=1 140 "$@" -rf old-new.$suf [all...] |
/ast/src/cmd/nmake/ |
H A D | convert.c | 82 char* suf; local 108 dir = bas = suf = DELETE; 378 suf = val; 398 if (suf == DELETE) 446 if (suf == DELETE) 459 if (suf != KEEP) 468 xp += sfsprintf(xp, EXBUF, "suffix %s", suf); 470 suf = DELETE;
|
H A D | expand.c | 2200 edit(Sfio_t* xp, register char* s, char* dir, char* bas, char* suf) argument 2254 q = suf; 3377 char* suf; local 3421 dir = bas = suf = DELETE; 3476 dir = bas = suf = KEEP; 3880 if (suf == DELETE) 3890 suf = val; 4230 edit(xp, s, dir, bas, suf); 4442 dir = bas = suf = DELETE;
|
/ast/src/lib/libjcl/ |
H A D | path.c | 60 Dt_t* suf; member in struct:State_s 335 if (!state.suf) 340 if (!(state.suf = dtopen(&state.sufdisc, Dtoset))) 347 if (!dtmatch(state.suf, s)) 358 dtinsert(state.suf, xp); 574 else if (streq(op, "suf") || streq(op, "suffix")) 621 return (state.suf && (s = strrchr(path, '.')) && (xp = (Suf_t*)dtmatch(state.suf, s))) ? xp->length : 0;
|
/ast/src/cmd/mam/ |
H A D | mamnew.c | 131 initdir(register char* s, char* suf) argument 150 sfsprintf(buf, sizeof(buf), "%s%s", state.atom.source->name, suf);
|
/ast/src/cmd/paxlib/calib/ |
H A D | calib.c | 748 char suf[4]; local 871 v = suf; 875 if (!*(v = suf))
|