• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/libkern/kxld/

Lines Matching refs:offset

154 static u_long get_macho_cmd_data_32(u_char *file, u_long offset, 
160 static u_long get_macho_cmd_data_64(u_char *file, u_long offset,
459 require_action(size >= arch->offset + arch->size, finish,
463 object->file = file + arch->offset;
509 u_long offset = 0;
522 object->file, offset, &filetype, &ncmds);
526 offset = base_offset;
527 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
528 cmd_hdr = (struct load_command *) ((void *) (object->file + offset));
576 offset = base_offset;
577 for (i = 0; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
578 cmd_hdr = (struct load_command *) ((void *) (object->file + offset));
596 sect_offset = offset + sizeof(*seg_hdr);
614 sect_offset = offset + sizeof(*seg_hdr);
837 u_long offset = 0;
852 KXLD_3264_FUNC(kxld_object_is_32_bit(object), offset,
854 object->file, offset, &filetype, &ncmds);
864 for (; i < ncmds; ++i, offset += cmd_hdr->cmdsize) {
865 cmd_hdr = (struct load_command *) ((void *) (object->file + offset));
892 sect_offset = offset + sizeof(*seg_hdr);
921 sect_offset = offset + sizeof(*seg_hdr);
1015 get_macho_cmd_data_32(u_char *file, u_long offset, u_int *filetype, u_int *ncmds)
1017 struct mach_header *mach_hdr = (struct mach_header *) ((void *) (file + offset));
1031 get_macho_cmd_data_64(u_char *file, u_long offset, u_int *filetype, u_int *ncmds)
1033 struct mach_header_64 *mach_hdr = (struct mach_header_64 *) ((void *) (file + offset));
1214 uint32_t offset = 0;
1230 offset = kxld_sym_get_section_offset(sym, sect);
1231 reloc = kxld_reloc_get_reloc_by_offset(&sect->relocs, offset);
2038 /* Process relocation entries and populate the global offset table.
2086 * Final linked images create an __nl_symbol_ptr section for the global offset
2120 /* Calculate the table offset and number of entries in the section */
2140 * their offset from the start of the file in the section. Simply