Home | History | Annotate | Download | only in runtime

Lines Matching full:desired_capacity

829   static jint EnsureLocalCapacity(JNIEnv* env, jint desired_capacity) {
830 return EnsureLocalCapacity(env, desired_capacity, "EnsureLocalCapacity");
2523 static jint EnsureLocalCapacity(JNIEnv* env, jint desired_capacity,
2526 if (desired_capacity < 0 || desired_capacity > static_cast<jint>(kLocalsMax)) {
2527 LOG(ERROR) << "Invalid capacity given to " << caller << ": " << desired_capacity;
2532 bool okay = (static_cast<jint>(kLocalsMax - capacity) >= desired_capacity);