Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeChannel.cc71 AudioHdr newhdr; in Convert() local
105 newhdr = inhdr; in Convert()
106 newhdr.channels = outhdr.channels; in Convert()
110 if ((inhdr.channels > 1) && (newhdr.channels == 1)) { in Convert()
120 err = outbuf->SetHeader(newhdr); in Convert()
132 if ((chans > 1) && (newhdr.channels == 1)) { in Convert()
172 } else if ((chans == 1) && (newhdr.channels > 1)) { in Convert()
174 chans = newhdr.channels; in Convert()
H A DAudioGain.cc179 AudioHdr newhdr; in Process() local
196 newhdr = inbuf->GetHeader(); in Process()
197 if (!float_convert.CanConvert(newhdr)) { in Process()
201 newhdr.encoding = FLOAT; in Process()
202 newhdr.bytes_per_unit = 8; in Process()
203 if ((err = newhdr.Validate()) || !float_convert.CanConvert(newhdr)) { in Process()
209 if (inbuf->GetHeader() != newhdr) { in Process()
210 err = float_convert.Convert(inbuf, newhdr); in Process()
H A DAudioHdrParse.cc602 AudioHdr newhdr; in FormatParse() local
618 err = newhdr.EncodingParse(ptr); in FormatParse()
631 err = newhdr.RateParse(ptr); in FormatParse()
636 err = newhdr.ChannelParse(p); in FormatParse()
641 err = newhdr.Validate(); in FormatParse()
643 *this = newhdr; in FormatParse()
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c215 Freehdr newhdr; in insert() local
240 newhdr = getfreehdr(); in insert()
241 *tree = newhdr; in insert()
242 left_hook = &newhdr->left; in insert()
243 right_hook = &newhdr->right; in insert()
245 newhdr->left = NIL; in insert()
246 newhdr->right = NIL; in insert()
247 newhdr->block = p; in insert()
248 newhdr->size = len; in insert()
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog.c806 _sip_header_t *newhdr; in sip_dlg_xchg_from_to() local
826 newhdr = sip_new_header(hdrsize); in sip_dlg_xchg_from_to()
827 if (newhdr == NULL) in sip_dlg_xchg_from_to()
830 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
833 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()
836 newhdr->sip_hdr_current += cnt; in sip_dlg_xchg_from_to()
837 (void) strncpy(newhdr->sip_hdr_current, hdr->sip_hdr_current, len); in sip_dlg_xchg_from_to()
838 newhdr->sip_hdr_current += len; in sip_dlg_xchg_from_to()
839 assert(newhdr->sip_hdr_current == newhdr->sip_hdr_end); in sip_dlg_xchg_from_to()
845 newhdr->sip_header_functions = hdr->sip_header_functions; in sip_dlg_xchg_from_to()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dheaders.c2222 register HDR *newhdr; local
2228 newhdr = (HDR *) sm_rpool_malloc_x(rpool, sizeof(*newhdr));
2229 STRUCTCOPY(*header, *newhdr);
2230 *tail = newhdr;
2231 tail = &newhdr->h_link;