| /NextBSD/usr.bin/migcom/ |
| HD | header.c | 151 WriteIncludes(FILE *file, boolean_t isuser, boolean_t isdef) in WriteIncludes() argument 154 fprintf(file, "#include <mach/port.h>\n"); in WriteIncludes() 155 fprintf(file, "#include <sys/mach/kern_return.h>\n"); in WriteIncludes() 157 fprintf(file, "#include <mach/mig_errors.h>\n"); in WriteIncludes() 160 fprintf(file, "#include <sys/cdefs.h>\n"); in WriteIncludes() 161 fprintf(file, "#include <sys/types.h>\n"); in WriteIncludes() 162 fprintf(file, "#ifdef _KERNEL\n"); in WriteIncludes() 163 fprintf(file, "#include <sys/mach/ndr.h>\n"); in WriteIncludes() 164 fprintf(file, "#include <sys/mach/kern_return.h>\n"); in WriteIncludes() 165 fprintf(file, "#include <sys/mach/notify.h>\n"); in WriteIncludes() [all …]
|
| HD | server.c | 240 WriteKPD_Iterator(FILE *file, boolean_t in, boolean_t varying, argument_t *arg, boolean_t bracket) in WriteKPD_Iterator() argument 245 fprintf(file, "\t{\n"); in WriteKPD_Iterator() 246 fprintf(file, "\t register\t%s\t*ptr;\n", it->itKPDType); in WriteKPD_Iterator() 247 fprintf(file, "\t register int\ti"); in WriteKPD_Iterator() 249 fprintf(file, ", j"); in WriteKPD_Iterator() 250 fprintf(file, ";\n\n"); in WriteKPD_Iterator() 257 fprintf(file, "\t ptr = &%s->%s[0];\n", string, arg->argMsgField); in WriteKPD_Iterator() 263 fprintf(file, "\t for (i = 0; i < In%dP->%s; ptr++, i++) %s\n", in WriteKPD_Iterator() 267 fprintf(file, "\t j = min(%d, ", it->itKPD_Number); in WriteKPD_Iterator() 269 fprintf(file, "%s);\n", count->argName); in WriteKPD_Iterator() [all …]
|
| HD | utils.c | 145 WriteIdentificationString(FILE *file) in WriteIdentificationString() argument 148 fprintf(file, "/*\n"); in WriteIdentificationString() 149 fprintf(file, " * IDENTIFICATION:\n"); in WriteIdentificationString() 150 fprintf(file, " * stub generated %s", GenerationDate); in WriteIdentificationString() 151 fprintf(file, " * with a MiG generated %s by %s\n", MigGenerationDate, MigMoreData); in WriteIdentificationString() 152 fprintf(file, " * OPTIONS: \n"); in WriteIdentificationString() 154 fprintf(file, " *\tKernelUser\n"); in WriteIdentificationString() 156 fprintf(file, " *\tKernelServer\n"); in WriteIdentificationString() 158 fprintf(file, " *\t-R (no RPC calls)\n"); in WriteIdentificationString() 159 fprintf(file, " */\n"); in WriteIdentificationString() [all …]
|
| HD | user.c | 269 WriteKPD_Iterator(FILE *file, boolean_t in, boolean_t overwrite, boolean_t varying, argument_t *arg… in WriteKPD_Iterator() argument 274 fprintf(file, "\t{\n"); in WriteKPD_Iterator() 275 fprintf(file, "\t register\t%s\t*ptr;\n", it->itKPDType); in WriteKPD_Iterator() 276 fprintf(file, "\t register int\ti"); in WriteKPD_Iterator() 278 fprintf(file, ", j"); in WriteKPD_Iterator() 279 fprintf(file, ";\n\n"); in WriteKPD_Iterator() 288 fprintf(file, "\t ptr = &%s->%s[0];\n", string, arg->argMsgField); in WriteKPD_Iterator() 295 fprintf(file, "\t if (%s%s > %d)\n", cref, count->argVarName, in WriteKPD_Iterator() 297 WriteReturnMsgError(file, arg->argRoutine, TRUE, arg, "MIG_ARRAY_TOO_LARGE"); in WriteKPD_Iterator() 298 fprintf(file, "\t for (i = 0; i < %s%s; ptr++, i++) %s\n", in WriteKPD_Iterator() [all …]
|
| HD | utils.h | 86 extern void WriteMigExternal(FILE *file); 87 extern void WriteMigInternal(FILE *file); 89 extern void WriteImport(FILE *file, string_t filename); 90 extern void WriteRCSDecl(FILE *file, identifier_t name, string_t rcs); 91 extern void WriteBogusDefines(FILE *file); 93 extern void WriteList(FILE *file, argument_t *args, 94 void (*func)(FILE *file, argument_t *arg), 97 extern void WriteReverseList(FILE *file, argument_t *args, 98 void (*func)(FILE *file, argument_t *arg), 102 extern void WriteNameDecl(FILE *file, argument_t *arg); [all …]
|
| /NextBSD/contrib/gcc/ |
| HD | print-tree.c | 62 dump_addr (FILE *file, const char *prefix, void *addr) in dump_addr() argument 65 fprintf (file, "%s#", prefix); in dump_addr() 67 fprintf (file, "%s%p", prefix, addr); in dump_addr() 73 print_node_brief (FILE *file, const char *prefix, tree node, int indent) in print_node_brief() argument 85 fprintf (file, " "); in print_node_brief() 86 fprintf (file, "%s <%s", prefix, tree_code_name[(int) TREE_CODE (node)]); in print_node_brief() 87 dump_addr (file, " ", node); in print_node_brief() 92 fprintf (file, " %s", IDENTIFIER_POINTER (DECL_NAME (node))); in print_node_brief() 95 fprintf (file, " L." HOST_WIDE_INT_PRINT_DEC, LABEL_DECL_UID (node)); in print_node_brief() 97 fprintf (file, " %c.%u", TREE_CODE (node) == CONST_DECL ? 'C' : 'D', in print_node_brief() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_fs_x/ |
| HD | rev_file.c | 41 svn_fs_x__revision_file_t *file = apr_palloc(result_pool, sizeof(*file)); in create_revision_file() local 43 file->is_packed = FALSE; in create_revision_file() 44 file->start_revision = SVN_INVALID_REVNUM; in create_revision_file() 46 file->file = NULL; in create_revision_file() 47 file->stream = NULL; in create_revision_file() 48 file->p2l_stream = NULL; in create_revision_file() 49 file->l2p_stream = NULL; in create_revision_file() 50 file->block_size = ffd->block_size; in create_revision_file() 51 file->l2p_offset = -1; in create_revision_file() 52 file->l2p_checksum = NULL; in create_revision_file() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_fs_fs/ |
| HD | rev_file.c | 37 init_revision_file(svn_fs_fs__revision_file_t *file, in init_revision_file() argument 44 file->is_packed = svn_fs_fs__is_packed_rev(fs, revision); in init_revision_file() 45 file->start_revision = svn_fs_fs__packed_base_rev(fs, revision); in init_revision_file() 47 file->file = NULL; in init_revision_file() 48 file->stream = NULL; in init_revision_file() 49 file->p2l_stream = NULL; in init_revision_file() 50 file->l2p_stream = NULL; in init_revision_file() 51 file->block_size = ffd->block_size; in init_revision_file() 52 file->l2p_offset = -1; in init_revision_file() 53 file->l2p_checksum = NULL; in init_revision_file() [all …]
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | ui-file.c | 57 struct ui_file *file = xmalloc (sizeof (struct ui_file)); in ui_file_new() local 58 file->magic = &ui_file_magic; in ui_file_new() 59 set_ui_file_data (file, NULL, null_file_delete); in ui_file_new() 60 set_ui_file_flush (file, null_file_flush); in ui_file_new() 61 set_ui_file_write (file, null_file_write); in ui_file_new() 62 set_ui_file_fputs (file, null_file_fputs); in ui_file_new() 63 set_ui_file_read (file, null_file_read); in ui_file_new() 64 set_ui_file_isatty (file, null_file_isatty); in ui_file_new() 65 set_ui_file_rewind (file, null_file_rewind); in ui_file_new() 66 set_ui_file_put (file, null_file_put); in ui_file_new() [all …]
|
| HD | i387-tdep.c | 45 print_i387_value (char *raw, struct ui_file *file) in print_i387_value() argument 60 fprintf_filtered (file, " %-+27.19Lg", (long double) value); in print_i387_value() 62 fprintf_filtered (file, " %-+27.19g", (double) value); in print_i387_value() 69 print_i387_ext (unsigned char *raw, struct ui_file *file) in print_i387_ext() argument 87 fprintf_filtered (file, " %cInf", (sign ? '-' : '+')); in print_i387_ext() 90 fputs_unfiltered (" Real Indefinite (QNaN)", file); in print_i387_ext() 93 fputs_filtered (" QNaN", file); in print_i387_ext() 96 fputs_filtered (" SNaN", file); in print_i387_ext() 100 print_i387_value (raw, file); in print_i387_ext() 104 print_i387_value (raw, file); in print_i387_ext() [all …]
|
| /NextBSD/contrib/netbsd-tests/include/ |
| HD | t_bitstring.c | 46 printbits(FILE *file, bitstr_t *b, int n) in printbits() argument 54 (void) fprintf(file, "%3d %3d ", jc, js); in printbits() 57 (void) fprintf(file, "%c", (bit_test(b, i) ? '1' : '0')); in printbits() 60 (void) fprintf(file, "%c", '\n'); in printbits() 64 calculate_data(FILE *file, const int test_length) in calculate_data() argument 71 (void) fprintf(file, "Testing with TEST_LENGTH = %d\n\n", test_length); in calculate_data() 73 (void) fprintf(file, "test _bit_byte, _bit_mask, and bitstr_size\n"); in calculate_data() 74 (void) fprintf(file, " i _bit_byte(i) _bit_mask(i) bitstr_size(i)\n"); in calculate_data() 77 (void) fprintf(file, "%3d%15u%15u%15zu\n", in calculate_data() 83 (void) fprintf(file, "\ntest bit_alloc, clearbits, bit_ffc, bit_ffs\n"); in calculate_data() [all …]
|
| /NextBSD/contrib/gcclibs/libcpp/ |
| HD | files.c | 147 _cpp_file *file; member 152 static bool open_file (_cpp_file *file); 153 static bool pch_open_file (cpp_reader *pfile, _cpp_file *file, 155 static bool find_file_in_dir (cpp_reader *pfile, _cpp_file *file, 157 static bool read_file_guts (cpp_reader *pfile, _cpp_file *file); 158 static bool read_file (cpp_reader *pfile, _cpp_file *file); 159 static bool should_stack_file (cpp_reader *, _cpp_file *file, bool import); 162 static const char *dir_name_of_file (_cpp_file *file); 163 static void open_file_failed (cpp_reader *pfile, _cpp_file *file, int); 176 static char *remap_filename (cpp_reader *pfile, _cpp_file *file); [all …]
|
| /NextBSD/contrib/gcc/cp/ |
| HD | ptree.c | 33 cxx_print_decl (FILE *file, tree node, int indent) in cxx_print_decl() argument 39 indent_to (file, indent + 3); in cxx_print_decl() 40 fprintf (file, " mutable "); in cxx_print_decl() 48 indent_to (file, indent + 3); in cxx_print_decl() 51 fprintf (file, " pending-inline-info %p", in cxx_print_decl() 55 fprintf (file, " sorted-fields %p", in cxx_print_decl() 59 fprintf (file, " template-info %p", in cxx_print_decl() 64 cxx_print_type (FILE *file, tree node, int indent) in cxx_print_type() argument 71 indent_to (file, indent + 3); in cxx_print_type() 72 fprintf (file, "index " HOST_WIDE_INT_PRINT_DEC " level " in cxx_print_type() [all …]
|
| /NextBSD/usr.sbin/etcupdate/ |
| HD | etcupdate.sh | 185 local destdir dir file make 196 for file in $PREWORLD_FILES; do 197 dir=`dirname /$file` 199 cp -p $SRCDIR/$file $1/$file || return 1 390 local contents file 399 for file in $contents; do 400 if ! compare $1/$file $2/$file; then 404 if [ -d $1/$file ]; then 405 if ! dir_subset $1/$file $2/$file; then 443 local first second file old new diffargs [all …]
|
| /NextBSD/contrib/netbsd-tests/usr.bin/id/ |
| HD | t_id.sh | 45 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 46 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 100 47 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh test 50 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 0 51 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh root 55 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh 59 atf_check -s eq:1 -o empty -e file:experr ./run_id.sh nonexistent 93 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh -G 94 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh -G 100 95 atf_check -s eq:0 -o file:expout -e empty ./run_id.sh -G test [all …]
|
| /NextBSD/usr.bin/tail/ |
| HD | forward.c | 239 show(file_info_t *file) in show() argument 243 while ((ch = getc(file->fp)) != EOF) { in show() 244 if (last != file && no_files > 1) { in show() 246 printfn(file->file_name, 1); in show() 247 last = file; in show() 253 if (ferror(file->fp)) { in show() 254 fclose(file->fp); in show() 255 file->fp = NULL; in show() 256 ierr(file->file_name); in show() 259 clearerr(file->fp); in show() [all …]
|
| /NextBSD/crypto/openssl/util/ |
| HD | src-dep.pl | 15 foreach $file (sort keys %unres) 17 @a=split(/\s+/,$unres{$file}); 21 $f=$file{$func}; 26 { $we_need{$file}.="$a "; } 29 foreach $file (sort keys %we_need) 32 foreach $bit (split(/\s+/,$we_need{$file})) 40 print "$file: @final\n"; 78 $file=$1; 79 $file="$1.c" if /\[(.*).o\]/; 80 print STDERR "$file\n"; [all …]
|
| /NextBSD/usr.sbin/etcupdate/tests/ |
| HD | always_test.sh | 107 echo "foo" > $OLD/first/difffiles/second/file 108 echo "bar" > $TEST/first/difffiles/second/file 123 echo "new" > $NEW/second/second/difffiles/file 124 echo "test" > $TEST/second/second/difffiles/file 153 ln -s "old" $OLD/difftype/difftype/difffiles/file 154 echo "foo" > $NEW/difftype/difftype/difffiles/file 155 echo "bar" > $TEST/difftype/difftype/difffiles/file 178 echo "foo" > $OLD/difffiles/first/first/file 179 echo "bar" > $NEW/difffiles/first/first/file 184 echo "old" > $OLD/difffiles/difftype/difftype/file [all …]
|
| HD | tests_test.sh | 110 echo "foo" > $i/equal/equal/equal/file 119 echo "foo" > $i/equal/first/first/file 143 echo "foo" > $i/equal/difffiles/difffiles/file 145 echo "bar" > $TEST/equal/difffiles/difffiles/file 151 echo "foo" > $i/first/equal/second/file 155 echo "foo" > $i/first/equal/second/fulldir/file 164 echo "foo" > $OLD/first/first/equal/file 192 echo "foo" > $OLD/first/difffiles/second/file 193 echo "bar" > $TEST/first/difffiles/second/file 200 echo "bar" > $NEW/second/equal/first/file [all …]
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_read_support_format_iso9660.c | 333 struct file_info *file; member 414 struct file_info *file, const unsigned char *start, 417 struct file_info *file); 435 struct file_info *file); 438 struct file_info *file, uint64_t key); 441 #define add_entry(arch, iso9660, file) \ argument 442 heap_add_entry(arch, &((iso9660)->pending_files), file, file->offset) 1078 struct file_info *file; in choose_volume() local 1113 file = parse_file_info(a, NULL, block); in choose_volume() 1114 if (file == NULL) in choose_volume() [all …]
|
| /NextBSD/sys/sys/ |
| HD | sx.h | 99 int sx_try_slock_(struct sx *sx, const char *file, int line); 100 int sx_try_xlock_(struct sx *sx, const char *file, int line); 101 int sx_try_upgrade_(struct sx *sx, const char *file, int line); 102 void sx_downgrade_(struct sx *sx, const char *file, int line); 103 int _sx_slock(struct sx *sx, int opts, const char *file, int line); 104 int _sx_xlock(struct sx *sx, int opts, const char *file, int line); 105 void _sx_sunlock(struct sx *sx, const char *file, int line); 106 void _sx_xunlock(struct sx *sx, const char *file, int line); 108 const char *file, int line); 109 int _sx_slock_hard(struct sx *sx, int opts, const char *file, int line); [all …]
|
| /NextBSD/contrib/netbsd-tests/usr.bin/sdiff/ |
| HD | t_sdiff.sh | 35 atf_check -o file:$(atf_get_srcdir)/d_flags_l.out -s eq:1 \ 38 atf_check -o file:$(atf_get_srcdir)/d_flags_s.out -s eq:1 \ 41 atf_check -o file:$(atf_get_srcdir)/d_flags_w.out -s eq:1 \ 55 atf_check -o file:$(atf_get_srcdir)/d_iflags_a1.out -s eq:1 sdiff ${tail1} 56 atf_check -o file:$(atf_get_srcdir)/d_iflags_a2.out -s eq:1 sdiff ${tail2} 57 atf_check -o file:$(atf_get_srcdir)/d_iflags_b1.out -s eq:1 sdiff -s ${tail1} 58 atf_check -o file:$(atf_get_srcdir)/d_iflags_b2.out -s eq:1 sdiff -s ${tail2} 59 atf_check -o file:$(atf_get_srcdir)/d_iflags_c1.out -s eq:1 sdiff -l ${tail1} 60 atf_check -o file:$(atf_get_srcdir)/d_iflags_c2.out -s eq:1 sdiff -l ${tail2} 61 atf_check -o file:$(atf_get_srcdir)/d_iflags_d1.out -s eq:1 sdiff -s ${tail1} [all …]
|
| /NextBSD/contrib/binutils/gas/ |
| HD | messages.c | 66 identify (char *file) in identify() argument 74 if (!file) in identify() 77 as_where (&file, &x); in identify() 80 if (file) in identify() 81 fprintf (stderr, "%s: ", file); in identify() 110 char *file; in as_show_where() local 113 as_where (&file, &line); in as_show_where() 114 identify (file); in as_show_where() 115 if (file) in as_show_where() 116 fprintf (stderr, "%s:%u: ", file, line); in as_show_where() [all …]
|
| /NextBSD/sys/ofed/drivers/infiniband/core/ |
| HD | user_mad.c | 108 struct file *filp; 214 static int hdr_size(struct ib_umad_file *file) in hdr_size() argument 216 return file->use_pkey_index ? sizeof (struct ib_user_mad_hdr) : in hdr_size() 221 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent() argument 223 return file->agents_dead ? NULL : file->agent[id]; in __get_agent() 226 static int queue_packet(struct ib_umad_file *file, in queue_packet() argument 232 mutex_lock(&file->mutex); in queue_packet() 237 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 238 list_add_tail(&packet->list, &file->recv_list); in queue_packet() 239 selwakeup(&file->filp->f_selinfo); in queue_packet() [all …]
|
| /NextBSD/contrib/diff/src/ |
| HD | diff.c | 1039 #define DIR_P(f) (S_ISDIR (cmp.file[f].stat.st_mode) != 0) in compare_files() 1054 char const *dir = parent->file[name0 == 0].name; in compare_files() 1064 memset (cmp.file, 0, sizeof cmp.file); in compare_files() 1074 cmp.file[0].desc = name0 == 0 ? NONEXISTENT : UNOPENED; in compare_files() 1075 cmp.file[1].desc = name1 == 0 ? NONEXISTENT : UNOPENED; in compare_files() 1088 cmp.file[0].name = name0; in compare_files() 1089 cmp.file[1].name = name1; in compare_files() 1093 cmp.file[0].name = free0 in compare_files() 1094 = dir_file_pathname (parent->file[0].name, name0); in compare_files() 1095 cmp.file[1].name = free1 in compare_files() [all …]
|