Lines Matching refs:utf8String
365 pANTLR3_STRING utf8String; in toUTF8_UTF16() local
372 utf8String = string->factory->newStr8(string->factory, (pANTLR3_UINT8)""); in toUTF8_UTF16()
374 if (utf8String != NULL) in toUTF8_UTF16()
378 ANTLR3_FREE(utf8String->chars); in toUTF8_UTF16()
382 utf8String->size = string->len *3; in toUTF8_UTF16()
383 utf8String->chars = (pANTLR3_UINT8)ANTLR3_MALLOC(utf8String->size +1); in toUTF8_UTF16()
385 if (utf8String->chars != NULL) in toUTF8_UTF16()
388 outputEnd = (UTF8 *) (utf8String->chars); in toUTF8_UTF16()
397 outputEnd + utf8String->size - 1, in toUTF8_UTF16()
405 utf8String->len = ANTLR3_UINT32_CAST(((pANTLR3_UINT8)outputEnd) - utf8String->chars); in toUTF8_UTF16()
410 return utf8String; in toUTF8_UTF16()