Lines Matching refs:answer_list
424 char **answer_list = NULL; in constraint_expr_eval_reason() local
699 answer_list = malloc(expr_count * sizeof(*answer_list)); in constraint_expr_eval_reason()
700 if (!answer_list) { in constraint_expr_eval_reason()
721 answer_list[answer_counter] = malloc(a_len + b_len + 8); in constraint_expr_eval_reason()
722 if (!answer_list[answer_counter]) { in constraint_expr_eval_reason()
727 memset(answer_list[answer_counter], '\0', a_len + b_len + 8); in constraint_expr_eval_reason()
729 sprintf(answer_list[answer_counter], "%s %s %s", a, in constraint_expr_eval_reason()
731 push(answer_list[answer_counter++]); in constraint_expr_eval_reason()
739 answer_list[answer_counter] = malloc(b_len + 8); in constraint_expr_eval_reason()
740 if (!answer_list[answer_counter]) { in constraint_expr_eval_reason()
745 memset(answer_list[answer_counter], '\0', b_len + 8); in constraint_expr_eval_reason()
748 sprintf(answer_list[answer_counter], "%s (%s)", in constraint_expr_eval_reason()
751 sprintf(answer_list[answer_counter], "%s%s", in constraint_expr_eval_reason()
753 push(answer_list[answer_counter++]); in constraint_expr_eval_reason()
823 free(answer_list); in constraint_expr_eval_reason()