Home
last modified time | relevance | path

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

/dalvik/vm/
DIndirectRefTable.cpp37 table_ = (IndirectRefSlot*) malloc(initialCount * sizeof(IndirectRefSlot)); in init()
38 if (table_ == NULL) { in init()
41 memset(table_, 0xd1, initialCount * sizeof(IndirectRefSlot)); in init()
56 free(table_); in destroy()
57 table_ = NULL; in destroy()
69 assert(table_ != NULL); in add()
85 slot = &table_[topIndex - 1]; in add()
88 assert(slot >= table_ + prevState.parts.topIndex); in add()
108 (IndirectRefSlot*) realloc(table_, newSize * sizeof(IndirectRefSlot)); in add()
109 if (table_ == NULL) { in add()
[all …]
DIndirectRefTable.h205 table_(table), i_(i), capacity_(capacity) { in iref_iterator()
216 return &table_[i_].obj;
220 return (i_ == rhs.i_ && table_ == rhs.table_); in equals()
226 while (i_ < capacity_ && (table_[i_].obj == NULL in skipNullsAndTombstones()
227 || table_[i_].obj == kClearedJniWeakGlobal)) { in skipNullsAndTombstones()
232 IndirectRefSlot* table_; variable
255 IndirectRefSlot* table_; member
339 return iterator(table_, 0, capacity()); in begin()
343 return iterator(table_, capacity(), capacity()); in end()