Lines Matching defs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
459 Elf_Data dst, src;
533 src.d_buf = (Elf_Void *)eh;
534 src.d_type = ELF_T_EHDR;
535 src.d_size = sizeof (Ehdr);
536 src.d_version = EV_CURRENT;
540 if (elf_xlatetof(&dst, &src, encode) == 0)
553 * in the user version. Change src buffer
557 src.d_buf = (Elf_Void *)elf->ed_phdr;
558 src.d_type = ELF_T_PHDR;
559 src.d_size = elf->ed_phdrsz;
561 src.d_version = work;
565 if (elf_xlatetof(&dst, &src, encode) == 0) {
570 src.d_version = EV_CURRENT;
674 src.d_type = ELF_T_SHDR;
675 src.d_size = sizeof (Shdr);
682 src.d_buf = s->s_shdr;
684 if (elf_xlatetof(&dst, &src, encode) == 0) {
860 Elf_Data dst, src;
877 src.d_buf = dst.d_buf = (Elf_Void *)eh;
878 src.d_type = dst.d_type = ELF_T_EHDR;
879 src.d_size = dst.d_size = sizeof (Ehdr);
880 src.d_version = dst.d_version = ver;
881 if (elf_xlatetof(&dst, &src, encode) == 0) {
897 src.d_buf = dst.d_buf = (Elf_Void *)elf->ed_phdr;
898 src.d_type = dst.d_type = ELF_T_PHDR;
899 src.d_size = dst.d_size = elf->ed_phdrsz;
901 src.d_version = dst.d_version = work;
902 if (elf_xlatetof(&dst, &src, encode) == 0) {
945 src.d_type = dst.d_type = ELF_T_SHDR;
946 src.d_version = dst.d_version = ver;
948 src.d_buf = dst.d_buf = s->s_shdr;
949 src.d_size = dst.d_size = sizeof (Shdr);
950 if (elf_xlatetof(&dst, &src, encode) == 0) {