Searched refs:capacity (Results 1 - 5 of 5) sorted by relevance
/dalvik/vm/ |
H A D | IndirectRefTable.h | 204 explicit iref_iterator(IndirectRefSlot* table, size_t i, size_t capacity) : argument 205 table_(table), i_(i), capacity_(capacity) { 334 size_t capacity() const { function in struct:IndirectRefTable 339 return iterator(table_, 0, capacity()); 343 return iterator(table_, capacity(), capacity());
|
H A D | Jni.cpp | 372 ALOGE("Failed adding to JNI local ref table (has %zd entries)", pRefTable->capacity()); 406 * Ensure that at least "capacity" references can be held in the local 409 static bool ensureLocalCapacity(Thread* self, int capacity) { argument 410 int numEntries = self->jniLocalRefTable.capacity(); 412 return ((kJniLocalRefMax - numEntries) >= capacity); 495 gDvm.jniGlobalRefTable.capacity()); 516 ALOGE("Failed adding to JNI weak global ref table (%zd entries)", table->capacity()); 637 dvmPrintDebugMessage(target, "; globals=%d", gDvm.jniGlobalRefTable.capacity()); 641 size_t weaks = gDvm.jniWeakGlobalRefTable.capacity(); 1418 static jint PushLocalFrame(JNIEnv* env, jint capacity) { argument 1485 EnsureLocalCapacity(JNIEnv* env, jint capacity) argument 2691 NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) argument [all...] |
H A D | IndirectRefTable.cpp | 310 size_t count = capacity();
|
H A D | CheckJni.cpp | 1424 static jint Check_PushLocalFrame(JNIEnv* env, jint capacity) { argument 1425 CHECK_JNI_ENTRY(kFlag_Default | kFlag_ExcepOkay, "EI", env, capacity); 1426 return CHECK_JNI_EXIT("I", baseEnv(env)->PushLocalFrame(env, capacity)); 1468 static jint Check_EnsureLocalCapacity(JNIEnv *env, jint capacity) { argument 1469 CHECK_JNI_ENTRY(kFlag_Default, "EI", env, capacity); 1470 return CHECK_JNI_EXIT("I", baseEnv(env)->EnsureLocalCapacity(env, capacity)); 1999 static jobject Check_NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) { argument 2000 CHECK_JNI_ENTRY(kFlag_Default, "EpJ", env, address, capacity); 2001 return CHECK_JNI_EXIT("L", baseEnv(env)->NewDirectByteBuffer(env, address, capacity));
|
/dalvik/vm/test/ |
H A D | TestIndirectRefTable.cpp | 118 if (irt.capacity() != 0) { 150 if (irt.capacity() != 0) { 168 if (irt.capacity() != 3) { 169 ALOGE("expected 3 entries, found %d", irt.capacity()); 190 if (irt.capacity() != 0) { 214 if (irt.capacity() != 4) { 222 if (irt.capacity() != 3) { 230 if (irt.capacity() != 0) { 252 if (irt.capacity() != 0) { 276 if (irt.capacity() ! [all...] |
Completed in 127 milliseconds