/freebsd/share/mk/ |
H A D | bsd.nls.mk | 38 .for file in ${NLS} 42 .if defined(NLSSRCFILES_${file}) 43 NLSSRCDIR_${file}?= ${NLSSRCDIR} 44 ${file}.msg: ${NLSSRCFILES_${file}:S/^/${NLSSRCDIR_${file}}\//} 47 CLEANFILES+= ${file}.msg 72 .for file in ${NLS} 73 NLSDIR_${file:T}= ${NLSDIR}/${file:T:R} 74 NLSNAME_${file:T}= ${NLSNAME}.cat 75 .if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R}) 76 .if !empty(NLSLINKS_${file:R}:M${file:R}) [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_dump.c | 114 fprintf(file, "\n"); in dump_ucast_path_distribution() 222 fprintf(file, "yes"); in dump_ucast_routes() 235 fprintf(file, "\n"); in dump_ucast_routes() 327 fprintf(file, "\n"); in dump_lid_matrix() 363 fprintf(file, "\n"); in dump_ucast_lfts() 635 fprintf(file, "\n"); in print_node_report() 644 FILE *file; member 661 dump_context.file = file; in dump_qmap() 674 FILE *file; in osm_dump_qmap_to_file() local 680 if (!file) { in osm_dump_qmap_to_file() [all …]
|
/freebsd/crypto/heimdal/ |
H A D | missing | 207 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` 209 touch $file 211 test -z "$file" || exec >$file 216 chmod +x $file 282 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` 284 touch $file 286 test -z "$file" || exec >$file 302 test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` 306 file=`sed -n ' 313 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 84 struct file *_file; 116 #define file linux_file macro 294 no_llseek(struct file *file, loff_t offset, int whence) in no_llseek() argument 301 default_llseek(struct file *file, loff_t offset, int whence) in default_llseek() argument 303 return (no_llseek(file, offset, whence)); in default_llseek() 307 generic_file_llseek(struct file *file, loff_t offset, int whence) in generic_file_llseek() argument 309 return (no_llseek(file, offset, whence)); in generic_file_llseek() 316 return (file->_file->f_offset); in noop_llseek() 320 file_inode(const struct linux_file *file) in file_inode() argument 323 return (file->f_vnode); in file_inode() [all …]
|
/freebsd/sys/netgraph/ |
H A D | netgraph.h | 202 hook->lastfile = file; in _chkhook() 208 _chkhook(hook, file, line); in _ng_hook_ref() 215 _chkhook(hook, file, line); in _ng_hook_name() 222 _chkhook(hook, file, line); in _ng_hook_unref() 229 _chkhook(hook, file, line); in _ng_hook_set_private() 236 _chkhook(hook, file, line); in _ng_hook_set_rcvmsg() 243 _chkhook(hook, file, line); in _ng_hook_set_rcvdata() 250 _chkhook(hook, file, line); in _ng_hook_private() 257 _chkhook(hook, file, line); in _ng_hook_not_valid() 467 node->lastfile = file; in _chknode() [all …]
|
/freebsd/sys/sys/ |
H A D | sx.h | 190 #define sx_xlock_(sx, file, line) \ argument 191 (void)_sx_xlock((sx), 0, (file), (line)) 194 #define sx_xunlock_(sx, file, line) \ argument 195 _sx_xunlock((sx), (file), (line)) 197 #define sx_xlock_(sx, file, line) \ argument 201 #define sx_xunlock_(sx, file, line) \ argument 205 #define sx_slock_(sx, file, line) \ argument 210 _sx_sunlock((sx), (file), (line)) 216 #define sx_slock_(sx, file, line) \ argument 256 sx_xunlock_(sx, file, line); \ [all …]
|
/freebsd/contrib/netbsd-tests/share/mk/ |
H A D | common.subr | 34 cat "${file}" 40 # The file parameter specifies the path to the file to create, WITHOUT the 41 # C extension. Both a source file and a header file are created. Any 52 echo "const char *${symbol} = \"${file}\";" >"${file}.c" 54 dump_file "${file}.h" 55 dump_file "${file}.c" 65 # The file parameter specifies the name of the file to create. 89 dump_file "${file}" 107 echo "# Test configuration file" >"${file}" 122 case "${file}" in [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_xar.c | 537 struct file *file; in xar_write_header() local 783 struct file *file; in xar_finish_entry() local 1149 struct file *file) in make_file_entry() argument 1235 if (file->hardlink_target == file) in make_file_entry() 1947 struct file *file; in file_new() local 1952 file = calloc(1, sizeof(*file)); in file_new() 1968 file->xattr.last = &(file->xattr.first); in file_new() 1980 file_free(struct file *file) in file_free() argument 2002 struct file *file; in file_create_virtual_dir() local 2260 struct file *dent, *file, *np; in file_tree() local [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | nlink4.sh | 46 char file[100]; 48 snprintf(file, sizeof(file), "f"); 51 err(1, "creat(%s)", file); 56 snprintf(file, sizeof(file), "%d", i); 57 if (link("f", file) == -1) 64 snprintf(file, sizeof(file), "%d", i); 65 if (link("f", file) != -1) 66 err(1, "link(%s, %s)", "f", file); 72 snprintf(file, sizeof(file), "%d", i); 73 if (unlink(file) == -1) [all …]
|
H A D | cluster.sh | 77 char file[MAXPATHLEN + 1]; 95 snprintf(file, sizeof(file), "%s/f.%s.%06d", path, uid, idx); 98 err(1, "open(%s)", file); 127 snprintf(file, sizeof(file), "%s/f.%s.%06d", path, uid, idx); 130 if (access(file, R_OK) == 0) 159 snprintf(file, sizeof(file), "%s/f.%s.%06d", path, uid, idx); 179 snprintf(file, sizeof(file), "%s/f.%s.%06d", path, uid, idx); 262 snprintf(file, sizeof(file), "%s/f.%s.%06d", path, uid, i); 263 unlink(file); 264 snprintf(file, sizeof(file), "%s/f.%s.%06d.old", path, uid, i); [all …]
|
/freebsd/bin/setfacl/ |
H A D | setfacl.c | 191 warnx("%s: %s", file->fts_path, strerror(file->fts_errno)); in handle_file() 199 file->fts_path); in handle_file() 213 file->fts_path); in handle_file() 222 file->fts_path); in handle_file() 246 file->fts_path); in handle_file() 264 file->fts_path); in handle_file() 274 file->fts_path); in handle_file() 280 file->fts_path); in handle_file() 285 file->fts_path); in handle_file() 317 file->fts_path); in handle_file() [all …]
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | tests.c | 26 void test_fail_message_prefix(const char *prefix, const char *file, in test_fail_message_prefix() argument 40 if (file != NULL) { in test_fail_message_prefix() 41 test_printf_stderr(" @ %s:%d", file, line); in test_fail_message_prefix() 75 static void test_fail_message_va(const char *prefix, const char *file, in test_fail_message_va() argument 88 static void test_fail_message(const char *prefix, const char *file, in test_fail_message() argument 109 void test_info(const char *file, int line, const char *desc, ...) in test_info() argument 128 void test_error(const char *file, int line, const char *desc, ...) in test_error() argument 161 int test_skip(const char *file, int line, const char *desc, ...) in test_skip() argument 260 int test_true(const char *file, int line, const char *s, int b) in test_true() argument 268 int test_false(const char *file, int line, const char *s, int b) in test_false() argument [all …]
|
/freebsd/bin/sh/ |
H A D | output.c | 77 outc(c, file); in outcslow() 119 outbin(seq, 4, file); in byteseq() 132 outstr("$'", file); in outdqstr() 160 outcslow('\'', file); in outdqstr() 170 outstr("''", file); in outqstr() 176 outdqstr(p, file); in outqstr() 183 outstr(p, file); in outqstr() 187 outcslow('\'', file); in outqstr() 188 outstr(p, file); in outqstr() 189 outcslow('\'', file); in outqstr() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_mtime.ksh | 51 o_atime=$(stat -c %X $TESTDIR/clone/file) 52 o_ctime=$(stat -c %Z $TESTDIR/clone/file) 53 o_mtime=$(stat -c %Y $TESTDIR/clone/file) 55 o_atime=$(stat -f "%a" $TESTDIR/clone/file) 65 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 70 atime=$(stat -c %X $TESTDIR/clone/file) 71 ctime=$(stat -c %Z $TESTDIR/clone/file) 72 mtime=$(stat -c %Y $TESTDIR/clone/file) 74 atime=$(stat -f "%a" $TESTDIR/clone/file) 75 ctime=$(stat -f "%c" $TESTDIR/clone/file) [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 106 my($dest) = basename($file); 200 my($file) = @_; 208 $file = abs_path($file); 209 $i = index($file, $dt_tst); 211 $file = substr($file, length($dt_tst) + 1); 212 return $exceptions{$file}; 254 $dir = dirname($file); 424 "for $file: $!\n"; 461 if (-f "$file.out" && 467 if (-f "$file.err" && [all …]
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | input.c | 55 if ((si = symit_new(elf, file)) == NULL) in built_source_types() 110 if ((si = symit_new(elf, file)) == NULL) { in read_file() 121 if (func(td, file, arg) < 0) in read_file() 148 size_t memlen = strlen(file) + 1 + in read_archive() 196 if ((fd = open(file, O_RDONLY)) < 0) in read_ctf_common() 199 elfterminate(file, "Cannot read"); in read_ctf_common() 208 found = read_file(elf, file, label, in read_ctf_common() 261 file); in count_archive() 288 char *file = files[i]; in count_files() local 290 if ((fd = open(file, O_RDONLY)) < 0) { in count_files() [all …]
|
/freebsd/tools/test/gpioevents/ |
H A D | gpioevents.c | 274 file); in run_poll() 279 printf(") on %s\n", file); in run_poll() 282 "on %s", file); in run_poll() 318 file); in run_select() 321 getprogname(), res, file); in run_select() 365 file); in run_kqueue() 371 file); in run_kqueue() 460 file); in run_sigio() 493 file = optarg; in main() 558 handle = gpio_open_device(file); in main() [all …]
|
/freebsd/contrib/unbound/contrib/android/ |
H A D | install_expat.sh | 28 (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.fi… 32 mv "$file.fixed" "$file" 34 cp -p "$file" "$file.fixed" 35 …s|-Wrestrict ||g; s|-Wjump-misses-init ||g; s|-Wmisleading-indentation ||g' "$file" > "$file.fixed" 36 mv "$file.fixed" "$file"
|
/freebsd/contrib/netbsd-tests/usr.sbin/mtree/ |
H A D | d_convert_C.out | 2 ./a.symlink.1 type=link link=a.file.1 6 ./b/b.file.2 type=file 7 ./b/b.file.1 type=file 8 ./top.file.1 type=file 10 ./a/a.file.2 type=file 12 ./a/1/a1.file.1 type=file 13 ./a/a.file.1 type=file
|
H A D | d_convert_C_S.out | 2 ./a.symlink.1 type=link link=a.file.1 4 ./top.file.1 type=file 7 ./a/a.file.1 type=file 8 ./a/a.file.2 type=file 10 ./a/1/a1.file.1 type=file 13 ./b/b.file.1 type=file 14 ./b/b.file.2 type=file
|
H A D | d_convert_D.out | 2 type=link link=a.file.1 ./a.symlink.1 6 type=file ./b/b.file.2 7 type=file ./b/b.file.1 8 type=file ./top.file.1 10 type=file ./a/a.file.2 12 type=file ./a/1/a1.file.1 13 type=file ./a/a.file.1
|
H A D | d_convert_D_S.out | 2 type=link link=a.file.1 ./a.symlink.1 4 type=file ./top.file.1 7 type=file ./a/a.file.1 8 type=file ./a/a.file.2 10 type=file ./a/1/a1.file.1 13 type=file ./b/b.file.1 14 type=file ./b/b.file.2
|
/freebsd/contrib/unbound/contrib/ios/ |
H A D | install_expat.sh | 33 (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.fi… 37 mv "$file.fixed" "$file" 39 cp -p "$file" "$file.fixed" 40 …s|-Wrestrict ||g; s|-Wjump-misses-init ||g; s|-Wmisleading-indentation ||g' "$file" > "$file.fixed" 41 mv "$file.fixed" "$file"
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 222.backup-gmirror | 20 file="$bak_dir/$base_name" 22 if [ -f "${file}.bak" ]; then 24 if cmp -s "${file}.bak" "${file}.tmp"; then 25 rm "${file}.tmp" 28 [ -n "$show_diff" ] && diff ${daily_diff_flags} "${file}.bak" "${file}.tmp" 29 mv "${file}.bak" "${file}.bak2" || rc=3 30 mv "${file}.tmp" "${file}.bak" || rc=3 34 mv "${file}.tmp" "${file}.bak" || rc=3 35 [ -n "$show_diff" ] && cat "${file}.bak"
|
/freebsd/contrib/ntp/sntp/unity/auto/ |
H A D | generate_module.rb | 159 file = filespec[:path] 160 if File.exist?(file) 165 FileUtils.remove(file) 166 puts "File #{file} deleted" 177 files.each do |file| 178 raise "ERROR: File #{file[:name]} already exists. Exiting." if File.exist?(file[:path]) 182 files.each_with_index do |file, i| 183 File.open(file[:path], 'w') do |f| 184 f.write(file[:boilerplate] % [file[:name]]) unless file[:boilerplate].nil? 185 f.write(file[:template] % [ file[:name], [all …]
|