Home | History | Annotate | Download | only in cintltst

Lines Matching refs:srcLen

97 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
1413 int32_t srcLen, destLen, runCount, i;
1447 srcLen = u_unescape("abc ", src, MAXLEN);
1448 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1459 srcLen = u_unescape("abc def", src, MAXLEN);
1460 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1471 srcLen = u_unescape("abcdefghi ", src, MAXLEN);
1472 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1484 srcLen = u_unescape("\\u200eabc def", src, MAXLEN);
1485 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1493 srcLen = u_unescape("abcdefghi", src, MAXLEN);
1494 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1510 srcLen = u_unescape(" ", src, MAXLEN);
1511 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1519 srcLen = u_unescape("a\\u05d0 bc", src, MAXLEN);
1520 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1548 srcLen = u_unescape("abc\\u200e", src, MAXLEN);
1549 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1567 srcLen = u_unescape(" ", src, MAXLEN);
1568 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1575 srcLen = u_unescape("abc", src, MAXLEN);
1576 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1583 srcLen = u_unescape("\\u05d0\\u05d1", src, MAXLEN);
1584 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1586 srcLen = u_unescape("\\u05d1\\u05d0", src, MAXLEN);
1589 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1592 srcLen = u_unescape("abc \\u05d0\\u05d1", src, MAXLEN);
1593 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1595 srcLen = u_unescape("\\u05d1\\u05d0 abc", src, MAXLEN);
1598 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1601 srcLen = u_unescape("\\u05d0\\u05d1 abc", src, MAXLEN);
1602 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1604 srcLen = u_unescape("\\u200fabc \\u05d1\\u05d0", src, MAXLEN);
1607 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1610 srcLen = u_unescape("\\u05d0\\u05d1 abc .-=", src, MAXLEN);
1611 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1613 srcLen = u_unescape("\\u200f=-. abc \\u05d1\\u05d0", src, MAXLEN);
1616 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1620 srcLen = u_unescape("\n\r \n\rabc\n\\u05d0\\u05d1\rabc \\u05d2\\u05d3\n\r"
1623 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_RTL, NULL, &errorCode);
1625 srcLen = u_unescape("\n\r \n\rabc\n\\u05d1\\u05d0\r\\u05d3\\u05d2 abc\n\r"
1630 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1633 srcLen = u_unescape("\\u05d0 \t", src, MAXLEN);
1634 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1636 srcLen = u_unescape("\\u05D0\\u200e \t", src, MAXLEN);
1639 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1642 srcLen = u_unescape("\\u05d0 123 \t\\u05d1 123 \\u05d2", src, MAXLEN);
1643 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1645 srcLen = u_unescape("\\u05d0 \\u200e123\\u200e \t\\u05d2 123 \\u05d1", src, MAXLEN);
1648 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1651 srcLen = u_unescape("\\u05d0 123 \\u0660\\u0661 ab", src, MAXLEN);
1652 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1654 srcLen = u_unescape("\\u05d0 \\u200e123 \\u200e\\u0660\\u0661 ab", src, MAXLEN);
1657 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1660 srcLen = u_unescape("ab \t", src, MAXLEN);
1661 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1663 srcLen = u_unescape("\\u200f\t ab", src, MAXLEN);
1666 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
1673 srcLen = u_unescape("A\\u202a\\u05d0\\u202aC\\u202c\\u05d1\\u202cE", src, MAXLEN);
1674 ubidi_setPara(bidi, src, srcLen, UBIDI_MAX_EXPLICIT_LEVEL - 1, NULL, &errorCode);
1683 srcLen = u_unescape("a \\u05d0 b \\u05d1 c \\u05d2 d ", src, MAXLEN);
1684 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1700 int32_t srcLen;
1719 srcLen = u_unescape("abc", src, MAXLEN);
1721 ubidi_setPara(bidi, src, srcLen, UBIDI_DEFAULT_LTR - 1, NULL, &errorCode);
1736 srcLen = u_unescape("abc", src, MAXLEN);
1737 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR + 4, NULL, &errorCode);
1751 srcLen = u_unescape("abc", src, MAXLEN);
1752 ubidi_setPara(bidi, src, srcLen, UBIDI_LTR, NULL, &errorCode);
1757 srcLen = u_unescape("=2", src, MAXLEN);
1758 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1777 srcLen = u_unescape("\\uD800\\uDC00", src, MAXLEN);
1778 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode);
1783 srcLen = u_unescape("abc", src, MAXLEN);
1784 ubidi_setPara(bidi, src, srcLen, 5, myLevels, &errorCode);
1847 int32_t srcLen, destLen;
2095 srcLen = u_unescape("abc \\u05d2\\u05d1\n", src, MAXLEN);
2096 ubidi_setPara(pBidi, src, srcLen, UBIDI_DEFAULT_LTR, NULL, &errorCode);
2098 srcLen = u_unescape("\\u05d1\\u05d2 abc\n", src, MAXLEN);
2101 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
2103 srcLen = u_unescape("abc \\u05d2\\u05d1", src, MAXLEN);
2104 ubidi_setPara(pBidi, src, srcLen, UBIDI_DEFAULT_LTR, NULL, &errorCode);
2106 srcLen = u_unescape("\\u05d1\\u05d2 abc", src, MAXLEN);
2109 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
2115 srcLen = u_unescape("ab\\u05d1\\u05d2\n\\u05d3\\u05d4123", src, MAXLEN);
2116 ubidi_setPara(pBidi, src, srcLen, UBIDI_LTR, myLevels, &errorCode);
2118 srcLen = u_unescape("ab\\u05d2\\u05d1\\n123\\u05d4\\u05d3", src, MAXLEN);
2121 aescstrdup(src, srcLen), aescstrdup(dest, destLen));
4185 int32_t srcLen, destLen, vis1Len, vis2Len, option, i, j, nCases, paras;
4202 srcLen = strlen(testCases[i].textIn);
4203 pseudoToU16(srcLen, testCases[i].textIn, src);
4208 ubidi_setPara(pBiDi, src, srcLen, level, NULL, &rc);
4223 ubidi_setPara(pL2VBiDi, src, srcLen, level, NULL, &rc);
4269 int32_t srcLen, destLen, idx;
4288 srcLen = strlen(srcChars);
4289 pseudoToU16(srcLen, srcChars, src);
4313 ubidi_setPara(pBiDi, src, srcLen, paraLevels[level], NULL, &rc);
4328 expectedChars = inverseBasic(pBiDi2, srcChars, srcLen,
4373 static const char* inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen,
4383 pseudoToU16(srcLen, srcChars, src);
4384 ubidi_setPara(pBiDi, src, srcLen, level, NULL, &rc);
4437 int32_t srcLen, processedLen, chunk, len, nPortions;
4452 srcLen = u_unescape(testData[i].textIn, src, MAXLEN);
4462 for (j = 0, pSrc = src; j < MAXPORTIONS && srcLen > 0; j++) {
4464 len = chunk < srcLen ? chunk : srcLen;
4482 srcLen -= processedLen, pSrc += processedLen;
4566 int32_t srcLen, destLen, textSrcSize = (int32_t)uprv_strlen(textSrc);
4596 srcLen = u_unescape(textSrc, src, MAXLEN);
4597 ubidi_setPara(pBiDi, src, srcLen, UBIDI_LTR, NULL, &rc);
4643 int32_t i, srcLen, resLen, idx;
4660 srcLen = ubidi_getProcessedLength(pBiDi);
4661 if (memcmp(expectedLogicalMap, actualLogicalMap, srcLen * sizeof(int32_t))) {
4676 formatMap(expectedLogicalMap, srcLen, expChars),
4677 formatMap(actualLogicalMap, srcLen, actChars),
4712 for (i = 0; i < srcLen; i++) {
4717 if (memcmp(actualLogicalMap, getIndexMap, srcLen * sizeof(int32_t))) {
4732 formatMap(actualLogicalMap, srcLen, actChars),
4733 formatMap(getIndexMap, srcLen, gotChars),
4827 int32_t proLength, epiLength, srcLen, destLen, tc;
4871 srcLen = strlen(cc.source);
4872 pseudoToU16(srcLen, cc.source, src);
4873 ubidi_setPara(pBiDi, src, srcLen, cc.paraLevel, NULL, &rc);