Searched refs:file (Results 1 - 25 of 2859) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/zstd/zlibWrapper/
H A Dgzclose.c11 /* gzclose() is in a separate file so that it is linked in only if it is used.
14 int ZEXPORT gzclose(file)
15 gzFile file;
20 if (file == NULL)
22 state.file = file;
24 return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
26 return gzclose_r(file);
/freebsd-current/usr.bin/fortune/tools/
H A DDo_troff3 set file=$1
5 ( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
6 $* -me >& $file.tr
7 echo troff output in $file.tr
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Danon_inodes.h33 #include <linux/file.h>
36 static inline struct file *
40 struct file *file; local
42 file = alloc_file(FMODE_READ, fops);
43 file->private_data = priv;
45 return (file);
H A Dfile.h33 #include <sys/file.h>
44 #undef file macro
51 struct file *file; local
53 /* lookup file pointer by file descriptor index */
54 if (fget_unlocked(curthread, fd, &cap_no_rights, &file) != 0)
57 /* check if file handle really belongs to us */
58 if (file->f_data == NULL ||
59 file
87 struct file *file; local
106 struct file *file; local
126 struct file *file; local
141 struct file *file; local
182 #define file macro
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_003_neg.ksh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
43 # 3. Verify the command aborts and generate a core file
50 for file in $ZFS_DEV $MNTTAB; do
51 log_must eval "[ -e ${file} ] || mv ${file}.bak $file"
66 for file i
[all...]
/freebsd-current/contrib/unbound/contrib/android/
H A Dinstall_expat.sh28 (IFS="" find "$PWD" -name 'Makefile' -print | while read -r file
30 cp -p "$file" "$file.fixed"
31 sed 's|-Wduplicated-cond ||g; s|-Wduplicated-branches ||g; s|-Wlogical-op ||g' "$file" > "$file.fixed"
32 mv "$file.fixed" "$file"
34 cp -p "$file" "$file.fixed"
35 sed 's|-Wrestrict ||g; s|-Wjump-misses-init ||g; s|-Wmisleading-indentation ||g' "$file" > "
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Dudivsi3.S1 ! This file intentionally left blank
H A Dumodsi3.S1 ! This file intentionally left blank
/freebsd-current/sys/contrib/zlib/
H A Dgzclose.c8 /* gzclose() is in a separate file so that it is linked in only if it is used.
11 int ZEXPORT gzclose(gzFile file) { argument
15 if (file == NULL)
17 state = (gz_statep)file;
19 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
21 return gzclose_r(file);
/freebsd-current/contrib/unbound/contrib/ios/
H A Dinstall_expat.sh33 (IFS="" find "$PWD" -name 'Makefile' -print | while read -r file
35 cp -p "$file" "$file.fixed"
36 sed 's|-Wduplicated-cond ||g; s|-Wduplicated-branches ||g; s|-Wlogical-op ||g' "$file" > "$file.fixed"
37 mv "$file.fixed" "$file"
39 cp -p "$file" "$file.fixed"
40 sed 's|-Wrestrict ||g; s|-Wjump-misses-init ||g; s|-Wmisleading-indentation ||g' "$file" > "
[all...]
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs/
H A Dzfs_003_neg.ksh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
42 # 3. Verify the command aborts and generate a core file
62 for file in $ZFS_DEV $MNTTAB; do
63 if [[ -e $file ]]; then
64 $MV $file ${file}.bak
69 $MV ${file}
[all...]
/freebsd-current/stand/libsa/
H A Dassert.c31 __assert(const char *func, const char *file, int line, const char *expression) argument
34 panic("Assertion failed: (%s), file %s, line %d.",
35 expression, file, line);
38 "Assertion failed: (%s), function %s, file %s, line %d.",
39 expression, func, file, line);
/freebsd-current/tools/tools/drm/radeon/firmwares/
H A Dencode-firmwares14 for file in "$srcdir"/*.bin; do
15 uuencode -o "$fwdir"/$(basename $file).uu $file $(basename $file)
/freebsd-current/tools/build/cross-build/include/linux/
H A Dfcntl.h46 #include <sys/file.h>
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_clear/
H A Dzpool_clear_002_neg.ksh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
59 [[ -e $file ]] && \
60 log_must $RM -f $file
68 file=$TMPDIR/file.${TESTCASE_ID}
69 log_must create_vdevs $file
70 log_must $ZPOOL create $TESTPOOL1 $file
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dnlink3.sh47 char file[100];
49 snprintf(file, sizeof(file), "f");
50 if ((fd = open(file, O_RDWR | O_CREAT | O_TRUNC,
52 err(1, "creat(%s)", file);
57 snprintf(file, sizeof(file), "%d", i);
58 if (link("f", file) == -1)
59 err(1, "link(%s, %s)", "f", file);
65 snprintf(file, sizeo
[all...]
/freebsd-current/contrib/kyua/integration/helpers/
H A Dbad_test_program.cpp42 std::ofstream file(cookie);
43 if (!file)
45 file << "Cookie file\n";
46 file.close();
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dfile.h4 * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
30 #include_next <sys/file.h>
/freebsd-current/tools/tools/ath/ath_ee_9287_print/
H A Deeprom.h5 extern void load_eeprom_dump(const char *file, uint16_t *buf);
/freebsd-current/tools/tools/ath/ath_ee_v4k_print/
H A Deeprom.h5 extern void load_eeprom_dump(const char *file, uint16_t *buf);
/freebsd-current/lib/libc/stdio/
H A Dremove.c41 remove(const char *file) argument
45 if (lstat(file, &sb) < 0)
48 return (rmdir(file));
49 return (unlink(file));
/freebsd-current/tests/sys/audit/
H A DMakefile4 ATF_TESTS_C= file-attribute-access
5 ATF_TESTS_C+= file-attribute-modify
6 ATF_TESTS_C+= file-create
7 ATF_TESTS_C+= file-delete
8 ATF_TESTS_C+= file-close
9 ATF_TESTS_C+= file-write
10 ATF_TESTS_C+= file-read
19 SRCS.file-attribute-access+= file-attribute-access.c
20 SRCS.file
[all...]
/freebsd-current/bin/setfacl/
H A Dfile.c37 * read acl text from a file and return the corresponding acl
42 FILE *file; local
52 file = stdin;
55 file = fopen(filename, "r");
56 if (file == NULL)
60 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
62 if (ferror(file) != 0) {
63 fclose(file);
65 } else if (feof(file) == 0) {
66 fclose(file);
[all...]
/freebsd-current/contrib/netbsd-tests/include/
H A Dt_bitstring.c46 printbits(FILE *file, bitstr_t *b, int n) argument
54 (void) fprintf(file, "%3d %3d ", jc, js);
57 (void) fprintf(file, "%c", (bit_test(b, i) ? '1' : '0'));
60 (void) fprintf(file, "%c", '\n');
64 calculate_data(FILE *file, const int test_length) argument
71 (void) fprintf(file, "Testing with TEST_LENGTH = %d\n\n", test_length);
73 (void) fprintf(file, "test _bit_byte, _bit_mask, and bitstr_size\n");
74 (void) fprintf(file, " i _bit_byte(i) _bit_mask(i) bitstr_size(i)\n");
77 (void) fprintf(file, "%3d%15u%15u%15zu\n",
83 (void) fprintf(file, "\ntes
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_003_neg.ksh5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
52 for file in `ls $TESTDIR/file.*`; do
53 log_must rm -f $file
64 log_must mkfile $FILESIZE $TESTDIR/file.$i
68 log_must zpool create $TESTPOOL1 raidz $TESTDIR/file.1 $TESTDIR/file
[all...]

Completed in 206 milliseconds

1234567891011>>