Home
last modified time | relevance | path

Searched refs:mark_bit (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/v8/src/heap/
Dmark-compact-inl.h30 void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { in MarkObject() argument
31 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in MarkObject()
32 if (!mark_bit.Get()) { in MarkObject()
33 mark_bit.Set(); in MarkObject()
42 void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { in SetMark() argument
43 DCHECK(!mark_bit.Get()); in SetMark()
44 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in SetMark()
45 mark_bit.Set(); in SetMark()
Dincremental-marking.cc128 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::cast(obj)); in MarkObjectGreyDoNotEnqueue() local
129 if (Marking::IsBlack(mark_bit)) { in MarkObjectGreyDoNotEnqueue()
133 Marking::AnyToGrey(mark_bit); in MarkObjectGreyDoNotEnqueue()
139 MarkBit mark_bit, int size) { in MarkBlackOrKeepGrey() argument
140 DCHECK(!Marking::IsImpossible(mark_bit)); in MarkBlackOrKeepGrey()
141 if (mark_bit.Get()) return; in MarkBlackOrKeepGrey()
142 mark_bit.Set(); in MarkBlackOrKeepGrey()
144 DCHECK(Marking::IsBlack(mark_bit)); in MarkBlackOrKeepGrey()
149 MarkBit mark_bit, int size) { in MarkBlackOrKeepBlack() argument
150 DCHECK(!Marking::IsImpossible(mark_bit)); in MarkBlackOrKeepBlack()
[all …]
Dmark-compact.h38 INLINE(static bool IsImpossible(MarkBit mark_bit)) { in INLINE() argument
39 return !mark_bit.Get() && mark_bit.Next().Get(); in INLINE()
44 INLINE(static bool IsBlack(MarkBit mark_bit)) { in INLINE() argument
45 return mark_bit.Get() && !mark_bit.Next().Get(); in INLINE()
50 INLINE(static bool IsWhite(MarkBit mark_bit)) { return !mark_bit.Get(); } in INLINE() argument
54 INLINE(static bool IsGrey(MarkBit mark_bit)) { in INLINE() argument
55 return mark_bit.Get() && mark_bit.Next().Get(); in INLINE()
58 INLINE(static void MarkBlack(MarkBit mark_bit)) { in INLINE() argument
59 mark_bit.Set(); in INLINE()
60 mark_bit.Next().Clear(); in INLINE()
[all …]
Dincremental-marking-inl.h82 MarkBit mark_bit) { in BlackToGreyAndUnshift() argument
83 DCHECK(Marking::MarkBitFrom(obj) == mark_bit); in BlackToGreyAndUnshift()
86 Marking::BlackToGrey(mark_bit); in BlackToGreyAndUnshift()
110 void IncrementalMarking::WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit) { in WhiteToGreyAndPush() argument
111 Marking::WhiteToGrey(mark_bit); in WhiteToGreyAndPush()
Dincremental-marking.h126 inline void BlackToGreyAndUnshift(HeapObject* obj, MarkBit mark_bit);
128 inline void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit);
Dmark-compact.cc469 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VerifyMarkbitsAreClean() local
470 CHECK(Marking::IsWhite(mark_bit)); in VerifyMarkbitsAreClean()
527 MarkBit mark_bit = Marking::MarkBitFrom(obj); in ClearMarkbits() local
528 mark_bit.Clear(); in ClearMarkbits()
529 mark_bit.Next().Clear(); in ClearMarkbits()
1397 MarkBit mark_bit = Marking::MarkBitFrom(object); in INLINE() local
1398 if (!mark_bit.Get()) { in INLINE()
1399 heap->mark_compact_collector()->SetMark(object, mark_bit); in INLINE()
1792 MarkBit mark_bit = Marking::MarkBitFrom(object); in MarkObjectByPointer() local
1793 if (mark_bit.Get()) return; in MarkObjectByPointer()
[all …]
Dheap.cc2071 MarkBit mark_bit = Marking::MarkBitFrom(target); in EvacuateJSFunction() local
2072 if (Marking::IsBlack(mark_bit)) { in EvacuateJSFunction()
4552 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::FromAddress(start)); in IterateAndMarkPointersToFromSpace() local
4553 record_slots = Marking::IsBlack(mark_bit); in IterateAndMarkPointersToFromSpace()
5558 MarkBit mark_bit = Marking::MarkBitFrom(object); in SkipObject() local
5559 return !mark_bit.Get(); in SkipObject()
5571 MarkBit mark_bit = Marking::MarkBitFrom(obj); in VisitPointers() local
5572 if (!mark_bit.Get()) { in VisitPointers()
5573 mark_bit.Set(); in VisitPointers()
Dspaces.cc2936 MarkBit mark_bit = Marking::MarkBitFrom(object); in FreeUnmarkedObjects() local
2937 if (mark_bit.Get()) { in FreeUnmarkedObjects()
2938 mark_bit.Clear(); in FreeUnmarkedObjects()
/external/e2fsprogs/lib/ext2fs/
Dblkmap64_ba.c219 int mark_bit = 0; in ba_test_clear_bmap_extent() local
236 mark_bit = len + start_bit - 1; in ba_test_clear_bmap_extent()
238 mark_bit = 7; in ba_test_clear_bmap_extent()
240 for (i = mark_count; i > 0; i--, mark_bit--) in ba_test_clear_bmap_extent()
241 first_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent()
266 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ba_test_clear_bmap_extent()
267 last_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent()
Dgen_bitmap.c443 int mark_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local
459 mark_bit = len + start_bit - 1; in ext2fs_test_clear_generic_bitmap_range()
461 mark_bit = 7; in ext2fs_test_clear_generic_bitmap_range()
463 for (i = mark_count; i > 0; i--, mark_bit--) in ext2fs_test_clear_generic_bitmap_range()
464 first_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
489 for (mark_bit = len_bit - 1; mark_bit >= 0; mark_bit--) in ext2fs_test_clear_generic_bitmap_range()
490 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
/external/chromium_org/ui/events/gesture_detection/
Dbitset_32.h47 inline void mark_bit(uint32_t n) { value |= value_for_bit(n); } in mark_bit() function
78 mark_bit(n); in mark_first_unmarked_bit()
Dbitset_32_unittest.cc24 bits.mark_bit(0); in TEST_F()
35 bits.mark_bit(31); in TEST_F()
Dvelocity_tracker.cc293 downIdBits.mark_bit(event.GetPointerId(event.GetActionIndex())); in AddMovement()
329 id_bits.mark_bit(event.GetPointerId(i)); in AddMovement()
Dtouch_disposition_gesture_filter.cc420 last_gesture_of_type_dropped_.mark_bit(GetGestureTypeIndex(gesture_type)); in Filter()
/external/chromium_org/content/browser/renderer_host/input/
Dtouch_event_queue.cc777 touch_consumer_states_.mark_bit(point.id); in UpdateTouchConsumerStates()