/illumos-gate/usr/src/cmd/trapstat/capabilities/sun4/ |
H A D | gettrapent.c | 676 get_trap_ent(int ndx) argument 678 return (&g_traps[ndx]);
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_convrelstr.c | 91 int ndx = 31; local 96 strbuf[ndx--] = '\0'; 98 strbuf[ndx--] = '0' + (type % 10); 100 } while ((ndx >= (int)0) && (type > (Word)0)); 102 return (&strbuf[ndx + 1]);
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_convrelstr.c | 64 int ndx = 31; local 69 strbuf[ndx--] = '\0'; 71 strbuf[ndx--] = '0' + (type % 10); 73 } while ((ndx >= (int)0) && (type > (Word)0)); 75 return (&strbuf[ndx + 1]);
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_convrelstr.c | 67 int ndx = 31; local 72 strbuf[ndx--] = '\0'; 74 strbuf[ndx--] = '0' + (type % 10); 76 } while ((ndx >= (int)0) && (type > (Word)0)); 78 return (&strbuf[ndx + 1]);
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | strptr.c | 38 elf_strptr(Elf * elf, size_t ndx, size_t off) argument 46 if ((s = elf_getscn(elf, ndx)) == 0) {
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | args.c | 31 Dbg_args_option(Lm_list *lml, int ndx, int c, char *optarg) argument 37 dbg_print(lml, MSG_INTL(MSG_ARG_OPTARG), ndx, c, optarg); 39 dbg_print(lml, MSG_INTL(MSG_ARG_OPTION), ndx, c); 43 Dbg_args_str2chr(Lm_list *lml, int ndx, const char *opt, int c) argument 48 dbg_print(lml, MSG_INTL(MSG_ARG_STR2CHR), ndx, opt, c); 52 Dbg_args_Wldel(Lm_list *lml, int ndx, const char *opt) argument 57 dbg_print(lml, MSG_INTL(MSG_ARG_WLDEL), ndx, opt); 61 Dbg_args_file(Lm_list *lml, int ndx, char *file) argument 66 dbg_print(lml, MSG_INTL(MSG_ARG_FILE), ndx, file);
|
H A D | dynamic.c | 44 Elf_dyn_entry(Lm_list *lml, Dyn *dyn, int ndx, const char *name, argument 50 (void) snprintf(index, sizeof (index), MSG_ORIG(MSG_FMT_INDEX), ndx);
|
H A D | entry.c | 80 Aliste ndx; local 88 for (APLIST_TRAVERSE(alp, ndx, enp)) { 89 dbg_print(lml, MSG_INTL(MSG_ECR_DESC), EC_WORD(ndx));
|
H A D | support.c | 74 Support_ndx ndx, const char *name) 83 if (ndx == LDS_START) 85 else if ((ndx == LDS_OPEN) || (ndx == LDS_FILE)) 87 else if (ndx == LDS_INSEC) 89 else if (ndx == LDS_SEC) 92 if ((ndx == LDS_ATEXIT) || (ndx == LDS_VERSION) || 93 (ndx == LDS_INPUT_DONE)) 73 Dbg_support_action(Lm_list *lml, const char *obj, const char *func, Support_ndx ndx, const char *name) argument
|
H A D | syminfo.c | 40 Elf_syminfo_entry(Lm_list *lml, Word ndx, Syminfo *sip, const char *name, argument 125 (void) snprintf(sndxstr, NDXSZ, MSG_ORIG(MSG_FMT_INDEX), ndx);
|
H A D | shdr.c | 62 Word ndx, Shdr *oshdr, Shdr *nshdr, const char *name) 74 dbg_fmt_isec_name2(name, ndx, buf, &alloc_mem), obj); 61 Dbg_shdr_modified(Lm_list *lml, const char *obj, uchar_t osabi, Half mach, Word ndx, Shdr *oshdr, Shdr *nshdr, const char *name) argument
|
H A D | tls.c | 79 ulong_t ndx; local 84 for (ndx = 0; tlsmodlist[ndx]; ndx++) { 85 dbg_print(lml, MSG_INTL(MSG_TLS_STATBLOCK1), ndx, 86 tlsmodlist[ndx]->tm_modname); 87 Dbg_tls_modent(lml, tlsmodlist[ndx]);
|
H A D | cap.c | 213 Elf_cap_entry(Lm_list *lml, Cap *cap, int ndx, const char *str, size_t str_size, argument 220 (void) snprintf(index, INDEX_STR_SIZE, MSG_ORIG(MSG_FMT_INDEX), ndx);
|
H A D | got.c | 128 Elf_got_entry(Lm_list *lml, Sword ndx, Addr addr, Xword value, Half mach, argument 139 EC_SWORD(ndx));
|
/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | acom.c | 76 int ndx; local 93 ndx = data->d_off + data->d_size; 118 shdr.sh_name = ndx;
|
H A D | dcom.c | 93 int tfd, *shndx, ndx = 1, off = 0; local 142 shndx[ndx] = -1; 158 shndx[ndx] = ndx - off; 159 ndx++; 195 ndx = 1; 201 if (shndx[ndx] == -1) { 202 ndx++; 242 tshdr.sh_info = shndx[ndx]; 263 ndx [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 88 Word num, ndx; local 98 for (ndx = 1, info++; ndx < num; ndx++, info++) { 102 if (alist_append(nodirect, &ndx, sizeof (Word), 20) == 0)
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 59 int ndx, mem; local 105 for (ndx = 0; ndx < eh->e_phnum; ndx++) { 107 phdr = (Elf64_Phdr *)(phdrs + eh->e_phentsize * ndx);
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldentry.c | 190 Aliste ndx; local 199 for (APLIST_TRAVERSE(ofl->ofl_ents, ndx, enp)) {
|
H A D | sunwmove.c | 193 Xword ndx = ELF_M_SYM(mvp->m_info); local 197 if ((ndx >= (Xword) isp->is_file->ifl_symscnt) || 198 (ndx == 0)) { 215 sdp = isp->is_file->ifl_oldndx[ndx];
|
H A D | order.c | 155 * ndx - Section index of SHF_ORDERED section 157 * name is different than the section given by ndx, *alt_os_name 164 * given by ndx, then *alt_os_name is set to its name. TRUE is returned. 169 validate_shf_ordered_dest(Ofl_desc *ofl, Ifl_desc *ifl, Word ndx, argument 182 isp1_ndx = ndx; 183 isp1 = ifl->ifl_isdesc[ndx]; 247 DBG_CALL(Dbg_sec_order_error(ofl->ofl_lml, ifl, ndx, error)); 256 if (isp2_ndx != ndx) 287 * ndx - Section index of SHF_ORDERED section 293 Word ndx) 292 ld_process_ordered(Ofl_desc *ofl, Ifl_desc *ifl, Place_path_info *path_info, Word ndx) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 93 size_t ndx = 0, shnum = 0; local 128 if (elf_getshdrstrndx(elf, &ndx) == -1) 172 name = elf_strptr(elf, ndx, (size_t)shdr.sh_name);
|
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | alist.c | 254 Aliste ndx = ((*lpp) == NULL) ? 0 : (*lpp)->al_nitems; local 256 return (alist_insert(lpp, datap, size, init_arritems, ndx)); 262 Aliste ndx = ((*lpp) == NULL) ? 0 : (*lpp)->apl_nitems; local 264 return (aplist_insert(lpp, ptr, init_arritems, ndx));
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit_machelf.c | 129 uint_t ndx; local 178 for (ndx = 1, scn = NULL; scn = elf_nextscn(tstate.os_elf, scn); 179 ndx++) { 187 tstate.os_dynndx = ndx; 201 symtabndx[tstate.os_symtabnum++] = ndx; 260 for (ndx = 0; ndx < obj_state->os_symtabnum; ndx++) 261 obj_state->os_symtab[ndx].symt_shndx = symtabndx[ndx]; [all...] |
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/ |
H A D | elfwrap.c | 72 size_t ndx, cnt; local 81 for (ndx = 1; argc; argc--, argv++, ndx++) { 98 outsec.os_ndx = ndx; 169 ndx++, stdsecs = &StdSecs[cnt]) { 177 outsec.os_ndx = ndx;
|