Lines Matching refs:pEng
73 static SWIsltsResult GetPhoneStr(SLTS_Engine *pEng, char *apszPhones[], int num_phones, char *pszPh…
121 SLTS_Engine * pEng; in SWIsltsOpen() local
134 pEng = &g_sltsEngine; in SWIsltsOpen()
136 pEng = CALLOC(1, sizeof(SLTS_Engine), MTAG); in SWIsltsOpen()
137 if (pEng == NULL) { in SWIsltsOpen()
143 nRes = create_lts((char *)data_filename, &pEng->m_hLts); in SWIsltsOpen()
149 *phLts = (SWIsltsHand)pEng; in SWIsltsOpen()
164 SLTS_Engine *pEng = (SLTS_Engine *)hLts; in SWIsltsClose() local
165 if (pEng == NULL) { in SWIsltsClose()
170 if (pEng->m_hLts) { in SWIsltsClose()
171 free_lts(pEng->m_hLts); in SWIsltsClose()
173 pEng->m_hLts = NULL; in SWIsltsClose()
176 FREE(pEng); in SWIsltsClose()
179 pEng = NULL; in SWIsltsClose()
199 SLTS_Engine *pEng; in SWIsltsTextToPhone() local
214 pEng = (SLTS_Engine *)hLts; in SWIsltsTextToPhone()
242 nRes = run_lts(pEng->m_hLts, pEng->m_hDict, new_text, output_phone_string, output_phone_len); in SWIsltsTextToPhone()
276 SLTS_Engine * pEng = (SLTS_Engine *)hLts; in SWIsltsG2PGetWordTranscriptions() local
323 …nRes = GetPhoneStr(pEng, phone_string, num_phones, (char *)pTranscription->pBuffer, &(pTranscripti… in SWIsltsG2PGetWordTranscriptions()
372 static SWIsltsResult GetPhoneStr(SLTS_Engine *pEng, char *apszPhones[], int num_phones, char *pszPh… in GetPhoneStr() argument