Lines Matching refs:pinfo
541 memory_infop pinfo; in png_debug_malloc() local
543 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
544 (sizeof *pinfo)); in png_debug_malloc()
545 pinfo->size = size; in png_debug_malloc()
553 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc()
559 if (size != 0 && pinfo->pointer == NULL) in png_debug_malloc()
567 pinfo->next = pinformation; in png_debug_malloc()
568 pinformation = pinfo; in png_debug_malloc()
570 memset(pinfo->pointer, 0xdd, pinfo->size); in png_debug_malloc()
574 pinfo->pointer); in png_debug_malloc()
576 return (png_voidp)(pinfo->pointer); in png_debug_malloc()
602 memory_infop pinfo = *ppinfo; in png_debug_free() local
604 if (pinfo->pointer == ptr) in png_debug_free()
606 *ppinfo = pinfo->next; in png_debug_free()
607 current_allocation -= pinfo->size; in png_debug_free()
612 memset(ptr, 0x55, pinfo->size); in png_debug_free()
613 free(pinfo); in png_debug_free()
614 pinfo = NULL; in png_debug_free()
618 if (pinfo->next == NULL) in png_debug_free()
624 ppinfo = &pinfo->next; in png_debug_free()
1915 memory_infop pinfo = pinformation; in main() local
1920 while (pinfo != NULL) in main()
1923 (unsigned long)pinfo->size, in main()
1924 pinfo->pointer); in main()
1925 pinfo = pinfo->next; in main()
2004 memory_infop pinfo = pinformation; in main() local
2009 while (pinfo != NULL) in main()
2012 (unsigned long)pinfo->size, pinfo->pointer); in main()
2013 pinfo = pinfo->next; in main()