Home
last modified time | relevance | path

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

/art/runtime/
Djni_internal.cc517 static jint EnsureLocalCapacity(JNIEnv* env, jint desired_capacity) { in EnsureLocalCapacity() argument
520 return EnsureLocalCapacityInternal(soa, desired_capacity, "EnsureLocalCapacity"); in EnsureLocalCapacity()
2322 static jint EnsureLocalCapacityInternal(ScopedObjectAccess& soa, jint desired_capacity, in EnsureLocalCapacityInternal() argument
2326 if (desired_capacity < 0 || desired_capacity > static_cast<jint>(kLocalsMax)) { in EnsureLocalCapacityInternal()
2327 LOG(ERROR) << "Invalid capacity given to " << caller << ": " << desired_capacity; in EnsureLocalCapacityInternal()
2332 bool okay = (static_cast<jint>(kLocalsMax - capacity) >= desired_capacity); in EnsureLocalCapacityInternal()