/art/runtime/gc/accounting/ |
D | bitmap.cc | 31 Bitmap* Bitmap::CreateFromMemMap(MemMap&& mem_map, size_t num_bits) { in CreateFromMemMap() 33 return new Bitmap(std::move(mem_map), num_bits); in CreateFromMemMap() 36 Bitmap::Bitmap(MemMap&& mem_map, size_t num_bits) in Bitmap() function in art::gc::accounting::Bitmap 44 Bitmap::~Bitmap() { in ~Bitmap() 48 MemMap Bitmap::AllocateMemMap(const std::string& name, size_t num_bits) { in AllocateMemMap() 63 Bitmap* Bitmap::Create(const std::string& name, size_t num_bits) { in Create() 71 void Bitmap::Clear() { in Clear() 77 void Bitmap::CopyFrom(Bitmap* source_bitmap) { in CopyFrom() 89 MemMap mem_map = Bitmap::AllocateMemMap(name, num_bits); in Create()
|
D | bitmap.h | 38 class Bitmap { 41 static Bitmap* Create(const std::string& name, size_t num_bits); 46 static Bitmap* CreateFromMemMap(MemMap&& mem_map, size_t num_bits); 83 void CopyFrom(Bitmap* source_bitmap); 103 Bitmap(MemMap&& mem_map, size_t bitmap_size); 104 ~Bitmap(); 124 DISALLOW_IMPLICIT_CONSTRUCTORS(Bitmap); 129 class MemoryRangeBitmap : public Bitmap { 200 : Bitmap(std::move(mem_map), num_bits), in MemoryRangeBitmap()
|
D | bitmap-inl.h | 33 inline bool Bitmap::AtomicTestAndSetBit(uintptr_t bit_index) { in AtomicTestAndSetBit() 51 inline bool Bitmap::TestBit(uintptr_t bit_index) const { in TestBit() 57 inline void Bitmap::VisitSetBits(uintptr_t bit_start, uintptr_t bit_end, const Visitor& visitor) in VisitSetBits() 133 inline bool Bitmap::ModifyBit(uintptr_t bit_index) { in ModifyBit()
|
D | mod_union_table.cc | 547 card_bitmap_->Bitmap::Clear(); in ClearTable()
|
/art/test/079-phantom/src/ |
D | Main.java | 20 Bitmap mBitmap1, mBitmap2, mBitmap3, mBitmap4; 76 Bitmap.shutDown(); in run() 89 Bitmap.NativeWrapper dataA = Bitmap.allocNativeStorage(10, 10); in createBitmaps() 91 Bitmap.NativeWrapper dataB = Bitmap.allocNativeStorage(20, 20); in createBitmaps() 94 mBitmap1 = new Bitmap("one", 10, 10, dataA); in createBitmaps() 95 mBitmap2 = new Bitmap("two", 20, 20, dataB); in createBitmaps() 96 mBitmap3 = mBitmap4 = new Bitmap("three/four", 20, 20, dataB); in createBitmaps()
|
D | Bitmap.java | 22 public class Bitmap { class 25 Bitmap.NativeWrapper mNativeWrapper; 37 Bitmap(String name, int width, int height, Bitmap.NativeWrapper nativeData) { in Bitmap() method in Bitmap 69 static Bitmap.NativeWrapper allocNativeStorage(int width, int height) { in allocNativeStorage() 72 synchronized (Bitmap.class) { in allocNativeStorage() 76 Bitmap.NativeWrapper wrapper = new Bitmap.NativeWrapper(nativeData); in allocNativeStorage() 120 PhantomWrapper(Bitmap.NativeWrapper wrapper, in PhantomWrapper() 149 Bitmap.freeNativeStorage(ref.mNativeData, ref.mFreeSignal); in run()
|
/art/test/079-phantom/ |
D | expected-stdout.txt | 2 Created Bitmap one: 10x10 (100) 3 Created Bitmap two: 20x20 (101) 4 Created Bitmap three/four: 20x20 (101) 5 Drawing Bitmap two: 20x20 (101) 13 Bitmap has shut down
|
/art/runtime/gc/collector/ |
D | mark_compact-inl.h | 72 DCHECK(!Bitmap::TestBit(begin_bit_idx)); in SetLiveWords() 76 uintptr_t* begin_bm_address = Bitmap::Begin() + Bitmap::BitIndexToWordIndex(begin_bit_idx); in SetLiveWords() 77 uintptr_t* end_bm_address = Bitmap::Begin() + Bitmap::BitIndexToWordIndex(end_bit_idx); in SetLiveWords() 79 uintptr_t mask = Bitmap::BitIndexToMask(begin_bit_idx); in SetLiveWords() 93 uintptr_t end_mask = Bitmap::BitIndexToMask(end_bit_idx); in SetLiveWords() 108 uintptr_t begin_word_idx = Bitmap::BitIndexToWordIndex(begin_bit_idx); in VisitLiveStrides() 109 const uintptr_t end_word_idx = Bitmap::BitIndexToWordIndex(end_bit_idx); in VisitLiveStrides() 110 DCHECK(Bitmap::TestBit(begin_bit_idx)); in VisitLiveStrides() 115 uintptr_t word = Bitmap::Begin()[begin_word_idx]; in VisitLiveStrides() 118 word &= ~(Bitmap::BitIndexToMask(begin_bit_idx) - 1); in VisitLiveStrides() [all …]
|
D | mark_compact.h | 195 using Bitmap = accounting::Bitmap; variable 200 static_assert(IsPowerOfTwo(Bitmap::kBitsPerBitmapWord)); 201 static_assert(kBitsPerVectorWord >= Bitmap::kBitsPerBitmapWord); 203 kBitsPerVectorWord / Bitmap::kBitsPerBitmapWord; 229 void ClearBitmap() { Bitmap::Clear(); } in ClearBitmap() 235 return Bitmap::TestBit(bit_index); in Test() 242 return Bitmap::Begin()[index * kBitmapWordsPerVectorWord]; in GetWord()
|
D | mark_compact.cc | 4591 words += POPCOUNT(Bitmap::Begin()[index + i]); in LiveBytesInBitmapWord()
|
/art/tools/ahat/src/test-dump/android/graphics/ |
D | Bitmap.java | 22 public final class Bitmap { class 29 public Bitmap(int width, int height, long nativePtr, byte[] buffer) { in Bitmap() method in Bitmap
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatBitmapInstance.java | 292 public static class Bitmap { class in AhatBitmapInstance 312 public Bitmap(String format, byte[] buffer, BufferedImage image) { in Bitmap() method in AhatBitmapInstance.Bitmap 345 public Bitmap getBitmap() { in getBitmap() 357 return new Bitmap("image/jpg", info.buffer, null); in getBitmap() 359 return new Bitmap("image/png", info.buffer, null); in getBitmap() 363 return new Bitmap("image/webp", info.buffer, null); in getBitmap() 365 return new Bitmap(null, null, asBufferedImage(info)); in getBitmap()
|
/art/tools/ahat/src/test-dump/ |
D | DumpedStuff.java | 22 import android.graphics.Bitmap; 90 bitmapOne = new Bitmap(100, 200, 0xDEADBEEF, bigArray); in DumpedStuff() 91 bitmapTwo = new Bitmap(100, 200, 0xBEEFDEAD, bigArray); in DumpedStuff() 186 public Bitmap bitmapOne = null; 187 public Bitmap bitmapTwo = null;
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | BitmapHandler.java | 70 AhatBitmapInstance.Bitmap bitmap = inst.asBitmapInstance().getBitmap(); in handle()
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | InstanceTest.java | 428 AhatBitmapInstance.Bitmap bmp = obj.asBitmapInstance().getBitmap();
|