Searched defs:ndx (Results 1 - 25 of 150) sorted by relevance

123456

/illumos-gate/usr/src/cmd/trapstat/capabilities/sun4/
H A Dgettrapent.c676 get_trap_ent(int ndx) argument
678 return (&g_traps[ndx]);
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_convrelstr.c91 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 Dkobj_convrelstr.c64 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 Dkobj_convrelstr.c67 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 Dstrptr.c38 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 Dargs.c31 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 Ddynamic.c44 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 Dentry.c80 Aliste ndx; local
88 for (APLIST_TRAVERSE(alp, ndx, enp)) {
89 dbg_print(lml, MSG_INTL(MSG_ECR_DESC), EC_WORD(ndx));
H A Dsupport.c74 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 Dsyminfo.c40 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 Dshdr.c62 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 Dtls.c79 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 Dcap.c213 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 Dgot.c128 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 Dacom.c76 int ndx; local
93 ndx = data->d_off + data->d_size;
118 shdr.sh_name = ndx;
H A Ddcom.c93 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 Dsyms.c88 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 Dmbh_patch.c59 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 Dldentry.c190 Aliste ndx; local
199 for (APLIST_TRAVERSE(ofl->ofl_ents, ndx, enp)) {
H A Dsunwmove.c193 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 Dorder.c155 * 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 Dprocess.c93 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 Dalist.c254 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 Delfedit_machelf.c129 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 Delfwrap.c72 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;

Completed in 78 milliseconds

123456