Home
last modified time | relevance | path

Searched refs:free_capacity (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dindirect_reference_table.cc486 bool IndirectReferenceTable::EnsureFreeCapacity(size_t free_capacity, std::string* error_msg) { in EnsureFreeCapacity() argument
488 if (top_index < max_entries_ && top_index + free_capacity <= max_entries_) { in EnsureFreeCapacity()
501 if (std::numeric_limits<size_t>::max() - free_capacity < top_index) { in EnsureFreeCapacity()
506 if (!Resize(top_index + free_capacity, error_msg)) { in EnsureFreeCapacity()
507 LOG(WARNING) << "JNI ERROR: Unable to reserve space in EnsureFreeCapacity (" << free_capacity in EnsureFreeCapacity()
Dindirect_reference_table.h295 bool EnsureFreeCapacity(size_t free_capacity, std::string* error_msg)