Lines Matching defs:szB
535 SizeT szB;
558 SizeT szB; // memory size for the node, be it Sig or Insig
589 xpt->szB = 0;
633 return ( sxpt1->szB < sxpt2->szB ? 1
634 : sxpt1->szB > sxpt2->szB ? -1
673 if (xpt->children[i]->szB >= sig_child_threshold_szB) {
684 sxpt->szB = xpt->szB;
696 // insig_children_szB doesn't necessarily equal xpt->szB.)
699 if (xpt->children[i]->szB >= sig_child_threshold_szB) {
701 sig_children_szB += xpt->children[i]->szB;
703 insig_children_szB += xpt->children[i]->szB;
715 insig_sxpt->szB = insig_children_szB;
778 // Check the sum of any children szBs equals the SXPt's szB. Check the
973 // Update 'szB' of every XPt in the XCon, by percolating upwards.
983 if (space_delta < 0) tl_assert(xpt->szB >= -space_delta);
984 xpt->szB += space_delta;
987 if (space_delta < 0) tl_assert(alloc_xpt->szB >= -space_delta);
988 alloc_xpt->szB += space_delta;
1313 tl_assert( alloc_xpt->szB == heap_szB);
1314 tl_assert(snapshot->alloc_sxpt->szB == heap_szB);
1736 static void* ms_malloc ( ThreadId tid, SizeT szB )
1738 return alloc_and_record_block( tid, szB, VG_(clo_alignment), /*is_zeroed*/False );
1741 static void* ms___builtin_new ( ThreadId tid, SizeT szB )
1743 return alloc_and_record_block( tid, szB, VG_(clo_alignment), /*is_zeroed*/False );
1746 static void* ms___builtin_vec_new ( ThreadId tid, SizeT szB )
1748 return alloc_and_record_block( tid, szB, VG_(clo_alignment), /*is_zeroed*/False );
1751 static void* ms_calloc ( ThreadId tid, SizeT m, SizeT szB )
1753 return alloc_and_record_block( tid, m*szB, VG_(clo_alignment), /*is_zeroed*/True );
1756 static void *ms_memalign ( ThreadId tid, SizeT alignB, SizeT szB )
1758 return alloc_and_record_block( tid, szB, alignB, False );
1974 SizeT szB = argv[2];
1975 record_block( tid, p, szB, /*slop_szB*/0, /*exclude_first_entry*/False,
2152 FP("%sn%d: %lu ", depth_str, sxpt->Sig.n_children, sxpt->szB);
2182 // Sort SXPt's children by szB (reverse order: biggest to smallest).
2217 depth_str, sxpt->szB, sxpt->Insig.n_xpts, s, clo_threshold);