Lines Matching refs:contexts
463 } *contexts;
478 ret->contexts = malloc(sizeof(ret->contexts[0]) * ret->n_contexts);
479 if (ret->contexts == NULL) {
484 memset(ret->contexts, 0, sizeof(ret->contexts[0]) * ret->n_contexts);
487 ret->contexts[i].pa_system = &preauth_systems[i];
488 ret->contexts[i].pa_context = NULL;
515 if (context->contexts[i].pa_context != NULL) {
516 preauth_system = context->contexts[i].pa_system;
519 pctx = &context->contexts[i].pa_context;
522 context->contexts[i].pa_context = NULL;
526 free(context->contexts);
676 if (context->contexts[i].pa_system == pa_sys) {
677 *pa_context = &context->contexts[i].pa_context;