Lines Matching refs:ndx

213     Word ndx, Word cnt, PRINT_SHDR_T print_type)  in print_shdr()  argument
219 elfedit_section_t *ref_sec = &argstate->obj_state->os_secarr[ndx]; in print_shdr()
233 for (; cnt--; ndx++) { in print_shdr()
234 elfedit_section_t *sec = &argstate->obj_state->os_secarr[ndx]; in print_shdr()
256 elfedit_printf(MSG_INTL(MSG_ELF_SHDR), ndx, in print_shdr()
362 Word ndx; in cmd_body() local
383 ndx = elfedit_atoshndx(argstate.argv[0], obj_state->os_shnum); in cmd_body()
386 ndx = elfedit_type_to_shndx(obj_state, in cmd_body()
390 ndx = elfedit_name_to_shndx(obj_state, argstate.argv[0]); in cmd_body()
399 1 : obj_state->os_shnum - ndx; in cmd_body()
400 print_shdr(cmd, 0, &argstate, ndx, cnt, print_type); in cmd_body()
410 if (ndx == 0) in cmd_body()
414 shdr_sec = &obj_state->os_secarr[ndx]; in cmd_body()
429 ndx, shdr_sec->sec_name, in cmd_body()
435 ndx, shdr_sec->sec_name, in cmd_body()
457 ndx, shdr_sec->sec_name, in cmd_body()
463 ndx, shdr_sec->sec_name, in cmd_body()
481 ndx, shdr_sec->sec_name, in cmd_body()
487 ndx, shdr_sec->sec_name, in cmd_body()
523 ndx, shdr_sec->sec_name, in cmd_body()
530 ndx, shdr_sec->sec_name, in cmd_body()
559 ndx, shdr_sec->sec_name, in cmd_body()
565 ndx, shdr_sec->sec_name, in cmd_body()
591 ndx, shdr_sec->sec_name, in cmd_body()
597 ndx, shdr_sec->sec_name, in cmd_body()
624 ndx, shdr_sec->sec_name, in cmd_body()
640 ndx, shdr_sec->sec_name, in cmd_body()
657 ndx, shdr_sec->sec_name, in cmd_body()
663 ndx, shdr_sec->sec_name, in cmd_body()
681 ndx, shdr_sec->sec_name, in cmd_body()
687 ndx, shdr_sec->sec_name, in cmd_body()
706 ndx, shdr_sec->sec_name, in cmd_body()
713 ndx, shdr_sec->sec_name, in cmd_body()
733 print_shdr(cmd, 1, &argstate, ndx, 1, PRINT_SHDR_ALL); in cmd_body()
758 Word ndx; in cpl_1starg_sec() local
764 for (ndx = 0; ndx < num_opt; ndx++) { in cpl_1starg_sec()
765 if (strcmp(argv[ndx], MSG_ORIG(MSG_STR_MINUS_SHNDX)) == 0) in cpl_1starg_sec()
767 else if (strcmp(argv[ndx], MSG_ORIG(MSG_STR_MINUS_SHTYP)) == 0) in cpl_1starg_sec()
776 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec++) in cpl_1starg_sec()
815 Word ndx; in cpl_sh_infolink() local
824 for (ndx = 0; ndx < num_opt; ndx++) { in cpl_sh_infolink()
825 if (strcmp(argv[ndx], MSG_ORIG(MSG_STR_MINUS_VALUE_SHNAM)) == 0) in cpl_sh_infolink()
827 else if (strcmp(argv[ndx], in cpl_sh_infolink()
837 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec++) in cpl_sh_infolink()