Home | History | Annotate | Download | only in alloc

Lines Matching refs:assert

281     assert(addr != NULL);
282 assert((uintptr_t)addr % SYSTEM_PAGE_SIZE == 0);
313 assert(blocks != 0);
363 assert(heapSource != NULL);
364 assert(isValidAddress(heapSource, addr));
374 assert(isValidAddress(heapSource, addr));
383 assert(heapSource != NULL);
384 assert(block < heapSource->totalBlocks);
396 assert(heapSource != NULL);
424 assert(heapSource != NULL);
425 assert(block < heapSource->totalBlocks);
461 assert(startSize <= absoluteMaxSize);
464 assert(heapSource != NULL);
474 assert(heapSource->blockBase != NULL);
481 assert(heapSource->totalBlocks = heapSource->maximumSize / BLOCK_SIZE);
486 assert(heapSource->blockQueue != NULL);
495 assert(heapSource->blockSpace != NULL);
509 assert(gcHeap != NULL);
528 assert(!"implemented");
574 assert(!"implemented");
590 assert(!"implemented");
615 assert(heapSource != NULL);
616 assert(heapSource->allocPtr != NULL);
617 assert(heapSource->allocLimit != NULL);
672 assert(addr != NULL);
712 assert(!"implemented");
718 assert(!"implemented");
724 assert(!"implemented");
745 assert(newTarget > 0.0f && newTarget < 1.0f);
774 assert(!"implemented");
795 assert(!"implemented");
843 assert(addr >= base);
845 assert(addr < limit);
926 assert(obj != NULL);
927 assert(obj->obj.clazz != NULL);
928 assert(obj->obj.clazz->descriptor != NULL);
929 assert(!strcmp(obj->obj.clazz->descriptor, "Ljava/lang/Class;"));
930 assert(obj->descriptor != NULL);
965 assert(toSpaceContains(array));
966 assert(array != NULL);
967 assert(array->obj.clazz != NULL);
1042 assert(ref != NULL);
1043 assert(dvmGetFieldObject(ref, gDvm.offJavaLangRefReference_queue) != NULL);
1044 assert(dvmGetFieldObject(ref, gDvm.offJavaLangRefReference_queueNext) == NULL);
1076 assert(referent != NULL);
1097 assert(*list == NULL);
1121 assert(referent != NULL);
1244 assert(ref < lastRef);
1268 assert(obj != NULL);
1281 assert(isPhantomReference(obj));
1299 assert(obj != NULL);
1300 assert(obj->clazz != NULL);
1301 assert(obj->clazz->objectSize != 0);
1302 assert(toSpaceContains(obj));
1336 assert(fromObj != NULL);
1337 assert(fromSpaceContains(fromObj));
1354 assert(copySize <= allocSize);
1356 assert(toObj != NULL);
1357 assert(toSpaceContains(toObj));
1396 assert(obj);
1400 assert(dvmIsValidObject(*obj));
1409 assert(fromSpaceContains(*obj));
1421 assert(!"implemented");
1437 assert(obj != NULL);
1438 assert(obj->clazz != NULL);
1439 assert(!((uintptr_t)obj->clazz & 0x1));
1561 assert(table != NULL);
1562 assert(table->table != NULL);
1563 assert(table->nextEntry != NULL);
1565 assert(entry != NULL);
1566 assert(!isForward(*entry));
1666 assert(saveArea->xtra.currentPc != NULL);
1775 assert((uintptr_t)saveArea->prevFrame > (uintptr_t)framePtr ||
1838 assert(method->registersSize == method->insSize);
1851 assert(dvmIsValidObject(obj));
1861 assert(dvmIsValidObject(obj));
1904 assert((uintptr_t)saveArea->prevFrame > (uintptr_t)framePtr ||
1911 assert(thread != NULL);
1960 assert(heapSource != NULL);
1961 assert(block < heapSource->totalBlocks);
1962 assert(heapSource->blockSpace[block] == BLOCK_TO_SPACE);
1984 assert(cursor == end);
1993 assert(obj != NULL);
1994 assert(obj->clazz != NULL);
2000 assert(obj->clazz->objectSize != 0);
2017 assert(heapSource != NULL);
2018 assert(block < heapSource->totalBlocks);
2019 assert(heapSource->blockSpace[block] == BLOCK_TO_SPACE);
2041 assert(cursor == end);
2111 default: assert(!"reached");
2305 assert(*list == NULL);
2311 assert(*list == NULL);
2349 assert(!"implemented");
2354 assert(!"implemented");