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