Home | History | Annotate | Download | only in src

Lines Matching refs:nRes

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