Searched refs:actualLevels (Results 1 – 3 of 3) sorted by relevance
80 byte actualLevels[] = ubidi.getLevels(); in TestBidiTest()82 if (!checkLevels(actualLevels)) { in TestBidiTest()256 byte[] actualLevels = ubidi.getLevels(); in TestBidiCharacterTest()257 if (!checkLevels(actualLevels)) { in TestBidiCharacterTest()484 private static int getDirectionBits(byte actualLevels[]) { in getDirectionBits() argument486 for(int i=0; i<actualLevels.length; ++i) { in getDirectionBits()487 actualDirectionBits|=(1<<(actualLevels[i]&1)); in getDirectionBits()491 private boolean checkLevels(byte actualLevels[]) { in checkLevels() argument493 if(levelsCount!=actualLevels.length) { in checkLevels()494 … ------------ Wrong number of level values; expected "+levelsCount+" actual "+actualLevels.length); in checkLevels()[all …]
83 byte actualLevels[] = ubidi.getLevels(); in TestBidiTest()85 if (!checkLevels(actualLevels)) { in TestBidiTest()259 byte[] actualLevels = ubidi.getLevels(); in TestBidiCharacterTest()260 if (!checkLevels(actualLevels)) { in TestBidiCharacterTest()487 private static int getDirectionBits(byte actualLevels[]) { in getDirectionBits() argument489 for(int i=0; i<actualLevels.length; ++i) { in getDirectionBits()490 actualDirectionBits|=(1<<(actualLevels[i]&1)); in getDirectionBits()494 private boolean checkLevels(byte actualLevels[]) { in checkLevels() argument496 if(levelsCount!=actualLevels.length) { in checkLevels()497 … ------------ Wrong number of level values; expected "+levelsCount+" actual "+actualLevels.length); in checkLevels()[all …]
48 UBool checkLevels(const UBiDiLevel actualLevels[], int32_t actualCount);335 const UBiDiLevel *actualLevels=ubidi_getLevels(ubidi.getAlias(), errorCode); in TestBidiTest() local341 if(!checkLevels(actualLevels, ubidi_getProcessedLength(ubidi.getAlias()))) { in TestBidiTest()544 const UBiDiLevel *actualLevels=ubidi_getLevels(ubidi.getAlias(), errorCode); in TestBidiCharacterTest() local556 if(!checkLevels(actualLevels, ubidi_getProcessedLength(ubidi.getAlias()))) { in TestBidiCharacterTest()573 static uint32_t getDirectionBits(const UBiDiLevel actualLevels[], int32_t actualCount) { in getDirectionBits() argument576 actualDirectionBits|=(1<<(actualLevels[i]&1)); in getDirectionBits()581 UBool BiDiConformanceTest::checkLevels(const UBiDiLevel actualLevels[], int32_t actualCount) { in checkLevels() argument589 if(levels[i]!=actualLevels[i] && levels[i]<UBIDI_DEFAULT_LTR) { in checkLevels()590 if(directionBits!=3 && directionBits==getDirectionBits(actualLevels, actualCount)) { in checkLevels()[all …]