Home
last modified time | relevance | path

Searched refs:dirProps (Results 1 – 15 of 15) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiWriter.java300 byte[] dirProps = bidi.dirProps; in writeReordered()
314 dirProps[bidiRun.start] != Bidi.L) { in writeReordered()
332 dirProps[bidiRun.limit - 1] != Bidi.L) { in writeReordered()
365 (MASK_R_AL & Bidi.DirPropFlag(dirProps[bidiRun.start])) == 0) { in writeReordered()
399 byte[] dirProps = bidi.dirProps; in writeReordered()
405 if (dirProps[bidiRun.limit - 1] != Bidi.L) { in writeReordered()
412 if (dirProps[bidiRun.start] != Bidi.L) { in writeReordered()
416 if ((MASK_R_AL & Bidi.DirPropFlag(dirProps[bidiRun.start])) == 0) { in writeReordered()
423 if ((MASK_R_AL & Bidi.DirPropFlag(dirProps[bidiRun.limit - 1])) == 0) { in writeReordered()
DBidi.java1031 byte[] dirProps; field in Bidi
1119 return ((DirPropFlag(dirProps[index]) & flag) != 0); in testDirPropFlagAt()
1845 dirProps[i1] = dirProp; in getDirProps()
1849 dirProps[--i1] = BN; in getDirProps()
1878 dirProps[isolateStartStack[stackLast]] = RLI; in getDirProps()
1895 dirProps[i-1] = LRI; /* default if no strong char */ in getDirProps()
2043 if ((DirPropFlag(dirProps[lastCcPos]) & MASK_ISO) != 0) /* after an isolate */ in bracketProcessBoundary()
2120 dirProps[openingPosition] = newProp; in fixN0c()
2122 dirProps[closingPosition] = newProp; in fixN0c()
2175 dirProps[pOpening.position] = newProp; in bracketProcessClosing()
[all …]
DBidiLine.java88 byte[] dirProps = bidi.dirProps; in setTrailingWSStart()
99 if (dirProps[start - 1] == Bidi.B) { in setTrailingWSStart()
105 (Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) { in setTrailingWSStart()
149 lineBidi.dirProps = lineBidi.dirPropsMemory; in setLine()
150 System.arraycopy(paraBidi.dirProps, start, lineBidi.dirProps, 0, in setLine()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiWriter.java299 byte[] dirProps = bidi.dirProps; in writeReordered()
313 dirProps[bidiRun.start] != Bidi.L) { in writeReordered()
331 dirProps[bidiRun.limit - 1] != Bidi.L) { in writeReordered()
364 (MASK_R_AL & Bidi.DirPropFlag(dirProps[bidiRun.start])) == 0) { in writeReordered()
398 byte[] dirProps = bidi.dirProps; in writeReordered()
404 if (dirProps[bidiRun.limit - 1] != Bidi.L) { in writeReordered()
411 if (dirProps[bidiRun.start] != Bidi.L) { in writeReordered()
415 if ((MASK_R_AL & Bidi.DirPropFlag(dirProps[bidiRun.start])) == 0) { in writeReordered()
422 if ((MASK_R_AL & Bidi.DirPropFlag(dirProps[bidiRun.limit - 1])) == 0) { in writeReordered()
DBidi.java1055 byte[] dirProps; field in Bidi
1143 return ((DirPropFlag(dirProps[index]) & flag) != 0); in testDirPropFlagAt()
1879 dirProps[i1] = dirProp; in getDirProps()
1883 dirProps[--i1] = BN; in getDirProps()
1912 dirProps[isolateStartStack[stackLast]] = RLI; in getDirProps()
1929 dirProps[i-1] = LRI; /* default if no strong char */ in getDirProps()
2077 if ((DirPropFlag(dirProps[lastCcPos]) & MASK_ISO) != 0) /* after an isolate */ in bracketProcessBoundary()
2154 dirProps[openingPosition] = newProp; in fixN0c()
2156 dirProps[closingPosition] = newProp; in fixN0c()
2209 dirProps[pOpening.position] = newProp; in bracketProcessClosing()
[all …]
DBidiLine.java87 byte[] dirProps = bidi.dirProps; in setTrailingWSStart()
98 if (dirProps[start - 1] == Bidi.B) { in setTrailingWSStart()
104 (Bidi.DirPropFlag(dirProps[start - 1]) & Bidi.MASK_WS) != 0) { in setTrailingWSStart()
148 lineBidi.dirProps = lineBidi.dirPropsMemory; in setLine()
149 System.arraycopy(paraBidi.dirProps, start, lineBidi.dirProps, 0, in setLine()
/external/icu/icu4c/source/common/
Dubidi.cpp430 DirProp *dirProps=pBiDi->dirPropsMemory; /* pBiDi->dirProps is const */ in getDirProps() local
499 dirProps[i-1]=dirProp; in getDirProps()
502 dirProps[i-2]=BN; in getDirProps()
529 dirProps[isolateStartStack[stackLast]]=RLI; in getDirProps()
546 dirProps[i-1]=LRI; /* default if no strong char */ in getDirProps()
708 DirProp *dirProps=bd->pBiDi->dirProps; in bracketProcessBoundary() local
709 if(DIRPROP_FLAG(dirProps[lastCcPos])&MASK_ISO) /* after an isolate */ in bracketProcessBoundary()
776 DirProp *dirProps=bd->pBiDi->dirProps; in fixN0c() local
788 dirProps[openingPosition]=newProp; in fixN0c()
790 dirProps[closingPosition]=newProp; in fixN0c()
[all …]
Dubidiwrt.cpp454 const DirProp *dirProps=pBiDi->dirProps; in ubidi_writeReordered() local
471 (/*run>0 &&*/ dirProps[logicalStart]!=L)) { in ubidi_writeReordered()
497 (/*run<runCount-1 &&*/ dirProps[logicalStart+runLength-1]!=L)) { in ubidi_writeReordered()
515 … (/*run>0 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart+runLength-1])))) { in ubidi_writeReordered()
541 (/*run<runCount-1 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart])))) { in ubidi_writeReordered()
581 const DirProp *dirProps=pBiDi->dirProps; in ubidi_writeReordered() local
591 if(/*run<runCount-1 &&*/ dirProps[logicalStart+runLength-1]!=L) { in ubidi_writeReordered()
606 if(/*run>0 &&*/ dirProps[logicalStart]!=L) { in ubidi_writeReordered()
613 if(/*run<runCount-1 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart]))) { in ubidi_writeReordered()
628 if(/*run>0 &&*/ !(MASK_R_AL&DIRPROP_FLAG(dirProps[logicalStart+runLength-1]))) { in ubidi_writeReordered()
Dubidiln.cpp95 const DirProp *dirProps=pBiDi->dirProps; in setTrailingWSStart() local
106 if(dirProps[start-1]==B) { in setTrailingWSStart()
111 while(start>0 && DIRPROP_FLAG(dirProps[start-1])&MASK_WS) { in setTrailingWSStart()
170 pLineBiDi->dirProps=pParaBiDi->dirProps+start; in ubidi_setLine()
Dubidiimp.h291 DirProp *dirProps; member
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java54 string = getStringFromDirProps(test.dirProps); in doTests()
99 short[] dirProps = test.dirProps; in doTest() local
120 + TestData.dirPropNames[dirProps[lineStart + i]] + " " in doTest()
364 private String getStringFromDirProps(short[] dirProps) { in getStringFromDirProps() argument
367 if (dirProps == null) { in getStringFromDirProps()
370 int length = dirProps.length; in getStringFromDirProps()
375 buffer[i] = charFromDirProp[dirProps[i]]; in getStringFromDirProps()
DTestData.java242 protected short[] dirProps; field in TestData
251 private TestData(short[] dirProps, int lineStart, int lineLimit, in TestData() argument
254 this.dirProps = dirProps; in TestData()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java57 string = getStringFromDirProps(test.dirProps); in doTests()
102 short[] dirProps = test.dirProps; in doTest() local
123 + TestData.dirPropNames[dirProps[lineStart + i]] + " " in doTest()
367 private String getStringFromDirProps(short[] dirProps) { in getStringFromDirProps() argument
370 if (dirProps == null) { in getStringFromDirProps()
373 int length = dirProps.length; in getStringFromDirProps()
378 buffer[i] = charFromDirProp[dirProps[i]]; in getStringFromDirProps()
DTestData.java245 protected short[] dirProps; field in TestData
254 private TestData(short[] dirProps, int lineStart, int lineLimit, in TestData() argument
257 this.dirProps = dirProps; in TestData()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c121 getStringFromDirProps(const uint8_t *dirProps, int32_t length, UChar *buffer);
1041 const uint8_t *dirProps=test->text+lineStart; in doTest() local
1066 dirPropNames[dirProps[i]], in doTest()
3588 getStringFromDirProps(const uint8_t *dirProps, int32_t length, UChar *buffer) { in getStringFromDirProps() argument
3595 buffer[i]=charFromDirProp[dirProps[i]]; in getStringFromDirProps()