Home
last modified time | relevance | path

Searched refs:paraLevel (Results 1 – 21 of 21) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestCompatibility.java32 byte paraLevel = bidi.getParaLevel(); in compareBidi()
35 "(level=" + paraLevel + "): " + in compareBidi()
42 "(level=" + paraLevel + "): " + in compareBidi()
49 "(level=" + paraLevel + "): " + in compareBidi()
59 "(level=" + paraLevel + "): " + in compareBidi()
68 "(level=" + paraLevel + "): " + in compareBidi()
79 "(level=" + paraLevel + "): " + in compareBidi()
87 "(level=" + paraLevel + "): " + in compareBidi()
95 "(level=" + paraLevel + "): " + in compareBidi()
103 "(level=" + paraLevel + "): " + in compareBidi()
[all …]
DBiDiConformanceTest.java209 byte paraLevel; in TestBidiCharacterTest()
211 paraLevel = 0; in TestBidiCharacterTest()
214 paraLevel = 1; in TestBidiCharacterTest()
217 paraLevel = Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in TestBidiCharacterTest()
220 paraLevel = Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in TestBidiCharacterTest()
223 paraLevel = (byte) (-paraDirection); in TestBidiCharacterTest()
224 paraLevelName = Byte.toString(paraLevel); in TestBidiCharacterTest()
247 ubidi.setPara(inputString, paraLevel, null); in TestBidiCharacterTest()
DTestContext.java30 byte paraLevel; field in TestContext.ContextCase
37 paraLevel = lev; in ContextCase()
92 bidi.setPara(src, cc.paraLevel, null); in testContext()
DTestBidi.java50 byte paraLevel; in doTests()
56 paraLevel = test.paraLevel; in doTests()
58 bidi.setPara(string, paraLevel, null); in doTests()
61 + paraLevel); in doTests()
65 + paraLevel); in doTests()
DTestData.java247 protected byte paraLevel; field in TestData
253 byte direction, byte paraLevel, byte resultLevel, byte[] levels, in TestData() argument
259 this.paraLevel = paraLevel; in TestData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestCompatibility.java31 byte paraLevel = bidi.getParaLevel(); in compareBidi()
34 "(level=" + paraLevel + "): " + in compareBidi()
41 "(level=" + paraLevel + "): " + in compareBidi()
48 "(level=" + paraLevel + "): " + in compareBidi()
58 "(level=" + paraLevel + "): " + in compareBidi()
67 "(level=" + paraLevel + "): " + in compareBidi()
78 "(level=" + paraLevel + "): " + in compareBidi()
86 "(level=" + paraLevel + "): " + in compareBidi()
94 "(level=" + paraLevel + "): " + in compareBidi()
102 "(level=" + paraLevel + "): " + in compareBidi()
[all …]
DBiDiConformanceTest.java208 byte paraLevel; in TestBidiCharacterTest()
210 paraLevel = 0; in TestBidiCharacterTest()
213 paraLevel = 1; in TestBidiCharacterTest()
216 paraLevel = Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in TestBidiCharacterTest()
219 paraLevel = Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in TestBidiCharacterTest()
222 paraLevel = (byte) (-paraDirection); in TestBidiCharacterTest()
223 paraLevelName = Byte.toString(paraLevel); in TestBidiCharacterTest()
246 ubidi.setPara(inputString, paraLevel, null); in TestBidiCharacterTest()
DTestContext.java29 byte paraLevel; field in TestContext.ContextCase
36 paraLevel = lev; in ContextCase()
91 bidi.setPara(src, cc.paraLevel, null); in testContext()
DTestBidi.java49 byte paraLevel; in doTests()
55 paraLevel = test.paraLevel; in doTests()
57 bidi.setPara(string, paraLevel, null); in doTests()
60 + paraLevel); in doTests()
64 + paraLevel); in doTests()
DTestData.java246 protected byte paraLevel; field in TestData
252 byte direction, byte paraLevel, byte resultLevel, byte[] levels, in TestData() argument
258 this.paraLevel = paraLevel; in TestData()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java91 byte paraLevel = bidi.paraLevel; in setTrailingWSStart()
110 while (start > 0 && levels[start - 1] == paraLevel) { in setTrailingWSStart()
133 lineBidi.paraLevel = paraBidi.GetParaLevelAt(start); in setLine()
186 lineBidi.direction = (byte)(lineBidi.paraLevel & 1); in setLine()
194 (lineBidi.paraLevel & 1) != level) { in setLine()
217 lineBidi.paraLevel = (byte) in setLine()
218 ((lineBidi.paraLevel + 1) & ~1); in setLine()
226 lineBidi.paraLevel |= 1; in setLine()
266 Arrays.fill(bidi.levels, start, length, bidi.paraLevel); in getLevels()
490 getSingleRun(bidi, bidi.paraLevel); in getRuns()
[all …]
DBidi.java1040 byte paraLevel; field in Bidi
1776 boolean isDefaultLevel = IsDefaultLevel(paraLevel); in getDirProps()
1804 defaultParaLevel = (byte)(paraLevel & 1); in getDirProps()
1820 paras_level[0] = paraLevel; in getDirProps()
1930 paras_level[paraCount - 1] = paraLevel; in getDirProps()
1968 paraLevel = paras_level[0]; in getDirProps()
1984 return paraLevel; in GetParaLevelAt()
2631 flags |= DirPropFlagLR(paraLevel); in resolveExplicitLevels()
2660 byte currentParaLevel = paraLevel; in checkExplicitLevels()
2710 flags |= DirPropFlagLR(paraLevel); in checkExplicitLevels()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java90 byte paraLevel = bidi.paraLevel; in setTrailingWSStart()
109 while (start > 0 && levels[start - 1] == paraLevel) { in setTrailingWSStart()
132 lineBidi.paraLevel = paraBidi.GetParaLevelAt(start); in setLine()
185 lineBidi.direction = (byte)(lineBidi.paraLevel & 1); in setLine()
193 (lineBidi.paraLevel & 1) != level) { in setLine()
216 lineBidi.paraLevel = (byte) in setLine()
217 ((lineBidi.paraLevel + 1) & ~1); in setLine()
225 lineBidi.paraLevel |= 1; in setLine()
265 Arrays.fill(bidi.levels, start, length, bidi.paraLevel); in getLevels()
489 getSingleRun(bidi, bidi.paraLevel); in getRuns()
[all …]
DBidi.java1065 byte paraLevel; field in Bidi
1811 boolean isDefaultLevel = IsDefaultLevel(paraLevel); in getDirProps()
1839 defaultParaLevel = (byte)(paraLevel & 1); in getDirProps()
1855 paras_level[0] = paraLevel; in getDirProps()
1965 paras_level[paraCount - 1] = paraLevel; in getDirProps()
2003 paraLevel = paras_level[0]; in getDirProps()
2019 return paraLevel; in GetParaLevelAt()
2666 flags |= DirPropFlagLR(paraLevel); in resolveExplicitLevels()
2695 byte currentParaLevel = paraLevel; in checkExplicitLevels()
2745 flags |= DirPropFlagLR(paraLevel); in checkExplicitLevels()
[all …]
/external/icu/icu4c/source/test/intltest/
Dbidiconf.cpp481 UBiDiLevel paraLevel=UBIDI_MAX_EXPLICIT_LEVEL+2; in TestBidiCharacterTest() local
483 paraLevel=0; in TestBidiCharacterTest()
487 paraLevel=1; in TestBidiCharacterTest()
491 paraLevel=UBIDI_DEFAULT_LTR; in TestBidiCharacterTest()
495 paraLevel=UBIDI_DEFAULT_RTL; in TestBidiCharacterTest()
499 paraLevel=(UBiDiLevel)(-paraDirection); in TestBidiCharacterTest()
500 sprintf(levelNameString, "%d", (int)paraLevel); in TestBidiCharacterTest()
504 paraLevel==(UBIDI_MAX_EXPLICIT_LEVEL+2)) { in TestBidiCharacterTest()
543 paraLevel, NULL, errorCode); in TestBidiCharacterTest()
/external/icu/icu4c/source/common/
Dubidiln.c98 UBiDiLevel paraLevel=pBiDi->paraLevel; in setTrailingWSStart() local
116 while(start>0 && levels[start-1]==paraLevel) { in setTrailingWSStart()
153 pLineBiDi->paraLevel=GET_PARALEVEL(pParaBiDi, start); in ubidi_setLine()
201 pLineBiDi->direction=(UBiDiDirection)(pLineBiDi->paraLevel&1); in ubidi_setLine()
207 if(trailingWSStart<length && (pLineBiDi->paraLevel&1)!=level) { in ubidi_setLine()
230 pLineBiDi->paraLevel=(UBiDiLevel)((pLineBiDi->paraLevel+1)&~1); in ubidi_setLine()
237 pLineBiDi->paraLevel|=1; in ubidi_setLine()
292 uprv_memset(levels+start, pBiDi->paraLevel, length-start); in ubidi_getLevels()
562 getSingleRun(pBiDi, pBiDi->paraLevel); in ubidi_getRuns()
653 if(pBiDi->paraLevel<minLevel) { in ubidi_getRuns()
[all …]
Dubidi.c439 UBool isDefaultLevel=IS_DEFAULT_LEVEL(pBiDi->paraLevel); in getDirProps()
474 defaultParaLevel=pBiDi->paraLevel&1; in getDirProps()
489 pBiDi->paras[0].level=pBiDi->paraLevel; in getDirProps()
592 pBiDi->paras[pBiDi->paraCount-1].level=pBiDi->paraLevel; in getDirProps()
630 pBiDi->paraLevel=pBiDi->paras[0].level; in getDirProps()
1323 flags|=DIRPROP_FLAG_LR(pBiDi->paraLevel); in resolveExplicitLevels()
1384 flags|=DIRPROP_FLAG_LR(pBiDi->paraLevel); in checkExplicitLevels()
2344 UBiDiLevel paraLevel, UErrorCode *pErrorCode) { in setParaRunsOnly() argument
2362 ubidi_setPara(pBiDi, text, length, paraLevel, NULL, pErrorCode); in setParaRunsOnly()
2379 paraLevel&=1; /* accept only 0 or 1 */ in setParaRunsOnly()
[all …]
Dubidiimp.h122 (ubidi)->paraLevel : ubidi_getParaLevelAtIndex((ubidi), (index))))
315 UBiDiLevel paraLevel; member
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.h67 UBiDiLevel paraLevel; member
Dcbiditst.c208 UBiDiLevel paraLevel; in doTests() local
213 paraLevel=tests[testNumber].paraLevel; in doTests()
214 ubidi_setPara(pBiDi, string, -1, paraLevel, NULL, &errorCode); in doTests()
217 testNumber, paraLevel, ubidi_getDirection(pBiDi), paraLevel); in doTests()
234 testNumber, paraLevel, myErrorName(errorCode)); in doTests()
4789 UBiDiLevel paraLevel; member
4875 ubidi_setPara(pBiDi, src, srcLen, cc.paraLevel, NULL, &rc); in testContext()
/external/icu/icu4c/source/common/unicode/
Dubidi.h1224 UBiDiLevel paraLevel, UBiDiLevel *embeddingLevels,