Lines Matching refs:UBiDi
19 #include "unicode/ubidi.h"
36 static void doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst);
40 static void doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test,
43 static void _testReordering(UBiDi *pBiDi, int testNumber);
47 static void _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction);
49 static void _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength,
97 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
99 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex,
103 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
107 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
171 UBiDi *pBiDi, *pLine=NULL;
201 doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst) {
391 static char * formatLevels(UBiDi *bidi, char *buffer) {
436 static void printCaseInfo(UBiDi *bidi, const char *src, const char *dst)
492 static UBool matchingPair(UBiDi *bidi, int32_t i, char c1, char c2)
519 static UBool checkWhatYouCan(UBiDi *bidi, const char *srcChars, const char *dstChars)
730 UBiDi* bidi = ubidi_open();
992 UBiDi* bidi = ubidi_open();
1033 doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test, int32_t lineStart, UBool countRunsFirst) {
1141 _testReordering(UBiDi *pBiDi, int testNumber) {
1411 UBiDi *bidi, *bidiLine;
1698 UBiDi *bidi, *bidiLine;
1844 UBiDi* pBidi=ubidi_open();
1845 UBiDi* pLine;
2187 UBiDi *pBiDi;
2194 log_err("unable to open a UBiDi object (out of memory)\n");
2240 _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction) {
2266 _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength,
2383 UBiDi *bidi = ubidi_open();
2412 UBiDi *bidi = ubidi_open();
3625 const char* mode, const char* option, UBiDi* pBiDi) {
3642 static UBiDi*
3644 UBiDi* pBiDi = ubidi_open();
3646 log_err("Unable to allocate a UBiDi object. Tests are skipped.\n");
3940 assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, const char *srcChars,
4117 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars,
4181 UBiDi *pBiDi = getBiDiObject();
4182 UBiDi *pL2VBiDi = getBiDiObject();
4264 UBiDi *pBiDi = NULL, *pBiDi2 = NULL, *pBiDi3 = NULL;
4373 static const char* inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen,
4434 UBiDi *pBiDi = NULL;
4562 UBiDi *pBiDi = NULL;
4637 checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, const char *dest,
4825 UBiDi *pBiDi = NULL;
4908 UBiDi* bidi;