Searched refs:dirname (Results 1 - 22 of 22) sorted by relevance

/ast/src/lib/libast/comp/
H A Dlibgen.h48 extern char* dirname(char*);
H A Ddirname.c24 * dirname(3) implementation
33 extern char *dirname(register char *pathname) function
/ast/src/lib/libpp/
H A Dppop.c134 error(1, "%s: input file name required for %s ignore", file, dirname(INCLUDE));
226 error(3, "%s unexpected in %s map list", pptokstr(pp.token, 0), dirname(INCLUDE));
859 dirname(PRAGMA),
862 dirname(DEFINE),
863 dirname(PRAGMA),
866 dirname(UNDEF));
888 sfprintf(sp, "#%s #%s\n", dirname(DEFINE), pp.firstop->value);
892 sfprintf(sp, "#%s %s\n", dirname(DEFINE), pp.firstop->value);
896 sfprintf(sp, "#%s %-.*s %s\n", dirname(DEFINE), s - pp.firstop->value, pp.firstop->value, s + 1);
898 sfprintf(sp, "#%s %s 1\n", dirname(DEFIN
[all...]
H A Dppcontrol.c338 error(2, "no matching #%s for #%s", dirname(IF), dirname(ELIF));
344 error(2, "invalid #%s after #%s", dirname(ELIF), dirname(ELSE));
372 error(1, "#%s %s is non-standard -- use #%s", dirname(directive), dirname(n), dirname(ELIF));
376 if (pp.control <= pp.in->control) error(2, "no matching #%s for #%s", dirname(IF), dirname(ELSE));
387 if (*pp.control & HADELSE) error(2, "more than one #%s for #%s", dirname(ELS
[all...]
H A Dppmacref.c39 p += sfsprintf(p, MAXTOKEN, "\n#%s %s:%s %s %d", dirname(PRAGMA), pp.pass, keyname(X_MACREF), sym->name, type);
H A Dppbuiltin.c265 sfprintf(sp, "#%s %s\n", dirname(PRAGMA), pp.token);
H A Dpplex.c486 error(2, "#%s on line %d has no #%s", dirname(IF), GETIFLINE(pp.control+1), dirname(ENDIF));
669 error(2, "#%s on line %d has no #%s", dirname(IF), GETIFLINE(pp.control+1), dirname(ENDIF));
2435 error(3, "#%s must be enabled for checkpoints", dirname(PRAGMA));
2436 (*pp.pragma)(dirname(PRAGMA), pp.pass, keyname(X_CHECKPOINT), pp.checkpoint, 1);
H A Dppargs.c175 ppprintf("\n#%s %s:%s\n", dirname(PRAGMA), pp.pass, pp.token);
H A Dpplib.h443 #undef dirname macro
446 #define dirname(x) ppkeyname(x,1) macro
H A Dppexpr.c245 error(2, "%s invalid in #%s expressions", pred, dirname(IF));
/ast/src/lib/libast/misc/
H A Dglob.c297 char* dirname; local
328 prefix = dirname = ap->gl_path + gp->gl_extra;
408 dirname = 0;
411 dirname = ".";
416 dirname = "/";
478 if (!(dirname = (*gp->gl_nextdir)(gp, dirname)))
480 prefix = streq(dirname, ".") ? (char*)0 : dirname;
482 if ((!starstar && !gp->gl_starstar || (*gp->gl_type)(gp, dirname, GLOB_STARSTA
[all...]
/ast/src/cmd/proto/
H A Dsear.sh122 src=$(dirname -r lib/$COMMAND/$f)
136 ico=$(dirname -r lib/$COMMAND/$f)
/ast/src/lib/libtk/library/
H A Dtkfbox.tcl1102 cd [file dirname $path]
1104 return [list CHDIR [file dirname $path] ""]
1112 set dirname [file dirname $path]
1113 if [file exists $dirname] {
1115 cd $dirname
1117 return [list CHDIR $dirname ""]
1128 set directory $dirname
1251 set data(selectPath) [file dirname $data(selectPath)]
H A Dxmfbox.tcl300 set newSpec [file join [file dirname $data(selectPath)] \
330 set newDir [file dirname $data(selectPath)]
411 set resolved [file join [file dirname $text] [file tail $text]]
417 set dir [file dirname $resolved]
431 set selectPath [file dirname $selectFilePath]
/ast/src/cmd/mam/
H A Dshmam.awk220 dirname(str); dstr=dir
430 dirname(src); dsrc=dir
437 dirname(dest); ddest=dir
446 dirname(dest); ddest=dir
916 dirname(ldep[jjj])
995 dirname(tar);
1135 dirname($k)
1157 dirname($k)
1197 dirname($k); ssdir=dir;
1221 dirname(
1257 function dirname(path, b,arr) function
[all...]
/ast/src/cmd/ksh93/data/
H A Dbuiltins.c52 #undef dirname macro
136 CMDLIST(dirname)
/ast/src/lib/libcmd/
H A DMakefile23 comm.c cp.c cut.c dirname.c date.c expr.c fds.c fmt.c fold.c \
/ast/src/cmd/mailx/
H A Dcmd1.c448 char dirname[LINESIZE]; local
452 if (getfolder(dirname, sizeof(dirname)) < 0) {
458 run_command(cmd, 0, -1, -1, dirname, NiL, NiL);
/ast/src/cmd/std/
H A Dshar.sh304 file=$(dirname "$file")
/ast/src/lib/libtksh/lib/tksh7.6/
H A Dinit.tcl265 set path "[file dirname [info nameof]];.;"
617 set dir [file dirname $file]
/ast/src/cmd/ksh93/tests/
H A Dpath.sh161 d=$(dirname "$rm")
/ast/src/lib/libast/
H A DMakefile136 basename.c closelog.c dirname.c fmtmsglib.c fnmatch.c ftw.c \

Completed in 95 milliseconds