Searched refs:new_hdr (Results 1 – 3 of 3) sorted by relevance
225 struct debug_memory_header *old_hdr, *new_hdr; in debug_realloc() local255 new_hdr = os_malloc(sizeof(*new_hdr) + new_size + sizeof(*new_ftr)); in debug_realloc()256 if (!new_hdr) { in debug_realloc()262 new_hdr->no = old_hdr->no; in debug_realloc()263 new_hdr->file = old_hdr->file; in debug_realloc()264 new_hdr->line = old_hdr->line; in debug_realloc()265 new_hdr->function = old_hdr->function; in debug_realloc()266 new_hdr->size = new_size; in debug_realloc()267 new_hdr->magic = DEBUG_MEMORY_MAGIC; in debug_realloc()268 new_hdr->tag = 0; in debug_realloc()[all …]
637 MIME_HEADER *mhdr = NULL, *new_hdr = NULL; in STACK_OF() local674 new_hdr = mime_hdr_new(ntmp, strip_ends(q)); in STACK_OF()675 if (new_hdr == NULL) in STACK_OF()677 if (!sk_MIME_HEADER_push(headers, new_hdr)) in STACK_OF()679 mhdr = new_hdr; in STACK_OF()680 new_hdr = NULL; in STACK_OF()731 new_hdr = mime_hdr_new(ntmp, strip_ends(q)); in STACK_OF()732 if (new_hdr == NULL) in STACK_OF()734 if (!sk_MIME_HEADER_push(headers, new_hdr)) in STACK_OF()736 mhdr = new_hdr; in STACK_OF()[all …]
210 uint8_t *new_hdr; in coap_pdu_resize() local224 new_hdr = (uint8_t*)realloc(pdu->token - pdu->max_hdr_size, new_size + pdu->max_hdr_size); in coap_pdu_resize()225 if (new_hdr == NULL) { in coap_pdu_resize()229 pdu->token = new_hdr + pdu->max_hdr_size; in coap_pdu_resize()