Searched refs:file (Results 1 - 25 of 2510) 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/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/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/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/contrib/gcc/cp/
H A Dptree.c6 This file is part of GCC.
19 along with GCC; see the file COPYING. If not, write to
33 cxx_print_decl (FILE *file, tree node, int indent) argument
39 indent_to (file, indent + 3);
40 fprintf (file, " mutable ");
48 indent_to (file, indent + 3);
51 fprintf (file, " pending-inline-info %p",
55 fprintf (file, " sorted-fields %p",
59 fprintf (file, " template-info %p",
64 cxx_print_type (FILE *file, tre argument
152 cxx_print_identifier(FILE *file, tree node, int indent) argument
169 cxx_print_xnode(FILE *file, tree node, int indent) argument
[all...]
/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...]
H A Dproc-why.c1 /* Machine independent support for SVR4 /proc (process file system) for GDB.
6 This file is part of GDB.
108 proc_prettyfprint_why (FILE *file, unsigned long why, unsigned long what, argument
119 fprintf (file, "%s ", pr_why_table[i].name);
121 fprintf (file, ": %s ", pr_why_table[i].desc);
130 proc_prettyfprint_signal (file, what, verbose);
135 proc_prettyfprint_fault (file, what, verbose);
140 fprintf (file, "Entry to ");
141 proc_prettyfprint_syscall (file, what, verbose);
146 fprintf (file, "Exi
[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, NULL) != 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/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...]
/freebsd-head/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-head/contrib/gcc/
H A Dprint-tree.c5 This file is part of GCC.
18 along with GCC; see the file COPYING. If not, write to the Free
62 dump_addr (FILE *file, const char *prefix, void *addr) argument
65 fprintf (file, "%s#", prefix);
67 fprintf (file, "%s%p", prefix, addr);
73 print_node_brief (FILE *file, const char *prefix, tree node, int indent) argument
85 fprintf (file, " ");
86 fprintf (file, "%s <%s", prefix, tree_code_name[(int) TREE_CODE (node)]);
87 dump_addr (file, " ", node);
92 fprintf (file, "
156 indent_to(FILE *file, int column) argument
171 print_node(FILE *file, const char *prefix, tree node, int indent) argument
[all...]
/freebsd-head/contrib/atf/atf-c/detail/
H A Dsanity.c59 atf_sanity_inv(const char *file, int line, const char *cond) argument
61 fail("Invariant check failed at %s:%d: %s", file, line, cond);
65 atf_sanity_pre(const char *file, int line, const char *cond) argument
67 fail("Precondition check failed at %s:%d: %s", file, line, cond);
71 atf_sanity_post(const char *file, int line, const char *cond) argument
73 fail("Postcondition check failed at %s:%d: %s", file, line, cond);

Completed in 319 milliseconds

1234567891011>>