Lines Matching refs:i
97 for (uint64_t i = 0; i < entry_count; ++i) in read_map() local
99 if (strcmp(symbol_table[i].symbol, "_text")==0) in read_map()
100 text_vaddr = symbol_table[i].vaddr; in read_map()
101 if (strcmp(symbol_table[i].symbol, "_etext")==0) in read_map()
102 etext_vaddr = symbol_table[i].vaddr; in read_map()
122 for (uint64_t i = 0; i < entry_count; ++i) in generate_result() local
125 if (!symbol_to_write(symbol_table[i].vaddr, text_vaddr, etext_vaddr)) in generate_result()
128 if (symbol_table[i].vaddr == last_vaddr) in generate_result()
132 printf("\t.quad\t%#llx\n", symbol_table[i].vaddr); in generate_result()
135 last_vaddr = symbol_table[i].vaddr; in generate_result()
154 for (uint64_t i = 0; i < entry_count; ++i) in generate_result() local
157 if (!symbol_to_write(symbol_table[i].vaddr, text_vaddr, etext_vaddr)) in generate_result()
160 if (symbol_table[i].vaddr == last_vaddr) in generate_result()
165 position += symbol_table[i].symbol_length; in generate_result()
166 last_vaddr = symbol_table[i].vaddr; in generate_result()
177 for (uint64_t i = 0; i < entry_count; ++i) in generate_result() local
180 if (!symbol_to_write(symbol_table[i].vaddr, text_vaddr, etext_vaddr)) in generate_result()
183 if (symbol_table[i].vaddr == last_vaddr) in generate_result()
187 printf("\t.asciz\t\"%s\"\n", symbol_table[i].symbol); in generate_result()
189 last_vaddr = symbol_table[i].vaddr; in generate_result()