Lines Matching full:capacity
398 pRefTable->capacity());
406 pRefTable->capacity());
412 size_t entryCount = pRefTable->capacity();
430 * Ensure that at least "capacity" references can be held in the local
433 static bool ensureLocalCapacity(JNIEnv* env, int capacity) {
435 int numEntries = pRefTable->capacity();
437 return ((kJniLocalRefMax - numEntries) >= capacity);
520 gDvm.jniGlobalRefTable.capacity());
530 int count = gDvm.jniGlobalRefTable.capacity();
561 LOGE("Failed adding to JNI weak global ref table (%zd entries)", table->capacity());
597 int count = gDvm.jniGlobalRefTable.capacity();
1469 static jint PushLocalFrame(JNIEnv* env, jint capacity) {
1471 if (!ensureLocalCapacity(env, capacity) ||
1536 static jint EnsureLocalCapacity(JNIEnv* env, jint capacity) {
1538 bool okay = ensureLocalCapacity(env, capacity);
1540 dvmThrowOutOfMemoryError("can't ensure local reference capacity");
2284 * Return the capacity of the array.
2741 * "address" may not be NULL, and "capacity" must be > 0. (These are only
2744 static jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) {
2760 newObj, &unused, (jint) address, (jint) capacity);
2782 * Get the capacity of the buffer for the specified java.nio.Buffer.
2786 * capacity regardless.)
2792 * The capacity is always in the Buffer.capacity field.