Home | History | Annotate | Download | only in libelf

Lines Matching refs:src

46 elfw2(LIBELFBITS, xlatetom) (Elf_Data *dest, const Elf_Data *src,
54 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
56 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
63 if (src->d_type != ELF_T_NHDR
64 && src->d_size % recsize != 0)
71 if (src->d_size > dest->d_size)
99 if (src->d_buf != dest->d_buf)
100 memmove (dest->d_buf, src->d_buf, src->d_size);
110 fctp = __elf_xfctstom[src->d_version - 1][dest->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
112 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
116 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 0);
121 dest->d_type = src->d_type;
122 dest->d_size = src->d_size;