Lines Matching refs:last_index
47 CHECK_EQ(expected_last_idx[i], array->last_index(kTypes[i], kSmall));
91 CHECK_EQ(small_last_idx[i], array->last_index(kTypes[i], kSmall));
103 CHECK_EQ(extended_last_idx[i], array->last_index(kTypes[i], kExtended));
120 i <= array->last_index(ConstantPoolArray::INT32, kSmall); i++) {
121 if (i <= array->last_index(ConstantPoolArray::INT64, kSmall)) {
123 } else if (i <= array->last_index(ConstantPoolArray::CODE_PTR, kSmall)) {
125 } else if (i <= array->last_index(ConstantPoolArray::HEAP_PTR, kSmall)) {
128 CHECK(i <= array->last_index(ConstantPoolArray::INT32, kSmall));
133 i <= array->last_index(ConstantPoolArray::INT32, kExtended); i++) {
134 if (i <= array->last_index(ConstantPoolArray::INT64, kExtended)) {
136 } else if (i <= array->last_index(ConstantPoolArray::CODE_PTR, kExtended)) {
138 } else if (i <= array->last_index(ConstantPoolArray::HEAP_PTR, kExtended)) {
141 CHECK(i <= array->last_index(ConstantPoolArray::INT32, kExtended));
147 i <= array->last_index(ConstantPoolArray::INT32, kSmall); i++) {
148 if (i <= array->last_index(ConstantPoolArray::INT64, kSmall)) {
150 } else if (i <= array->last_index(ConstantPoolArray::CODE_PTR, kSmall)) {
152 } else if (i <= array->last_index(ConstantPoolArray::HEAP_PTR, kSmall)) {
155 CHECK(i <= array->last_index(ConstantPoolArray::INT32, kSmall));
160 i <= array->last_index(ConstantPoolArray::INT32, kExtended); i++) {
161 if (i <= array->last_index(ConstantPoolArray::INT64, kExtended)) {
163 } else if (i <= array->last_index(ConstantPoolArray::CODE_PTR, kExtended)) {
166 } else if (i <= array->last_index(ConstantPoolArray::HEAP_PTR, kExtended)) {
169 CHECK(i <= array->last_index(ConstantPoolArray::INT32, kExtended));