/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 223 format_type ofmt, 238 if (ofmt == F_RAW) { 246 } else if (ofmt == F_SUN) { 259 if (ofmt == F_RAW) { 274 } else if (ofmt == F_SUN) { 220 create_output_file( const char *path, const AudioHdr ohdr, format_type ofmt, const char *infoString) argument
|
H A D | main.cc | 81 format_type ofmt = F_SUN; // output format type local 110 (void) parse_format((char *)"pcm", ohdr, ofmt, o_offset); 113 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); 116 (void) parse_format((char *)"g721", ohdr, ofmt, o_offset); 119 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); 122 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); 155 if (parse_format(out_fmt, ohdr, ofmt, o_offset) == -1) 264 ofmt = ifmt; 267 if (parse_format(out_fmt, ohdr, ofmt, o_offset) 283 ofp = create_output_file(outfile, ohdr, ofmt, [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nlspath_checks.c | 483 char *ofmt, *nfmt, *torg; local 503 ofmt = malloc(osz); 504 if (ofmt == NULL) 507 olen = extract_format(torg, ofmt, osz, 0); 516 free(ofmt); 523 free(ofmt); 533 free(ofmt); 542 if (strict && memcmp(ofmt, nfmt, nlen * FORMAT_SIZE) == 0) { 543 free(ofmt); 557 ofmt[of [all...] |
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 32 #include <ofmt.h> 179 uint_t maxcols, ofmt_handle_t *ofmt) 192 *ofmt = NULL; 230 *ofmt = os; 279 ofmt_update_winsize(*ofmt); 285 *ofmt = NULL; 294 ofmt_close(ofmt_handle_t ofmt) argument 296 ofmt_state_t *os = ofmt; 419 ofmt_print(ofmt_handle_t ofmt, void *arg) argument 421 ofmt_state_t *os = ofmt; 178 ofmt_open(const char *str, const ofmt_field_t *template, uint_t flags, uint_t maxcols, ofmt_handle_t *ofmt) argument 524 ofmt_update_winsize(ofmt_handle_t ofmt) argument 540 ofmt_strerror(ofmt_handle_t ofmt, ofmt_status_t err, char *buf, uint_t bufsize) argument [all...] |
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 37 #include <ofmt.h> 417 do_show_router(const char *vn, ofmt_handle_t ofmt) argument 425 ofmt_print(ofmt, vq); 438 ofmt_handle_t ofmt; local 493 0, &ofmt)) != OFMT_SUCCESS) { 500 (void) ofmt_strerror(ofmt, oferr, buf, sizeof (buf)); 502 ofmt_close(ofmt); 511 err = do_show_router(argv[optind], ofmt); 547 (void) do_show_router(router, ofmt); 554 ofmt_close(ofmt); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 44 #include <ofmt.h> 789 ofmt_handle_t ofmt = arg; local 797 ofmt_print(ofmt, &pent); 804 ofmt_handle_t ofmt = arg; local 813 ofmt_print(ofmt, &pent); 817 (void) nwam_ncp_walk_ncus(ncph, list_ncu_cb, ofmt, 826 ofmt_handle_t ofmt = arg; local 834 ofmt_print(ofmt, &pent); 841 ofmt_handle_t ofmt = arg; local 849 ofmt_print(ofmt, 865 ofmt_handle_t ofmt; local [all...] |
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 51 #include <ofmt.h> 597 ofmt_handle_t ofmt; local 644 oferr = ofmt_open(fields_str, flow_fields, ofmtflags, 0, &ofmt); 645 flowadm_ofmt_check(oferr, state.fs_parsable, ofmt); 646 state.fs_ofmt = ofmt; 662 ofmt_close(ofmt); 1135 ofmt_handle_t ofmt; local 1188 oferr = ofmt_open(fields_str, flowprop_fields, ofmtflags, 0, &ofmt); 1189 flowadm_ofmt_check(oferr, state.fs_parsable, ofmt); 1190 state.fs_ofmt = ofmt; 1282 flowadm_ofmt_check(ofmt_status_t oferr, boolean_t parsable, ofmt_handle_t ofmt) argument [all...] |
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 51 #include <ofmt.h> 566 ofmt_handle_t ofmt; local 712 oferr = ofmt_open(fields_str, flow_s_fields, ofmtflags, 0, &ofmt); 713 flowstat_ofmt_check(oferr, state.fs_parsable, ofmt); 714 state.fs_ofmt = ofmt; 740 ofmt_close(ofmt); 913 ofmt_handle_t ofmt; local 973 0, &ofmt); 978 0, &ofmt); 981 flowstat_ofmt_check(oferr, state.us_parsable, ofmt); 1112 flowstat_ofmt_check(ofmt_status_t oferr, boolean_t parsable, ofmt_handle_t ofmt) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 39 #include <ofmt.h> 683 ofmt_handle_t ofmt; local 742 oferr = ofmt_open(fields_str, intfprop_fields, ofmtflags, 0, &ofmt); 743 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); 744 state.sps_ofmt = ofmt; 763 ofmt_close(ofmt); 867 ofmt_handle_t ofmt; local 921 oferr = ofmt_open(fields_str, modprop_fields, ofmtflags, 0, &ofmt); 922 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); 923 state.sps_ofmt = ofmt; 1795 ofmt_handle_t ofmt; local 1950 ofmt_handle_t ofmt; local 2083 ofmt_handle_t ofmt; local 2179 ipadm_ofmt_check(ofmt_status_t oferr, boolean_t parsable, ofmt_handle_t ofmt) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/ |
H A D | ipmpstat.c | 36 #include <ofmt.h> 162 static ofmt_handle_t ofmt; variable 260 ofmterr = ofmt_open(ofields, fields, ofmtflags, IPMPSTAT_NCOL, &ofmt); 266 (void) ofmt_strerror(ofmt, ofmterr, errbuf, sizeof (errbuf)); 291 probe_output(ih, ofmt); 299 (*walker)(ih, cbfunc, ofmt); 302 ofmt_close(ofmt); 898 probe_output(ipmp_handle_t ih, ofmt_handle_t ofmt) argument 902 ipmpstat_probe_state_t ps = { ih, ofmt }; 1059 ofmt_output(const ofmt_handle_t ofmt, ipmp_handle_ argument [all...] |
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 56 #include <ofmt.h> 707 ofmt_handle_t ofmt; local 774 &ofmt); 779 &ofmt); 782 dlstat_ofmt_check(oferr, state.hs_parsable, ofmt); 783 state.hs_ofmt = ofmt; 806 ofmt_close(ofmt); 1637 ofmt_handle_t ofmt; local 1802 oferr = ofmt_open(fields_str, oftemplate, ofmtflags, 0, &ofmt); 1803 dlstat_ofmt_check(oferr, state.ls_parsable, ofmt); 1838 ofmt_handle_t ofmt; local 2020 ofmt_handle_t ofmt; local 2225 ofmt_handle_t ofmt; local 2437 dlstat_ofmt_check(ofmt_status_t oferr, boolean_t parsable, ofmt_handle_t ofmt) argument [all...] |
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 78 #include <ofmt.h> 1681 ofmt_handle_t ofmt; local 1749 &ofmt); 1754 &ofmt); 1757 dladm_ofmt_check(oferr, state.us_parsable, ofmt); 1758 state.us_ofmt = ofmt; 1781 ofmt_close(ofmt); 3408 ofmt_handle_t ofmt; local 3509 oferr = ofmt_open(fields_str, link_fields, ofmtflags, 0, &ofmt); 3510 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); 3552 ofmt_handle_t ofmt; local 4110 ofmt_handle_t ofmt; local 4418 ofmt_handle_t ofmt; local 4538 ofmt_handle_t ofmt; local 5117 ofmt_handle_t ofmt; local 5533 ofmt_handle_t ofmt; local 5613 ofmt_handle_t ofmt; local 5897 parse_wifi_fields(char *str, ofmt_handle_t *ofmt, uint_t cmdtype, boolean_t parsable) argument 6682 ofmt_handle_t ofmt; local 7470 ofmt_handle_t ofmt; local 7611 ofmt_handle_t ofmt; local 8586 ofmt_handle_t ofmt; local 9047 dladm_ofmt_check(ofmt_status_t oferr, boolean_t parsable, ofmt_handle_t ofmt) argument 9193 ofmt_handle_t ofmt; local 9391 ofmt_handle_t ofmt; local [all...] |