• Home
  • Raw
  • Download

Lines Matching refs:index

134 	int index = ins->symbol_table.nsymbols,i;  in find_free_symbol_index()  local
138 index = i; in find_free_symbol_index()
143 return index; in find_free_symbol_index()
192 int index; in add_symbol() local
206 index = find_free_symbol_index (ins); in add_symbol()
208 strcpy (ins->symbol_table.symbols[index].symbol_name, symbol_name); in add_symbol()
209 ins->symbol_table.symbols[index].address = address; in add_symbol()
210 ins->symbol_table.symbols[index].symbol_type = type; in add_symbol()
211 ins->symbol_table.symbols[index].module = NULL; in add_symbol()
212 ins->symbol_table.symbols[index].deleted = 0; in add_symbol()
213 symbol = (ins->symbol_table.symbols + index); in add_symbol()
215 if (index > ins->symbol_table.highest_frag_index) in add_symbol()
216 ins->symbol_table.highest_frag_index = index; in add_symbol()
218 if (index == ins->symbol_table.nsymbols) in add_symbol()
944 int index = ins->nscb, i; in find_free_scb_index() local
948 index = i; in find_free_scb_index()
953 return index; in find_free_scb_index()
960 int index; in _map_scb() local
967 index = find_free_scb_index (ins); in _map_scb()
969 memset(&ins->scbs[index], 0, sizeof(ins->scbs[index])); in _map_scb()
970 strcpy(ins->scbs[index].scb_name, name); in _map_scb()
971 ins->scbs[index].address = dest; in _map_scb()
972 ins->scbs[index].index = index; in _map_scb()
973 ins->scbs[index].ref_count = 1; in _map_scb()
975 desc = (ins->scbs + index); in _map_scb()
976 ins->scbs[index].scb_symbol = add_symbol (chip, name, dest, SYMBOL_PARAMETER); in _map_scb()
978 if (index > ins->scb_highest_frag_index) in _map_scb()
979 ins->scb_highest_frag_index = index; in _map_scb()
981 if (index == ins->nscb) in _map_scb()
1006 ins->tasks[ins->ntask].index = ins->ntask; in _map_task_tree()