/titanic_50/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 81 format_type ofmt = F_SUN; // output format type in main() local 110 (void) parse_format((char *)"pcm", ohdr, ofmt, o_offset); in main() 113 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main() 116 (void) parse_format((char *)"g721", ohdr, ofmt, o_offset); in main() 119 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main() 122 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main() 155 if (parse_format(out_fmt, ohdr, ofmt, o_offset) == -1) in main() 264 ofmt = ifmt; in main() 267 if (parse_format(out_fmt, ohdr, ofmt, o_offset) in main() 283 ofp = create_output_file(outfile, ohdr, ofmt, in main() [all …]
|
H A D | file.cc | 223 format_type ofmt, in create_output_file() argument 238 if (ofmt == F_RAW) { in create_output_file() 246 } else if (ofmt == F_SUN) { in create_output_file() 259 if (ofmt == F_RAW) { in create_output_file() 274 } else if (ofmt == F_SUN) { in create_output_file()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | nlspath_checks.c | 483 char *ofmt, *nfmt, *torg; in check_format() local 503 ofmt = malloc(osz); in check_format() 504 if (ofmt == NULL) in check_format() 507 olen = extract_format(torg, ofmt, osz, 0); in check_format() 516 free(ofmt); in check_format() 523 free(ofmt); in check_format() 533 free(ofmt); in check_format() 542 if (strict && memcmp(ofmt, nfmt, nlen * FORMAT_SIZE) == 0) { in check_format() 543 free(ofmt); in check_format() 557 ofmt[off] != 'n' || in check_format() [all …]
|
/titanic_50/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 179 uint_t maxcols, ofmt_handle_t *ofmt) in ofmt_open() argument 192 *ofmt = NULL; in ofmt_open() 230 *ofmt = os; in ofmt_open() 279 ofmt_update_winsize(*ofmt); in ofmt_open() 285 *ofmt = NULL; in ofmt_open() 294 ofmt_close(ofmt_handle_t ofmt) in ofmt_close() argument 296 ofmt_state_t *os = ofmt; in ofmt_close() 419 ofmt_print(ofmt_handle_t ofmt, void *arg) in ofmt_print() argument 421 ofmt_state_t *os = ofmt; in ofmt_print() 524 ofmt_update_winsize(ofmt_handle_t ofmt) in ofmt_update_winsize() argument [all …]
|
H A D | llib-linetutil | 30 #include <ofmt.h>
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 789 ofmt_handle_t ofmt = arg; in list_ncu_cb() local 797 ofmt_print(ofmt, &pent); in list_ncu_cb() 804 ofmt_handle_t ofmt = arg; in list_ncp_cb() local 813 ofmt_print(ofmt, &pent); in list_ncp_cb() 817 (void) nwam_ncp_walk_ncus(ncph, list_ncu_cb, ofmt, in list_ncp_cb() 826 ofmt_handle_t ofmt = arg; in list_loc_cb() local 834 ofmt_print(ofmt, &pent); in list_loc_cb() 841 ofmt_handle_t ofmt = arg; in list_enm_cb() local 849 ofmt_print(ofmt, &pent); in list_enm_cb() 865 ofmt_handle_t ofmt; in list_func() local [all …]
|
/titanic_50/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 566 ofmt_handle_t ofmt; in main() local 712 oferr = ofmt_open(fields_str, flow_s_fields, ofmtflags, 0, &ofmt); in main() 713 flowstat_ofmt_check(oferr, state.fs_parsable, ofmt); in main() 714 state.fs_ofmt = ofmt; in main() 740 ofmt_close(ofmt); in main() 913 ofmt_handle_t ofmt; in do_show_history() local 973 0, &ofmt); in do_show_history() 978 0, &ofmt); in do_show_history() 981 flowstat_ofmt_check(oferr, state.us_parsable, ofmt); in do_show_history() 982 state.us_ofmt = ofmt; in do_show_history() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 683 ofmt_handle_t ofmt; in do_show_ifprop() local 742 oferr = ofmt_open(fields_str, intfprop_fields, ofmtflags, 0, &ofmt); in do_show_ifprop() 743 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); in do_show_ifprop() 744 state.sps_ofmt = ofmt; in do_show_ifprop() 763 ofmt_close(ofmt); in do_show_ifprop() 867 ofmt_handle_t ofmt; in do_show_prop() local 921 oferr = ofmt_open(fields_str, modprop_fields, ofmtflags, 0, &ofmt); in do_show_prop() 922 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); in do_show_prop() 923 state.sps_ofmt = ofmt; in do_show_prop() 929 ofmt_close(ofmt); in do_show_prop() [all …]
|
/titanic_50/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 707 ofmt_handle_t ofmt; in do_show_history() local 774 &ofmt); in do_show_history() 779 &ofmt); in do_show_history() 782 dlstat_ofmt_check(oferr, state.hs_parsable, ofmt); in do_show_history() 783 state.hs_ofmt = ofmt; in do_show_history() 806 ofmt_close(ofmt); in do_show_history() 1637 ofmt_handle_t ofmt; in do_show() local 1802 oferr = ofmt_open(fields_str, oftemplate, ofmtflags, 0, &ofmt); in do_show() 1803 dlstat_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show() 1804 state.ls_ofmt = ofmt; in do_show() [all …]
|
/titanic_50/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 417 do_show_router(const char *vn, ofmt_handle_t ofmt) in do_show_router() argument 425 ofmt_print(ofmt, vq); in do_show_router() 438 ofmt_handle_t ofmt; in do_show() local 493 0, &ofmt)) != OFMT_SUCCESS) { in do_show() 500 (void) ofmt_strerror(ofmt, oferr, buf, sizeof (buf)); in do_show() 502 ofmt_close(ofmt); in do_show() 511 err = do_show_router(argv[optind], ofmt); in do_show() 547 (void) do_show_router(router, ofmt); in do_show() 554 ofmt_close(ofmt); in do_show()
|
/titanic_50/usr/src/lib/libinetutil/ |
H A D | Makefile | 29 HDRS = libinetutil.h ofmt.h 35 MSGFILES = common/ofmt.c
|
H A D | Makefile.com | 29 ofmt.o 43 $(SRCDIR)/ofmt.c
|
/titanic_50/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 597 ofmt_handle_t ofmt; in do_show_flow() local 644 oferr = ofmt_open(fields_str, flow_fields, ofmtflags, 0, &ofmt); in do_show_flow() 645 flowadm_ofmt_check(oferr, state.fs_parsable, ofmt); in do_show_flow() 646 state.fs_ofmt = ofmt; in do_show_flow() 662 ofmt_close(ofmt); in do_show_flow() 1135 ofmt_handle_t ofmt; in do_show_flowprop() local 1188 oferr = ofmt_open(fields_str, flowprop_fields, ofmtflags, 0, &ofmt); in do_show_flowprop() 1189 flowadm_ofmt_check(oferr, state.fs_parsable, ofmt); in do_show_flowprop() 1190 state.fs_ofmt = ofmt; in do_show_flowprop() 1208 ofmt_close(ofmt); in do_show_flowprop() [all …]
|
/titanic_50/usr/src/cmd/dladm/ |
H A D | dladm.c | 1679 ofmt_handle_t ofmt; in do_show_usage() local 1747 &ofmt); in do_show_usage() 1752 &ofmt); in do_show_usage() 1755 dladm_ofmt_check(oferr, state.us_parsable, ofmt); in do_show_usage() 1756 state.us_ofmt = ofmt; in do_show_usage() 1779 ofmt_close(ofmt); in do_show_usage() 3406 ofmt_handle_t ofmt; in do_show_link() local 3504 oferr = ofmt_open(fields_str, link_fields, ofmtflags, 0, &ofmt); in do_show_link() 3505 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_link() 3506 state.ls_ofmt = ofmt; in do_show_link() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/ |
H A D | ipmpstat.c | 162 static ofmt_handle_t ofmt; variable 260 ofmterr = ofmt_open(ofields, fields, ofmtflags, IPMPSTAT_NCOL, &ofmt); in main() 266 (void) ofmt_strerror(ofmt, ofmterr, errbuf, sizeof (errbuf)); in main() 291 probe_output(ih, ofmt); in main() 299 (*walker)(ih, cbfunc, ofmt); in main() 302 ofmt_close(ofmt); in main() 898 probe_output(ipmp_handle_t ih, ofmt_handle_t ofmt) in probe_output() argument 902 ipmpstat_probe_state_t ps = { ih, ofmt }; in probe_output() 1059 ofmt_output(const ofmt_handle_t ofmt, ipmp_handle_t ih, void *arg) in ofmt_output() argument 1065 ofmt_print(ofmt, &sfunc_arg); in ofmt_output() [all …]
|
/titanic_50/exception_lists/ |
H A D | packaging | 289 usr/include/ofmt.h
|