Lines Matching refs:pinfo
533 memory_infop pinfo; in png_debug_malloc() local
535 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
536 (sizeof *pinfo)); in png_debug_malloc()
537 pinfo->size = size; in png_debug_malloc()
545 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc()
551 if (size != 0 && pinfo->pointer == NULL) in png_debug_malloc()
559 pinfo->next = pinformation; in png_debug_malloc()
560 pinformation = pinfo; in png_debug_malloc()
562 memset(pinfo->pointer, 0xdd, pinfo->size); in png_debug_malloc()
566 pinfo->pointer); in png_debug_malloc()
568 return (png_voidp)(pinfo->pointer); in png_debug_malloc()
594 memory_infop pinfo = *ppinfo; in png_debug_free() local
596 if (pinfo->pointer == ptr) in png_debug_free()
598 *ppinfo = pinfo->next; in png_debug_free()
599 current_allocation -= pinfo->size; in png_debug_free()
604 memset(ptr, 0x55, pinfo->size); in png_debug_free()
605 free(pinfo); in png_debug_free()
606 pinfo = NULL; in png_debug_free()
610 if (pinfo->next == NULL) in png_debug_free()
616 ppinfo = &pinfo->next; in png_debug_free()
1984 memory_infop pinfo = pinformation; in main() local
1989 while (pinfo != NULL) in main()
1992 (unsigned long)pinfo->size, in main()
1993 pinfo->pointer); in main()
1994 pinfo = pinfo->next; in main()
2078 memory_infop pinfo = pinformation; in main() local
2083 while (pinfo != NULL) in main()
2086 (unsigned long)pinfo->size, pinfo->pointer); in main()
2087 pinfo = pinfo->next; in main()