/ast/src/lib/libcmd/ |
H A D | basename.c | 26 * namebase pathname [suffix] 34 "[+NAME?basename - strip directory and suffix from filenames]" 37 "\astring\a has a suffix that ends in \asuffix\a, it is removed as " 51 "[s:suffix?All operands are treated as \astring\a and each modified " 53 "separate line on the standard output.]:[suffix]" 55 "\n string [suffix]\n" 69 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) argument 89 /* check for trailing suffix */ 90 if(suffix && (n=strlen(suffix)) 105 char* suffix = 0; local [all...] |
H A D | cp.c | 102 "\b--suffix\b sets the backup suffix. The backup type is determined in " 107 "suffix is \b.\aSNS\a, where \aS\a is the \bbackup-suffix\b and " 115 "[S:suffix?A backup file is made by renaming the file to the same name " 116 "with the backup suffix appended. The backup suffix is determined in " 118 "variable, or the default value \b~\b.]:[suffix]" 154 #define BAK_number 2 /* append .suffix number suffix */ 192 char* suffix; /* backup suffix */ member in struct:State_s [all...] |
/ast/src/lib/libpz/ |
H A D | pzopen.c | 60 * find and open file with optional suffix and sfio mode 64 pzfind(Pz_t* pz, const char* file, const char* suffix, const char* mode) argument 71 if (!pathfind(file, pz->disc->lib ? pz->disc->lib : pz->id, suffix, buf, sizeof(buf))) 74 (*pz->disc->errorf)(pz, pz->disc, ERROR_SYSTEM|2, "%s: cannot find %s file", file, suffix ? suffix : "data");
|
/ast/src/cmd/pack/ |
H A D | pack.c | 87 static const char suffix[] = ".z"; variable 207 register int sufflen = strlen(suffix); 209 if(streq(suffix,infile+n-sufflen)) 217 strcat(cp+n,suffix);
|
H A D | unpack.c | 66 "has the \b.z\b suffix stripped from its name, and has the same " 83 static const char suffix[] = ".z"; variable 217 register int sufflen = strlen(suffix); 221 if(streq(suffix,cp+n-sufflen)) 224 strcat(cp+n,suffix);
|
/ast/src/cmd/ksh93/sh/ |
H A D | expand.c | 245 * generate the list of files found by adding an suffix to end of name 249 int path_complete(Shell_t *shp,const char *name,register const char *suffix, struct argnod **arghead) argument 251 sufstr = suffix; 252 suflen = strlen(suffix);
|
/ast/src/cmd/proto/ |
H A D | proto.c | 50 " input \afile\a suffix; no notice is prepended if the comment" 403 char suffix[4]; member in struct:Sufcom_s 454 register char* suffix; local 459 suffix = 0; 462 suffix = file; 463 if (suffix && strlen(suffix) <= 3) 465 if (!strcmp(suffix, sufcom[i].suffix))
|
/ast/src/cmd/sortlib/vcodex/ |
H A D | vcodex.c | 34 "to files with a path suffix containing 'z'. If encoding is applied to " 35 "a regular output file and the output file path does not have a suffix " 36 "containing 'z' and the input path has a suffix containing 'z' then the " 37 "output path is renamed by appending the input path suffix.]" 72 char suffix[16]; member in struct:Encoding_s 142 if (!ZIPSUFFIX(path, p) && *state->input.suffix && !stat(path, &st) && S_ISREG(st.st_mode)) 144 p = sfprints("%s%s", path, state->input.suffix); 210 if (!*state->input.suffix && ZIPSUFFIX(arg, s)) 211 strncopy(state->input.suffix, s, sizeof(state->input.suffix)); [all...] |
/ast/src/cmd/std/ |
H A D | split.c | 34 " The suffix consists of \asuffix_len\a lower case characters" 55 "[a|n:suffix-length]#[suffix_len:=2?\asuffix_len\a defines the number of" 56 " letters that form the suffix portion of the file names for each of" 108 "[+?The output file names consist of a prefix followed by a suffix. By" 109 " default, the suffix is merely an ascending linear sequence of two-digit" 112 " \b--suffix-format\b option (see below.) In any case, concatenating" 118 "[b:suffix-format?Use the \bprintf\b(3) \aformat\a to generate the file" 119 " name suffix.]:[format:=\b%02d\b]" 156 char* suffix; member in struct:fname 264 fp->suffix [all...] |
/ast/src/lib/libardir/ |
H A D | ar-omf.c | 43 char suffix[4]; member in struct:_arfile_ 66 char *suffix; local 67 if(suffix=strrchr(l,'.')) 68 return(memcmp(l,r,suffix+1-l)); 149 fp->suffix[0] = 'o'; 150 fp->suffix[1] = 0; 238 memcpy(fp->suffix,&ip[5],sizeof(fp->suffix)); 377 if(*fp->suffix) 384 memcpy((void*)last,(void*)fp->suffix,sizeo 401 char *suffix,fname[256]; local [all...] |
/ast/src/lib/libjcl/ |
H A D | path.c | 36 char* suffix; member in struct:Map_s 326 * add s to the mapped suffix dictionary 330 suffix(Sfio_t* sp, const char* s, Jcldisc_t* disc) function 442 (*disc->errorf)(NiL, disc, 2, "%s: prefix map [suffix] expected", op); 539 strcpy(mp->suffix = s + 1, arg[2]); 541 mp->suffix = s; 546 if ((s = (char*)nextdelim(mp->suffix)) && suffix(sp, s, disc)) 574 else if (streq(op, "suf") || streq(op, "suffix")) 581 (*disc->errorf)(NiL, disc, 1, "%s: invalid suffix", [all...] |
/ast/src/cmd/mam/ |
H A D | mamnew.c | 82 char* suffix; /* suffix */ member in struct:local 351 x->suffix = s + 1;
|
/ast/src/lib/libast/comp/ |
H A D | omitted.c | 53 * (1) .exe suffix inconsistencies 174 suffix(register const char* path) function 194 if (suffix(path)) 199 else if (!suffix(buf) && ((buf + size) - s) >= 4) 320 !suffix(path) && 770 if (!suffix(path) && !fstat(fd, &st) && (exe[fd] || (exe[fd] = (Exe_test_t*)malloc(sizeof(Exe_test_t))))) 868 int suffix; local 936 suffix = (getpid() & 0xfff) + count++; 937 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix); 978 stop = suffix; [all...] |
/ast/src/lib/libdss/ |
H A D | dssopen.c | 79 dssfind(const char* name, const char* suffix, Dssflags_t flags, char* path, size_t size, Dssdisc_t* disc) argument 83 if (!suffix) 84 suffix = id; 90 else if (!pathfind(name, id, suffix, path, size)) 93 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%s: %s file not found", name, suffix); 101 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%s: cannot read %s file", path, suffix); 112 loadtags(const char* name, const char* suffix, Dssdisc_t* disc, Dssmeth_t* meth) argument 119 if (!(sp = dssfind(name, suffix, DSS_VERBOSE, path, sizeof(path), disc)))
|
/ast/src/cmd/paxlib/calib/ |
H A D | calib.c | 60 char* suffix; member in struct:Ar_s 376 char* suffix; local 391 if (ar->suffix) 394 suffix = 0; 544 suffix = ".REXX"; 548 if (suffix) 556 suffix = ".EZT"; 561 suffix = ".F"; 567 suffix = ".LNK"; 572 suffix [all...] |
/ast/src/cmd/sortlib/sync/ |
H A D | ss.h | 169 char* suffix; /* input file suffix */ member in struct:Ss_s
|
/ast/lib/package/ |
H A D | package.mk | 16 * $(PACKAGEDIR)/name.version.release.suffix 18 * $(PACKAGEDIR)/name.version.hosttype.release.suffix 20 * $(PACKAGEDIR)/name-run.version.hosttype.release.suffix 104 suffix = tgz macro 254 source = $(PACKAGEDIR)/$(name).$(version)$(release:?.$(release)??).$(suffix) 255 binary = $(PACKAGEDIR)/$(name).$(version)$(release:?.$(release)??).$(CC.HOSTTYPE).$(suffix) 256 runtime = $(PACKAGEDIR)/$(name)-run.$(version)$(release:?.$(release)??).$(CC.HOSTTYPE).$(suffix) 257 old.new.source = $(PACKAGEDIR)/$(name).$(version).$(old.version).$(suffix) 258 old.new.binary = $(PACKAGEDIR)/$(name).$(version).$(old.version).$(CC.HOSTTYPE).$(suffix) 259 old.new.runtime = $(PACKAGEDIR)/$(name)-run.$(version).$(old.version).$(CC.HOSTTYPE).$(suffix) 476 suffix = c macro 563 suffix = tar.bz2 macro 1097 suffix = exe macro 1099 suffix = gz macro 1376 suffix = exe macro 1378 suffix = gz macro [all...] |
/ast/src/cmd/INIT/ |
H A D | package.mk | 16 * $(PACKAGEDIR)/name.version.release.suffix 18 * $(PACKAGEDIR)/name.version.hosttype.release.suffix 20 * $(PACKAGEDIR)/name-run.version.hosttype.release.suffix 104 suffix = tgz macro 254 source = $(PACKAGEDIR)/$(name).$(version)$(release:?.$(release)??).$(suffix) 255 binary = $(PACKAGEDIR)/$(name).$(version)$(release:?.$(release)??).$(CC.HOSTTYPE).$(suffix) 256 runtime = $(PACKAGEDIR)/$(name)-run.$(version)$(release:?.$(release)??).$(CC.HOSTTYPE).$(suffix) 257 old.new.source = $(PACKAGEDIR)/$(name).$(version).$(old.version).$(suffix) 258 old.new.binary = $(PACKAGEDIR)/$(name).$(version).$(old.version).$(CC.HOSTTYPE).$(suffix) 259 old.new.runtime = $(PACKAGEDIR)/$(name)-run.$(version).$(old.version).$(CC.HOSTTYPE).$(suffix) 476 suffix = c macro 563 suffix = tar.bz2 macro 1097 suffix = exe macro 1099 suffix = gz macro 1376 suffix = exe macro 1378 suffix = gz macro [all...] |
H A D | proto.c | 4968 char suffix[4]; member in struct:Sufcom_s 5018 register char* suffix; local 5023 suffix = 0; 5026 suffix = file; 5027 if (suffix && sstrlen( suffix) <= 3) 5029 if (!strcmp(suffix, sufcom[i].suffix))
|