reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
  447     size_ = 0;
  453     CHECK_LT(i, size_);
  457     CHECK_LT(i, size_);
  461     CHECK_LE(size_, capacity());
  462     if (size_ == capacity()) {
  463       uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1);
  466     internal_memcpy(&data_[size_++], &element, sizeof(T));
  469     CHECK_GT(size_, 0);
  470     return data_[size_ - 1];
  473     CHECK_GT(size_, 0);
  474     size_--;
  477     return size_;
  492     if (new_size > size_) {
  494       internal_memset(&data_[size_], 0, sizeof(T) * (new_size - size_));
  494       internal_memset(&data_[size_], 0, sizeof(T) * (new_size - size_));
  496     size_ = new_size;
  499   void clear() { size_ = 0; }
  518     Swap(size_, other.size_);
  524     CHECK_LE(size_, new_capacity);
  528     internal_memcpy(new_data, data_, size_ * sizeof(T));