Lines Matching refs:to_name
166 # f_struct_copy $from_name $to_name
168 # Copy the properties of one struct to another. If struct $to_name does not
170 # and struct $to_name remains unmodified.
172 # Returns success unless struct $to_name did not exist and f_struct_new() was
177 local from_name="$1" to_name="$2" type
178 f_dprintf "f_struct_copy: from_name=[%s] to_name=[%s]" \
179 "$from_name" "$to_name"
181 f_struct "$to_name" ||
182 f_struct_new "$type" "$to_name" || return $FAILURE
185 "$from_name" "$to_name"
191 f_struct "$to_name" set $property "$from_value"
194 f_struct "$to_name" unset $property
198 "$n" "$k" "$from_name" "$to_name"