Lines Matching defs: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.
105 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen)
107 return (zlib.z_uncompress(dst, (ulong_t *)dstlen, src, srclen));
120 ehdr_to_gelf(const Elf32_Ehdr *src, GElf_Ehdr *dst)
122 bcopy(src->e_ident, dst->e_ident, EI_NIDENT);
123 dst->e_type = src->e_type;
124 dst->e_machine = src->e_machine;
125 dst->e_version = src->e_version;
126 dst->e_entry = (Elf64_Addr)src->e_entry;
127 dst->e_phoff = (Elf64_Off)src->e_phoff;
128 dst->e_shoff = (Elf64_Off)src->e_shoff;
129 dst->e_flags = src->e_flags;
130 dst->e_ehsize = src->e_ehsize;
131 dst->e_phentsize = src->e_phentsize;
132 dst->e_phnum = src->e_phnum;
133 dst->e_shentsize = src->e_shentsize;
134 dst->e_shnum = src->e_shnum;
135 dst->e_shstrndx = src->e_shstrndx;
142 shdr_to_gelf(const Elf32_Shdr *src, GElf_Shdr *dst)
144 dst->sh_name = src->sh_name;
145 dst->sh_type = src->sh_type;
146 dst->sh_flags = src->sh_flags;
147 dst->sh_addr = src->sh_addr;
148 dst->sh_offset = src->sh_offset;
149 dst->sh_size = src->sh_size;
150 dst->sh_link = src->sh_link;
151 dst->sh_info = src->sh_info;
152 dst->sh_addralign = src->sh_addralign;
153 dst->sh_entsize = src->sh_entsize;