Home | History | Annotate | Download | only in libelf

Lines Matching refs:src

34 elfw2(LIBELFBITS, xlatetom) (dest, src, encode)
36 const Elf_Data *src;
44 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
46 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
50 if (src->d_size % recsize != 0)
57 if (src->d_size > dest->d_size)
85 if (src->d_buf != dest->d_buf)
86 memmove (dest->d_buf, src->d_buf, src->d_size);
96 fctp = __elf_xfctstom[src->d_version - 1][dest->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
98 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
102 (*fctp) (dest->d_buf, src->d_buf, src->d_size, 0);
107 dest->d_type = src->d_type;
108 dest->d_size = src->d_size;