Searched refs:backup_type (Results 1 - 17 of 17) sorted by relevance

/macosx-10.10.1/patch_cmds-17/patch/
H A Dbackupfile.h17 enum backup_type { enum
34 extern enum backup_type backup_type;
38 enum backup_type get_version(const char *version);
H A Dbackupfile.c33 enum backup_type backup_type = none; variable in typeref:enum:backup_type
51 * is the root directory. Do not call this function if backup_type == none.
59 if (backup_type == simple)
71 if (backup_type == numbered_existing && highest_backup == 0)
214 static enum backup_type backup_types[] = {
223 enum backup_type
H A Dpatch.c198 if (backup_type == none) {
202 backup_type = get_version(v); /* OK to pass NULL. */
490 if (backup_type == none)
491 backup_type = numbered_existing;
580 backup_type = get_version(optarg);
H A Dutil.c102 if (backup_type == none || stat(orig, &filestat) != 0)
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dbackupfile.h30 enum backup_type enum
51 char *find_backup_file_name (char const *, enum backup_type);
52 enum backup_type get_version (char const *context, char const *arg);
53 enum backup_type xget_version (char const *context, char const *arg);
H A Dargmatch.c217 enum backup_type
244 static const enum backup_type backup_vals[] =
256 enum backup_type backup_type = no_backups;
267 backup_type = XARGMATCH ("$VERSION_CONTROL", cp,
271 backup_type = XARGMATCH (program_name, argv[1],
275 ARGMATCH_TO_ARGUMENT (backup_type, backup_args, backup_vals));
216 enum backup_type enum
255 enum backup_type backup_type = no_backups; local
H A Dbackupfile.c270 Do not call this function if backup_type == no_backups. */
273 find_backup_file_name (char const *file, enum backup_type backup_type) argument
292 if (backup_type != simple_backups)
303 simple = (backup_type == numbered_existing_backups);
324 static const enum backup_type backup_types[] =
341 enum backup_type
357 enum backup_type
/macosx-10.10.1/gpatch-3/patch/
H A Dbackupfile.h23 enum backup_type enum
55 char *find_backup_file_name PARAMS ((char const *, enum backup_type));
56 enum backup_type get_version PARAMS ((char const *context, char const *arg));
57 enum backup_type xget_version PARAMS ((char const *context, char const *arg));
H A Dutil.h29 XTERN enum backup_type backup_type; variable in typeref:enum:backup_type
H A Dargmatch.c249 enum backup_type
276 static const enum backup_type backup_vals[] =
288 enum backup_type backup_type = none;
299 backup_type = XARGCASEMATCH ("$VERSION_CONTROL", cp,
303 backup_type = XARGCASEMATCH (program_name, argv[1],
307 ARGMATCH_TO_ARGUMENT (backup_type, backup_args, backup_vals));
248 enum backup_type enum
287 enum backup_type backup_type = none; local
H A Dbackupfile.c123 Do not call this function if backup_type == none. */
126 find_backup_file_name (const char *file, enum backup_type backup_type) argument
144 if (backup_type != simple)
154 if (! (backup_type == numbered_existing && highest_backup == 0))
241 static const enum backup_type backup_types[] =
254 enum backup_type
270 enum backup_type
H A Dutil.c95 bakname = find_backup_file_name (to, backup_type);
H A Dpatch.c169 backup_type = get_version (version_control_context, version_control);
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/
H A Dcp.c684 char* backup_type; local
707 backup_type = 0;
832 backup_type = opt_info.arg;
898 if (!(file = backup_type) && !(backup_type = getenv("VERSION_CONTROL")))
901 switch (strkey(backup_type))
943 error(2, "%s: unknown backup type", backup_type);
/macosx-10.10.1/gnutar-453/gnutar/src/
H A Dcommon.h142 GLOBAL enum backup_type backup_type;
139 GLOBAL enum backup_type backup_type; variable in typeref:enum:backup_type
H A Dmisc.c452 after_backup_name = find_backup_file_name (file_name, backup_type);
H A Dtar.c2280 backup_type = xget_version ("--backup", args.version_control_string);
2283 if (backup_type == no_backups || EXTRACT_OVER_PIPE)

Completed in 206 milliseconds