Lines Matching refs:m_data
59 m_data = new char[m_datasize]; in SvoxSsmlParser()
60 m_data[0] = '\0'; in SvoxSsmlParser()
68 if (m_data) in ~SvoxSsmlParser()
69 delete [] m_data; in ~SvoxSsmlParser()
78 return (mParser && m_data); in initSuccessful()
95 return m_data; in getParsedDocument()
112 if (strlen(m_data) > 0) in startElement()
115 delete m_data; in startElement()
116 m_data = NULL; in startElement()
118 m_data = new char[m_datasize]; in startElement()
119 if (!m_data) in startElement()
142 if (strlen(m_data) + 4 > (size_t)m_datasize) in startElement()
150 strcat(m_data, "<p>"); in startElement()
154 if (strlen(m_data) + 4 > (size_t)m_datasize) in startElement()
162 strcat(m_data, "<s>"); in startElement()
228 if (strlen(m_data) + strlen(xsampastr) + 1 > (size_t)m_datasize) in startElement()
240 if (strlen(m_data) + strlen(xsampastr) + 17 > (size_t)m_datasize) in startElement()
249 strcat(m_data, "<phoneme ph='"); in startElement()
252 strcat(m_data, xsampastr); in startElement()
257 if (strlen(m_data) + 4 > (size_t)m_datasize) in startElement()
265 strcat(m_data, "'/>"); in startElement()
272 if (strlen(m_data) + 17 > (size_t)m_datasize) in startElement()
280 strcat(m_data, "<break time='"); in startElement()
310 if (strlen(m_data) + strlen(time) + 4 > (size_t)m_datasize) in startElement()
318 strcat(m_data, time); in startElement()
319 strcat(m_data, "'/>"); in startElement()
351 if (strlen(m_data) + strlen(pitch) + 1 > (size_t)m_datasize) in startElement()
359 strcat(m_data, pitch); in startElement()
389 if (strlen(m_data) + strlen(rate) + 1 > (size_t)m_datasize) in startElement()
397 strcat(m_data, rate); in startElement()
432 if (strlen(m_data) + strlen(volume) + 1 > (size_t)m_datasize) in startElement()
440 strcat(m_data, volume); in startElement()
454 if (strlen(m_data) + 17 > (size_t)m_datasize) in startElement()
462 strcat(m_data, "<usesig file='"); in startElement()
468 if (strlen(m_data) + strlen(attributes[i+1]) + 1 > (size_t)m_datasize) in startElement()
476 strcat(m_data, attributes[i+1]); in startElement()
479 strcat(m_data, "'>"); in startElement()
496 if (strlen(m_data) + 5 > (size_t)m_datasize) in endElement()
504 strcat(m_data, "</p>"); in endElement()
508 if (strlen(m_data) + 5 > (size_t)m_datasize) in endElement()
516 strcat(m_data, "</s>"); in endElement()
530 if (strlen(m_data) + strlen(m_appendix) + 1 > (size_t)m_datasize) in endElement()
538 strcat(m_data, m_appendix); in endElement()
545 if (strlen(m_data) + 10 > (size_t)m_datasize) in endElement()
553 strcat(m_data, "</usesig>"); in endElement()
578 if (strlen(m_data) + strlen(content) + 1 > (size_t)m_datasize) in textElement()
586 strcat(m_data, content); in textElement()
890 strcpy(tmp, m_data); in growDataSize()
891 delete [] m_data; in growDataSize()
892 m_data = NULL; in growDataSize()
893 m_data = new char[m_datasize + sizeToGrow]; in growDataSize()
894 if (!m_data) in growDataSize()
896 m_data = tmp; in growDataSize()
900 strcpy(m_data, tmp); in growDataSize()