Home
last modified time | relevance | path

Searched refs:fmtquote (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtesc.c48 fmtquote(const char* as, const char* qb, const char* qe, size_t n, int flags) in fmtquote() function
227 return fmtquote(as, NiL, qs, n, 0); in fmtnesq()
237 return fmtquote(as, NiL, qs, strlen((char*)as), 0); in fmtesq()
247 return fmtquote(as, NiL, NiL, strlen((char*)as), 0); in fmtesc()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dpathchk.c201 error(2,"%s: path component begins with '-'",path,fmtquote(buf, NiL, "'", 1, 0)); in pathchk()
209 error(2,"%s: '%s' not in portable character set",path,fmtquote(buf, NiL, "'", 1, 0)); in pathchk()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfmtrec.c52 sfsprintf(s, e - s, "%s", fmtquote(del, NiL, NiL, 1, 0)); in fmtrec()
H A Dmime.c617 sfputr(mp->buf, fmtquote(v, 0, 0, n, FMT_SHELL), -1); in expand()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastconf.c1273 …sfprintf(sp, "L[%s] ", (listflags & ASTCONF_quote) ? fmtquote(p->limit.string, "\"", "\"", strlen(… in print()
1280 …sfprintf(sp, "M[%s] ", (listflags & ASTCONF_quote) ? fmtquote(p->minmax.string, "\"", "\"", strlen… in print()
1289 …sfprintf(sp, "%s", (listflags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s… in print()
1319 …sfprintf(sp, "%s", (listflags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s… in print()
1669 …sfprintf(sp, "%s=%s\n", f, (flags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL)… in astconflist()
1715 …\n", state.id, (flags & ASTCONF_lower) ? fmtlower(fp->name) : fp->name, fmtquote(s, "\"", "\"", st… in astconflist()
1717 …TCONF_lower) ? fmtlower(fp->name) : fp->name, (flags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", st… in astconflist()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h282 extern char* fmtquote(const char*, const char*, const char*, size_t, int);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfkeyprintf.c242 value->s = fmtquote(s, "$'", "'", strlen(s), 0); in getfmt()
/illumos-gate/usr/src/cmd/ast/libast/
H A Dmapfile-vers698 fmtquote;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE439 06-11-01 include/ast.h: add FMT_PARAM for fmtquote()
851 03-02-06 include/ast.h,fmtquote.c: add FMT_ALWAYS|FMT_ESCAPED|FMT_SHELL|FMT_WIDE
1188 fmtquote("\"",1) => shell quote
1239 fmtquote: fix $'...' quote logic
1297 fmtquote: escapes >0177 only if (flags&2)
1309 fmtquote: handle $'...' quotes
1382 fmtquote: added; most general fmtesc() form