Searched refs:xlator (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_ehdr.c | 47 _libelf_translator_function *xlator; in _libelf_load_extended() local 67 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec, in _libelf_load_extended() 69 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_extended() 112 int (*xlator)(unsigned char *_d, size_t _dsz, unsigned char *_s, in _libelf_ehdr() local 173 xlator = _libelf_get_translator(ELF_T_EHDR, ELF_TOMEMORY, ec, in _libelf_ehdr() 175 (*xlator)((unsigned char*) ehdr, msz, e->e_rawfile, (size_t) 1, in _libelf_ehdr()
|
H A D | libelf_xlate.c | 53 _libelf_translator_function *xlator; in _libelf_xlate() local 141 xlator = _libelf_get_translator(src->d_type, direction, elfclass, in _libelf_xlate() 143 if (!xlator(dst->d_buf, dsz, src->d_buf, cnt, byteswap)) { in _libelf_xlate()
|
H A D | libelf_phdr.c | 45 _libelf_translator_function *xlator; in _libelf_getphdr() local 104 xlator = _libelf_get_translator(ELF_T_PHDR, ELF_TOMEMORY, ec, in _libelf_getphdr() 106 (*xlator)(phdr, phnum * msz, e->e_rawfile + phoff, phnum, in _libelf_getphdr()
|
H A D | elf_scn.c | 67 _libelf_translator_function *xlator; in _libelf_load_section_headers() local 100 xlator = _libelf_get_translator(ELF_T_SHDR, ELF_TOMEMORY, ec, in _libelf_load_section_headers() 124 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_section_headers()
|