Lines Matching refs:src_context
274 cc_ops_copy(krb5_context context, const krb5_context src_context) in cc_ops_copy() argument
281 if (src_context->num_cc_ops == 0) in cc_ops_copy()
284 cc_ops = malloc(sizeof(cc_ops[0]) * src_context->num_cc_ops); in cc_ops_copy()
291 memcpy(rk_UNCONST(cc_ops), src_context->cc_ops, in cc_ops_copy()
292 sizeof(cc_ops[0]) * src_context->num_cc_ops); in cc_ops_copy()
294 context->num_cc_ops = src_context->num_cc_ops; in cc_ops_copy()
317 kt_ops_copy(krb5_context context, const krb5_context src_context) in kt_ops_copy() argument
322 if (src_context->num_kt_types == 0) in kt_ops_copy()
325 context->kt_types = malloc(sizeof(context->kt_types[0]) * src_context->num_kt_types); in kt_ops_copy()
332 context->num_kt_types = src_context->num_kt_types; in kt_ops_copy()
333 memcpy(context->kt_types, src_context->kt_types, in kt_ops_copy()
334 sizeof(context->kt_types[0]) * src_context->num_kt_types); in kt_ops_copy()