Lines Matching refs:src
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
103 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen)
105 return (zlib.z_uncompress(dst, (ulong_t *)dstlen, src, srclen));
118 ehdr_to_gelf(const Elf32_Ehdr *src, GElf_Ehdr *dst)
120 bcopy(src->e_ident, dst->e_ident, EI_NIDENT);
121 dst->e_type = src->e_type;
122 dst->e_machine = src->e_machine;
123 dst->e_version = src->e_version;
124 dst->e_entry = (Elf64_Addr)src->e_entry;
125 dst->e_phoff = (Elf64_Off)src->e_phoff;
126 dst->e_shoff = (Elf64_Off)src->e_shoff;
127 dst->e_flags = src->e_flags;
128 dst->e_ehsize = src->e_ehsize;
129 dst->e_phentsize = src->e_phentsize;
130 dst->e_phnum = src->e_phnum;
131 dst->e_shentsize = src->e_shentsize;
132 dst->e_shnum = src->e_shnum;
133 dst->e_shstrndx = src->e_shstrndx;
140 shdr_to_gelf(const Elf32_Shdr *src, GElf_Shdr *dst)
142 dst->sh_name = src->sh_name;
143 dst->sh_type = src->sh_type;
144 dst->sh_flags = src->sh_flags;
145 dst->sh_addr = src->sh_addr;
146 dst->sh_offset = src->sh_offset;
147 dst->sh_size = src->sh_size;
148 dst->sh_link = src->sh_link;
149 dst->sh_info = src->sh_info;
150 dst->sh_addralign = src->sh_addralign;
151 dst->sh_entsize = src->sh_entsize;