Searched refs:fname (Results 1 - 25 of 461) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/tcsh/
H A Ddotlock.h29 * fname -- Pathname to lock
32 int dot_lock(const char *fname, int pollinterval);
33 void dot_unlock(const char *fname);
H A Ddotlock.c47 create_exclusive(const char *fname) argument
67 if ((ptr = strrchr(fname, '/')) == NULL)
68 ptr = fname;
73 (int)(ptr - fname), fname, hostname, (u_long)cookie);
93 if (link(path, fname) == -1)
123 * fname -- Pathname to lock
127 dot_lock(const char *fname, int pollinterval) argument
143 (void)snprintf(path, sizeof(path), "%s.lock", fname);
173 dot_unlock(const char *fname) argument
[all...]
/freebsd-11-stable/bin/pax/
H A Dftree.h44 char *fname; /* file tree name */ member in struct:ftree
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_open.c50 char *fname = uu_zalloc(PATH_MAX); local
52 if (fname == NULL)
56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime());
58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600);
65 (void) unlink(fname);
67 uu_free(fname);
/freebsd-11-stable/lib/libc/posix1e/
H A Dmac_exec.c38 extern int __mac_execve(char *fname, char **argv, char **envv,
42 mac_execve(char *fname, char **argv, char **envv, struct mac *label) argument
45 return (__mac_execve(fname, argv, envv, label));
/freebsd-11-stable/usr.sbin/manctl/
H A Dmanctl.sh67 local fname
79 fname=$1 ; shift
81 fname=$fname.$1
93 mv $pname $fname.$ext # link
102 mv $pname $fname.$sect
163 local fname
177 fname=$1;
178 echo replacing $fname with a hard link
179 set `cat $fname`;
[all...]
/freebsd-11-stable/tools/tools/bus_autoconf/
H A Dbus_load_file.c39 load_file(const char *fname, uint8_t **pptr, uint32_t *plen) argument
46 f = open(fname, O_RDONLY);
48 err(EX_NOINPUT, "Cannot open file '%s'", fname);
53 "end of file '%s'", fname);
58 "beginning of file '%s'", fname);
63 err(EX_NOINPUT, "File '%s' is too big", fname);
H A Dbus_autoconf.c62 char *fname; local
74 fname = optarg;
75 load_file(fname, &ptr, &len);
77 module = strchr(fname, ',');
80 "file name '%s'", fname);
91 section = fname;
105 fname = optarg;
106 load_file(fname, &ptr, &len);
/freebsd-11-stable/contrib/gcc/
H A Dcppdefault.h37 const char *const fname; /* The name of the directory. */ member in struct:default_include
/freebsd-11-stable/contrib/serf/build/
H A Dgen_def.py54 def extract_exports(fname):
55 content = open(fname).read()
74 for fname in sys.argv[1:]:
75 funclist = extract_exports(fname)
/freebsd-11-stable/contrib/libreadline/support/
H A Dmkdist78 while read fname type mode
80 [ -z "$fname" ] && continue
82 case "$fname" in
87 d) mkdir $newdir/$fname ;;
88 f) cp -p $SRCDIR/$fname $newdir/$fname ;;
89 s) ln -s $mode $newdir/$fname ; mode= ;; # symlink
90 l) ln $mode $newdir/$fname ; mode= ;; # hard link
95 chmod $mode $newdir/$fname
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dmaxfilename.cpp33 size_t file_name_max(const char *fname) argument
35 return pathconf(fname, _PC_NAME_MAX);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Ddso.c76 svn_dso_load_internal(apr_dso_handle_t **dso, const char *fname) argument
78 *dso = svn_hash_gets(dso_cache, fname);
92 apr_status_t status = apr_dso_load(dso, fname, dso_pool);
99 fname,
105 svn_hash_sets(dso_cache, apr_pstrdup(dso_pool, fname), NOT_THERE);
111 svn_hash_sets(dso_cache, apr_pstrdup(dso_pool, fname), *dso);
118 svn_dso_load(apr_dso_handle_t **dso, const char *fname) argument
122 SVN_MUTEX__WITH_LOCK(dso_mutex, svn_dso_load_internal(dso, fname));
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_mkexrc.c45 char *fname; local
50 fname = _PATH_EXRC;
54 fname, flen);
55 set_alt_name(sp, fname);
61 if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && !stat(fname, &sb)) {
62 msgq_str(sp, M_ERR, fname,
68 if ((fd = open(fname, O_CREAT | O_TRUNC | O_WRONLY,
70 msgq_str(sp, M_SYSERR, fname, "%s");
93 msgq_str(sp, M_INFO, fname, "138|New exrc file: %s");
99 msgq_str(sp, M_SYSERR, fname, "
[all...]
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-impl.h336 #define WRAPPER(ret, fname, ...) \
337 ret __wrap_ ## fname (__VA_ARGS__) \
338 __attribute__ (( alias (#fname) )); \
339 ret __real_ ## fname (__VA_ARGS__) \
340 __attribute__ (( alias (#fname) )); \
341 ret fname (__VA_ARGS__)
342 #define DECLARE(ty, fname, ...) \
343 typedef ty (*__mf_fn_ ## fname) (__VA_ARGS__); \
344 extern ty __mf_0fn_ ## fname (__VA_ARGS__);
345 #define CALL_REAL(fname,
[all...]
/freebsd-11-stable/contrib/libreadline/
H A Dxmalloc.c44 memory_error_and_abort (fname)
45 char *fname;
47 fprintf (stderr, "%s: out of virtual memory\n", fname);
/freebsd-11-stable/contrib/netbsd-tests/dev/scsipi/
H A Dt_cd.c54 static char fname[] = "/dev/rcd0_"; local
58 fname[strlen(fname)-1] = 'a' + part;
66 RL(fd = rump_sys_open(fname, O_RDWR));
/freebsd-11-stable/contrib/unbound/contrib/
H A Dunbound_cache.cmd13 set fname="unbound_cache.dmp" variable
30 echo Loading cache from %program_path%\%fname%
31 dir /a %program_path%\%fname%
32 type %program_path%\%fname%|%uc% load_cache
41 echo Saving cache to %program_path%\%fname%
42 %uc% dump_cache>%program_path%\%fname%
43 dir /a %program_path%\%fname%
49 echo Loading cache from %program_path%\%fname%
50 dir /a %program_path%\%fname%
51 type %program_path%\%fname
[all...]
/freebsd-11-stable/usr.sbin/kgzip/
H A Dxio.c44 err(1, "%s", id->fname);
61 errx(1, "%s: Short read", idi->fname);
95 err(1, "%s", id->fname);
97 err(1, "%s", id->fname);
110 err(1, "%s", id->fname);
112 errx(1, "%s: Short write", id->fname);
122 err(1, "%s", id->fname);
/freebsd-11-stable/bin/sh/
H A Dredir.c175 const char *fname; local
182 fname = redir->nfile.expfname;
183 if ((f = open(fname, O_RDONLY)) < 0)
184 error("cannot open %s: %s", fname, strerror(errno));
187 fname = redir->nfile.expfname;
188 if ((f = open(fname, O_RDWR|O_CREAT, 0666)) < 0)
189 error("cannot create %s: %s", fname, strerror(errno));
193 fname = redir->nfile.expfname;
194 if (stat(fname, &sb) == -1) {
195 if ((f = open(fname, O_WRONL
[all...]
/freebsd-11-stable/usr.bin/sed/
H A Dmain.c76 char *s; /* Pointer to string or fname */
89 char *fname; member in struct:s_flist
114 const char *fname; /* File name. */ variable
245 fname = "stdin";
249 fname = script->s;
259 fname = string_ident;
336 if (files->fname == NULL) {
340 fname = "stdin";
366 if ((link(fname, oldfname) != 0) &&
367 (rename(fname, oldfnam
[all...]
/freebsd-11-stable/lib/libz/
H A Dzopen.c11 FILE *zopen(const char *fname, const char *mode);
39 zopen(const char *fname, const char *mode) argument
41 gzFile gz = gzopen(fname, mode);
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dfile.c43 char const * fname = pOD->optArg.argString; local
50 if ((stat(fname, &sb) == 0) || (errno != ENOENT)) {
53 fserr_exit(pOpts->pzProgName, "stat", fname);
61 char * p = strrchr(fname, DIRCH);
71 l = (size_t)(p - fname);
72 p = AGALOC(l + 1, "fname");
73 memcpy(p, fname, l);
85 if ( (stat(fname, &sb) != 0)
87 fserr_exit(pOpts->pzProgName, "stat", fname);
/freebsd-11-stable/contrib/dtc/
H A Dsrcpos.c67 * @param fname Filename to look for
71 static char *try_open(const char *dirname, const char *fname, FILE **fp) argument
75 if (!dirname || fname[0] == '/')
76 fullname = xstrdup(fname);
78 fullname = join_path(dirname, fname);
94 * @param fname Filename to open
98 static char *fopen_any_on_path(const char *fname, FILE **fp) argument
108 fullname = try_open(cur_dir, fname, fp);
112 fullname = try_open(node->dirname, fname, fp);
117 FILE *srcfile_relative_open(const char *fname, cha argument
143 srcfile_push(const char *fname) argument
252 const char *fname = "<no-file>"; local
[all...]
/freebsd-11-stable/sys/arm/include/
H A Dcpu-v4.h53 #define _RF0(fname, aname...) \
55 fname(void) \
62 #define _R64F0(fname, aname) \
64 fname(void) \
71 #define _WF0(fname, aname...) \
73 fname(void) \
78 #define _WF1(fname, aname...) \
80 fname(uint32_t reg) \

Completed in 198 milliseconds

1234567891011>>