/src/distrib/sets/ |
getdirs.awk | 32 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 in dirs) [all...] |
/src/sbin/mount_portal/examples/ |
fs.1.conf | 3 fs/ file fs/
|
cvs.sh.sh | 27 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/ |
Do_troff | 7 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/ |
nouveau_ioctl.h | 7 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/ |
gzclose.c | 8 /* gzclose() is in a separate file so that it is linked in only if it is used. 11 int ZEXPORT gzclose(gzFile file) { 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/ |
igt_mmap.c | 23 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/ |
emacs-gen.sh | 8 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 23 * DO NOT BOTHER EDITING THIS FILE 29 ${SED} -e '1,/@START-FUNC-TAB@/d' -e '/@END-FUNC-TAB@/,$d' < $file |
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_ioctls.h | 16 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/ |
portal.conf | 5 fs/ file fs/
|
/src/sys/arch/evbarm/conf/ |
files.mmnet | 8 # board-specific startup source file 9 file arch/evbarm/mmnet/mmnet_machdep.c
|
files.imx31 | 11 file arch/evbarm/imx31/imx31lk_machdep.c 19 file arch/arm/imx/imx_pcic.c imx31lk_pcic 20 file arch/evbarm/imx31/imx31lk_pcic.c imx31lk_pcic
|
/src/tests/usr.bin/compress/ |
t_pr_19722.sh | 31 # 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/ |
file.h | 1 /* $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/bin/setfacl/ |
file.c | 1 /* $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); [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
bootfs.c | 60 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->start, &file->end 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/etc/ |
named.conf | 3 # 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.32" [all...] |
/src/lib/libc/stdio/ |
remove.c | 53 remove(const char *file) 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/ |
t_bitstring.c | 46 printbits(FILE *file, bitstr_t *b, int n) 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) 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") [all...] |
/src/sys/arch/sun68k/stand/libsa/ |
xxboot.c | 67 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, marks, LOAD_KERNEL) [all...] |
/src/sys/arch/mvme68k/stand/bootst/ |
boot.c | 54 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/ |
int_util.c | 5 * 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) { 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) { 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/ |
analyze_libtsan.sh | 38 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 | wc -l [all...] |
/src/games/sail/ |
dr_3.c | 69 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->movebuf != 'd' [all...] |
/src/share/man/tools/ |
cknames | 21 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 | line [all...] |