Home
last modified time | relevance | path

Searched refs:normalizer (Results 1 – 25 of 76) sorted by relevance

1234

/third_party/ninja/src/
Dincludes_normalize_test.cc36 IncludesNormalize normalizer("."); in NormalizeAndCheckNoError() local
37 EXPECT_TRUE(normalizer.Normalize(input, &result, &err)); in NormalizeAndCheckNoError()
45 IncludesNormalize normalizer(relative_to); in NormalizeRelativeAndCheckNoError() local
46 EXPECT_TRUE(normalizer.Normalize(input, &result, &err)); in NormalizeRelativeAndCheckNoError()
109 IncludesNormalize normalizer("."); in TEST() local
111 normalizer.Normalize(kLongInputString, &result, &err)); in TEST()
147 IncludesNormalize normalizer("."); in TEST() local
149 EXPECT_TRUE(normalizer.Normalize("a", &result, &err)); in TEST()
165 EXPECT_FALSE(normalizer.Normalize(kExactlyMaxPath, &result, &err)); in TEST()
Dclparser.cc85 IncludesNormalize normalizer("."); in Parse() local
98 if (!normalizer.Normalize(include, &normalized, err)) in Parse()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DConformanceTest.java10 package com.ibm.icu.dev.test.normalizer;
31 Normalizer normalizer; field in ConformanceTest
36 normalizer = new Normalizer("", Normalizer.NFC, 0); in ConformanceTest()
365 normalizer.setText(str); in iterativeNorm()
366 normalizer.setMode(mode); in iterativeNorm()
368 normalizer.setOption(-1, false); // reset all options in iterativeNorm()
369 normalizer.setOption(options, true); // set desired options in iterativeNorm()
373 for (ch = normalizer.first(); ch != Normalizer.DONE; in iterativeNorm()
374 ch = normalizer.next()) { in iterativeNorm()
378 for (ch = normalizer.last(); ch != Normalizer.DONE; in iterativeNorm()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
DConformanceTest.java11 package ohos.global.icu.dev.test.normalizer;
34 Normalizer normalizer; field in ConformanceTest
39 normalizer = new Normalizer("", Normalizer.NFC, 0); in ConformanceTest()
368 normalizer.setText(str); in iterativeNorm()
369 normalizer.setMode(mode); in iterativeNorm()
371 normalizer.setOption(-1, false); // reset all options in iterativeNorm()
372 normalizer.setOption(options, true); // set desired options in iterativeNorm()
376 for (ch = normalizer.first(); ch != Normalizer.DONE; in iterativeNorm()
377 ch = normalizer.next()) { in iterativeNorm()
381 for (ch = normalizer.last(); ch != Normalizer.DONE; in iterativeNorm()
[all …]
/third_party/mindspore/mindspore/nn/layer/
Dthor_layer.py153 normalizer = self.cast(shape[0], mstype.float32)
155 matrix_g = self.mul(matrix_g, 1.0 / normalizer)
159 normalizer = dout_shape[0]
161 matrix_g = self.mul(matrix_g, 1.0 / normalizer)
170 normalizer = self.cast(shape[0], mstype.float32)
171 matrix_a = self.mul(inputs, 1.0 / normalizer)
176 normalizer = inputs_shape[0]
177 matrix_a = self.mul(inputs, 1.0 / normalizer)
453 normalizer = dout_shape[0]
455 normalizer = self.cast(normalizer, mstype.float32)
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSourceTargetUtility.java32 public SourceTargetUtility(Transform<String, String> transform, Normalizer2 normalizer) { in SourceTargetUtility() argument
34 if (normalizer != null) { in SourceTargetUtility()
71 if (normalizer == null) { in SourceTargetUtility()
85 if (!normalizer.isInert(i)) { in SourceTargetUtility()
DCjkBreakEngine.java120 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange() local
123 while (index < normalizer.endIndex()) { in divideUpDictionaryRange()
124 normalizer.next(); in divideUpDictionaryRange()
126 index = normalizer.getIndex(); in divideUpDictionaryRange()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DSourceTargetUtility.java31 public SourceTargetUtility(Transform<String, String> transform, Normalizer2 normalizer) { in SourceTargetUtility() argument
33 if (normalizer != null) { in SourceTargetUtility()
70 if (normalizer == null) { in SourceTargetUtility()
84 if (!normalizer.isInert(i)) { in SourceTargetUtility()
/third_party/icu/icu4c/source/samples/translit/
Dunaccent.cpp19 normalizer("", UNORM_NFD), in UnaccentTransliterator()
37 t->normalizer.setText(str, status); in unaccent()
41 return (UChar) t->normalizer.next(); in unaccent()
Dunaccent.h46 Normalizer normalizer; variable
/third_party/skia/third_party/externals/icu/source/samples/translit/
Dunaccent.cpp19 normalizer("", UNORM_NFD), in UnaccentTransliterator()
37 t->normalizer.setText(str, status); in unaccent()
41 return (UChar) t->normalizer.next(); in unaccent()
Dunaccent.h46 Normalizer normalizer; variable
/third_party/flutter/skia/third_party/externals/icu/source/samples/translit/
Dunaccent.cpp19 normalizer("", UNORM_NFD), in UnaccentTransliterator()
37 t->normalizer.setText(str, status); in unaccent()
41 return (UChar) t->normalizer.next(); in unaccent()
Dunaccent.h46 Normalizer normalizer; variable
/third_party/flutter/skia/third_party/externals/icu/source/samples/translit/answers/
Dunaccent.cpp16 normalizer("", Normalizer::DECOMP), in UnaccentTransliterator()
34 t->normalizer.setText(str, status); in unaccent()
38 return (UChar) t->normalizer.next(); in unaccent()
Dunaccent.h44 Normalizer normalizer; variable
/third_party/icu/icu4c/source/samples/translit/answers/
Dunaccent.cpp16 normalizer("", Normalizer::DECOMP), in UnaccentTransliterator()
34 t->normalizer.setText(str, status); in unaccent()
38 return (UChar) t->normalizer.next(); in unaccent()
Dunaccent.h44 Normalizer normalizer; variable
/third_party/skia/third_party/externals/icu/source/samples/translit/answers/
Dunaccent.cpp16 normalizer("", Normalizer::DECOMP), in UnaccentTransliterator()
34 t->normalizer.setText(str, status); in unaccent()
38 return (UChar) t->normalizer.next(); in unaccent()
Dunaccent.h44 Normalizer normalizer; variable
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-icu.cc197 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_compose() local
198 UChar32 ret = unorm2_composePair (normalizer, a, b); in hb_icu_unicode_compose()
211 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_decompose() local
215 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, in hb_icu_unicode_decompose()
/third_party/harfbuzz/src/
Dhb-icu.cc197 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_compose() local
198 UChar32 ret = unorm2_composePair (normalizer, a, b); in hb_icu_unicode_compose()
211 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_decompose() local
215 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, in hb_icu_unicode_decompose()
/third_party/icu/icu4c/source/test/intltest/
Dnormconf.cpp40 normalizer(UnicodeString(), UNORM_NFC) { in NormalizerConformanceTest()
533 normalizer.setText(str, status); in iterativeNorm()
534 normalizer.setMode(mode); in iterativeNorm()
535 normalizer.setOption(-1, 0); // reset all options in iterativeNorm()
536 normalizer.setOption(options, 1); // set desired options in iterativeNorm()
543 for (ch = normalizer.first(); ch != Normalizer::DONE; in iterativeNorm()
544 ch = normalizer.next()) { in iterativeNorm()
548 for (ch = normalizer.last(); ch != Normalizer::DONE; in iterativeNorm()
549 ch = normalizer.previous()) { in iterativeNorm()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCjkBreakEngine.java119 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0); in divideUpDictionaryRange() local
122 while (index < normalizer.endIndex()) { in divideUpDictionaryRange()
123 normalizer.next(); in divideUpDictionaryRange()
125 index = normalizer.getIndex(); in divideUpDictionaryRange()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-icu.cc171 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_compose() local
172 UChar32 ret = unorm2_composePair (normalizer, a, b); in hb_icu_unicode_compose()
217 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_decompose() local
221 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, in hb_icu_unicode_decompose()

1234