Lines Matching refs:new_text
194 char new_text[MAX_INPUT_LEN]; in SWIsltsTextToPhone() local
196 char *new_text; in SWIsltsTextToPhone() local
222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG); in SWIsltsTextToPhone()
223 if (new_text == NULL) { in SWIsltsTextToPhone()
229 strcpy(new_text, text); in SWIsltsTextToPhone()
230 i = strlen(new_text)-1; in SWIsltsTextToPhone()
231 while(new_text[i] == '\n' || new_text[i] == ' ' || new_text[i] == '\t') i--; in SWIsltsTextToPhone()
232 new_text[i+1] = '\0'; in SWIsltsTextToPhone()
235 if(strlen(new_text) == 0){ in SWIsltsTextToPhone()
242 nRes = run_lts(pEng->m_hLts, pEng->m_hDict, new_text, output_phone_string, output_phone_len); in SWIsltsTextToPhone()
248 if(new_text){ in SWIsltsTextToPhone()
249 FREE(new_text); in SWIsltsTextToPhone()
251 new_text = NULL; in SWIsltsTextToPhone()
259 if(new_text){ in SWIsltsTextToPhone()
260 FREE(new_text); in SWIsltsTextToPhone()
262 new_text = NULL; in SWIsltsTextToPhone()