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

1234567891011>>

/freebsd-head/contrib/xz/src/xz/
H A Dlist.h14 extern void list_file(const char *filename);
/freebsd-head/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-head/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-head/contrib/expat/
H A Dfix-xmltest-log.sh33 filename="${1:-tests/xmltest.log}"
35 dos2unix "${filename}"
47 "${filename}" > "${tempfile}"
48 mv "${tempfile}" "${filename}"
/freebsd-head/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dutils.py30 def ReadFile(filename, print_error=True):
33 fp = open(filename)
40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
/freebsd-head/crypto/openssl/crypto/
H A Do_fopen.c38 FILE *openssl_fopen(const char *filename, const char *mode) argument
42 int sz, len_0 = (int)strlen(filename) + 1;
46 * Basically there are three cases to cover: a) filename is
50 * If filename is pure ASCII or real UTF-8 encoded string,
52 * filename is locale-ized string, chances are that
58 filename, len_0, NULL, 0)) > 0 ||
61 filename, len_0, NULL, 0)) > 0)
67 filename, len_0, wfilename, sz) &&
74 * UTF-8 decode succeeded, but no file, filename
77 file = fopen(filename, mod
121 openssl_fopen(const char *filename, const char *mode) argument
[all...]
/freebsd-head/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-head/bin/setfacl/
H A Dsetfacl.h39 acl_t get_acl_from_file(const char *filename);
41 int merge_acl(acl_t acl, acl_t *prev_acl, const char *filename);
43 const char *filename);
45 int remove_acl(acl_t acl, acl_t *prev_acl, const char *filename);
47 const char *filename);
48 int remove_default(acl_t *prev_acl, const char *filename);
49 void remove_ext(acl_t *prev_acl, const char *filename);
51 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);
/freebsd-head/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-head/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-head/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-head/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-head/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-head/usr.sbin/fwcontrol/
H A Dfwmethods.h7 typedef void (fwmethod)(int dev_fd, const char *filename, char ich, int count);
/freebsd-head/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-head/tests/sys/cddl/zfs/tests/atime/
H A Datime_common.kshlib45 typeset filename=$1
47 typeset before=$($LS -luD "%Y-%m-%d %R.%s" $filename | $AWK '{print $7}')
49 log_must $CAT $filename
50 typeset after=$($LS -luD "%Y-%m-%d %R.%s" $filename | $AWK '{print $7}')
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_write_open_filename.c61 struct archive_mstring filename; member in struct:write_file_data
70 archive_write_open_file(struct archive *a, const char *filename) argument
72 return (archive_write_open_filename(a, filename));
76 archive_write_open_filename(struct archive *a, const char *filename) argument
79 if (filename == NULL || filename[0] == '\0')
82 return (open_filename(a, 1, filename));
86 archive_write_open_filename_w(struct archive *a, const wchar_t *filename) argument
89 if (filename == NULL || filename[
96 open_filename(struct archive *a, int mbs_fn, const void *filename) argument
[all...]
/freebsd-head/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-head/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-head/contrib/unbound/util/
H A Dconfiglexer.lex45 char* filename;
63 static void config_start_include(const char* filename)
72 if(*filename == '\0') {
78 ub_c_error_msg("include %s: malloc failure", filename);
81 if(cfg_parser->chroot && strncmp(filename, cfg_parser->chroot,
83 filename += strlen(cfg_parser->chroot);
85 nm = strdup(filename);
87 ub_c_error_msg("include %s: strdup failure", filename);
91 input = fopen(filename, "r");
94 filename, strerro
[all...]
/freebsd-head/crypto/heimdal/lib/roken/
H A Dwrite_pid.c57 pid_file_delete (char **filename) argument
59 if (*filename != NULL) {
60 unlink (*filename);
61 free (*filename);
62 *filename = NULL;
/freebsd-head/contrib/apr/include/
H A Dapr_shm.h50 * @param filename The file to use for shared memory on platforms that
71 const char *filename,
94 * @param filename The file to use for shared memory on platforms that
116 const char *filename,
123 * @param filename The filename associated with shared-memory segment which
135 APR_DECLARE(apr_status_t) apr_shm_remove(const char *filename,
148 * @param filename The file used to create the original segment.
149 * (This MUST match the original filename.)
154 const char *filename,
[all...]

Completed in 83 milliseconds

1234567891011>>