Home | History | Annotate | Download | only in thaitest

Lines Matching refs:UChar

13 #include "unicode/uchar.h"
41 SpaceBreakIterator(const UChar *text, int32_t count);
62 // address of the UChar array
63 const UChar *fText;
88 // spaces - pointer to a UChar array for the text with spaces
90 // noSpaces - pointer to a UChar array for the text without spaces
93 ThaiWordbreakTest(const UChar *spaces, int32_t spaceCount, const UChar *noSpaces, int32_t noSpaceCount, UBool verbose);
110 // returns - the address of the UChar array containing the characters
111 static const UChar *readFile(char *fileName, int32_t &charCount);
113 // removes spaces form the input UChar array:
114 // spaces - pointer to the input UChar array
117 // returns - the address of the UChar array with spaces removed
118 static const UChar *crunchSpaces(const UChar *spaces, int32_t count, int32_t &nonSpaceCount);
125 // spaces - the address of the UChar array for the text with spaces
127 // noSpaces - the address of the UChar array for the text without spaces
130 UBool compareWordBreaks(const UChar *spaces, int32_t spaceCount,
131 const UChar *noSpaces, int32_t noSpaceCount);
159 ThaiWordbreakTest::ThaiWordbreakTest(const UChar *spaces, int32_t spaceCount,
160 const UChar *noSpaces, int32_t noSpaceCount, UBool verbose)
214 UBool ThaiWordbreakTest::compareWordBreaks(const UChar *spaces, int32_t spaceCount,
215 const UChar *noSpaces, int32_t noSpaceCount)
305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount)
310 UChar *buffer;
346 buffer = new UChar[charCount];
360 * Remove spaces from the input UChar array.
366 const UChar *ThaiWordbreakTest::crunchSpaces(const UChar *spaces, int32_t count, int32_t &nonSpaceCount)
378 UChar *noSpaces = new UChar[nonSpaceCount];
397 int generateFile(const UChar *chars, int32_t length) {
407 UChar bom = 0xFEFF;
465 const UChar *spaces, *noSpaces;
496 SpaceBreakIterator::SpaceBreakIterator(const UChar *text, int32_t count)