/opensolaris-onvv-gate/usr/src/cmd/sgs/libldmake/common/ |
H A D | ld_file.c | 109 FILE *ofp; local 126 if (!(ofp = fopen(depend_file, "a"))) 130 (void) fprintf(ofp, "%s: ", target); 133 (void) fprintf(ofp, " %s", cur->str); 135 (void) fputc('\n', ofp); 137 (void) fclose(ofp);
|
/opensolaris-onvv-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 57 write_output(AudioBuffer* buf, AudioStream* ofp) argument 64 pos = ofp->GetLength(); 67 err = ofp->WriteData(cp, len, pos); 226 AudioUnixfile* ofp = 0; local 239 if (!(ofp = new AudioRawPipe(fileno(stdout), 247 if (!(ofp = new AudioPipe(fileno(stdout), 268 if (!(ofp = new AudioRawPipe(fd, (FileAccess)WriteOnly, 275 if (!(ofp = new AudioFile(path, 289 ofp->SetInfostring(infoString, -1); 292 if ((err = ofp [all...] |
H A D | main.cc | 68 AudioUnixfile* ofp = NULL; local 256 // converting in place. ofp will be NULL only the first 260 if ((ofp == NULL) && !pflag) { 283 ofp = create_output_file(outfile, ohdr, ofmt, 341 ofp = create_output_file(outfile, ohdr, ofmt, 355 if (do_convert(ifp, ofp) == -1) { 365 delete(ofp); // will close and deref, etc. 382 delete(ofp); // close output file
|
H A D | convert.cc | 554 AudioStream* ofp) 562 ohdr = ofp->GetHeader(); 672 AudioStream* ofp) 689 ohdr = ofp->GetHeader(); 692 if ((err = build_conversion_list(list, ifp, ofp)) != AUDIO_SUCCESS) { 785 if ((err = write_output(obuf, ofp)) != AUDIO_SUCCESS) { 787 ofp->GetName(), err.msg()); 830 if ((err = write_output(obuf, ofp)) != AUDIO_SUCCESS) { 832 ofp->GetName(), err.msg()); 551 build_conversion_list( struct conv_list *&list, AudioStream* ifp, AudioStream* ofp) argument 670 do_convert( AudioStream* ifp, AudioStream* ofp) argument
|
/opensolaris-onvv-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 406 receive_control_file(papi_service_t svc, FILE *ifp, FILE *ofp, int size) argument 411 NACK(ofp); 414 ACK(ofp); 434 ACK(ofp); 440 receive_data_file(FILE *ifp, FILE *ofp, int size) argument 447 NACK(ofp); 450 ACK(ofp); 483 ACK(ofp); 489 berkeley_receive_files(papi_service_t svc, FILE *ifp, FILE *ofp, char *printer) argument 516 cf = receive_control_file(svc, ifp, ofp, ato 552 berkeley_transfer_files(papi_service_t svc, FILE *ifp, FILE *ofp, char *printer) argument 636 FILE *ofp = stdout; local [all...] |
/opensolaris-onvv-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 62 ctf_file_t *ofp = fp; local 78 return (ctf_set_errno(ofp, ECTF_NOTSOU)); 113 ctf_file_t *ofp = fp; local 127 return (ctf_set_errno(ofp, ECTF_NOTENUM)); 173 ctf_file_t *ofp = fp; local 185 return (ctf_set_errno(ofp, ECTF_CORRUPT)); 450 ctf_file_t *ofp = fp; local 464 return (ctf_set_errno(ofp, ECTF_NOTREF)); 478 ctf_file_t *ofp = fp; local 488 return (ctf_set_errno(ofp, ECTF_NOTYP 505 ctf_file_t *ofp = fp; local 629 ctf_file_t *ofp = fp; local 679 ctf_file_t *ofp = fp; local 707 ctf_file_t *ofp = fp; local 744 ctf_file_t *ofp = fp; local [all...] |
H A D | ctf_create.c | 187 ctf_file_t ofp, *nfp; local 398 bcopy(fp, &ofp, sizeof (ctf_file_t)); 400 bcopy(&ofp, nfp, sizeof (ctf_file_t));
|
/opensolaris-onvv-gate/usr/src/cmd/saf/ |
H A D | admutil.c | 279 FILE *ofp; /* file pointer for target file */ local 310 ofp = open_temp(tname); 312 if (fputs(buf, ofp) == EOF) { 319 if (fclose(ofp) == EOF) {
|
/opensolaris-onvv-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_write.c | 94 *ofp; local 138 if ((ofp = fdopen(fd, "wb+")) != NULL) { 141 (void) fprintf(ofp, 171 (void) fprintf(ofp, "%s\n", entry); 175 (void) fprintf(ofp, "%s\n", pentry); 179 (void) fclose(ofp);
|
/opensolaris-onvv-gate/usr/src/cmd/avs/dsw/ |
H A D | iicpbmp.c | 129 FILE *ifp, *ofp; local 195 if ((ofp = fopen(new_bitmap, "w")) == NULL) { 206 if (fwrite(&header, sizeof (header), 1, ofp) != 1) { 217 if (fwrite(cp_buffer, sizeof (char), i, ofp) != i) { 222 (void) fclose(ofp);
|
/opensolaris-onvv-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 995 FILE *ifp, *ofp; /* Input & output files */ local 1053 if ((ofp = fdopen(fd, "w")) == NULL) { 1063 if (fchmod(fileno(ofp), sb.st_mode) == -1) { 1065 (void) fclose(ofp); 1071 if (fchown(fileno(ofp), sb.st_uid, sb.st_gid) == -1) { 1073 (void) fclose(ofp); 1081 (void) fclose(ofp); 1096 (void) fclose(ofp); 1105 if (fputs(buff, ofp) == EOF) { 1107 (void) fclose(ofp); [all...] |
/opensolaris-onvv-gate/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 183 const ofmt_field_t *ofp; local 210 for (ofp = template; ofp->of_name != NULL; ofp++) 314 ofmt_print_field(ofmt_state_t *os, ofmt_field_t *ofp, const char *value, argument 317 uint_t width = ofp->of_width; 345 os->os_maxnamelen, ofp->of_name, value);
|
/opensolaris-onvv-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_asconf.c | 847 sctp_faddr_t *ofp; local 889 ofp = SCTP_CHUNK_DEST(sctp->sctp_cxmit_list); 891 ASSERT(ofp != NULL && ofp == fp); 892 ASSERT(ofp->sf_suna >= MBLKL(sctp->sctp_cxmit_list)); 897 ofp->sf_ssthresh = ofp->sf_cwnd / 2; 898 if (ofp->sf_ssthresh < 2 * ofp->sf_pmss) 899 ofp [all...] |
H A D | sctp_common.c | 688 sctp_faddr_t *ofp; local 705 ofp = fp; 714 for (fp = sctp->sctp_faddrs; fp != ofp; fp = fp->sf_next) { 725 if (fp != ofp) { 751 sctp_rotate_faddr(sctp_t *sctp, sctp_faddr_t *ofp) argument 757 if (ofp == NULL) { 758 ofp = sctp->sctp_current; 762 return (ofp); 768 min_strikes = ofp->sf_strikes; 769 nfp = ofp [all...] |
/opensolaris-onvv-gate/usr/src/cmd/lms/ |
H A D | Protocol.cpp | 1678 FILE *ofp = fopen(outFileName, "w"); local 1679 if (NULL == ofp) { 1699 fprintf(ofp, "%s", line); 1705 fprintf(ofp, "%s", line); 1710 fprintf(ofp, "%s", line); 1715 fclose(ofp); 1726 fprintf(ofp, "\n"); 1738 fprintf(ofp, LMS_LINE_FORMAT "\n", fqdn, host); 1741 fclose(ofp);
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_sg.c | 177 ofmt_field_t *ofp; local 182 ofp = sgfields_v6; 184 ofp = sgfields_v4; 189 oerr = ofmt_open(larg->o_str, ofp, oflags, ocols, &oh);
|
/opensolaris-onvv-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 424 FILE *ofp; local 427 if ((ofp = fdopen(di->outputfd, "w")) == NULL) { 455 err = write_free_diffs(ofp, di, &dr); 458 err = write_inuse_diffs(ofp, di, &dr); 469 (void) fclose(ofp);
|
H A D | libzfs_sendrecv.c | 206 FILE *ofp; local 240 ofp = fdopen(dda->inputfd, "r"); 241 while (ssread(drr, sizeof (dmu_replay_record_t), ofp) != 0) { 266 (void) ssread(buf, sz, ofp); 296 ofp); 310 (void) ssread(buf, drrs->drr_length, ofp); 329 (void) ssread(buf, drrw->drr_length, ofp); 421 (void) fclose(ofp);
|
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_cc.c | 1587 FILE *ofp = tmpfile(); local 1600 if (argv == NULL || ofp == NULL) { 1625 (void) snprintf(opath, sizeof (opath), "/dev/fd/%d", fileno(ofp)); 1701 (void) fflush(ofp); 1702 (void) fseek(ofp, 0, SEEK_SET); 1703 return (ofp); 1707 (void) fclose(ofp);
|
H A D | dt_cg.c | 334 ctf_file_t *fp, *ofp; local 348 if ((fp = dt_cg_membinfo(ofp = fp, type, 350 yypcb->pcb_hdl->dt_ctferr = ctf_errno(ofp);
|
/opensolaris-onvv-gate/usr/src/common/mpi/ |
H A D | mpi.h | 329 void mp_print(mp_int *mp, FILE *ofp);
|
H A D | mpi.c | 2457 /* {{{ mp_print(mp, ofp) */ 2461 mp_print(mp, ofp) 2464 stream 'ofp'. Output is generated using the internal radix. 2467 void mp_print(mp_int *mp, FILE *ofp) argument 2471 if(mp == NULL || ofp == NULL) 2474 fputc((SIGN(mp) == NEG) ? '-' : '+', ofp); 2477 fprintf(ofp, DIGIT_FMT, DIGIT(mp, ix));
|
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 387 mdb_frame_t *ofp = mdb.m_fmark; local 404 mdb.m_fmark = ofp;
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | mg.c | 2225 PerlIO *ofp = IoOFP(io); local 2226 if (ofp) 2227 (void)PerlIO_flush(ofp);
|
H A D | perlio.c | 785 PerlIO *ofp = IoOFP(io); local 786 Perl_warn(aTHX_ "set %" SVf " %p %p %p", sv, io, ifp, ofp); 797 PerlIO *ofp = IoOFP(io); local 798 Perl_warn(aTHX_ "get %" SVf " %p %p %p", sv, io, ifp, ofp);
|