Home | History | Annotate | Download | only in base

Lines Matching refs:ptr_

385   size_t total = ptr_ - begin_;
399 ptr_(nullptr),
407 arena_head_->bytes_allocated_ = ptr_ - begin_;
418 if (UNLIKELY(rounded_bytes > static_cast<size_t>(end_ - ptr_))) {
421 ret = ptr_;
422 ptr_ += rounded_bytes;
437 ((reinterpret_cast<uintptr_t>(ptr_) + 15u) & 15u) - reinterpret_cast<uintptr_t>(ptr_);
440 if (UNLIKELY(padding + rounded_bytes > static_cast<size_t>(end_ - ptr_))) {
444 ptr_ += padding; // Leave padding inaccessible.
445 ret = ptr_;
446 ptr_ += rounded_bytes;
464 if (static_cast<size_t>(end_ - ptr_) > new_arena->Size() - bytes) {
478 ptr_ = begin_ + bytes;
489 DCHECK(ptr_ - bytes == ret);
532 (arena_head_ == nullptr) ? 0 : (end_ - ptr_) - arena_head_->RemainingSpace();