Lines Matching refs:rc
447 ESR_ReturnCode rc = ESR_SUCCESS;
479 rc = ESR_INVALID_STATE;
508 rc = ESR_NOT_SUPPORTED;
513 return rc;
582 ESR_ReturnCode rc;
592 rc = SR_VocabularyLoad(vocabFilename, &vocab);
593 if (rc != ESR_SUCCESS) {
594 cerr << "Error: " << ESR_rc2str(rc) << endl;
602 rc = ESR_SessionGetInt( L("CREC.Recognizer.wordpen"), &word_penalty);
603 if(rc != ESR_SUCCESS)
658 ESR_ReturnCode rc;
706 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len);
707 if (rc != ESR_SUCCESS) {
708 LPRINTF( "ERROR: SR_VocabularyGetPronunciation(*,%s,*,*) returned %s\n", phrase, ESR_rc2str(rc));
710 return rc;
873 rc = FstAddSlotMarkersToCFst( *c_fst, slot_olabel_min, slot_olabel_max);
874 if(rc) return rc;
893 rc = FstReplaceILabel( clg_fst, EXTRA_EPSILON_LABEL, EPSILON_LABEL);
897 rc = FstMergeOLabelsToILabels_GetMax( clg_det_fst, /*int&*/max_model_sym);
900 rc = FstMergeOLabelsToILabels( clg_det_fst, max_model_sym);
906 rc = FstSplitOLabelsFromILabels( clg_det_fst, max_model_sym);
909 rc = FstPushSlotLikeOLabels( clg_det_fst, slot_olabel_min, slot_olabel_max);
910 if(rc != ESR_SUCCESS)
936 return rc;