Lines Matching refs:ubidi
23 #include "unicode/ubidi.h"
47 UBool checkOrdering(UBiDi *ubidi);
273 LocalUBiDiPointer ubidi(ubidi_open());
274 ubidi_setClassCallback(ubidi.getAlias(), biDiConfUBiDiClassCallback, NULL,
331 ubidi_setPara(ubidi.getAlias(), inputString.getBuffer(), inputString.length(),
333 const UBiDiLevel *actualLevels=ubidi_getLevels(ubidi.getAlias(), errorCode);
339 if(!checkLevels(actualLevels, ubidi_getProcessedLength(ubidi.getAlias()))) {
344 if(!checkOrdering(ubidi.getAlias())) {
442 LocalUBiDiPointer ubidi(ubidi_open());
540 ubidi_setPara(ubidi.getAlias(), inputString.getBuffer(), inputString.length(),
542 const UBiDiLevel *actualLevels=ubidi_getLevels(ubidi.getAlias(), errorCode);
548 if((actualLevel=ubidi_getParaLevel(ubidi.getAlias()))!=resolvedParaLevel) {
554 if(!checkLevels(actualLevels, ubidi_getProcessedLength(ubidi.getAlias()))) {
557 if(orderingCount>=0 && !checkOrdering(ubidi.getAlias())) {
620 // Note: ubidi_setReorderingOptions(ubidi, UBIDI_OPTION_REMOVE_CONTROLS);
625 UBool BiDiConformanceTest::checkOrdering(UBiDi *ubidi) {
628 int32_t resultLength=ubidi_getResultLength(ubidi); // visual length including BiDi controls
633 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode);
664 int32_t logicalIndex=ubidi_getLogicalIndex(ubidi, i, errorCode);