Home
last modified time | relevance | path

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

/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
/external/v8/src/heap/
Dspaces.h475 DCHECK(IsFlagSet(HAS_PROGRESS_BAR)); in progress_bar()
480 DCHECK(IsFlagSet(HAS_PROGRESS_BAR)); in set_progress_bar()
485 if (IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in ResetProgressBar()
508 bool IsFlagSet(Flag flag) { return flags_ & flag; } in IsFlagSet() function
519 bool NeverEvacuate() { return IsFlagSet(NEVER_EVACUATE); } in NeverEvacuate()
524 DCHECK(!(IsFlagSet(NEVER_EVACUATE) && IsFlagSet(EVACUATION_CANDIDATE))); in IsEvacuationCandidate()
525 return IsFlagSet(EVACUATION_CANDIDATE); in IsEvacuationCandidate()
529 return !IsEvacuationCandidate() && !IsFlagSet(NEVER_ALLOCATE_ON_PAGE); in CanAllocate()
534 !IsFlagSet(COMPACTION_WAS_ABORTED); in ShouldSkipEvacuationSlotRecording()
538 return IsFlagSet(IS_EXECUTABLE) ? EXECUTABLE : NOT_EXECUTABLE; in executable()
[all …]
Dheap-inl.h474 ->IsFlagSet(Page::IN_FROM_SPACE); in InFromSpace()
481 ->IsFlagSet(Page::IN_TO_SPACE); in InToSpace()
497 return page->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK) && in ShouldBePromoted()
587 if (object_page->IsFlagSet(Page::NEW_SPACE_BELOW_AGE_MARK)) { in FindAllocationMemento()
633 ->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)) || in UpdateAllocationSite()
636 ->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION))); in UpdateAllocationSite()
Dspaces.cc371 bool pooled = chunk->IsFlagSet(MemoryChunk::POOLED); in PerformFreeMemoryOnQueuedChunks()
548 IsFlagSet(IS_EXECUTABLE) ? MemoryAllocator::CodePageGuardSize() : 0; in CommitArea()
563 IsFlagSet(IS_EXECUTABLE) ? EXECUTABLE : NOT_EXECUTABLE; in CommitArea()
570 DCHECK(code_range->valid() && IsFlagSet(IS_EXECUTABLE)); in CommitArea()
586 DCHECK(code_range->valid() && IsFlagSet(IS_EXECUTABLE)); in CommitArea()
628 if (chunk->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in ShrinkChunk()
858 DCHECK(!chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in AllocateChunk()
880 DCHECK(chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in AllocateChunk()
884 if (chunk->IsFlagSet(MemoryChunk::POOLED)) { in AllocateChunk()
1316 DCHECK(page->IsFlagSet(Page::NEVER_EVACUATE)); in AllocateChunk()
[all …]
Dspaces-inl.h174 DCHECK(!chunk->IsFlagSet(in_to_space ? MemoryChunk::IN_FROM_SPACE in Initialize()
302 DCHECK(!IsFlagSet(NEVER_ALLOCATE_ON_PAGE)); in MarkNeverAllocateForTesting()
308 DCHECK(!IsFlagSet(NEVER_EVACUATE)); in MarkEvacuationCandidate()
316 if (!IsFlagSet(COMPACTION_WAS_ABORTED)) { in ClearEvacuationCandidate()
Dmark-compact.cc666 if (p->IsFlagSet(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING)) { in CollectEvacuationCandidates()
1677 if (page->IsFlagSet(Page::COMPACTION_WAS_ABORTED_FOR_TESTING)) { in AbortCompactionForTesting()
2835 ->IsFlagSet(Page::COMPACTION_WAS_ABORTED)); in UpdateSlot()
2911 if (chunk->IsFlagSet(MemoryChunk::PAGE_NEW_OLD_PROMOTION)) in ComputeEvacuationMode()
2913 if (chunk->IsFlagSet(MemoryChunk::PAGE_NEW_NEW_PROMOTION)) in ComputeEvacuationMode()
3044 page->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION) || in EvacuatePage()
3045 page->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION), in EvacuatePage()
3046 page->IsFlagSet(MemoryChunk::IS_EXECUTABLE), in EvacuatePage()
3163 if (page->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK)) { in EvacuatePagesInParallel()
3472 if (p->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)) { in EvacuateNewSpaceAndCandidates()
[all …]
Dincremental-marking.cc188 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in VisitFixedArrayIncremental()
831 (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR) && in UpdateMarkingDequeAfterScavenge()
850 (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR) && in VisitObject()