Lines Matching defs:trees
76 static SWIsltsResult free_trees(RT_LTREE **trees, int num_letters, LQUESTION **questions, int num_questions, LM *lm);
504 RT_LTREE ** trees = NULL;
538 *ptrees = trees = (RT_LTREE**) lts_alloc(*num_letters, sizeof(RT_LTREE*));
539 if (trees == NULL) {
547 trees[let] = tree = (RT_LTREE*) lts_alloc(1, sizeof(RT_LTREE));
603 free_trees(trees, *num_letters, *pquestions, *num_questions, *plm);
613 /* deallocate trees */
614 static SWIsltsResult free_trees(RT_LTREE **trees, int num_letters,
628 if (trees) {
630 if (trees[i]) {
631 tree = trees[i];
644 FREE(trees[i]);
645 trees[i] = NULL;
648 FREE(trees);
874 pfprintf(PSTDOUT,"LOAD_TREE: got %d outputs, loading trees\n", lts->num_outputs);
877 nRes = load_trees(&(lts->trees), &(lts->num_letters),
923 free_trees(lts->trees, lts->num_letters,
926 lts->trees = NULL;
1320 tree = lts->trees[dp->letter]; // properties[Letter]];