Home
last modified time | relevance | path

Searched refs:file (Results 301 – 325 of 7917) sorted by relevance

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

/freebsd/tools/test/stress2/testcases/lockf/
H A Dlockf.c46 static char file[128]; variable
56 err(1, "lockf(%s, F_LOCK)", file); in get()
69 err(1, "lockf(%s, F_ULOCK)", file); in get()
81 err(1, "lockf(%s, F_LOCK)", file); in incr()
92 err(1, "lockf(%s, F_ULOCK)", file); in incr()
138 sprintf(file, "lockf.0.%d", getpid()); in test()
139 if ((fd = open(file,O_CREAT | O_TRUNC | O_RDWR, 0600)) == -1) { in test()
143 err(1, "creat(%s) %s:%d", file, __FILE__, __LINE__); in test()
181 unlink(file); in test()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dfault.cfg4 # The contents of this file are subject to the terms of the
6 # You may not use this file except in compliance with the License.
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
51 export VDEV_FILES="$TEST_BASE_DIR/file-1 $TEST_BASE_DIR/file-2 \
52 $TEST_BASE_DIR/file-3 $TEST_BASE_DIR/file-4"
54 export FAULT_FILE="$TEST_BASE_DIR/file-1"
/freebsd/contrib/bc/scripts/
H A Dlocale_install.sh223 for file in $locales_dir/*.msg; do
225 locale=$(basename "$file" ".msg")
241 if [ -L "$file" ]; then
250 gencatfile "$loc" "$file"
260 for file in $locales_dir/*.msg; do
262 locale=$(basename "$file" ".msg")
282 if [ -L "$file" ]; then
289 link=$(readlink "$file")
290 linkdir=$(dirname "$file")
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/
H A Dxattr_004_pos.ksh71 log_must touch /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$
73 log_must runat /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$ \
77 log_must cp -@ /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$ \
81 log_must runat $TESTDIR/$NEWFS_DEFAULT_FS-file.$$ \
94 log_must touch /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$
99 /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$ </tmp/xattr1
109 /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$ \
117 log_must rm $TESTDIR/$NEWFS_DEFAULT_FS-file.$$
/freebsd/tools/test/stress2/misc/
H A Dtruncate9.sh81 char file[80], *cp;
83 snprintf(file, sizeof(file), "file.%d", getpid());
85 if ((fd = open(file, O_RDWR | O_TRUNC | O_CREAT, 0644)) == -1)
86 err(1, "open(%s)", file);
89 if ((fd = open(file, O_RDWR)) == -1)
90 err(1, "open(%s)", file);
115 unlink(file);
H A Dstatfs.sh94 char file[128];
104 sprintf(file,"p%06d.%05d", pid, j);
105 if ((fd = open(file, O_CREAT | O_TRUNC | O_WRONLY, 0666)) == -1) {
107 warn("creat(%s)", file);
119 sprintf(file,"p%06d.%05d", pid, i);
120 if (unlink(file) == -1)
121 err(3, "unlink(%s)", file);
H A Dtvnlru.sh145 char dir[80], file[80], help[80];
159 snprintf(file, sizeof(file), "f%09d", i);
160 if ((fd = open(file, O_RDWR | O_CREAT, DEFFILEMODE)) == -1)
161 err(1, "open(%s)", file);
173 snprintf(file, sizeof(file), "f%09d", i);
175 if ((fd = open(file, O_RDONLY)) == -1)
176 err(1, "open(%s)", file);
194 snprintf(file, sizeof(file), "f%09d", i);
195 if (unlink(file) == -1)
196 err(1, "unlink(%s)", file);
/freebsd/usr.sbin/bsdconfig/includes/
H A Dincludes.sh64 local file="${1#./}"
125 }' "$file" )
128 echo "$file"
133 "$file" "$FUNC_PATTERN"
135 printf ">>> $msg_functions_in\n" "$file"
192 find -s . -type f -and -iname '*.subr' | while read file; do
194 show_include "$file"
/freebsd/contrib/libpcap/
H A Dcmakeconfig.h.in69 /* Define to 1 if you have the <inttypes.h> header file. */
99 /* Define to 1 if you have the <memory.h> header file. */
105 /* Define to 1 if you have the <net/bpf.h> header file. */
108 /* Define to 1 if you have the <net/enet.h> header file. */
114 /* Define to 1 if you have the <net/nit.h> header file. */
120 /* Define to 1 if you have the <net/raw.h> header file. */
159 /* Define to 1 if you have the <stdint.h> header file. */
162 /* Define to 1 if you have the <stdlib.h> header file. */
168 /* Define to 1 if you have the <strings.h> header file. */
171 /* Define to 1 if you have the <string.h> header file. */
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DSymbols.cpp140 fatal(toString(d.file) + in getSymVA()
265 if (file->lazy) { in extract()
266 file->lazy = false; in extract()
267 parseFile(file); in extract()
329 const InputFile *file = sym->file; in maybeWarnUnorderableSymbol() local
476 file->groupId < other.file->groupId; in resolve()
480 recordWhyExtract(other.file, *file, *this); in resolve()
492 std::make_pair(other.file, file)); in resolve()
572 reportDuplicate(*this, other.file, in checkDuplicate()
595 oldSym->file = other.file; in resolve()
[all …]
/freebsd/contrib/kyua/integration/
H A Dcmd_report_test.sh72 atf_check -s exit:0 -o file:expout -e empty kyua report
84 atf_check -s exit:0 -o file:expout -e empty kyua report
92 atf_check -s exit:2 -o empty -e file:experr kyua report
113 kyua report --results-file=foo
134 atf_check -s exit:0 -o file:report -x cat stderr \
138 --output=my-file
139 atf_check -s exit:0 -o file:report -x cat my-file \
158 atf_check -s exit:0 -o file:expout -e empty kyua report \
177 atf_check -s exit:0 -o file:expout -e empty kyua report \
187 atf_check -s exit:0 -o file:expout -e empty kyua report \
[all …]
/freebsd/sys/sys/
H A Dfiledesc.h57 struct file *fde_file; /* file structure for open file */
243 int closef(struct file *fp, struct thread *td);
244 void closef_nothread(struct file *fp);
250 void falloc_abort(struct thread *td, struct file *fp);
279 struct file **fpp);
281 struct file **fpp);
285 struct file **fpp, struct filecaps *havecapsp);
287 struct file **fpp, struct filecaps *havecapsp);
290 struct file **fpp);
293 struct file **fpp);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp180 const FileSpec &file, const ArchSpec &arch, in FindCachedArchive() argument
185 Archive::Map::iterator pos = archive_map.find(file); in FindCachedArchive()
188 while (pos != archive_map.end() && pos->first == file) { in FindCachedArchive()
208 pos = archive_map.find(file); in FindCachedArchive()
220 const FileSpec &file, const ArchSpec &arch, in ParseAndCacheArchiveForFile() argument
262 lldb::offset_t data_offset, const FileSpec *file, in CreateInstance() argument
275 if (file && data_sp && archive_type != ArchiveType::Invalid) { in CreateInstance()
354 lldb::offset_t data_offset, const lldb_private::FileSpec *file, in ObjectContainerBSDArchive() argument
432 const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp, in GetModuleSpecifications() argument
442 if (!file || !data_sp || archive_type == ArchiveType::Invalid) in GetModuleSpecifications()
[all …]
/freebsd/crypto/heimdal/lib/kadm5/
H A Diprop-commands.in38 long = "config-file"
41 help = "configuration file"
42 argument = "file"
57 long = "config-file"
60 help = "configuration file"
61 argument = "file"
90 long = "config-file"
93 help = "configuration file"
94 argument = "file"
109 long = "config-file"
[all …]
/freebsd/contrib/netbsd-tests/sbin/gpt/
H A Dt_gpt.sh62 file() { function
63 local file="$1"
65 atf_check -s exit:0 -e empty -o file:"$file" "$@"
92 file "$src/gpt.2part.show.normal" gpt show "$disk"
93 file "$src/gpt.2part.show.uuid" gpt show -u "$disk"
141 file "$src/gpt.empty.show.normal" gpt show "$disk"
243 file "$src/gpt.resizedisk.show.normal" gpt show "$disk"
245 file "$src/gpt.resizepart.show.normal" gpt show "$disk"
257 file "$src/gpt.removepart.show.normal" \
270 file "$src/gpt.2part.show.label" \
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A DREADME10 The script file consists of lines with an initial character which is
21 + writes out the rest of the line into the output file; if the
41 D [file]: data file
42 + set the current data value to the contents of the file
45 K [file]: key file
46 + set the current key value to the contents of the file
56 -f: Use the file argument as the database file.
60 -o: The rest of the argument is the output file instead of
62 -s: Don't delete the database file before opening it, i.e.
63 use the database file from a previous run.
/freebsd/contrib/ldns/
H A Dmakewin.sh209 file="ldns-$version.zip"
210 rm -f "$file"
211 info "Creating $file"
212 mkdir file
213 cd file
247 rm -f "../../$file"
248 info "$file contents"
252 info "zip $file"
254 info "Testing $file"
255 (cd ../.. ; zip -T "$file" ) || error_cleanup "errors in zipfile $file"
[all …]
/freebsd/sys/contrib/zlib/test/
H A Dexample.c90 gzFile file; in test_gzio()
93 file = gzopen(fname, "wb"); in test_gzio()
94 if (file == NULL) { in test_gzio()
98 gzputc(file, 'h'); in test_gzio()
99 if (gzputs(file, "ello") != 4) { in test_gzio()
108 gzclose(file); in test_gzio()
110 file = gzopen(fname, "rb"); in test_gzio()
111 if (file == NULL) { in test_gzio()
135 if (gzgetc(file) != ' ') { in test_gzio()
140 if (gzungetc(' ', file) != ' ') { in test_gzio()
[all …]
/freebsd/contrib/ntp/util/
H A Dinvoke-ntp-keygen.texi97 @file{/etc}.
104 @file{/etc}
112 @file{stderr}
114 @file{stdout}
200 @file{.rnd}
203 @file{.rnd},
208 @file{.rnd}.
215 @file{/etc}
353 the first two lines of a file contain the file name
861 @file{.rnd}
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_status/
H A Dzpool_status_005_pos.ksh58 typeset file="/$TESTPOOL2/$TESTFS1/$TESTFILE0"
66 -o keylocation=file:///$TESTPOOL2/pwd -o primarycache=none \
69 log_must dd if=/dev/urandom of=$file bs=1024 count=1024 oflag=sync
70 log_must eval "echo 'aaaaaaaa' >> "$file
72 corrupt_blocks_at_level $file 0
81 log_mustnot eval "zpool status -v $TESTPOOL2 | grep '$file'"
88 log_must eval "zpool status -v $TESTPOOL2 | grep '$file'"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_corrective.ksh75 typeset cksum=$(md5digest $file)
85 typeset file="/$TESTPOOL/$TESTFS1/$TESTFILE0"
95 log_must dd if=/dev/urandom of=$file bs=1024 count=1024 oflag=sync
96 log_must eval "echo 'aaaaaaaa' >> "$file
97 typeset checksum=$(md5digest $file)
104 log_must dd if=/dev/urandom of=$file"1" bs=1024 count=1024 oflag=sync
105 log_must eval "echo 'bbbbbbbb' >> "$file"1"
111 corrupt_blocks_at_level $file 0
115 corrupt_blocks_at_level $file"1" 0
180 typeset cksum=$(md5digest $file)
[all …]
/freebsd/share/examples/tests/tests/plain/
H A Dprintf_test.c78 FILE *file; in fprintf__simple_string() local
83 file = fopen("test.txt", "w+"); in fprintf__simple_string()
84 if (fprintf(file, "%s", contents) <= 0) in fprintf__simple_string()
86 rewind(file); in fprintf__simple_string()
87 length = fread(buffer, 1, sizeof(buffer) - 1, file); in fprintf__simple_string()
91 fclose(file); in fprintf__simple_string()
/freebsd/contrib/llvm-project/lld/COFF/
H A DMapFile.cpp103 for (ObjFile *file : ctx.objFileInstances) in getSymbols()
104 for (Symbol *b : file->getSymbols()) { in getSymbols()
122 if (!file->live) in getSymbols()
125 if (!file->thunkSym) in getSymbols()
128 if (!file->thunkLive) in getSymbols()
168 InputFile *file; in getSymbolStrings() local
170 file = impSym->file; in getSymbolStrings()
172 file = thunkSym->wrappedSym->file; in getSymbolStrings()
174 file = sym->getFile(); in getSymbolStrings()
176 if (file) { in getSymbolStrings()
[all …]
/freebsd/sys/contrib/zlib/
H A Dzlib.h1429 gzFile file);
1511 ZEXTERN int ZEXPORT gzputc(gzFile file, int c);
1517 ZEXTERN int ZEXPORT gzgetc(gzFile file);
1526 ZEXTERN int ZEXPORT gzungetc(int c, gzFile file);
1573 ZEXTERN int ZEXPORT gzrewind(gzFile file);
1601 ZEXTERN int ZEXPORT gzeof(gzFile file);
1616 ZEXTERN int ZEXPORT gzdirect(gzFile file);
1637 ZEXTERN int ZEXPORT gzclose(gzFile file);
1650 ZEXTERN int ZEXPORT gzclose_r(gzFile file);
1651 ZEXTERN int ZEXPORT gzclose_w(gzFile file);
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-pkcs12.pod.in6 openssl-pkcs12 - PKCS#12 file command
416 Parse a PKCS#12 file and output it to a PEM file:
418 openssl pkcs12 -in file.p12 -out file.pem
422 openssl pkcs12 -in file.p12 -clcerts -out file.pem
426 openssl pkcs12 -in file.p12 -out file.pem -noenc
428 Print some info about a PKCS#12 file:
436 Create a PKCS#12 file from a PEM file that may contain a key and certificates:
438 openssl pkcs12 -export -in file.pem -out file.p12 -name "My PSE"
442 openssl pkcs12 -export -in file.pem -out file.p12 -name "My PSE" \
445 Export a PKCS#12 file with data from a certificate PEM file and from a further
[all …]

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