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

1234567891011>>

/src/distrib/sets/
H A Dgetdirs.awk32 function dirname(file) \
35 gsub(/\/[^\/]+$/, "", file)
36 return file
75 file = $1
76 items[file]++
78 file = dirname(file)
79 dirs[file]++
80 } while (file ~ /\//)
85 for (file i
[all...]
/src/sbin/mount_portal/examples/
H A Dfs.1.conf3 fs/ file fs/
H A Dcvs.sh.sh27 for file; do
28 if ( echo $file | egrep -qi '(.*),(-r)?([0-9\.]+|[-_a-z0-9]+)$' ); then
29 rev="-r`expr "$file" : '.*,\(.*\)' | sed 's/^-r//'`"
30 file="`expr "$file" : '\(.*\),.*'`"
34 cvs co -p $rev $file
/src/games/fortune/tools/
H A DDo_troff7 set file=$1
9 ( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
10 $* -me >& $file.tr
11 echo troff output in $file.tr
/src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_ioctl.h7 long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
8 long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg);
/src/common/dist/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);
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Digt_mmap.c23 struct file *file; local in function:igt_mmap_node
27 file = mock_drm_getfile(i915->drm.primary, O_RDWR);
28 if (IS_ERR(file))
29 return PTR_ERR(file);
31 err = drm_vma_node_allow(node, file->private_data);
37 addr = vm_mmap(file, addr, drm_vma_node_size(node) << PAGE_SHIFT,
40 drm_vma_node_revoke(node, file->private_data);
42 fput(file);
/src/bin/ksh/
H A Demacs-gen.sh8 1) file=$1;;
14 if [ ! -r "$file" ] ;then
15 echo "$0: can't read $file" 1>&2
21 * NOTE: THIS FILE WAS GENERATED AUTOMATICALLY FROM $file
29 ${SED} -e '1,/@START-FUNC-TAB@/d' -e '/@END-FUNC-TAB@/,$d' < $file |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_ioctls.h16 struct drm_file *file);
18 struct drm_file *file);
20 struct drm_file *file);
22 struct drm_file *file);
24 struct drm_file *file);
26 struct drm_file *file);
28 struct drm_file *file);
30 struct drm_file *file);
32 struct drm_file *file);
34 struct drm_file *file);
[all...]
/src/sbin/mount_portal/
H A Dportal.conf5 fs/ file fs/
/src/tests/usr.bin/compress/
H A Dt_pr_19722.sh31 # If the compressed version of a file would be larger than the
32 # original file, the original file is kept.
34 echo 'hello' > file
36 atf_check compress file
38 atf_check -o 'inline:hello\n' cat file
39 atf_check test ! -f file.Z
47 # file becomes larger than the original.
49 echo 'hello' > file
51 atf_check compress -f file
[all...]
/src/sys/external/bsd/drm2/include/linux/
H A Dfile.h1 /* $NetBSD: file.h,v 1.7 2021/12/19 10:39:06 riastradh Exp $ */
36 #include <sys/file.h>
40 struct file;
43 struct file *file; member in struct:fd
52 fd.file = fd_getfile(number);
66 static inline struct file *
73 fd_install(int fd, struct file *fp)
/src/sys/arch/ews4800mips/stand/common/
H A Dbootfs.c60 struct bfs_file *file; local in function:bfs_open
62 if ((file = alloc(sizeof *file)) == 0)
64 memset(file, 0, sizeof *file);
66 if (bfs_init(&file->bfs) != 0) {
67 dealloc(file, sizeof *file);
71 if (!bfs_file_lookup(file->bfs, name, &file
89 struct bfs_file *file = f->f_fsdata; local in function:bfs_close
99 struct bfs_file *file = f->f_fsdata; local in function:bfs_read
153 struct bfs_file *file = f->f_fsdata; local in function:bfs_seek
182 struct bfs_file *file = f->f_fsdata; local in function:bfs_stat
[all...]
/src/bin/setfacl/
H A Dfile.c1 /* $NetBSD: file.c,v 1.1 2020/05/16 18:31:45 christos Exp $ */
31 __FBSDID("$FreeBSD: head/bin/setfacl/file.c 333065 2018-04-27 15:25:24Z emaste $");
33 __RCSID("$NetBSD: file.c,v 1.1 2020/05/16 18:31:45 christos Exp $");
46 * read acl text from a file and return the corresponding acl
51 FILE *file; local in function:get_acl_from_file
61 file = stdin;
64 file = fopen(filename, "r");
65 if (file == NULL)
69 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
71 if (ferror(file) !
[all...]
/src/etc/
H A Dnamed.conf3 # boot file for secondary name server
15 bindkeys-file "bind.keys";
43 file "root.cache";
48 file "localhost";
53 file "127";
58 file "loopback.v6";
65 # file "berkeley.edu.cache";
74 # file "128.32.cache";
85 # file "berkeley.edu";
90 # file "128.3
[all...]
/src/lib/libc/stdio/
H A Dremove.c53 remove(const char *file) argument
57 _DIAGASSERT(file != NULL);
59 if (lstat(file, &sb) < 0)
63 * The file system may prohibit using unlink(2) on directories,
67 return rmdir(file);
69 return unlink(file);
/src/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...]
/src/sys/arch/sun68k/stand/libsa/
H A Dxxboot.c67 char *file; local in function:xxboot_main
84 if (devopen(&f, 0, &file)) {
103 * If the PROM gave us a file name,
107 file = prom_bootfile;
108 if (file && *file) {
109 fd = loadfile(file, marks, LOAD_KERNEL);
121 file = *npp;
122 printf("%s: trying %s\n", boot_type, file);
123 fd = loadfile(file, mark
[all...]
/src/sys/arch/mvme68k/stand/bootst/
H A Dboot.c54 char *file; local in function:main
60 parse_args(&file, &flag, &part);
61 file = defname; /* override */
67 file = line;
70 exec_mvme(file, flag | RB_NOSYM, part);
72 printf("tapeboot: %s: %s\n", file, strerror(errno));
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A Dint_util.c5 * This file is dual licensed under the MIT and the University of Illinois Open
14 /* NOTE: The definitions in this file are declared weak because we clients to be
30 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
31 panic("%s:%d: abort in %s", file, line, function);
37 NORETURN extern void __assert_rtn(const char *func, const char *file, int line,
44 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
45 __assert_rtn(function, file, line, "libcompiler_rt abort");
57 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
H A Deprintf.c5 * This file is dual licensed under the MIT and the University of Illinois Open
30 const char* line, const char* file)
32 fprintf(stderr, format, assertion_expression, line, file);
29 __eprintf(const char * format,const char * assertion_expression,const char * line,const char * file) argument
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/
H A Danalyze_libtsan.sh38 file=${OUTPUT_DIR}/asm_$f.s
39 get_asm $f > $file
40 tot=$(wc -l < $file)
42 rsp=$(grep '(%rsp)' $file | wc -l)
43 push=$(grep 'push' $file | wc -l)
44 pop=$(grep 'pop' $file | wc -l)
45 call=$(grep 'call' $file | wc -l)
46 load=$(egrep 'mov .*\,.*\(.*\)|cmp .*\,.*\(.*\)' $file | wc -l)
47 store=$(egrep 'mov .*\(.*\),' $file | wc -l)
48 mov=$(grep 'mov' $file | w
[all...]
/src/games/sail/
H A Ddr_3.c69 if (sp->file->captain[0] || sp->file->dir == 0)
71 if (!sp->file->struck && windspeed && !snagged(sp)
74 ma = maxmove(sp, sp->file->dir, 0);
77 *sp->file->movebuf = '\0';
79 closeon(sp, closest, sp->file->movebuf,
80 sizeof(sp->file->movebuf),
83 *sp->file->movebuf = '\0';
94 strcpy(sp->file->movebuf, "d");
96 if (*sp->file
[all...]
/src/share/man/tools/
H A Dcknames21 echo "$dt\n" > $TMPDIR/file.match$sec
24 while read file
26 so=`line < $file | sed "s/ .*$//"`
31 grep "^.SH NAME" $file > /dev/null
34 echo $file >> $TMPDIR/no.NAME$sec
37 grep "^.SH SYNOPSIS" $file > /dev/null
40 lines=`cat $file | sed -n "/\.SH NAME/,/\.SH SYNOP/p" | wc -l | sed "s/ //g"`
42 lines=`cat $file | sed -n "/\.SH NAME/,/\.SH DESCR/p" | wc -l | sed "s/ //g"`
46 echo $file >> $TMPDIR/not.one.line$sec
49 th=`grep "^.TH" $file | lin
[all...]
/src/sys/sys/
H A Drnd.h40 struct file;
48 int rnd_system_ioctl(struct file *, u_long, void *);

Completed in 10 milliseconds

1234567891011>>