Lines Matching refs:stroff
858 u_long *stroff, u_long strsize) in kxld_sym_export_macho_32() argument
868 check(stroff); in kxld_sym_export_macho_32()
871 require_action((u_long)bytes <= strsize - *stroff, finish, in kxld_sym_export_macho_32()
877 nl->n_un.n_strx = (uint32_t) *stroff; in kxld_sym_export_macho_32()
883 str = (char *) (strtab + *stroff); in kxld_sym_export_macho_32()
884 strlcpy(str, sym->name, strsize - *stroff); in kxld_sym_export_macho_32()
886 *stroff += bytes; in kxld_sym_export_macho_32()
899 u_long *stroff, u_long strsize) in kxld_sym_export_macho_64() argument
909 check(stroff); in kxld_sym_export_macho_64()
912 require_action((u_long)bytes <= strsize - *stroff, finish, in kxld_sym_export_macho_64()
918 nl->n_un.n_strx = (uint32_t) *stroff; in kxld_sym_export_macho_64()
924 str = (char *) (strtab + *stroff); in kxld_sym_export_macho_64()
926 strlcpy(str, sym->name, strsize - *stroff); in kxld_sym_export_macho_64()
928 *stroff += bytes; in kxld_sym_export_macho_64()