• Home
  • Raw
  • Download

Lines Matching refs:nRes

122   SWIsltsResult      nRes = SWIsltsSuccess;  in SWIsltsOpen()  local
143 nRes = create_lts((char *)data_filename, &pEng->m_hLts); in SWIsltsOpen()
144 if (nRes != SWIsltsSuccess) { in SWIsltsOpen()
145 …L("create_lts with the model file (%s) fails with return code %d\n"), (char *)data_filename, nRes); in SWIsltsOpen()
158 return nRes; in SWIsltsOpen()
192 SWIsltsResult nRes = SWIsltsSuccess; in SWIsltsTextToPhone() local
237 nRes = SWIsltsEmptyPhoneString; in SWIsltsTextToPhone()
242 nRes = run_lts(pEng->m_hLts, pEng->m_hDict, new_text, output_phone_string, output_phone_len); in SWIsltsTextToPhone()
243 if (nRes != SWIsltsSuccess) { in SWIsltsTextToPhone()
265 return nRes; in SWIsltsTextToPhone()
273 SWIsltsResult nRes = SWIsltsSuccess; in SWIsltsG2PGetWordTranscriptions() local
288 nRes = SWIsltsTextToPhone(hLts, text, phone_string, &num_phones, MAX_PRON_LEN); in SWIsltsG2PGetWordTranscriptions()
289 if( nRes != SWIsltsSuccess ) { in SWIsltsG2PGetWordTranscriptions()
290 PLogError(L("SWIsltsTextToPhone( ) fails with return code %d\n"), nRes); in SWIsltsG2PGetWordTranscriptions()
306 nRes = SWIsltsErrAllocResource; in SWIsltsG2PGetWordTranscriptions()
319 nRes = SWIsltsErrAllocResource; in SWIsltsG2PGetWordTranscriptions()
323nRes = GetPhoneStr(pEng, phone_string, num_phones, (char *)pTranscription->pBuffer, &(pTranscripti… in SWIsltsG2PGetWordTranscriptions()
324 if( nRes != SWIsltsSuccess ) { in SWIsltsG2PGetWordTranscriptions()
325 PLogError(L("SWIsltsInternalErr: GetPhoneStr( ) fails with return code %d\n"), nRes); in SWIsltsG2PGetWordTranscriptions()
343 return nRes; in SWIsltsG2PGetWordTranscriptions()
350 SWIsltsResult nRes = SWIsltsSuccess; in SWIsltsG2PFreeWordTranscriptions() local
369 return nRes; in SWIsltsG2PFreeWordTranscriptions()
376 SWIsltsResult nRes = SWIsltsSuccess; in GetPhoneStr() local
407 return nRes; in GetPhoneStr()