Searched defs:suf (Results 1 - 9 of 9) sorted by relevance

/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/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/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/cmd/paxlib/calib/
H A Dcalib.c748 char suf[4]; local
871 v = suf;
875 if (!*(v = suf))

Completed in 36 milliseconds