Home
last modified time | relevance | path

Searched refs:inText (Results 1 - 12 of 12) sorted by relevance

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestBidiTransform.java76 for (String inText : inTexts) { in autoDirectionTest()
79 String outText = bidiTransform.transform(inText, inLevel, Order.LOGICAL, in autoDirectionTest()
81 bidi.setPara(inText, inLevel, null); in autoDirectionTest()
86 logResultsForDir(inText, outText, expectedText, inLevel, outLevel); in autoDirectionTest()
105 final String inText = "a[b]c \u05d0(\u05d1\u05d2 \u05d3)\u05d4 1 d \u0630 23\u0660 e\u0631456 f \ufeaf \u0661\u0662"; in allTransformOptionsTest()
109 inText, // reordering without mirroring in allTransformOptionsTest()
129 { Bidi.RTL, Order.LOGICAL, Bidi.RTL, Order.LOGICAL, inText, in allTransformOptionsTest()
149 { Bidi.LTR, Order.VISUAL, Bidi.LTR, Order.VISUAL, inText, in allTransformOptionsTest()
169 { Bidi.RTL, Order.VISUAL, Bidi.RTL, Order.VISUAL, inText, in allTransformOptionsTest()
225 verifyResultsForAllOpts(test, inText, bidiTransfor in allTransformOptionsTest()
241 logResultsForDir(String inText, String outText, String expected, byte inLevel, byte outLevel) logResultsForDir() argument
250 verifyResultsForAllOpts(Object[] test, String inText, String outText, char[] expectedChars, int digits, int letters) verifyResultsForAllOpts() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestBidiTransform.java79 for (String inText : inTexts) { in autoDirectionTest()
82 String outText = bidiTransform.transform(inText, inLevel, Order.LOGICAL, in autoDirectionTest()
84 bidi.setPara(inText, inLevel, null); in autoDirectionTest()
89 logResultsForDir(inText, outText, expectedText, inLevel, outLevel); in autoDirectionTest()
108 final String inText = "a[b]c \u05d0(\u05d1\u05d2 \u05d3)\u05d4 1 d \u0630 23\u0660 e\u0631456 f \ufeaf \u0661\u0662"; in allTransformOptionsTest()
112 inText, // reordering without mirroring in allTransformOptionsTest()
132 { Bidi.RTL, Order.LOGICAL, Bidi.RTL, Order.LOGICAL, inText, in allTransformOptionsTest()
152 { Bidi.LTR, Order.VISUAL, Bidi.LTR, Order.VISUAL, inText, in allTransformOptionsTest()
172 { Bidi.RTL, Order.VISUAL, Bidi.RTL, Order.VISUAL, inText, in allTransformOptionsTest()
228 verifyResultsForAllOpts(test, inText, bidiTransfor in allTransformOptionsTest()
244 logResultsForDir(String inText, String outText, String expected, byte inLevel, byte outLevel) logResultsForDir() argument
253 verifyResultsForAllOpts(Object[] test, String inText, String outText, char[] expectedChars, int digits, int letters) verifyResultsForAllOpts() argument
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DTrans.java32 String inText = null; // all other untagged strings are this in main()
48 if (inText == null) { in main()
49 inText = args[pos]; in main()
51 inText = inText + " " + args[pos]; in main()
57 if (inText != null && inName != null) { in main()
72 trans(trans, inText, in, out, isHTML); in main()
76 static void trans(Transliterator trans, String inText, in trans() argument
81 if (inText != null) { in trans()
82 line = inText; in trans()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
H A DCjkBreakEngine.java109 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument
115 inText.setIndex(startPos); in divideUpDictionaryRange()
120 inText.setIndex(startPos); in divideUpDictionaryRange()
121 while (inText.getIndex() < endPos) { in divideUpDictionaryRange()
122 s.append(inText.current()); in divideUpDictionaryRange()
123 inText.next(); in divideUpDictionaryRange()
282 && fClosePunctuationSet.contains(inText.setIndex(pos - 1)))) { in divideUpDictionaryRange()
297 if (!fDigitOrOpenPunctuationOrAlphabetSet.contains(inText.setIndex(endPos))) { in divideUpDictionaryRange()
307 inText.setIndex(foundBreaks.peek()); in divideUpDictionaryRange()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCjkBreakEngine.java85 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument
91 inText.setIndex(startPos); in divideUpDictionaryRange()
96 inText.setIndex(startPos); in divideUpDictionaryRange()
97 while (inText.getIndex() < endPos) { in divideUpDictionaryRange()
98 s.append(inText.current()); in divideUpDictionaryRange()
99 inText.next(); in divideUpDictionaryRange()
242 inText.setIndex(foundBreaks.peek()); in divideUpDictionaryRange()
/third_party/node/deps/icu-small/source/common/
H A Ddictbe.cpp1134 CjkBreakEngine::divideUpDictionaryRange( UText *inText, in divideUpDictionaryRange() argument
1148 // inputMap[inStringIndex] = corresponding native index from UText inText. in divideUpDictionaryRange()
1153 if ((inText->providerProperties & utext_i32_flag(UTEXT_PROVIDER_STABLE_CHUNKS)) && in divideUpDictionaryRange()
1154 inText->chunkNativeStart <= rangeStart && in divideUpDictionaryRange()
1155 inText->chunkNativeLimit >= rangeEnd && in divideUpDictionaryRange()
1156 inText->nativeIndexingLimit >= rangeEnd - inText->chunkNativeStart) { in divideUpDictionaryRange()
1161 inText->chunkContents + rangeStart - inText->chunkNativeStart, in divideUpDictionaryRange()
1164 // Copy the text from the original inText (UTex in divideUpDictionaryRange()
[all...]
H A Dmlbe.cpp36 int32_t MlBreakEngine::divideUpRange(UText *inText, int32_t rangeStart, int32_t rangeEnd, in divideUpRange() argument
102 fClosePunctuationSet.contains(utext_char32At(inText, utextPos - 1)))) { in divideUpRange()
117 UChar32 nextChar = utext_char32At(inText, rangeEnd); in divideUpRange()
H A Dmlbe.h42 * @param inText A UText representing the text
47 * @param inputMap The vector storing the native index of inText
51 int32_t divideUpRange(UText *inText, int32_t rangeStart, int32_t rangeEnd,
/third_party/icu/icu4c/source/common/
H A Ddictbe.cpp1123 CjkBreakEngine::divideUpDictionaryRange( UText *inText, in divideUpDictionaryRange() argument
1137 // inputMap[inStringIndex] = corresponding native index from UText inText. in divideUpDictionaryRange()
1142 if ((inText->providerProperties & utext_i32_flag(UTEXT_PROVIDER_STABLE_CHUNKS)) && in divideUpDictionaryRange()
1143 inText->chunkNativeStart <= rangeStart && in divideUpDictionaryRange()
1144 inText->chunkNativeLimit >= rangeEnd && in divideUpDictionaryRange()
1145 inText->nativeIndexingLimit >= rangeEnd - inText->chunkNativeStart) { in divideUpDictionaryRange()
1150 inText->chunkContents + rangeStart - inText->chunkNativeStart, in divideUpDictionaryRange()
1153 // Copy the text from the original inText (UTex in divideUpDictionaryRange()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ddictbe.cpp1110 CjkBreakEngine::divideUpDictionaryRange( UText *inText, in divideUpDictionaryRange() argument
1121 // inputMap[inStringIndex] = corresponding native index from UText inText. in divideUpDictionaryRange()
1129 if ((inText->providerProperties & utext_i32_flag(UTEXT_PROVIDER_STABLE_CHUNKS)) && in divideUpDictionaryRange()
1130 inText->chunkNativeStart <= rangeStart && in divideUpDictionaryRange()
1131 inText->chunkNativeLimit >= rangeEnd && in divideUpDictionaryRange()
1132 inText->nativeIndexingLimit >= rangeEnd - inText->chunkNativeStart) { in divideUpDictionaryRange()
1137 inText->chunkContents + rangeStart - inText->chunkNativeStart, in divideUpDictionaryRange()
1140 // Copy the text from the original inText (UTex in divideUpDictionaryRange()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcbiditransformtst.c276 static const char *inText = in testAllTransformOptions() local
399 u_unescape(inText, src, STR_CAPACITY); in testAllTransformOptions()
/third_party/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp4061 UnicodeString inText(u"GMT$$$"); in TestStandAloneGMTParse()
4064 sdf.parse(inText, pos); in TestStandAloneGMTParse()

Completed in 23 milliseconds