Lines Matching refs:current_byte_index
2196 bfd_size_type current_byte_index = 0; in do_with_relocs() local
2227 while (current_byte_index < s->size) in do_with_relocs()
2233 if (run > s->size - current_byte_index) in do_with_relocs()
2234 run = s->size - current_byte_index; in do_with_relocs()
2243 if (bfd_bwrite ((void *) (stream + current_byte_index), run, abfd) in do_with_relocs()
2246 current_byte_index += run; in do_with_relocs()
2265 while (current_byte_index < s->size) in do_with_relocs()
2272 run = (*p)->address - current_byte_index; in do_with_relocs()
2279 if (run > s->size - current_byte_index) in do_with_relocs()
2280 run = s->size - current_byte_index; in do_with_relocs()
2287 if (bfd_bwrite ((void *) (stream + current_byte_index), run, abfd) in do_with_relocs()
2290 current_byte_index += run; in do_with_relocs()
2294 if (relocs_to_go && (*p) && (*p)->address == current_byte_index) in do_with_relocs()
2297 && (*p) && (*p)->address == current_byte_index) in do_with_relocs()
2305 stream + current_byte_index); in do_with_relocs()
2306 current_byte_index += 4; in do_with_relocs()
2310 stream + current_byte_index); in do_with_relocs()
2311 current_byte_index += 2; in do_with_relocs()
2315 stream + current_byte_index); in do_with_relocs()
2316 current_byte_index++; in do_with_relocs()