Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 6 of 6) sorted by relevance

/xnu-11417.121.6/SETUP/kextsymboltool/
H A Dkextsymboltool.c856 struct nlist_64 nl; in main() local
858 nl.n_sect = 0; in main()
859 nl.n_desc = 0; in main()
860 nl.n_un.n_strx = strx; in main()
864 nl.n_desc |= N_DESC_DISCARDED; in main()
868 nl.n_type = N_INDR | N_EXT; in main()
869 nl.n_value = strx; in main()
872 nl.n_type = N_UNDF | N_EXT; in main()
873 nl.n_value = 0; in main()
877 swap_nlist_64(&nl, 1, target_arch->byteorder); in main()
[all …]
/xnu-11417.121.6/libkern/kxld/
H A Dkxld_sym.c861 struct nlist *nl = (struct nlist *) ((void *) _nl); in kxld_sym_export_macho_32() local
866 check(nl); in kxld_sym_export_macho_32()
874 nl->n_type = sym->type; in kxld_sym_export_macho_32()
875 nl->n_sect = (kxld_sym_is_section(sym)) ? sym->relocated_sectnum + 1 : 0; in kxld_sym_export_macho_32()
876 nl->n_desc = sym->desc; in kxld_sym_export_macho_32()
877 nl->n_un.n_strx = (uint32_t) *stroff; in kxld_sym_export_macho_32()
878 nl->n_value = (uint32_t) sym->link_addr; in kxld_sym_export_macho_32()
880 nl->n_value &= ~0x1U; in kxld_sym_export_macho_32()
902 struct nlist_64 *nl = (struct nlist_64 *) ((void *) _nl); in kxld_sym_export_macho_64() local
907 check(nl); in kxld_sym_export_macho_64()
[all …]
H A Dkxld_symtab.c440 u_char *nl = NULL; in kxld_symtab_export_macho() local
486 nl = buf + symtabhdr->symoff; in kxld_symtab_export_macho()
495 sym, nl, strtab, &stroff, symtabhdr->strsize); in kxld_symtab_export_macho()
498 nl += nlistsize; in kxld_symtab_export_macho()
H A Dkxld_sym.h229 kern_return_t kxld_sym_export_macho_32(const KXLDSym *sym, u_char *nl,
235 kern_return_t kxld_sym_export_macho_64(const KXLDSym *sym, u_char *nl,
/xnu-11417.121.6/SETUP/config/
H A Dmkmakefile.c828 const char *nl = ""; in do_rules() local
890 source_dir, (int)(tp - np), np, nl); in do_rules()
891 fprintf(f, "\t${S_RULE_2}%s\n", nl); in do_rules()
925 source_dir, (int)(tp - np), np, och_upper, extras, nl); in do_rules()
927 fprintf(f, "\t${%c_RULE_2%s}%s\n", och_upper, extras, nl); in do_rules()
928 fprintf(f, "\t${%c_RULE_3%s}%s\n", och_upper, extras, nl); in do_rules()
929 fprintf(f, "\t${%c_RULE_4%s}%s\n", och_upper, extras, nl); in do_rules()
/xnu-11417.121.6/bsd/vfs/
H A Dvfs_attrlist.c957 getattrlist_findnamecomp(const char *mn, const char **np, ssize_t *nl) in getattrlist_findnamecomp() argument
967 *nl = 0; in getattrlist_findnamecomp()
979 *nl = cp - *np; in getattrlist_findnamecomp()
986 *nl = cp - *np; in getattrlist_findnamecomp()