Searched refs:allowed_range (Results 1 – 1 of 1) sorted by relevance
28 bool IsPointerInRange(const char *ptr, StringPiece allowed_range) { in IsPointerInRange() argument29 return (ptr >= allowed_range.data()) && in IsPointerInRange()30 (ptr < (allowed_range.data() + allowed_range.size())); in IsPointerInRange()39 StringPiece allowed_range) { in IsMemoryRangeValid() argument45 return (start == nullptr) || IsPointerInRange(begin, allowed_range); in IsMemoryRangeValid()48 return (begin <= inclusive_end) && IsPointerInRange(begin, allowed_range) && in IsMemoryRangeValid()49 IsPointerInRange(inclusive_end, allowed_range); in IsMemoryRangeValid()