Lines Matching refs:nlist
36 #include <mach-o/nlist.h>
196 struct nlist *fSymbol;
203 struct nlist *fSymbol;
211 const struct nlist *fVTableSym;
229 struct nlist *fSymbolBase;
230 struct nlist *fLocalSyms;
252 static const struct nlist *
390 symbolname(const struct fileRecord *file, const struct nlist *sym)
538 struct nlist ** syms =
539 (struct nlist **)DataGetPtr(file->fNewSymbols);
541 count = DataGetLength(file->fNewSymbols) / sizeof(struct nlist *);
695 swap_nlist((struct nlist *) (((vm_offset_t) mh) + ((struct symtab_command *) seg)->symoff),
743 swap_nlist((struct nlist *) (((vm_offset_t) mh) + ((struct symtab_command *) seg)->symoff),
906 const struct nlist *sym;
979 struct nlist *sym;
989 file->fSymbolBase = (struct nlist *)
998 file->fSymbolBase = (struct nlist *)
1047 struct nlist *patchsym = sym;
1049 const struct nlist * realsym;
1175 static struct nlist *
1179 struct nlist *sym;
1203 static struct nlist *
1219 struct nlist * result;
1239 const struct nlist *sym = (const struct nlist *) vSym;
1244 static const struct nlist *
1250 const struct nlist *sym;
1264 return (const struct nlist *)
1266 file->fLocalSyms, file->fNLocal, sizeof(struct nlist),
1274 struct nlist *symbol;
1382 static const struct nlist *
1386 const struct nlist * result;
1482 recordClass(struct fileRecord *file, const char *cname, const struct nlist *sym)
1497 const struct nlist *supersym;
1574 const struct nlist *sym;
1700 // base address. The offset is so that we can add nlist::n_values directly
1703 getSectionForSymbol(const struct fileRecord *file, const struct nlist *symb,
1868 static struct nlist *
1873 struct nlist **sym;
1874 struct nlist *msym;
1885 size = DataGetLength(file->fNewSymbols) / sizeof(struct nlist *);
1886 sym = (struct nlist **) DataGetPtr(file->fNewSymbols);
1921 msym = (struct nlist *) malloc(sizeof(struct nlist));
1949 static struct nlist *
1954 struct nlist *sym = (struct nlist *) reloc->fSymbol;
1981 const struct nlist *classsym,
2086 struct nlist *symbol;
2103 symbol = (struct nlist *) (*curReloc)->fSymbol;
2143 curPatch->fSymbol = (struct nlist *) (*curReloc)->fSymbol;
2249 // Rebase the cached-in object 'struct nlist' pointer for all symbols
2252 // Rebase the cached-in object 'struct nlist' pointer for local symbols
2303 struct nlist **symp, *sym;
2336 struct nlist *repairSym;
2347 repairSym = (struct nlist *) rec->fSymbol;
2377 symp = (struct nlist **) DataGetPtr(file->fNewSymbols);
2383 numnewsyms /= sizeof(struct nlist *);
2393 newsymsize = numnewsyms * sizeof(struct nlist);
2466 + (file->fSymtab->nsyms - numnewsyms) * sizeof(struct nlist);
2467 symp = (struct nlist **) DataGetPtr(file->fNewSymbols);
2468 for (i = 0; i < numnewsyms; i++, base += sizeof(struct nlist), symp++)
2469 bcopy(*symp, base, sizeof(struct nlist));
2674 const struct nlist *sym;
2818 const struct nlist *sym1 = vSym1;
2819 const struct nlist *sym2 = vSym2;
2868 heapsort((void *) file->fLocalSyms, nsyms, sizeof(struct nlist),