Home
last modified time | relevance | path

Searched refs:file (Results 251 – 275 of 7920) sorted by relevance

1...<<11121314151617181920>>...317

/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs/
H A Dzfs_003_neg.ksh62 for file in $ZFS_DEV $MNTTAB; do
63 if [[ -e $file ]]; then
64 $MV $file ${file}.bak
69 $MV ${file}.bak $file
/freebsd/sys/contrib/zlib/
H A Dgzwrite.c242 if (file == NULL) in gzwrite()
244 state = (gz_statep)file; in gzwrite()
268 if (file == NULL) in gzfwrite()
270 state = (gz_statep)file; in gzfwrite()
295 if (file == NULL) in gzputc()
338 if (file == NULL) in gzputs()
368 if (file == NULL) in gzvprintf()
454 if (file == NULL) in gzprintf()
533 if (file == NULL) in gzflush()
563 if (file == NULL) in gzsetparams()
[all …]
/freebsd/contrib/ntp/libntp/
H A Demalloc.c30 const char * file, in ereallocz() argument
43 mem = EREALLOC_IMPL(ptr, allocsz, file, line); in ereallocz()
52 file, line, (u_long)newsz); in ereallocz()
93 const char * file, in oreallocarrayxz() argument
105 file, line); in oreallocarrayxz()
112 return ereallocz(optr, extra + (size * nmemb), 0, TRUE, file, line); in oreallocarrayxz()
121 const char * file, in estrdup_impl() argument
132 , file, line in estrdup_impl()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval.kshlib93 typeset file=$1
95 typeset file_size=$(stat_size $file 2>/dev/null)
98 [[ -w $file ]] || return 1
100 dd if=/dev/urandom of=$file conv=notrunc \
106 typeset file=$1
108 log_note "Starting writer for $file"
110 while random_write $file $((2**12)); do
113 log_note "Stopping writer for $file"
/freebsd/libexec/comsat/
H A Dcomsat.c113 char *file; in mailfor() local
124 file = name; in mailfor()
126 file = cp + 1; in mailfor()
129 if (*file != '/') { in mailfor()
131 (int)sizeof(utp->ut_user), file); in mailfor()
132 file = buf2; in mailfor()
134 folder = strcmp(buf, file); in mailfor()
138 notify(utp, file, offset, folder); in mailfor()
191 jkfprintf(tp, utp->ut_user, file, offset); in notify()
207 jkfprintf(FILE *tp, char user[], char file[], off_t offset) in jkfprintf() argument
[all …]
/freebsd/contrib/kyua/integration/
H A Dcmd_report_html_test.sh66 local file="${1}"; shift
69 echo "Checking for presence of '${1}' in ${file}"
70 if grep "${1}" "${file}" >/dev/null; then
85 local file="${1}"; shift
88 echo "Checking for lack of '${1}' in ${file}"
89 if grep "${1}" "${file}" >/dev/null; then
143 atf_check -s exit:2 -o empty -e file:experr kyua report-html
153 --results-file="$(cat dbfile_name1)"
158 --results-file="$(cat dbfile_name2)"
166 kyua report-html --results-file=foo
[all …]
/freebsd/sys/contrib/zstd/programs/
H A Dplatform.h162 # define SET_BINARY_MODE(file) { int const unused=_setmode(_fileno(file), _O_BINARY); (void)unus… argument
163 # define SET_SPARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno( argument
165 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
166 # define SET_SPARSE_FILE_MODE(file)
169 # define SET_BINARY_MODE(file)
170 # define SET_SPARSE_FILE_MODE(file)
/freebsd/sbin/ipf/libipf/
H A Dmutex_emul.c19 eMmutex_enter(eMmutex_t *mtx, char *file, int line) in eMmutex_enter() argument
22 fprintf(mutex_file, "%s:%d:eMmutex_enter(%s)\n", file, line, in eMmutex_enter()
35 mtx->eMm_heldin = file; in eMmutex_enter()
41 eMmutex_exit(eMmutex_t *mtx, char *file, int line) in eMmutex_exit() argument
44 fprintf(mutex_file, "%s:%d:eMmutex_exit(%s)\n", file, line, in eMmutex_exit()
63 eMmutex_init(eMmutex_t *mtx, char *who, char *file, int line) in eMmutex_init() argument
69 file, line, mtx, who); in eMmutex_init()
87 eMmutex_destroy(eMmutex_t *mtx, char *file, int line) in eMmutex_destroy() argument
91 "%s:%d:eMmutex_destroy(%p,%s)\n", file, line, in eMmutex_destroy()
/freebsd/contrib/mandoc/
H A Dcgi.c547 if ('.' == file[0] && '/' == file[1]) in validate_filename()
548 file += 2; in validate_filename()
550 return ! (strstr(file, "../") || strstr(file, "/..") || in validate_filename()
551 (strncmp(file, "man", 3) && strncmp(file, "cat", 3))); in validate_filename()
656 r[0].file); in pg_searchres()
670 sec = r[i].file; in pg_searchres()
919 if ('.' == file[0] && '/' == file[1]) in resp_show()
920 file += 2; in resp_show()
922 if ('c' == *file) in resp_show()
932 const char *file; in pg_show() local
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Derlang4 # erlang: file(1) magic for Erlang JAM and BEAM files
8 0 string \0177BEAM! Old Erlang BEAM file
13 >8 string BEAM Erlang BEAM file
16 4 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2
17 79 string Tue\ Jan\ 22\ 14:32:44\ MET\ 1991 Erlang JAM file - version 4.2
19 4 string 1.0\ Fri\ Feb\ 3\ 09:55:56\ MET\ 1995 Erlang JAM file - version 4.3
21 0 bequad 0x0000000000ABCDEF Erlang DETS file
H A Dmsooxml4 # msooxml: file(1) magic for Microsoft Office XML
8 # archive. The first member file is normally "[Content_Types].xml".
12 # file of ePub or OpenDocument, we'll have to scan for a filename
30 # start by checking for ZIP local file header signature
33 # make sure the first file is correct
37 # skip to the second local file header
38 # since some documents include a 520-byte extra field following the file
41 # now skip to the *third* local file header; again, we need to scan due to a
42 # 520-byte extra field following the file header
45 # file we have. Correct the mimetype with the registered ones:
[all …]
/freebsd/contrib/wireguard-tools/
H A Dsetconf.c30 static bool sync_conf(struct wgdevice *file) in sync_conf() argument
37 if (!file->first_peer) in sync_conf()
40 for_each_wgpeer(file, peer) in sync_conf()
43 if (ipc_get_device(&runtime, file->name) != 0) { in sync_conf()
53 file->flags &= ~WGDEVICE_REPLACE_PEERS; in sync_conf()
65 for_each_wgpeer(file, peer) { in sync_conf()
90 peer->next_peer = file->first_peer; in sync_conf()
91 file->first_peer = peer; in sync_conf()
92 if (!file->last_peer) in sync_conf()
93 file->last_peer = peer; in sync_conf()
/freebsd/sys/kern/
H A Dkern_sema.c75 _sema_post(struct sema *sema, const char *file, int line) in _sema_post() argument
84 cv_wmesg(&sema->sema_cv), sema->sema_value, file, line); in _sema_post()
90 _sema_wait(struct sema *sema, const char *file, int line) in _sema_wait() argument
102 cv_wmesg(&sema->sema_cv), sema->sema_value, file, line); in _sema_wait()
108 _sema_timedwait(struct sema *sema, int timo, const char *file, int line) in _sema_timedwait() argument
131 cv_wmesg(&sema->sema_cv), sema->sema_value, file, line); in _sema_timedwait()
134 cv_wmesg(&sema->sema_cv), file, line); in _sema_timedwait()
142 _sema_trywait(struct sema *sema, const char *file, int line) in _sema_trywait() argument
154 cv_wmesg(&sema->sema_cv), sema->sema_value, file, line); in _sema_trywait()
159 cv_wmesg(&sema->sema_cv), file, line); in _sema_trywait()
H A Dkern_rmlock.c73 #define _rm_assert(c, what, file, line) argument
605 _rm_assert(rm, RA_UNLOCKED, file, line); in _rm_wlock_debug()
608 file, line, NULL); in _rm_wlock_debug()
626 _rm_assert(rm, RA_WLOCKED, file, line); in _rm_wunlock_debug()
635 int trylock, const char *file, int line) in _rm_rlock_debug() argument
647 rm->lock_object.lo_name, file, line)); in _rm_rlock_debug()
659 rm->lock_object.lo_name, file, line)); in _rm_rlock_debug()
682 const char *file, int line) in _rm_runlock_debug() argument
690 _rm_assert(rm, RA_RLOCKED, file, line); in _rm_runlock_debug()
727 const char *file, int line) in _rm_runlock_debug() argument
[all …]
/freebsd/contrib/ntp/
H A Dconfig.h.in400 /* Define to 1 if you have the <dlfcn.h> header file. */
412 /* Define to 1 if you have the <errno.h> header file. */
421 /* Define to 1 if you have the <fcntl.h> header file. */
520 /* Define to 1 if you have the <kvm.h> header file. */
589 /* Define to 1 if you have the <math.h> header file. */
595 /* Define to 1 if you have the <md5.h> header file. */
628 /* Define to 1 if you have the <netdb.h> header file. */
703 /* Define to 1 if you have the <poll.h> header file. */
709 /* Define to 1 if you have the <priv.h> header file. */
748 /* Define to 1 if you have the <pth.h> header file. */
[all …]
/freebsd/tools/test/stress2/misc/
H A Dexlock2.sh50 rm -f $dir/exlock2 /tmp/exlock2.*.file
73 static char file[80];
95 if ((fd = open(file, O_RDWR|O_CREAT|O_EXCL|O_EXLOCK,
97 err(1, "open(%s) creat", file);
98 unlink(file);
124 if ((fd = open(file, O_RDWR)) == -1)
139 err(1, "stat(%s)", file);
140 /* As test1 has opened the file exclusivly, this
143 fprintf(stderr, "%s has size 0\n", file);
173 snprintf(file, sizeof(file), "/tmp/exlock2.%d.file", getpid());
/freebsd/usr.bin/locale/tests/
H A Dlocale_test.sh39 atf_check -o file:"$(atf_get_srcdir)/k_flag_posix_monetary.out" \
64 atf_check -o file:"$(atf_get_srcdir)/k_flag_posix_numeric.out" \
71 atf_check -o file:"$(atf_get_srcdir)/k_flag_posix_time.out" \
89 atf_check -o file:"$(atf_get_srcdir)/k_flag_posix_messages.out" \
106 atf_check -o file:"$(atf_get_srcdir)/no_flags_posix_monetary.out" \
131 atf_check -o file:"$(atf_get_srcdir)/no_flags_posix_numeric.out" \
138 atf_check -o file:"$(atf_get_srcdir)/no_flags_posix_time.out" \
156 atf_check -o file:"$(atf_get_srcdir)/no_flags_posix_messages.out" \
/freebsd/tests/sys/cddl/zfs/tests/xattr/
H A Dxattr_004_pos.ksh82 log_must $TOUCH $TMPDIR/ufs.${TESTCASE_ID}/ufs-file.${TESTCASE_ID}
83 log_must $TOUCH $TMPDIR/tmpfs-file.${TESTCASE_ID}
85 log_must $RUNAT $TMPDIR/ufs.${TESTCASE_ID}/ufs-file.${TESTCASE_ID} $CP /etc/passwd .
86 log_must $RUNAT $TMPDIR/tmpfs-file.${TESTCASE_ID} $CP /etc/group .
89 log_must $CP -@ $TMPDIR/ufs.${TESTCASE_ID}/ufs-file.${TESTCASE_ID} $TESTDIR
90 log_must $CP -@ $TMPDIR/tmpfs-file.${TESTCASE_ID} $TESTDIR
93 log_must $RUNAT $TESTDIR/ufs-file.${TESTCASE_ID} $DIFF passwd /etc/passwd
94 log_must $RUNAT $TESTDIR/tmpfs-file.${TESTCASE_ID} $DIFF group /etc/group
/freebsd/contrib/ntp/scripts/update-leap/
H A Dinvoke-update-leap.texi4 @cindex leap-seconds file manager/updater
11 # and the template file agtexi-cmd.tpl
17 will validate the file currently on the local system
18 and if necessary, updates leap-second definition file.
31 functions, e.g. to copy the file to other local systems.
50 * update-leap ntp-conf-file:: ntp-conf-file option (-f)
107 <none> - ntpd checks file daily
203 This option takes a string argument @file{float}.
216 @node update-leap ntp-conf-file
217 @subsection ntp-conf-file option (-f)
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Devent-config.h.cmake3 * This file was generated by cmake when the makefiles were generated.
7 * Do not rely on macros in this file existing in later versions.
66 /* Define to 1 if you have the <arpa/inet.h> header file. */
84 /* Define to 1 if you have the <netdb.h> header file. */
93 /* Define to 1 if you have the <dlfcn.h> header file. */
114 /* Define to 1 if you have the <fcntl.h> header file. */
184 /* Define to 1 if you have the <memory.h> header file. */
205 /* Define to 1 if you have the <sys/un.h> header file. */
208 /* Define to 1 if you have the <afunix.h> header file. */
223 /* Define to 1 if you have the <poll.h> header file. */
[all …]
/freebsd/contrib/libevent/
H A Devent-config.h.cmake3 * This file was generated by cmake when the makefiles were generated.
7 * Do not rely on macros in this file existing in later versions.
66 /* Define to 1 if you have the <arpa/inet.h> header file. */
84 /* Define to 1 if you have the <netdb.h> header file. */
93 /* Define to 1 if you have the <dlfcn.h> header file. */
114 /* Define to 1 if you have the <fcntl.h> header file. */
184 /* Define to 1 if you have the <memory.h> header file. */
205 /* Define to 1 if you have the <sys/un.h> header file. */
208 /* Define to 1 if you have the <afunix.h> header file. */
223 /* Define to 1 if you have the <poll.h> header file. */
[all …]
/freebsd/tools/ifnet/
H A Dconvert_ifapi.sh48 file=$1
231 if [ -e $file.tmp ]
233 rm $file.tmp
236 echo -n "Conversion for $file started, please wait: "
268 printf "%s\n" "$line" >> $file.tmp
271 count=`grep $FAIL_PAT $file.tmp | wc -l`
277 echo "original $file has been moved to $file.orig"
278 mv $file $file.orig
279 mv $file.tmp $file
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_002_pos.ksh53 all_vdevs=$(echo $TESTDIR/file.{01..256})
59 log_mustnot zpool create $TESTPOOL draid1 $(echo $TESTDIR/file.{01..01})
60 log_mustnot zpool create $TESTPOOL draid2 $(echo $TESTDIR/file.{01..02})
61 log_mustnot zpool create $TESTPOOL draid3 $(echo $TESTDIR/file.{01..03})
68 $(echo $TESTDIR/file.{01..$i})
75 $(echo $TESTDIR/file.{01..$i})
80 log_mustnot zpool create $TESTPOOL draid $(echo $TESTDIR/file.{01..256})
/freebsd/crypto/heimdal/lib/wind/
H A Dgenerate.py46 self.file = open(name, 'w')
47 self.file.write('/* ' + name + ' */\n')
48 self.file.write('/* Automatically generated at ' +
54 self.file.close()
68 self.file.write('#ifndef ' + self.guard + '\n')
69 self.file.write('#define ' + self.guard + ' 1\n')
73 self.file.write('#endif /* ' + self.guard + ' */\n')
/freebsd/crypto/openssl/util/
H A Dck_errf.pl98 foreach my $file (@source) {
99 open( IN, "<$file" ) || die "Can't open $file, $!";
113 print "$file:$.:$errlib not listed in $config\n";
119 print "$file:$.:???:$n\n";
132 print "$file:$.:$func:$n [${errlib}err]\n";
139 print "$file:$.:$func:$n\n";

1...<<11121314151617181920>>...317