Home
last modified time | relevance | path

Searched refs:ofile (Results 1 – 25 of 36) sorted by relevance

12

/openbsd/usr.bin/midicat/
H A Dmidicat.c33 char *port0, *port1, *ifile, *ofile; in main() local
59 ofile = optarg; in main()
72 if (ifile != NULL && ofile != NULL) in main()
97 } else if (ofile) { in main()
98 if (strcmp(ofile, "-") == 0) { in main()
99 ofile = "stdout"; in main()
104 err(1, "%s", ofile); in main()
109 if (ofile) in main()
150 if (ofile != NULL) { in main()
153 warn("%s: short write", ofile); in main()
[all …]
/openbsd/sys/dev/microcode/aic7xxx/
H A Daicasm_symbol.c326 aic_print_file_prologue(FILE *ofile) in aic_print_file_prologue() argument
329 if (ofile == NULL) in aic_print_file_prologue()
332 fprintf(ofile, in aic_print_file_prologue()
351 aic_print_reg_dump_types(FILE *ofile) in aic_print_reg_dump_types() argument
353 if (ofile == NULL) in aic_print_reg_dump_types()
356 fprintf(ofile, in aic_print_reg_dump_types()
418 fprintf(ofile, in aic_print_reg_dump_end()
529 aic_print_file_prologue(ofile); in symtable_dump()
530 aic_print_reg_dump_types(ofile); in symtable_dump()
601 fprintf(ofile, "\n"); in symtable_dump()
[all …]
H A Daicasm.c85 FILE *ofile; variable
293 if (ofile != NULL) in main()
357 fprintf(ofile, in output_code()
384 fprintf(ofile, "\n};\n\n"); in output_code()
393 fprintf(ofile, in output_code()
399 fprintf(ofile, in output_code()
416 fprintf(ofile, in output_code()
436 fprintf(ofile, in output_code()
452 fprintf(ofile, in output_code()
697 if (ofile != NULL) { in stop()
[all …]
H A Daicasm_symbol.h208 void symtable_dump(FILE *ofile, FILE *dfile);
/openbsd/usr.bin/libtool/LT/Mode/
H A DCompile.pm86 my ($outfile, $odir, $ofile, $srcfile, $srcext);
95 $ofile = basename($outfile);
111 ($ofile = basename($srcfile)) =~ s/\.($srcext)$/.lo/i;
112 $outfile = "$odir/$ofile";
116 (my $nonpicobj = $ofile) =~ s/\.lo$/.o/;
H A DLink.pm173 my $ofile = basename($outfile);
177 if ($ofile =~ m/\.l?a$/) {
243 if ($ofile =~ m/\.a$/ && !$convenience) {
244 $ofile =~ s/\.a$/.la/;
329 if (!($convenience && $ofile =~ m/\.a$/)) {
330 $lainfo->write($outfile, $ofile);
331 unlink("$odir/$ltdir/$ofile");
332 symlink("../$ofile", "$odir/$ltdir/$ofile");
334 my $lai = "$odir/$ltdir/$ofile".'i';
346 $lainfo->write($lai, $ofile);
[all …]
/openbsd/usr.sbin/smtpd/
H A Dcompress_backend.c50 compress_file(FILE *ifile, FILE *ofile) in compress_file() argument
52 return (env->sc_comp->compress_file(ifile, ofile)); in compress_file()
56 uncompress_file(FILE *ifile, FILE *ofile) in uncompress_file() argument
58 return (env->sc_comp->uncompress_file(ifile, ofile)); in uncompress_file()
H A Denqueue.c821 enqueue_offline(int argc, char *argv[], FILE *ifile, FILE *ofile) in enqueue_offline() argument
828 ftruncate(fileno(ofile), 0); in enqueue_offline()
831 if (fprintf(ofile, "%s%s", i == 1 ? "" : "|", argv[i]) < 0) in enqueue_offline()
835 if (fputc('\n', ofile) == EOF) in enqueue_offline()
839 if (fputc(ch, ofile) == EOF) in enqueue_offline()
845 ftruncate(fileno(ofile), 0); in enqueue_offline()
849 if (fclose(ofile) == EOF) in enqueue_offline()
855 ftruncate(fileno(ofile), 0); in enqueue_offline()
H A Dsmtp_session.c110 FILE *ofile; member
1924 fclose(tx->ofile); in smtp_proceed_rollback()
1925 tx->ofile = NULL; in smtp_proceed_rollback()
2337 if (tx->ofile) in smtp_tx_free()
2338 fclose(tx->ofile); in smtp_tx_free()
2690 if ((tx->ofile = fdopen(fd, "w")) == NULL) { in smtp_message_fd()
2815 fclose(tx->ofile); in smtp_message_end()
2816 tx->ofile = NULL; in smtp_message_end()
2890 len = vfprintf(tx->ofile, fmt, ap); in smtp_message_printf()
/openbsd/gnu/usr.bin/binutils/
H A Dltconfig211 ofile="$default_ofile"
2168 $rm "$ofile"
2169 cat <<EOF > "$ofile"
2214 cfgfile="$ofile"
2229 cfgfile="$ofile.cfg"
2541 echo >> "$ofile"
2739 sed '$q' "$ltmain" >> "$ofile" || (rm -f "$ofile"; exit 1)
2745 chmod +x "$ofile"
2767 mv ${ofile}.new ${ofile}
2768 chmod +x "$ofile"
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/
H A Dltconfig211 ofile="$default_ofile"
2191 $rm "$ofile"
2192 cat <<EOF > "$ofile"
2237 cfgfile="$ofile"
2252 cfgfile="$ofile.cfg"
2564 echo >> "$ofile"
2762 sed '$q' "$ltmain" >> "$ofile" || (rm -f "$ofile"; exit 1)
2768 chmod +x "$ofile"
2790 mv ${ofile}.new ${ofile}
2791 chmod +x "$ofile"
[all …]
/openbsd/gnu/lib/libstdc++/
H A Dltconfig211 ofile="$default_ofile"
2164 $rm "$ofile"
2165 cat <<EOF > "$ofile"
2210 cfgfile="$ofile"
2225 cfgfile="$ofile.cfg"
2537 echo >> "$ofile"
2735 sed '$q' "$ltmain" >> "$ofile" || (rm -f "$ofile"; exit 1)
2741 chmod +x "$ofile"
2763 mv ${ofile}.new ${ofile}
2764 chmod +x "$ofile"
[all …]
/openbsd/gnu/llvm/clang/tools/scan-build/libexec/
H A Dccc-analyzer151 my ($Clang, $Lang, $file, $Args, $HtmlDir, $ErrorType, $ofile) = @_;
181 rename($ofile, "$PPFile.stderr.txt");
281 my ($ofh, $ofile) = tempfile("clang_output_XXXXXX", DIR => $HtmlDir);
295 $HtmlDir, "Crash", $ofile);
300 $HtmlDir, $ParserRejects, $ofile);
303 $HtmlDir, $OtherError, $ofile);
308 if (open(CHILD, $ofile)) {
336 $HtmlDir, $AttributeIgnored, $ofile);
349 unlink($ofile);
/openbsd/bin/md5/
H A Dmd5.c203 FILE *ofile = NULL; variable
290 ofile = fopen(optarg, "w"); in main()
291 if (ofile == NULL) in main()
327 if (ofile == NULL) in main()
328 ofile = stdout; in main()
454 (void)fprintf(ofile, "%s (%s) = %s\n", hf->name, what, digest); in digest_print()
457 (void)fprintf(ofile, "%s %s\n", digest, what); in digest_print()
460 (void)fprintf(ofile, "%s\n", digest); in digest_print()
475 (void)fprintf(ofile, "%s %s\n", digest, what); in digest_printstr()
478 (void)fprintf(ofile, "%s\n", digest); in digest_printstr()
[all …]
/openbsd/gnu/usr.bin/perl/ext/DynaLoader/
H A Ddl_dyld.xs110 NSObjectFileImage ofile; in dlopen() local
113 dyld_result = NSCreateObjectFileImageFromFile(path, &ofile); in dlopen()
120 handle = NSLinkModule(ofile, path, TRUE); in dlopen()
121 NSDestroyObjectFileImage(ofile); in dlopen()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolVendor/MacOSX/
H A DSymbolVendorMacOSX.cpp35 static bool UUIDsMatch(Module *module, ObjectFile *ofile, in UUIDsMatch() argument
37 if (module && ofile) { in UUIDsMatch()
39 lldb_private::UUID dsym_uuid = ofile->GetUUID(); in UUIDsMatch()
44 ofile->GetFileSpec().Dump(feedback_strm->AsRawOstream()); in UUIDsMatch()
63 ofile->GetFileSpec().Dump(feedback_strm->AsRawOstream()); in UUIDsMatch()
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dcoffgrok.c39 static struct coff_ofile *ofile; variable
232 where->section = &ofile->sections[sym->n_scnum]; in do_where()
548 if (ofile->symbol_list_tail) in do_define()
549 ofile->symbol_list_tail->next_in_ofile_list = s; in do_define()
551 ofile->symbol_list_head = s; in do_define()
552 ofile->symbol_list_tail = s; in do_define()
600 ofile = head; in doit()
649 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
669 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
H A Dar.c955 FILE *ofile, *ifile;
986 ofile = fopen (archive_filename, FOPEN_AUB);
987 if (ofile == NULL)
1006 fwrite (ARMAG, 1, SARMAG, ofile);
1016 fseek (ofile, 0, 2);
1042 fwrite (hdr, 1, sizeof (struct ar_hdr), ofile);
1050 fwrite (buf, 1, thistime, ofile);
1055 putc ('\012', ofile);
1057 fclose (ofile);
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dcoffgrok.c39 static struct coff_ofile *ofile; variable
232 where->section = &ofile->sections[sym->n_scnum]; in do_where()
548 if (ofile->symbol_list_tail) in do_define()
549 ofile->symbol_list_tail->next_in_ofile_list = s; in do_define()
551 ofile->symbol_list_head = s; in do_define()
552 ofile->symbol_list_tail = s; in do_define()
600 ofile = head; in doit()
649 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
669 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dmaint.c365 struct objfile *ofile; in maintenance_info_sections() local
375 ALL_OBJFILES (ofile) in maintenance_info_sections()
378 bfd_get_filename (ofile->obfd)); in maintenance_info_sections()
379 ALL_OBJFILE_OSECTIONS (ofile, osect) in maintenance_info_sections()
381 print_objfile_section_info (ofile->obfd, osect, arg); in maintenance_info_sections()
/openbsd/gnu/share/
H A Dltconfig197 ofile="$default_ofile"
293 --output | -o) prev=ofile ;;
2699 echo "creating $ofile"
2700 $rm "$ofile"
2701 cat <<EOF > "$ofile"
2739 cfgfile="$ofile"
2751 cfgfile="$ofile.cfg"
2990 echo >> "$ofile"
2993 cat <<\EOF >> "$ofile"
3007 sed '$q' "$ltmain" >> "$ofile" || (rm -f "$ofile"; exit 1)
[all …]
/openbsd/usr.bin/ssh/
H A Dmoduli.c147 qfileout(FILE * ofile, u_int32_t otype, u_int32_t otests, u_int32_t otries, in qfileout() argument
159 res = fprintf(ofile, "%04d%02d%02d%02d%02d%02d %u %u %u %u %x ", in qfileout()
167 if (BN_print_fp(ofile, omodulus) < 1) in qfileout()
170 res = fprintf(ofile, "\n"); in qfileout()
171 fflush(ofile); in qfileout()
/openbsd/sbin/restore/
H A Dtape.c76 static int ofile; variable
640 if ((ofile = open(name, O_WRONLY | O_CREAT | O_TRUNC, in extractfile()
646 (void)fchown(ofile, curfile.uid, curfile.gid); in extractfile()
647 (void)fchmod(ofile, mode); in extractfile()
648 (void)fchflags(ofile, flags); in extractfile()
650 (void)close(ofile); in extractfile()
757 if (write(ofile, buf, size) == -1) in xtrfile()
769 if (lseek(ofile, (off_t)size, SEEK_CUR) == -1) in xtrskip()
H A Ddirs.c639 int ofile, dp, i, size; in genliteraldir() local
646 if ((ofile = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0666)) == -1) { in genliteraldir()
660 (void)close(ofile); in genliteraldir()
/openbsd/usr.bin/mklocale/
H A Dyacc.y246 FILE *ofile; variable
268 if ((ofile = fopen(locale_file, "w")) == 0) in main()
567 FILE *fp = (ofile ? ofile : stdout); in dump_tables()

12