Home
last modified time | relevance | path

Searched refs:ohdr (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dconvert.cc68 AudioHdr ohdr) in verify_conversion() argument
99 AudioHdr ohdr, in noop_conversion() argument
105 if ((ihdr == ohdr) && in noop_conversion()
555 AudioHdr ohdr; in build_conversion_list() local
590 ohdr.encoding, ohdr.bytes_per_unit, in build_conversion_list()
615 ohdr.encoding, ohdr.bytes_per_unit, in build_conversion_list()
629 ohdr.encoding, ohdr.bytes_per_unit, in build_conversion_list()
634 ohdr.encoding, ohdr.bytes_per_unit, in build_conversion_list()
639 ohdr.encoding, ohdr.bytes_per_unit, in build_conversion_list()
678 AudioHdr ohdr; in do_convert() local
[all …]
H A Dmain.cc67 AudioHdr ohdr; in main() local
100 init_header(ohdr); in main()
152 if (parse_format(out_fmt, ohdr, ofmt, o_offset) == -1) in main()
259 ohdr = ifp->GetHeader(); in main()
260 ohdr = ifp->GetHeader(); in main()
264 if (parse_format(out_fmt, ohdr, ofmt, o_offset) in main()
280 ofp = create_output_file(outfile, ohdr, ofmt, in main()
286 ohdr = ifp->GetHeader(); in main()
290 if (parse_format(out_fmt, ohdr, ofmt, o_offset) in main()
325 if (noop_conversion(ifp->GetHeader(), ohdr, in main()
[all …]
H A Dfile.cc84 Audio_hdr ohdr; // ignore this ... in open_input_file() local
152 (unsigned char *)&fhdr, &file_type, &ohdr, in open_input_file()
220 const AudioHdr ohdr, in create_output_file() argument
238 (FileAccess)WriteOnly, ohdr, in create_output_file()
267 ohdr, path))) { in create_output_file()
290 if ((err = ofp->SetHeader(ohdr)) != AUDIO_SUCCESS) { in create_output_file()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioUnixfile.cc92 Audio_hdr ohdr; // XXX - old libaudio hdr in decode_filehdr() local
123 &file_type, &ohdr, &infosize); in decode_filehdr()
138 hdr_local.sample_rate = ohdr.sample_rate; in decode_filehdr()
140 hdr_local.bytes_per_unit = ohdr.bytes_per_unit; in decode_filehdr()
141 hdr_local.channels = ohdr.channels; in decode_filehdr()
160 if ((ohdr.data_size != AUDIO_UNKNOWN_SIZE) && in decode_filehdr()
191 Audio_hdr ohdr; // XXX - old libaudio hdr in encode_filehdr() local
206 ohdr.sample_rate = hdr_local.sample_rate; in encode_filehdr()
209 ohdr.channels = hdr_local.channels; in encode_filehdr()
210 ohdr.encoding = hdr_local.encoding; in encode_filehdr()
[all …]
/illumos-gate/usr/src/tools/btxld/
H A Dbtxld.c219 struct hdr ihdr, ohdr; in btxld() local
248 memset(&ohdr, 0, sizeof(ohdr)); in btxld()
249 ohdr.fmt = format; in btxld()
250 ohdr.text = ldr_size; in btxld()
252 ohdr.org = lentry; in btxld()
253 ohdr.entry = lentry; in btxld()
277 puthdr(fdo, &ohdr); in btxld()
283 seekx(fdo, ohdr.size += ohdr.text); in btxld()
296 if (ftruncate(fdo, ohdr.size += ohdr.data)) in btxld()
312 printf(oinfo, fmtlist[ohdr.fmt], ohdr.size, ohdr.text, in btxld()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c60 struct ohdr { struct
73 static void convert_old(struct ohdr *); argument
400 convert_old((struct ohdr *)hdrp); in scan()
844 convert_old(struct ohdr *ohdrp) in convert_old()