Searched refs:newhdr (Results 1 – 7 of 7) sorted by relevance
73 AudioHdr newhdr; in Convert() local107 newhdr = inhdr; in Convert()108 newhdr.channels = outhdr.channels; in Convert()112 if ((inhdr.channels > 1) && (newhdr.channels == 1)) { in Convert()122 if (err = outbuf->SetHeader(newhdr)) { in Convert()133 if ((chans > 1) && (newhdr.channels == 1)) { in Convert()173 } else if ((chans == 1) && (newhdr.channels > 1)) { in Convert()175 chans = newhdr.channels; in Convert()
181 AudioHdr newhdr; in Process() local198 newhdr = inbuf->GetHeader(); in Process()199 if (!float_convert.CanConvert(newhdr)) { in Process()203 newhdr.encoding = FLOAT; in Process()204 newhdr.bytes_per_unit = 8; in Process()205 if ((err = newhdr.Validate()) || !float_convert.CanConvert(newhdr)) { in Process()211 if (inbuf->GetHeader() != newhdr) { in Process()212 err = float_convert.Convert(inbuf, newhdr); in Process()
601 AudioHdr newhdr; in FormatParse() local617 err = newhdr.EncodingParse(ptr); in FormatParse()630 err = newhdr.RateParse(ptr); in FormatParse()635 err = newhdr.ChannelParse(p); in FormatParse()640 err = newhdr.Validate(); in FormatParse()642 *this = newhdr; in FormatParse()
160 Freehdr newhdr; in insert() local192 if ((newhdr = getfreehdr()) == NIL) { in insert()196 *fpp = newhdr; in insert()198 newhdr->left = NIL; in insert()199 newhdr->right = NIL; in insert()200 newhdr->block = newblk; in insert()201 newhdr->size = len; in insert()209 left_hook = &newhdr->left; in insert()210 right_hook = &newhdr->right; in insert()1115 Freehdr newhdr; in morecore() local[all …]
217 Freehdr newhdr; in insert() local242 newhdr = getfreehdr(); in insert()243 *tree = newhdr; in insert()244 left_hook = &newhdr->left; in insert()245 right_hook = &newhdr->right; in insert()247 newhdr->left = NIL; in insert()248 newhdr->right = NIL; in insert()249 newhdr->block = p; in insert()250 newhdr->size = len; in insert()
808 _sip_header_t *newhdr; in sip_dlg_xchg_from_to() local828 newhdr = sip_new_header(hdrsize); in sip_dlg_xchg_from_to()829 if (newhdr == NULL) in sip_dlg_xchg_from_to()832 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()835 cnt = snprintf(newhdr->sip_hdr_current, hdrsize + 1, in sip_dlg_xchg_from_to()838 newhdr->sip_hdr_current += cnt; in sip_dlg_xchg_from_to()839 (void) strncpy(newhdr->sip_hdr_current, hdr->sip_hdr_current, len); in sip_dlg_xchg_from_to()840 newhdr->sip_hdr_current += len; in sip_dlg_xchg_from_to()841 assert(newhdr->sip_hdr_current == newhdr->sip_hdr_end); in sip_dlg_xchg_from_to()847 newhdr->sip_header_functions = hdr->sip_header_functions; in sip_dlg_xchg_from_to()[all …]
2222 register HDR *newhdr; local2228 newhdr = (HDR *) sm_rpool_malloc_x(rpool, sizeof(*newhdr));2229 STRUCTCOPY(*header, *newhdr);2230 *tail = newhdr;2231 tail = &newhdr->h_link;