Searched refs:filename (Results 1 - 25 of 1010) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/xz/src/xz/
H A Dlist.h14 extern void list_file(const char *filename);
/freebsd-11-stable/tools/tools/nanobsd/Files/root/
H A Dsave_cfg37 for filename in "$@" `find * -type f`
39 if [ ! -f /cfg/$filename -a ! -f /cfg/.ignore/$filename ]
47 if ! cmp -s /etc/$filename /conf/base/etc/$filename
49 file_path=`echo "$filename" | sed 's/\/[^/]*$//'`
50 if [ $file_path != $filename ]
71 read -p "New file /etc/$filename found. Add to /cfg (y/n/i)? " key
74 if [ $file_path != $filename ]
78 touch /cfg/$filename
[all...]
/freebsd-11-stable/contrib/binutils/gas/
H A Doutput-file.h22 void output_file_append (char *where, long length, char *filename);
23 void output_file_close (char *filename);
H A Dinput-file.h65 void input_file_open (char *filename, int pre);
/freebsd-11-stable/contrib/expat/
H A Dfix-xmltest-log.sh33 filename="${1:-tests/xmltest.log}"
35 dos2unix "${filename}"
47 "${filename}" > "${tempfile}"
48 mv "${tempfile}" "${filename}"
/freebsd-11-stable/contrib/unbound/contrib/
H A Dunbound_cache.sh42 $ECHO "Usage: `$BASENAME $0` [-s] or [-l] or [-r] or [-h] [filename]"
48 $ECHO "filename - file to save/load dumped cache. If not specified, $CONF/$FNAME will be used instead."
73 filename=$1
74 if [ ! -z "$filename" -a ! -f "$filename" ]; then
76 $ECHO "ERROR: File $filename does not exists. Save it first."
88 filename=$1
89 if [ -z "$filename" ]; then
94 $ECHO "Saving cache in $filename..."
95 $UC dump_cache>$filename
[all...]
/freebsd-11-stable/bin/setfacl/
H A Dsetfacl.h37 acl_t get_acl_from_file(const char *filename);
39 int merge_acl(acl_t acl, acl_t *prev_acl, const char *filename);
40 int add_acl(acl_t acl, uint entry_number, acl_t *prev_acl, const char *filename);
42 int remove_acl(acl_t acl, acl_t *prev_acl, const char *filename);
43 int remove_by_number(uint entry_number, acl_t *prev_acl, const char *filename);
44 int remove_default(acl_t *prev_acl, const char *filename);
45 void remove_ext(acl_t *prev_acl, const char *filename);
47 int set_acl_mask(acl_t *prev_acl, const char *filename);
H A Dfile.c43 get_acl_from_file(const char *filename) argument
49 if (filename == NULL)
50 err(1, "(null) filename in get_acl_from_file()");
52 if (strcmp(filename, "-") == 0) {
58 file = fopen(filename, "r");
60 err(1, "fopen() %s failed", filename);
67 err(1, "error reading from %s", filename);
70 errx(1, "line too long in %s", filename);
H A Dsetfacl.c64 const char *filename; member in struct:sf_file
74 static void add_filename(const char *filename);
78 add_filename(const char *filename) argument
82 if (strlen(filename) > PATH_MAX - 1) {
83 warn("illegal filename");
87 file->filename = filename;
106 char filename[PATH_MAX]; local
215 bzero(&filename, sizeof(filename));
[all...]
H A Dmask.c43 set_acl_mask(acl_t *prev_acl, const char *filename) argument
62 err(1, "%s: acl_dup() failed", filename);
73 warn("%s: acl_calc_mask() failed", filename);
90 filename);
104 warnx("%s: warning: no mask entry", filename);
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dassert.cpp26 void assertion_failed(int lineno, const char *filename) argument
31 lineno, filename);
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dlrealpath.c28 version of the filename. Symlinks will be resolved, and ``.'' and ``..''
76 lrealpath (const char *filename) argument
78 /* Method 1: The system has a compile time upper bound on a filename
85 const char *rp = realpath (filename, buf);
87 rp = filename;
97 char *rp = canonicalize_file_name (filename);
99 return strdup (filename);
123 rp = realpath (filename, buf);
124 ret = strdup (rp ? rp : filename);
141 DWORD len = GetFullPathName (filename, MAX_PAT
[all...]
/freebsd-11-stable/contrib/dialog/samples/
H A Dbuildlist211 read filename
12 test -z "$filename" && break
13 case $filename in
26 echo $filename $state >>$input
29 echo $count $filename $state >>$input
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dlrealpath.c28 version of the filename. Symlinks will be resolved, and ``.'' and ``..''
76 lrealpath (const char *filename) argument
78 /* Method 1: The system has a compile time upper bound on a filename
85 const char *rp = realpath (filename, buf);
87 rp = filename;
97 char *rp = canonicalize_file_name (filename);
99 return strdup (filename);
123 rp = realpath (filename, buf);
124 ret = strdup (rp ? rp : filename);
141 DWORD len = GetFullPathName (filename, MAX_PAT
[all...]
/freebsd-11-stable/contrib/expat/xmlwf/
H A Dxmlfile.c78 static int processStream(const XML_Char *filename, XML_Parser parser);
81 reportError(XML_Parser parser, const XML_Char *filename) { argument
88 filename, XML_GetErrorLineNumber(parser),
91 ftprintf(stderr, T("%s: (unknown message %d)\n"), filename, code);
96 processFile(const void *data, size_t size, const XML_Char *filename, argument
101 reportError(parser, filename);
150 const XML_Char *filename; local
157 filename = resolveSystemId(base, systemId, &s);
158 XML_SetBase(entParser, filename);
159 filemapRes = filemap(filename, processFil
178 processStream(const XML_Char *filename, XML_Parser parser) argument
227 const XML_Char *filename; local
240 XML_ProcessFile(XML_Parser parser, const XML_Char *filename, unsigned flags) argument
[all...]
H A Dxmlfile.h42 extern int XML_ProcessFile(XML_Parser parser, const XML_Char *filename,
/freebsd-11-stable/usr.bin/etdump/
H A Detdump.h33 void (*output_image)(FILE *outfile, const char *filename,
35 void (*output_section)(FILE *outfile, const char *filename,
37 void (*output_entry)(FILE *outfile, const char *filename,
/freebsd-11-stable/contrib/gdb/gdb/
H A Dcoff-solib.h35 #define SOLIB_ADD(filename, from_tty, targ, readsyms) \
36 coff_solib_add (filename, from_tty, targ, readsyms)
60 library file (or any library file, if filename is NULL) is loaded.
64 #define SOLIB_CREATE_CATCH_LOAD_HOOK(pid,tempflag,filename,cond_string) \
69 library file (or any library file, if filename is NULL) is unloaded.
73 #define SOLIB_CREATE_CATCH_UNLOAD_HOOK(pid,tempflag,filename,cond_string) \
/freebsd-11-stable/usr.sbin/fwcontrol/
H A Dfwmethods.h7 typedef void (fwmethod)(int dev_fd, const char *filename, char ich, int count);
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dfile.h119 * are replaced with ASCII characters until a non-existent filename
163 isc_file_remove(const char *filename);
165 * \brief Remove the file named by 'filename'.
183 isc_file_isabsolute(const char *filename);
210 isc_file_iscurrentdir(const char *filename);
216 isc_file_ischdiridempotent(const char *filename);
218 * Return #ISC_TRUE if calling chdir(filename) multiple times will give
223 isc_file_basename(const char *filename);
229 isc_file_progname(const char *filename, char *buf, size_t buflen);
231 * \brief Given an operating system specific file name "filename"
[all...]
/freebsd-11-stable/contrib/expat/lib/
H A Dloadlibrary.c39 HMODULE _Expat_LoadLibrary(LPCTSTR filename);
73 * filename [in] - The filename or full path of the DLL to load. If only the
74 * filename is passed then the DLL will be loaded from the
79 HMODULE _Expat_LoadLibrary(LPCTSTR filename) argument
93 /* Detect if there's already a path in the filename and load the library if
97 if(_tcspbrk(filename, TEXT("\\/"))) {
100 pLoadLibraryEx(filename, NULL, LOAD_WITH_ALTERED_SEARCH_PATH) :
101 LoadLibrary(filename);
108 hModule = pLoadLibraryEx(filename, NUL
[all...]
/freebsd-11-stable/tools/tools/commitsdb/
H A Dmake_commit_db23 my $filename = "$dir/$f";
24 if (-f $filename) {
25 my %loghash = parse_log_message($filename);
28 $logs{$filename} = {%loghash};
29 } elsif (-d $filename) {
30 next if $filename =~ /\/CVS$/;
31 push @dirs, $filename;
/freebsd-11-stable/contrib/unbound/util/
H A Dconfiglexer.lex45 char* filename;
66 static void config_start_include(const char* filename, int toplevel)
75 if(*filename == '\0') {
81 ub_c_error_msg("include %s: malloc failure", filename);
84 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
86 filename += strlen(cfg_parser->chroot);
88 nm = strdup(filename);
90 ub_c_error_msg("include %s: strdup failure", filename);
94 input = fopen(filename, "r");
97 filename, strerro
[all...]
/freebsd-11-stable/contrib/openbsm/bin/auditd/
H A Dauditd.h70 int audit_warn_closefile(char *filename);
72 int audit_warn_getacdir(char *filename);
73 int audit_warn_hard(char *filename);
76 int audit_warn_soft(char *filename);
78 int audit_warn_expired(char *filename);
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dtrail.h45 bool trail_is_not_terminated(const char *filename);
46 bool trail_is_crash_recovery(const char *filename);
47 void trail_start(struct trail *trail, const char *filename, off_t offset);
51 void trail_unlink(struct trail *trail, const char *filename);
56 void trail_last(DIR *dirfp, char *filename, size_t filenamesize);

Completed in 277 milliseconds

1234567891011>>