Lines Matching defs:index

55   for (int index = 0; index < NUMBER_OF_MEMORY_TYPE; index ++) {
56 _malloc_data[index].set_type(MemType2NameMap[index]._flag);
57 _vm_data[index].set_type(MemType2NameMap[index]._flag);
58 _arena_data[index].set_type(MemType2NameMap[index]._flag);
101 for (int index = 0; index < NUMBER_OF_MEMORY_TYPE; index ++) {
102 _malloc_data[index].clear();
103 _vm_data[index].clear();
104 _arena_data[index].clear();
118 int index;
120 index = flag2index(FLAGS_TO_MEMORY_TYPE(malloc_ptr->flags()));
125 _arena_data[index].inc(size);
129 _malloc_data[index].inc(size);
137 _arena_data[index].inc(size);
147 index = flag2index(mtChunk);
148 _malloc_data[index].reduce(used_arena_size);
151 _malloc_data[index].overwrite_counter(0);
170 int index;
173 index = flag2index(FLAGS_TO_MEMORY_TYPE(vm_ptr->flags()));
179 _vm_data[index].inc(vm_ptr->size(), 0);
182 _vm_data[index].inc(0, vm_ptr->size());
387 for (int index = 0; index < NUMBER_OF_MEMORY_TYPE; index ++) {
388 if (MemType2NameMap[index]._flag == flag) {
389 return index;
397 for (int index = 0; index < NUMBER_OF_MEMORY_TYPE; index ++) {
398 if (MemType2NameMap[index]._flag == type) {
399 return MemType2NameMap[index]._name;
415 for (int index = 0; index < NUMBER_OF_MEMORY_TYPE; index ++) {
416 _malloc_data[index] = other._malloc_data[index];
417 _vm_data[index] = other._vm_data[index];
418 _arena_data[index] = other._arena_data[index];
427 int index;
428 for (index = 0; index < other._malloc_cs->length(); index ++) {
429 _malloc_cs->append(other._malloc_cs->at(index));
432 for (index = 0; index < other._vm_cs->length(); index ++) {
433 _vm_cs->append(other._vm_cs->at(index));