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

1234567891011>>

/freebsd-head/contrib/apr/file_io/unix/
H A Dbuffer.c2 * contributor license agreements. See the NOTICE file distributed with
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
21 APR_DECLARE(apr_status_t) apr_file_buffer_set(apr_file_t *file,
27 file_lock(file);
29 if(file->buffered) {
31 rv = apr_file_flush_locked(file);
33 file_unlock(file);
38 file->buffer = buffer;
39 file
[all...]
/freebsd-head/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-head/usr.bin/fortune/tools/
H A DDo_troff6 set file=$1
8 ( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
9 $* -me >& $file.tr
10 echo troff output in $file.tr
/freebsd-head/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(file)
12 gzFile file;
17 if (file == NULL)
19 state = (gz_statep)file;
21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
23 return gzclose_r(file);
/freebsd-head/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-head/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-head/contrib/subversion/subversion/libsvn_fs_x/
H A Drev_file.c1 /* rev_file.c --- revision file and index access functions
5 * or more contributor license agreements. See the NOTICE file
7 * regarding copyright ownership. The ASF licenses this file
9 * "License"); you may not use this file except in compliance
38 /* the filesystem that this revision file belongs to */
44 /* rev / pack file */
45 apr_file_t *file; member in struct:svn_fs_x__revision_file_t
68 /* Pool used for all sub-structure allocations (file, streams etc.).
76 /* Return a new revision file instance, allocated in RESULT_POOL, for
84 svn_fs_x__revision_file_t *file local
113 svn_fs_x__revision_file_t *file = create_revision_file(fs, result_pool); local
187 get_file_pool(svn_fs_x__revision_file_t *file) argument
200 open_pack_or_rev_file(svn_fs_x__revision_file_t *file, svn_boolean_t writable, apr_pool_t *scratch_pool) argument
264 svn_fs_x__rev_file_init(svn_fs_x__revision_file_t **file, svn_fs_t *fs, svn_revnum_t rev, apr_pool_t *result_pool) argument
274 svn_fs_x__rev_file_open_writable(svn_fs_x__revision_file_t** file, svn_fs_t* fs, svn_revnum_t rev, apr_pool_t* result_pool, apr_pool_t *scratch_pool) argument
286 auto_open(svn_fs_x__revision_file_t *file) argument
300 auto_read_footer(svn_fs_x__revision_file_t *file) argument
343 svn_fs_x__rev_file_open_proto_rev(svn_fs_x__revision_file_t **file, svn_fs_t *fs, svn_fs_x__txn_id_t txn_id, apr_pool_t* result_pool, apr_pool_t *scratch_pool) argument
361 svn_fs_x__rev_file_wrap_temp(svn_fs_x__revision_file_t **file, svn_fs_t *fs, apr_file_t *temp_file, apr_pool_t *result_pool) argument
374 svn_fs_x__rev_file_info(svn_fs_x__rev_file_info_t *info, svn_fs_x__revision_file_t *file) argument
384 svn_fs_x__rev_file_name(const char **filename, svn_fs_x__revision_file_t *file, apr_pool_t *result_pool) argument
395 svn_fs_x__rev_file_stream(svn_stream_t **stream, svn_fs_x__revision_file_t *file) argument
405 svn_fs_x__rev_file_get(apr_file_t **apr_file, svn_fs_x__revision_file_t *file) argument
415 svn_fs_x__rev_file_l2p_index(svn_fs_x__packed_number_stream_t **stream, svn_fs_x__revision_file_t *file) argument
436 svn_fs_x__rev_file_p2l_index(svn_fs_x__packed_number_stream_t **stream, svn_fs_x__revision_file_t *file) argument
457 svn_fs_x__rev_file_l2p_info(svn_fs_x__index_info_t *info, svn_fs_x__revision_file_t *file) argument
467 svn_fs_x__rev_file_p2l_info(svn_fs_x__index_info_t *info, svn_fs_x__revision_file_t *file) argument
477 svn_fs_x__rev_file_data_size(svn_filesize_t *size, svn_fs_x__revision_file_t *file) argument
487 svn_fs_x__rev_file_seek(svn_fs_x__revision_file_t *file, apr_off_t *buffer_start, apr_off_t offset) argument
499 svn_fs_x__rev_file_offset(apr_off_t *offset, svn_fs_x__revision_file_t *file) argument
508 svn_fs_x__rev_file_read(svn_fs_x__revision_file_t *file, void *buf, apr_size_t nbytes) argument
518 svn_fs_x__close_revision_file(svn_fs_x__revision_file_t *file) argument
[all...]
/freebsd-head/tools/tools/html-mv/
H A Dhtml-mv6 # rename sgml/html generated file names to human readable file names
23 echo "usage `basename $0` file"
27 file=$1; export file
29 if [ -f "$file.html" ]; then :
31 echo "$file.html does not exist"
36 egrep -i '^<title' $file[1-9]*.html |
41 awk -F: '{print "s/" $1 "/'$file'_" $2 ".html/g;"}' .list > .sed
45 print qq[rename ("$a", "$ENV{'file'}
[all...]
/freebsd-head/tools/tools/mid/
H A Dmid-master-index10 file=$1; shift
11 filelistmid=`perl -e "for(0 .. $count -1) {print qq{$file.temp.\\$_.mid }}"`
12 filelistirt=`perl -e "for(0 .. $count -1) {print qq{$file.temp.\\$_.irt }}"`
14 if mid-master $count $command $file.temp; then
15 sort -u -m -o $file.temp.mid $filelistmid &&
16 rm -f $filelistmid && mv $file.temp.mid $file.mid || exit 1
17 sort -u -m -o $file.temp.irt $filelistirt &&
18 rm -f $filelistirt && mv $file.temp.irt $file
[all...]
/freebsd-head/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-head/contrib/subversion/subversion/libsvn_fs_fs/
H A Drev_file.c1 /* rev_file.c --- revision file and index access functions
5 * or more contributor license agreements. See the NOTICE file
7 * regarding copyright ownership. The ASF licenses this file
9 * "License"); you may not use this file except in compliance
37 init_revision_file(svn_fs_fs__revision_file_t *file, argument
44 file->is_packed = svn_fs_fs__is_packed_rev(fs, revision);
45 file->start_revision = svn_fs_fs__packed_base_rev(fs, revision);
47 file->file = NULL;
48 file
128 open_pack_or_rev_file(svn_fs_fs__revision_file_t *file, svn_fs_t *fs, svn_revnum_t rev, svn_boolean_t writable, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
203 svn_fs_fs__open_pack_or_rev_file(svn_fs_fs__revision_file_t **file, svn_fs_t *fs, svn_revnum_t rev, apr_pool_t *result_pool, apr_pool_t *scratch_pool) argument
217 svn_fs_fs__open_pack_or_rev_file_writable(svn_fs_fs__revision_file_t** file, svn_fs_t* fs, svn_revnum_t rev, apr_pool_t* result_pool, apr_pool_t *scratch_pool) argument
231 svn_fs_fs__auto_read_footer(svn_fs_fs__revision_file_t *file) argument
271 svn_fs_fs__open_proto_rev_file(svn_fs_fs__revision_file_t **file, svn_fs_t *fs, const svn_fs_fs__id_part_t *txn_id, apr_pool_t* result_pool, apr_pool_t *scratch_pool) argument
294 svn_fs_fs__close_revision_file(svn_fs_fs__revision_file_t *file) argument
[all...]
/freebsd-head/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.
47 # 3. Verify the command aborts and generate a core file
67 for file in $ZFS_DEV $MNTTAB; do
68 if [[ -e $file ]]; then
69 $MV $file ${file}.bak
74 $MV ${file}
[all...]
/freebsd-head/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
58 for file in $ZFS_DEV $MNTTAB; do
59 if [[ -e $file ]]; then
60 mv $file ${file}.bak
65 mv ${file}
[all...]
/freebsd-head/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.
64 [[ -e $file ]] && \
65 log_must $RM -f $file
73 file=$TMPDIR/file.${TESTCASE_ID}
74 log_must create_vdevs $file
75 log_must $ZPOOL create $TESTPOOL1 $file
[all...]
/freebsd-head/tools/tools/drm/radeon/firmwares/
H A Dencode-firmwares15 for file in "$srcdir"/*.bin; do
16 uuencode -o "$fwdir"/$(basename $file).uu $file $(basename $file)
/freebsd-head/lib/libcompiler_rt/
H A DMakefile.inc224 .for file in ${SRCF}
226 && exists(${CRTSRC}/${CRTARCH}/${file}vfp.S)
227 SRCS+= ${file}vfp.S
228 . elif exists(${CRTSRC}/${CRTARCH}/${file}.S)
229 SRCS+= ${file}.S
231 SRCS+= ${file}.c
/freebsd-head/contrib/gdb/gdb/
H A Dui-file.c5 This file is part of GDB.
25 #include "ui-file.h"
57 struct ui_file *file = xmalloc (sizeof (struct ui_file)); local
58 file->magic = &ui_file_magic;
59 set_ui_file_data (file, NULL, null_file_delete);
60 set_ui_file_flush (file, null_file_flush);
61 set_ui_file_write (file, null_file_write);
62 set_ui_file_fputs (file, null_file_fputs);
63 set_ui_file_read (file, null_file_read);
64 set_ui_file_isatty (file, null_file_isatt
71 ui_file_delete(struct ui_file *file) argument
78 null_file_isatty(struct ui_file *file) argument
84 null_file_rewind(struct ui_file *file) argument
90 null_file_put(struct ui_file *file, ui_file_put_method_ftype *write, void *dest) argument
98 null_file_flush(struct ui_file *file) argument
104 null_file_write(struct ui_file *file, const char *buf, long sizeof_buf) argument
132 null_file_read(struct ui_file *file, char *buf, long sizeof_buf) argument
141 null_file_fputs(const char *buf, struct ui_file *file) argument
155 null_file_delete(struct ui_file *file) argument
161 ui_file_data(struct ui_file *file) argument
170 gdb_flush(struct ui_file *file) argument
176 ui_file_isatty(struct ui_file *file) argument
182 ui_file_rewind(struct ui_file *file) argument
188 ui_file_put(struct ui_file *file, ui_file_put_method_ftype *write, void *dest) argument
196 ui_file_write(struct ui_file *file, const char *buf, long length_buf) argument
204 ui_file_read(struct ui_file *file, char *buf, long length_buf) argument
210 fputs_unfiltered(const char *buf, struct ui_file *file) argument
216 set_ui_file_flush(struct ui_file *file, ui_file_flush_ftype *flush) argument
222 set_ui_file_isatty(struct ui_file *file, ui_file_isatty_ftype *isatty) argument
228 set_ui_file_rewind(struct ui_file *file, ui_file_rewind_ftype *rewind) argument
234 set_ui_file_put(struct ui_file *file, ui_file_put_ftype *put) argument
240 set_ui_file_write(struct ui_file *file, ui_file_write_ftype *write) argument
247 set_ui_file_read(struct ui_file *file, ui_file_read_ftype *read) argument
253 set_ui_file_fputs(struct ui_file *file, ui_file_fputs_ftype *fputs) argument
259 set_ui_file_data(struct ui_file *file, void *data, ui_file_delete_ftype *delete) argument
289 ui_file_xstrdup(struct ui_file *file, long *length) argument
325 struct ui_file *file = ui_file_new (); local
338 mem_file_delete(struct ui_file *file) argument
356 mem_file_rewind(struct ui_file *file) argument
366 mem_file_put(struct ui_file *file, ui_file_put_method_ftype *write, void *dest) argument
379 mem_file_write(struct ui_file *file, const char *buffer, long length_buffer) argument
423 FILE *file; member in struct:stdio_file
428 stdio_file_new(FILE *file, int close_p) argument
445 stdio_file_delete(struct ui_file *file) argument
459 stdio_file_flush(struct ui_file *file) argument
469 stdio_file_read(struct ui_file *file, char *buf, long length_buf) argument
479 stdio_file_write(struct ui_file *file, const char *buf, long length_buf) argument
489 stdio_file_fputs(const char *linebuffer, struct ui_file *file) argument
499 stdio_file_isatty(struct ui_file *file) argument
511 stdio_fileopen(FILE *file) argument
562 tee_file_delete(struct ui_file *file) argument
577 tee_file_flush(struct ui_file *file) argument
588 tee_file_write(struct ui_file *file, const char *buf, long length_buf) argument
599 tee_file_fputs(const char *linebuffer, struct ui_file *file) argument
610 tee_file_isatty(struct ui_file *file) argument
[all...]
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dfile.h35 #include <sys/file.h>
46 #undef file macro
53 struct file *file; local
55 /* lookup file pointer by file descriptor index */
57 &cap_no_rights, &file) != 0)
60 /* check if file handle really belongs to us */
61 if (file->f_data == NULL ||
62 file
90 struct file *file; local
110 struct file *file; local
131 struct file *file; local
146 struct file *file; local
187 #define file macro
[all...]
/freebsd-head/tools/tools/ath/ath_ee_9287_print/
H A Deeprom.h6 extern void load_eeprom_dump(const char *file, uint16_t *buf);
/freebsd-head/tools/tools/ath/ath_ee_v4k_print/
H A Deeprom.h6 extern void load_eeprom_dump(const char *file, uint16_t *buf);
/freebsd-head/lib/libc/stdio/
H A Dremove.c47 remove(const char *file) argument
51 if (lstat(file, &sb) < 0)
54 return (rmdir(file));
55 return (unlink(file));
/freebsd-head/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-head/tests/sys/audit/
H A DMakefile5 ATF_TESTS_C= file-attribute-access
6 ATF_TESTS_C+= file-attribute-modify
7 ATF_TESTS_C+= file-create
8 ATF_TESTS_C+= file-delete
9 ATF_TESTS_C+= file-close
10 ATF_TESTS_C+= file-write
11 ATF_TESTS_C+= file-read
20 SRCS.file-attribute-access+= file-attribute-access.c
21 SRCS.file
[all...]
/freebsd-head/bin/setfacl/
H A Dfile.c40 * read acl text from a file and return the corresponding acl
45 FILE *file; local
55 file = stdin;
58 file = fopen(filename, "r");
59 if (file == NULL)
63 len = fread(buf, (size_t)1, sizeof(buf) - 1, file);
65 if (ferror(file) != 0) {
66 fclose(file);
68 } else if (feof(file) == 0) {
69 fclose(file);
[all...]

Completed in 111 milliseconds

1234567891011>>