• Home
  • Raw
  • Download

Lines Matching refs:outputs

73 static SWIsltsResult free_outputs(char **outputs, char **inputs, int num);
407 char ** outputs = NULL; in load_outputs() local
417 *poutputs = outputs = (char **) lts_alloc(num, sizeof(char*)); in load_outputs()
418 if (outputs == NULL) { in load_outputs()
431 out = outputs[i] = lts_alloc(olen + 1, sizeof(char)); in load_outputs()
453 if (ilen > 0) pfprintf(PSTDOUT,"LOAD_TREE: got input %s out %s\n", in, outputs[i]); in load_outputs()
454 …pfprintf(PSTDOUT,"LOAD_TREE: outputs[%d] len %d out %x out %s\n", i, olen, outputs[i], outputs[i]); in load_outputs()
463 free_outputs(outputs, inputs, num); in load_outputs()
471 static SWIsltsResult free_outputs(char **outputs, char **inputs, int num) in free_outputs() argument
476 if (outputs) { in free_outputs()
478 if (outputs[i]) { in free_outputs()
479 FREE(outputs[i]); in free_outputs()
480 outputs[i] = NULL; in free_outputs()
483 FREE(outputs); in free_outputs()
867 nRes = load_outputs(&(lts->outputs), &(lts->input_for_output), &lts->num_outputs, fp); in create_lts()
920 free_outputs(lts->outputs, lts->input_for_output, lts->num_outputs); in free_lts()
921 lts->input_for_output = lts->outputs = NULL; in free_lts()
1643 lts->outputs[backoff_output], in lts_for_word()
1644 ts->outputs[output_index]); in lts_for_word()
1647 …num_out = add_output(lts->outputs[backoff_output], output_phone_string, num_out, max_phone_length); in lts_for_word()
1650 … num_out = add_output(lts->outputs[output_index], output_phone_string, num_out, max_phone_length); in lts_for_word()