Lines Matching refs:srcChars
103 const char *srcChars, const char *destChars,
106 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
526 static UBool checkWhatYouCan(UBiDi *bidi, const char *srcChars, const char *dstChars) in checkWhatYouCan() argument
561 accumDst[idx] = srcChars[i]; in checkWhatYouCan()
562 if (!matchingPair(bidi, i, srcChars[i], dstChars[idx])) { in checkWhatYouCan()
573 printCaseInfo(bidi, srcChars, dstChars); in checkWhatYouCan()
590 printCaseInfo(bidi, srcChars, dstChars); in checkWhatYouCan()
610 if (!matchingPair(bidi, idx, srcChars[idx], dstChars[i])) { in checkWhatYouCan()
621 printCaseInfo(bidi, srcChars, dstChars); in checkWhatYouCan()
638 printCaseInfo(bidi, srcChars, dstChars); in checkWhatYouCan()
3948 assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, const char *srcChars, in assertRoundTrip() argument
4087 if (strcmp(srcChars, destChars2)) { in assertRoundTrip()
4092 "Original text:", srcChars, in assertRoundTrip()
4103 "Original text:", srcChars, in assertRoundTrip()
4116 if (outIndex > -1 && !checkMaps(pBiDi, outIndex, srcChars, destChars, in assertRoundTrip()
4125 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, in checkResultLength() argument
4137 "Input:", srcChars, "Output:", destChars, in checkResultLength()
4295 const char *srcChars = textIn[tc]; in testReorderingMode() local
4296 srcLen = (int32_t)strlen(srcChars); in testReorderingMode()
4297 pseudoToU16(srcLen, srcChars, src); in testReorderingMode()
4331 checkWhatYouCan(pBiDi, srcChars, destChars); in testReorderingMode()
4336 expectedChars = inverseBasic(pBiDi2, srcChars, srcLen, in testReorderingMode()
4343 if (!assertStringsEqual(expectedChars, destChars, srcChars, in testReorderingMode()
4350 !assertRoundTrip(pBiDi3, tc, idx, srcChars, in testReorderingMode()
4355 else if (!checkResultLength(pBiDi, srcChars, destChars, in testReorderingMode()
4361 else if (idx > -1 && !checkMaps(pBiDi, idx, srcChars, in testReorderingMode()
4381 static const char* inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, in inverseBasic() argument
4387 if (pBiDi == NULL || srcChars == NULL) { in inverseBasic()
4391 pseudoToU16(srcLen, srcChars, src); in inverseBasic()
4401 checkWhatYouCan(pBiDi, srcChars, result); in inverseBasic()