Lines Matching refs:num_questions
67 static SWIsltsResult free_lquestions(LQUESTION ** questions, int num_questions);
75 LQUESTION ***pquestions, int *num_questions, LM **plm, PORT_FILE *fp);
76 static SWIsltsResult free_trees(RT_LTREE **trees, int num_letters, LQUESTION **questions, int num_questions, LM *lm);
181 int i, num_questions;
185 num_questions = load_int(fp);
188 pfprintf(PSTDOUT,"loading %d questions\n", num_questions);
191 *pquestions = questions = (LQUESTION**) lts_alloc(num_questions, sizeof(LQUESTION*));
197 for (i=0;i<num_questions;i++) {
222 *pnum_questions = num_questions;
227 free_lquestions(questions, num_questions);
234 static SWIsltsResult free_lquestions(LQUESTION ** questions, int num_questions)
240 for (i=0; i<num_questions; i++) {
499 LQUESTION ***pquestions, int *num_questions, LM **plm, PORT_FILE *fp)
522 nRes = load_lquestions(pquestions, num_questions, fp);
603 free_trees(trees, *num_letters, *pquestions, *num_questions, *plm);
608 *num_questions = 0;
615 LQUESTION **questions, int num_questions, LM *lm)
625 free_lquestions(questions, num_questions);
878 &(lts->questions), &(lts->num_questions),
924 lts->questions, lts->num_questions,