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.
1227 ea_copy_object(const ea_object_t *src)
1235 bcopy(src, dst, sizeof (ea_object_t));
1238 switch (src->eo_type) {
1245 switch (src->eo_catalog & EXT_TYPE_MASK) {
1247 if (src->eo_item.ei_string != NULL) {
1249 ea_strdup(src->eo_item.ei_string);
1257 if (src->eo_item.ei_raw != NULL) {
1259 ea_alloc(src->eo_item.ei_size);
1264 bcopy(src->eo_item.ei_raw, dst->eo_item.ei_raw,
1265 (size_t)src->eo_item.ei_size);
1269 if (src->eo_item.ei_object != NULL) {
1271 ea_alloc(src->eo_item.ei_size);
1276 bcopy(src->eo_item.ei_raw, dst->eo_item.ei_raw,
1277 (size_t)src->eo_item.ei_size);
1299 ea_copy_object_tree(const ea_object_t *src)
1303 for (ret_obj = last = NULL; src != NULL;
1304 last = dst, src = src->eo_next) {
1307 if ((dst = ea_copy_object(src)) == NULL) {
1313 if (src->eo_type == EO_GROUP) {
1315 ea_copy_object_tree(src->eo_group.eg_objs);
1320 dst->eo_group.eg_nobjs = src->eo_group.eg_nobjs;