Lines Matching refs:textMap
802 UVector32 *textMap; // Map from UTF-16 dataToBreak offsets to UText offsets. member
811 textMap = new UVector32(status); in TestParams()
820 delete textMap; in ~TestParams()
858 textMap->removeAllElements(); in setUTF16()
861 textMap->addElement(i, status); in setUTF16()
863 textMap->addElement(-1, status); in setUTF16()
866 textMap->addElement(dataToBreak.length(), status); in setUTF16()
867 U_ASSERT(dataToBreak.length() + 1 == textMap->size()); in setUTF16()
882 textMap->removeAllElements(); in setUTF8()
885 textMap->addElement(utf16Index, status); in setUTF8()
892 while (textMap->size() < utext_getNativeIndex(textToBreak)) { in setUTF8()
893 textMap->addElement(-1, status); in setUTF8()
896 U_ASSERT(utext_nativeLength(textToBreak) + 1 == textMap->size()); in setUTF8()
901 if (bp >= textMap->size()) { in getSrcLine()
902 bp = textMap->size() - 1; in getSrcLine()
907 i = textMap->elementAti(bp); in getSrcLine()
917 if (bp >= textMap->size()) { in getExpectedBreak()
920 int32_t i = textMap->elementAti(bp); in getExpectedBreak()
930 if (bp >= textMap->size()) { in getSrcCol()
931 bp = textMap->size() - 1; in getSrcCol()
936 i = textMap->elementAti(bp); in getSrcCol()