Searched refs:suf (Results 1 - 12 of 12) sorted by relevance

/ast/src/cmd/INIT/
H A Dfilter.sh25 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 Dpackage.sh6538 suf=out
6560 old) suf=old
6598 eval set '""' $i - $i.$suf - $dir/$i - $dir/$i.$suf -
/ast/src/lib/libast/string/
H A Dfmtnum.c42 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 Dfmtscale.c41 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 Dtmlex.c38 * 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 Dtmword.c37 * 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 Dtestpax.sh64 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 Dconvert.c82 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 Dexpand.c2200 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 Dpath.c60 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 Dmamnew.c131 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 Dcalib.c748 char suf[4]; local
871 v = suf;
875 if (!*(v = suf))

Completed in 40 milliseconds