Lines Matching refs:nullptr

73 MemMap::Maps* MemMap::maps_ = nullptr;
139 if (map.get() == nullptr) { in ContainedWithinExistingMap()
163 if (map.get() == nullptr) { in CheckNonOverlapping()
199 if (expected_ptr == nullptr) { in CheckMapRequest()
242 return new MemMap(name, nullptr, 0, nullptr, 0, prot, false); in MapAnonymous()
268 return nullptr; in MapAnonymous()
287 return nullptr; in MapAnonymous()
298 if (low_4gb && expected_ptr == nullptr) { in MapAnonymous()
360 if (low_4gb && expected_ptr == nullptr) { in MapAnonymous()
376 return nullptr; in MapAnonymous()
380 return nullptr; in MapAnonymous()
397 CHECK(expected_ptr != nullptr); in MapFileAtAddress()
412 return new MemMap(filename, nullptr, 0, nullptr, 0, prot, false); in MapFileAtAddress()
421 byte* page_aligned_expected = (expected_ptr == nullptr) ? nullptr : (expected_ptr - page_offset); in MapFileAtAddress()
440 return nullptr; in MapFileAtAddress()
444 return nullptr; in MapFileAtAddress()
451 if (base_begin_ == nullptr && base_size_ == 0) { in ~MemMap()
464 DCHECK(maps_ != nullptr); in ~MemMap()
481 CHECK(begin_ == nullptr); in MemMap()
482 CHECK(base_begin_ == nullptr); in MemMap()
485 CHECK(begin_ != nullptr); in MemMap()
486 CHECK(base_begin_ != nullptr); in MemMap()
491 DCHECK(maps_ != nullptr); in MemMap()
510 return new MemMap(tail_name, nullptr, 0, nullptr, 0, tail_prot, false); in RemapAtEnd()
531 return nullptr; in RemapAtEnd()
546 return nullptr; in RemapAtEnd()
560 return nullptr; in RemapAtEnd()
566 if (base_begin_ != nullptr || base_size_ != 0) { in MadviseDontNeedAndZero()
578 if (base_begin_ == nullptr && base_size_ == 0) { in Protect()
595 CHECK(begin_map != nullptr); in CheckNoGaps()
596 CHECK(end_map != nullptr); in CheckNoGaps()
603 if (next_map == nullptr) { in CheckNoGaps()
634 MemMap* largest_map = nullptr; in GetLargestMemMapAt()
635 DCHECK(maps_ != nullptr); in GetLargestMemMapAt()
639 CHECK(map != nullptr); in GetLargestMemMapAt()
650 if (maps_ == nullptr) { in Init()
659 maps_ = nullptr; in Shutdown()