Lines Matching defs:hi
480 SM_HEAP_ITEM_T *hi;
492 for (hi = SmHeapTable[i]; hi != NULL; hi = hi->hi_next)
494 if (hi->hi_ptr == ptr)
496 ptr, hi->hi_tag, hi->hi_num);
500 hi = (SM_HEAP_ITEM_T *) malloc(sizeof(SM_HEAP_ITEM_T));
502 if (hi == NULL)
504 hi->hi_ptr = ptr;
505 hi->hi_size = size;
506 hi->hi_tag = tag;
507 hi->hi_num = num;
508 hi->hi_group = group;
509 hi->hi_next = SmHeapTable[i];
510 SmHeapTable[i] = hi;
530 SM_HEAP_ITEM_T *hi, **hp;
549 hi = *hp;
552 < SmHeapTotal - hi->hi_size + size)
561 SmHeapTotal = SmHeapTotal - hi->hi_size + size;
564 *hp = hi->hi_next;
565 hi->hi_ptr = newptr;
566 hi->hi_size = size;
568 hi->hi_next = *hp;
569 *hp = hi;
598 SM_HEAP_ITEM_T *hi, **hp;
618 hi = *hp;
621 < SmHeapTotal - hi->hi_size + size)
630 SmHeapTotal = SmHeapTotal - hi->hi_size + size;
633 *hp = hi->hi_next;
634 hi->hi_ptr = newptr;
635 hi->hi_size = size;
637 hi->hi_next = *hp;
638 *hp = hi;
680 SM_HEAP_ITEM_T *hi = *hp;
682 *hp = hi->hi_next;
694 (void) memset(ptr, 0, hi->hi_size);
695 SmHeapTotal -= hi->hi_size;
698 free(hi);
765 SM_HEAP_ITEM_T *hi = SmHeapTable[i];
767 while (hi != NULL)
770 || (verbosity > 1 && hi->hi_group != 0))
774 hi->hi_group,
776 (long)hi->hi_ptr,
777 (unsigned long)hi->hi_size);
778 if (hi->hi_tag != NULL)
782 hi->hi_tag);
783 if (hi->hi_num)
788 hi->hi_num);
793 switch (hi->hi_group)
796 group0total += hi->hi_size;
799 group1total += hi->hi_size;
802 otherstotal += hi->hi_size;
805 grandtotal += hi->hi_size;
806 hi = hi->hi_next;