Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 25 of 45) sorted by relevance

12

/sdk/emulator/qtools/tests/gtrace/
Dtest.c114 int ii; in foo1() local
115 for (ii = 0; ii < 3; ++ii) { in foo1()
127 int ii; in foo2() local
128 for (ii = 0; ii < 2; ++ii) { in foo2()
143 int ii, jj; in bar() local
145 for (ii = 0; ii < 4; ++ii) { in bar()
157 int ii; in child1() local
158 for (ii = 0; ii < 2; ++ii) in child1()
159 a += ii; in child1()
167 int ii; in child2() local
[all …]
/sdk/emulator/qtools/
Dbb2sym.cpp66 for (uint32_t ii = 0; ii < num_static_bb; ++ii) { in main() local
67 trace->ReadStatic(&blocks[ii].bb); in main()
68 blocks[ii].is_thumb = blocks[ii].bb.bb_addr & 1; in main()
69 blocks[ii].bb.bb_addr &= ~1; in main()
70 blocks[ii].sym = NULL; in main()
71 blocks[ii].inner = NULL; in main()
72 trace->ReadStaticInsns(blocks[ii].bb.num_insns, insns); in main()
90 for (uint32_t ii = 0; ii < num_static_bb; ++ii) { in main() local
91 if (sorted[ii]->bb.bb_addr == 0 || sorted[ii]->bb.num_insns == 0 in main()
92 || sorted[ii]->sym == NULL) in main()
[all …]
Dbbprof.cpp79 for (uint32_t ii = 0; ii < num_static_bb; ++ii) { in main() local
80 trace->ReadStatic(&blocks[ii].bb); in main()
81 blocks[ii].is_thumb = blocks[ii].bb.bb_addr & 1; in main()
82 blocks[ii].bb.bb_addr &= ~1; in main()
83 uint32_t num_insns = blocks[ii].bb.num_insns; in main()
84 blocks[ii].insns = new uint32_t[num_insns]; in main()
85 blocks[ii].cycles = new uint32_t[num_insns]; in main()
86 memset(blocks[ii].cycles, 0, num_insns * sizeof(uint32_t)); in main()
87 trace->ReadStaticInsns(num_insns, blocks[ii].insns); in main()
88 blocks[ii].elapsed = 0; in main()
[all …]
Dcheck_stack.cpp165 for (int ii = 0; ii < kMaxThreads; ++ii) { in main() local
166 if (eStacks[ii]) in main()
167 eStacks[ii]->popAll(event.time); in main()
188 for (int ii = 0; ii < mTop; ++ii) { in compareStacks() local
189 if (!mFrames[ii]->isNative) { in compareStacks()
196 for (int ii = 0; ii < eTop; ++ii) { in compareStacks() local
197 if (eFrames[ii].flags & CallStackType::frame_type::kInterpreted) { in compareStacks()
217 for (int ii = 0; ii < eTop; ++ii) { in compareStacks() local
219 if ((eFrames[ii].flags & CallStackType::frame_type::kInterpreted) == 0) in compareStacks()
221 uint32_t addr = eFrames[ii].function->addr; in compareStacks()
[all …]
Dread_trace.cpp88 for (int ii = 0; ii < manager->nregions; ++ii) { in main()
90 ii, in main()
91 manager->regions[ii]->vstart, in main()
92 manager->regions[ii]->vend, in main()
93 manager->regions[ii]->base_addr, in main()
94 manager->regions[ii]->file_offset, in main()
95 manager->regions[ii]->nsymbols, in main()
96 manager->regions[ii]->flags, in main()
97 manager->regions[ii]->path); in main()
98 int nsymbols = manager->regions[ii]->nsymbols; in main()
[all …]
Dtrace_reader.h58 for (int ii = 0; ii < nsymbols; ++ii) { in LookupFunctionByName() local
59 if (strcmp(symbols[ii].name, name) == 0) in LookupFunctionByName()
60 return &symbols[ii]; in LookupFunctionByName()
157 for (int ii = 0; ii < nregions; ii++) { in ~ProcessState() local
158 if (regions[ii]->refs > 0) { in ~ProcessState()
159 regions[ii]->refs -= 1; in ~ProcessState()
163 delete regions[ii]; in ~ProcessState()
168 for (int ii = 0; ii < argc; ++ii) in ~ProcessState() local
169 delete[] argv[ii]; in ~ProcessState()
282 for (int ii = 1; ii < kNumPids; ++ii) in TraceReader() local
[all …]
Dhist_trace.cpp50 for (int ii = 0; ii < kMaxHistEntries; ++ii) { in main() local
51 if (hist[ii] == 0) in main()
53 per = 100.0 * hist[ii] / total; in main()
54 sum += hist[ii]; in main()
56 printf(" %4d: %6d %6.2f %6.2f\n", ii - kMaxHistEntries2, hist[ii], per, sum_per); in main()
Dpost_trace.cpp53 for (uint32_t ii = 0; ii < num_static_bb; ++ii) { in main() local
54 trace->ReadStatic(&blocks[ii].bb); in main()
55 uint32_t num_insns = blocks[ii].bb.num_insns; in main()
57 blocks[ii].insns = new uint32_t[num_insns]; in main()
58 trace->ReadStaticInsns(num_insns, blocks[ii].insns); in main()
66 for (uint32_t ii = 0; ii < num_insns; ++ii, ++insn_ptr) { in main() local
68 uint32_t actual_num_insns = ii + 1; in main()
Dstack_dump.cpp52 for (int ii = 0; ii < stackLevel; ++ii) in push() local
66 for (int ii = 0; ii < stackLevel; ++ii) in pop() local
149 for (int ii = 0; ii < kMaxThreads; ++ii) { in main() local
150 if (stacks[ii]) in main()
151 stacks[ii]->popAll(event.time); in main()
Dread_elf.cpp109 for (int ii = 0; ii < num_entries; ++ii) { in AdjustElfSymbols() local
110 SwapElfSymbol(&elf_symbols[ii]); in AdjustElfSymbols()
186 for(int ii = 0; ii < hdr->e_shnum; ii++) { in FindSymbolTableSection() local
187 if (shdr[ii].sh_type == SHT_SYMTAB && in FindSymbolTableSection()
188 strcmp(GetSymbolName(shdr[ii].sh_name, string_table), in FindSymbolTableSection()
191 return &shdr[ii]; in FindSymbolTableSection()
201 for(int ii = 0; ii < hdr->e_shnum; ii++) { in FindSymbolStringTableSection() local
202 if (shdr[ii].sh_type == SHT_STRTAB && in FindSymbolStringTableSection()
203 strcmp(GetSymbolName(shdr[ii].sh_name, string_table), in FindSymbolStringTableSection()
206 return &shdr[ii]; in FindSymbolStringTableSection()
Dprofile_pid.cpp68 for (int ii = 0; ii < num_procs; ++ii) { in main() local
69 total_time += processes[ii].cpu_time; in main()
75 for (int ii = 0; ii < num_procs; ++ii, ++pstate) { in main() local
Dcoverage.cpp116 for (int ii = 0; ii < kMaxThreads; ++ii) { in main() local
117 if (stacks[ii]) in main()
118 stacks[ii]->popAll(event.time); in main()
128 for (int ii = 0; ii < nsyms; ++ii, ++psym) { in main() local
145 printf("#%d %5d %s %s %s\n", ii + 1, psym->numCalls, ksym, psym->name, in main()
Dhash_table.h56 for (int ii = 0; ii < size_; ++ii) in HashTable() local
57 table_[ii] = NULL; in HashTable()
66 for (int ii = 0; ii < size_; ++ii) { in ~HashTable() local
72 for (ptr = table_[ii]; ptr; ptr = next) { in ~HashTable()
89 for(int ii = 0; ii < len; ++key, ++ii) in HashFunction() local
Dread_pid.cpp52 for (int ii = 0; ii < event.argc; ++ii) { in main() local
53 printf(" argv[%d]: %s\n", ii, event.argv[ii]); in main()
54 delete[] event.argv[ii]; in main()
Dtrace_reader.cpp34 int ii, len, base_len, dir_len, path_len, qtrace_len; in CreateTracePath() local
49 for (ii = 0; ii < len; ++ii) { in CreateTracePath()
142 for (int ii = 0; ii < kMaxNumBasicBlocks - 1; ++ii) { in Open() local
143 futures_[ii].next = &futures_[ii + 1]; in Open()
502 for (int ii = 0; ii < argc; ++ii) { in ReadPidEvent() local
504 argv[ii] = new char[alen + 1]; in ReadPidEvent()
505 decoder_->Read(argv[ii], alen); in ReadPidEvent()
506 argv[ii][alen] = 0; in ReadPidEvent()
542 for (int ii = 0; ii < event->argc; ++ii) { in Dispose() local
543 delete[] event->argv[ii]; in Dispose()
[all …]
Dq2dm.cpp59 for (int ii = 0; ii < top; ii++) { in showStack() local
60 fprintf(stderr, " %d: %s\n", ii, frames[ii]->name); in showStack()
250 for (int ii = 0; ii < kMaxThreads; ++ii) { in main() local
251 if (stacks[ii]) { in main()
252 stacks[ii]->threadStart(event.time); in main()
253 stacks[ii]->popAll(event.time); in main()
Dprofile_trace.cpp103 for (int ii = 0; ii < nsyms; ++ii, ++sym) { in main() local
114 for (int ii = 0; ii < nsyms; ++ii, ++sym) { in main() local
Dread_method.cpp60 for (int ii = 0; ii < top; ii++) { in dump() local
61 pframe = frames[ii]; in dump()
64 native, ii, pframe->time, pframe->addr, in dump()
Ddump_regions.cpp44 for (int ii = 0; ii < num_procs; ++ii, ++pstate) { in main() local
Dcheck_trace.cpp54 for (int ii = 1; ii < event.num_insns; ++ii) { in main() local
Dcallstack.h647 for (int ii = mTop - 1; ii >= stackLevel; --ii) in doPop() local
716 for (int ii = mTop - 1; ii >= stackLevel; --ii) in doMethodPop() local
764 for (int ii = 0; ii < mTop; ++ii) { in showStack() local
765 uint32_t addr = mFrames[ii].function->addr; in showStack()
766 addr += mFrames[ii].function->region->vstart; in showStack()
768 ii, mFrames[ii].time, mFrames[ii].global_time, in showStack()
769 mFrames[ii].flags, in showStack()
770 mFrames[ii].addr, addr, in showStack()
771 mFrames[ii].function->name); in showStack()
Ddecoder.cpp229 for (int ii = 1; ii < len; ++ii) { in Decode() local
Darmdis.cpp295 for (int ii = 0; ii < 16; ++ii) { in disasm_memblock() local
296 if (reg_list & (1 << ii)) { in disasm_memblock()
297 sprintf(tmp_reg, "%sr%d", comma, ii); in disasm_memblock()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/
DREADME.txt29 ii. "Arguments" tab:
92 ii. "Environment" tab:
DNOTICE17 ii) additions to the Program;
25 under their own license agreement, and (ii) are not derivative works of
91 ii) effectively excludes on behalf of all Contributors all liability for

12