Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_internal.cc669 static jint EnsureLocalCapacity(JNIEnv* env, jint desired_capacity) { in EnsureLocalCapacity() argument
672 return EnsureLocalCapacityInternal(soa, desired_capacity, "EnsureLocalCapacity"); in EnsureLocalCapacity()
2588 static jint EnsureLocalCapacityInternal(ScopedObjectAccess& soa, jint desired_capacity, in EnsureLocalCapacityInternal() argument
2591 if (desired_capacity < 0) { in EnsureLocalCapacityInternal()
2592 LOG(ERROR) << "Invalid capacity given to " << caller << ": " << desired_capacity; in EnsureLocalCapacityInternal()
2597 if (!soa.Env()->locals_.EnsureFreeCapacity(static_cast<size_t>(desired_capacity), &error_msg)) { in EnsureLocalCapacityInternal()