Lines Matching refs:norm

165   Normalizer* norm = new Normalizer("", UNORM_NFD);  in TestPrevious()  local
170 backAndForth(norm, canonTests[i][0]); in TestPrevious()
174 norm->setMode(UNORM_NFC); in TestPrevious()
176 backAndForth(norm, canonTests[i][0]); in TestPrevious()
179 delete norm; in TestPrevious()
184 Normalizer* norm = new Normalizer("", UNORM_NFD); in TestDecomp() local
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp()
187 delete norm; in TestDecomp()
192 Normalizer* norm = new Normalizer("", UNORM_NFKD); in TestCompatDecomp() local
193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp()
197 delete norm; in TestCompatDecomp()
202 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestCanonCompose() local
203 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 2); in TestCanonCompose()
207 delete norm; in TestCanonCompose()
212 Normalizer* norm = new Normalizer("", UNORM_NFKC); in TestCompatCompose() local
213 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 2); in TestCompatCompose()
217 delete norm; in TestCompatCompose()
232 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestHangulCompose() local
233 iterateTest(norm, hangulCanon, ARRAY_LENGTH(hangulCanon), 2); in TestHangulCompose()
234 norm->setMode(UNORM_NFKC); in TestHangulCompose()
238 norm->setMode(UNORM_NFC); in TestHangulCompose()
240 backAndForth(norm, hangulCanon[i][0]); in TestHangulCompose()
242 delete norm; in TestHangulCompose()
254 Normalizer* norm = new Normalizer("", UNORM_NFD); in TestHangulDecomp() local
255 iterateTest(norm, hangulCanon, ARRAY_LENGTH(hangulCanon), 1); in TestHangulDecomp()
256 norm->setMode(UNORM_NFKD); in TestHangulDecomp()
260 norm->setMode(UNORM_NFD); in TestHangulDecomp()
262 backAndForth(norm, hangulCanon[i][0]); in TestHangulDecomp()
264 delete norm; in TestHangulDecomp()