Home
last modified time | relevance | path

Searched refs:IsFlagSet (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/heap/
Dheap-inl.h375 ->IsFlagSet(Page::IN_FROM_SPACE); in InFromSpace()
393 return MemoryChunk::FromHeapObject(heap_object)->IsFlagSet(Page::IN_TO_SPACE); in InToSpace()
426 return page->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK) && in ShouldBePromoted()
457 if (object_page->IsFlagSet(Page::NEW_SPACE_BELOW_AGE_MARK)) { in FindAllocationMemento()
502 ->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)) || in UpdateAllocationSite()
504 ->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION))); in UpdateAllocationSite()
600 if (page->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in CodeSpaceMemoryModificationScope()
615 if (page->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in ~CodeSpaceMemoryModificationScope()
646 chunk_->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in CodePageMemoryModificationScope()
650 chunk_->IsFlagSet(MemoryChunk::IS_EXECUTABLE))); in CodePageMemoryModificationScope()
Dspaces.h538 DCHECK(IsFlagSet(HAS_PROGRESS_BAR)); in progress_bar()
543 DCHECK(IsFlagSet(HAS_PROGRESS_BAR)); in set_progress_bar()
548 if (IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in ResetProgressBar()
579 bool IsFlagSet(Flag flag) { in IsFlagSet() function
600 bool NeverEvacuate() { return IsFlagSet(NEVER_EVACUATE); } in NeverEvacuate()
605 return !IsEvacuationCandidate() && !IsFlagSet(NEVER_ALLOCATE_ON_PAGE); in CanAllocate()
610 DCHECK(!(IsFlagSet<access_mode>(NEVER_EVACUATE) && in IsEvacuationCandidate()
611 IsFlagSet<access_mode>(EVACUATION_CANDIDATE))); in IsEvacuationCandidate()
612 return IsFlagSet<access_mode>(EVACUATION_CANDIDATE); in IsEvacuationCandidate()
623 return IsFlagSet(IS_EXECUTABLE) ? EXECUTABLE : NOT_EXECUTABLE; in executable()
[all …]
Dmark-compact.cc641 if (p->IsFlagSet(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING)) { in CollectEvacuationCandidates()
1119 p->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)); in RecordMigratedSlot()
1255 if (page->IsFlagSet(Page::COMPACTION_WAS_ABORTED_FOR_TESTING)) { in AbortCompactionForTesting()
2154 ->IsFlagSet(Page::COMPACTION_WAS_ABORTED)); in UpdateSlot()
2336 if (chunk->IsFlagSet(MemoryChunk::PAGE_NEW_OLD_PROMOTION)) in ComputeEvacuationMode()
2338 if (chunk->IsFlagSet(MemoryChunk::PAGE_NEW_NEW_PROMOTION)) in ComputeEvacuationMode()
2432 page->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION) || in EvacuatePage()
2433 page->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION), in EvacuatePage()
2434 page->IsFlagSet(MemoryChunk::IS_EXECUTABLE), in EvacuatePage()
2436 evacuation_time, page->IsFlagSet(Page::COMPACTION_WAS_ABORTED)); in EvacuatePage()
[all …]
Dspaces.cc69 if (cur_page->IsFlagSet(Page::SWEEP_TO_ITERATE)) in AdvanceToNextPage()
74 DCHECK(!cur_page->IsFlagSet(Page::SWEEP_TO_ITERATE)); in AdvanceToNextPage()
445 bool pooled = chunk->IsFlagSet(MemoryChunk::POOLED); in PerformFreeMemoryOnQueuedChunks()
592 DCHECK(IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in SetReadAndExecutable()
617 DCHECK(IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in SetReadAndWritable()
729 DCHECK(!chunk->IsFlagSet(in_to_space ? MemoryChunk::IN_FROM_SPACE in InitializePage()
1082 if (chunk->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in AllocateChunk()
1102 DCHECK(!chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in AllocateChunk()
1126 DCHECK(chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in AllocateChunk()
1130 if (chunk->IsFlagSet(MemoryChunk::POOLED)) { in AllocateChunk()
[all …]
Dspaces-inl.h194 DCHECK(!IsFlagSet(NEVER_ALLOCATE_ON_PAGE)); in MarkNeverAllocateForTesting()
201 DCHECK(!IsFlagSet(NEVER_EVACUATE)); in MarkEvacuationCandidate()
209 if (!IsFlagSet(COMPACTION_WAS_ABORTED)) { in ClearEvacuationCandidate()
Dincremental-marking.cc606 Page::FromAddress(obj->address())->IsFlagSet(Page::SWEEP_TO_ITERATE)); in UpdateMarkingWorklistAfterScavenge()
618 ->IsFlagSet(Page::SWEEP_TO_ITERATE)) { in UpdateMarkingWorklistAfterScavenge()
731 return chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR); in IsFixedArrayWithProgressBar()
Dmark-compact-inl.h280 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in VisitFixedArrayIncremental()
Dheap.cc5939 (chunk->IsFlagSet(MemoryChunk::INCREMENTAL_MARKING) && in PageFlagsAreConsistent()
/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.cc728 if (IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_SOCKET)) { in Init()
872 if (IsFlagSet(PORTALLOCATOR_DISABLE_UDP)) { in CreateUDPPorts()
881 !IsFlagSet(PORTALLOCATOR_DISABLE_DEFAULT_LOCAL_CANDIDATE); in CreateUDPPorts()
882 if (IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_SOCKET) && udp_socket_) { in CreateUDPPorts()
898 if (IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_SOCKET)) { in CreateUDPPorts()
903 if (!IsFlagSet(PORTALLOCATOR_DISABLE_STUN)) { in CreateUDPPorts()
917 if (IsFlagSet(PORTALLOCATOR_DISABLE_TCP)) { in CreateTCPPorts()
937 if (IsFlagSet(PORTALLOCATOR_DISABLE_STUN)) { in CreateStunPorts()
942 if (IsFlagSet(PORTALLOCATOR_ENABLE_SHARED_SOCKET)) { in CreateStunPorts()
968 if (IsFlagSet(PORTALLOCATOR_DISABLE_RELAY)) { in CreateRelayPorts()
[all …]
Dbasicportallocator.h300 bool IsFlagSet(uint32_t flag) { return ((flags_ & flag) != 0); } in IsFlagSet() function