/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...] |
H A D | tail.c | 77 "or more integers, each followed by a 1 character suffix. The suffix " 377 error(2, "-%c: %s: invalid numeric argument -- unknown suffix", o, s); 456 goto suffix; 462 goto suffix; 478 goto suffix; 535 suffix: 561 error(2, "%s: invalid suffix", t - 1);
|
/ast/src/cmd/ie/ |
H A D | ie.sh | 23 typeset env histfile show command opt prefix dll suffix ifs root path s 126 suffix=${dll##$prefix} 131 env="HISTFILE='$histfile' LD_PRELOAD='$root/$prefix$suffix${LD_PRELOAD:+ $LD_PRELOAD}'" 133 *-n32) env="$env _RLDN32_LIST=$root/$prefix$suffix" 139 *) if test -f $root/$prefix-n32$suffix 145 env="$env _RLDN32_LIST=$root/$prefix-n32$suffix" 150 env="$env _RLD_LIST=$root/$prefix-o32$suffix" 155 elif test -f $root/$prefix-64$suffix -o -f $root/$prefix-o32$suffix 156 then env="$env _RLD64_LIST=$root/$prefix-64$suffix" [all...] |
/ast/src/cmd/warp/ |
H A D | warp.sh | 23 typeset env show command opt prefix dll suffix ifs root path s 159 suffix=${dll##$prefix} 209 env="WARP='$opt$warp' LD_PRELOAD='$root/$prefix$suffix${LD_PRELOAD:+ $LD_PRELOAD}' DYLD_INSERT_LIBRARIES='$root/$prefix$suffix${DYLD_INSERT_LIBRARIES:+ $DYLD_INSERT_LIBRARIES}'" 211 *-n32) env="$env _RLDN32_LIST=$root/$prefix$suffix" 217 *) if test -f $root/$prefix-n32$suffix 223 env="$env _RLDN32_LIST=$root/$prefix-n32$suffix" 228 env="$env _RLD_LIST=$root/$prefix-o32$suffix" 233 elif test -f $root/$prefix-64$suffix -o -f $root/$prefix-o32$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/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/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/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/lib/libdll/ |
H A D | dllscan.c | 163 info.suffix = astconf("LIBSUFFIX", NiL, NiL); 164 if (streq(info.suffix, ".dll")) 256 if (!version && streq(info->suffix, ".dylib")) 277 k = strlen(info->suffix); 278 if (i > k && streq(name + i - k, info->suffix)) 305 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix); 313 sfprintf(scan->tmp, "%s", info->suffix); 319 sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version); 335 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix); 338 sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, inf [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/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/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...] |
/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/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/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/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/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/sortlib/sync/ |
H A D | ss.h | 169 char* suffix; /* input file suffix */ member in struct:Ss_s
|
H A D | sync.c | 515 ss->suffix = s; 542 if (!ss->suffix && *u == '.') 543 ss->suffix = u; 546 if (!ss->suffix) 547 ss->suffix = ""; 571 s = sfprints("%s%%%s%s", s, fmtrec(ss->format, 1), ss->suffix);
|
/ast/src/cmd/builtin/ |
H A D | dlls.c | 133 sfprintf(sfstdout, ") env=%s prefix=%s suffix=%s flags=", dli->env, dli->prefix, dli->suffix);
|
/ast/src/cmd/mam/ |
H A D | mamnew.c | 82 char* suffix; /* suffix */ member in struct:local 351 x->suffix = s + 1;
|
/ast/src/cmd/msgcc/ |
H A D | msgcc.sh | 40 a \b.msg\b suffix is appended to the \b-o\b \afile\a if it doesn\'t 41 already have a suffix. The default output is \ba.out.msg\b if \b-c\b
|