Searched defs:pfx (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/comp/
H A Dtempnam.c55 tempnam(const char* dir, const char* pfx) argument
57 return pathtmp(NiL, dir, pfx, NiL);
/ast/src/lib/libast/path/
H A Dpathtmp.c35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) argument
40 return pathtemp(buf, len, dir, pfx, fdp);
H A Dpathposix.c100 static const char pfx[] = "/dev/fs"; local
103 if (!strncasecmp(path, pfx, sizeof(pfx) - 1))
H A Dpathtemp.c28 * [<dir>/][<pfx>]<bas>.<suf>
30 * length(<pfx>)<=5
46 * dir and pfx may be 0
47 * if pfx contains trailing X's then it is a mktemp(3) template
48 * otherwise only first 5 chars of pfx are used
56 * / as first pfx char provides tmp file generation control
96 char* pfx; member in struct:__anon300
102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument
118 if (pfx && *pfx
[all...]
/ast/src/lib/libcmd/
H A Dmktemp.c77 char* pfx; local
90 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU);
92 error(ERROR_exit(0), "%s: invalid mode", pfx);
124 if (error_info.errors || (pfx = *argv++) && *argv)
130 if (!pfx)
132 pfx = "tmp_";
136 if (t = strrchr(pfx, '/'))
138 i = ++t - pfx;
140 memcpy(dir, pfx, i);
142 pfx
[all...]
/ast/src/lib/libast/disc/
H A Dsfdcprefix.c56 register Prefix_t* pfx = (Prefix_t*)dp; local
77 if (pfx->skip)
78 pfx->skip = 0;
80 sfwr(f, pfx->prefix, n > 1 ? pfx->length : pfx->empty, dp);
85 pfx->skip = skip;
121 register Prefix_t* pfx; local
131 if (!(pfx = (Prefix_t*)malloc(sizeof(Prefix_t) + n)))
133 memset(pfx,
[all...]
/ast/src/lib/libast/regex/
H A Dregdecomp.c312 char pfx[1024]; local
318 detrie(e->re.trie.root[c], sp, pfx, pfx, &pfx[sizeof(pfx)], delimiter);
/ast/src/cmd/ksh93/bltins/
H A Dtrap.c316 * pfx!=0 prepends SIG to default signal number
318 static char* sig_name(Shell_t *shp,int sig, char* buf, int pfx) argument
343 else if(pfx)
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwprefix.c382 Prefix_t *pfx = (Prefix_t*)vcw->mtdata; local
384 if(!pfx->srcf && !pfx->tarf )
387 if((pf = pfx->srcf) && ((Sfoff_t)dtsz >= pf->sfsz/2 || dtsz < pfx->blksz) )
389 if(dtsz < pfx->blksz) /* small data, use matching window */
406 if((pf = pfx->tarf) )
408 { if((rv = pfwindow(pf, wm, pfx->blksz)) < 0)
415 pf->maxo = here/pfx->blksz; /* can now match to here */
418 pf = pfx
489 Prefix_t *pfx; local
[all...]
/ast/src/cmd/nmake/
H A Dexpand.c179 * $(<var>[|<var>][:[<pfx>]<op>[<sep><val>]])
183 * $(<var>[|<var>]`[<del>[<pfx>]<op>[<sep><val>]]<del>)
209 * $(s:K=<pfx>) break into `<pfx> s ...' ~ BREAK(ARGS|LINE) line chunks
682 * break into ~ BREAK(ARGS|LINE) `<pfx> s ...' line chunks
686 linebreak(Sfio_t* xp, register char* s, char* pfx) argument
696 sfputr(xp, pfx, -1);
705 pos += sfprintf(xp, "\n%s", pfx);

Completed in 42 milliseconds