Lines Matching defs:POS
1023 "xtat txtb", // pos 0,9,0,9
1027 "xtat txtb", // pos 2,9,3,8
1031 "xtat txtb", // pos 3,8,3,8
1037 int32_t POS[] = {
1054 UTransPosition pos;
1055 pos.contextStart= POS[4*i];
1056 pos.contextLimit = POS[4*i+1];
1057 pos.start = POS[4*i+2];
1058 pos.limit = POS[4*i+3];
1060 t->transliterate(rsource, pos, status);
1066 t->finishTransliteration(rsource, pos);
1792 UTransPosition pos = {0, 2, 0, 1}; // cs cl s l
1796 &pos);
1881 UTransPosition pos = {0, 5, 3, 5};
1885 &pos);
3390 UParseError pos;
3396 registerRules[i+1], UTRANS_FORWARD, pos, status);
3597 UTransPosition pos;
3600 pos.contextStart = 0;
3601 pos.contextLimit = input.length();
3602 pos.start = 0;
3603 pos.limit = input.length();
3605 t->transliterate(test, pos, ec);
3612 // we have a few special cases. Any-Remove (pos.start = 0, but also = limit) and U+XXXXX?X?
3614 if (pos.start == 0 && pos.limit != 0 && t->getID() != "Hex-Any/Unicode") {
3616 t->getID() + ": " + formatInput(test, input, pos));
3620 t->getID() + ": " + formatInput(test, input, pos));
3622 t->finishTransliteration(test, pos);
3623 if (pos.start != pos.limit) {
3625 t->getID() + ": " + formatInput(test, input, pos));
4702 UTransPosition *pos) {
4703 expect("<ID>", rules, source, expectedResult, pos);
4710 UTransPosition *pos) {
4717 expect(*t, source, expectedResult, pos);
4733 UTransPosition *pos) {
4734 if (pos == 0) {
4740 if (pos != 0) {
4741 index = *pos;
4745 if (pos == 0) {
4749 t.finishTransliteration(rsource, *pos);
4757 if (pos != 0) {
4791 * @param pos the index struct
4795 const UTransPosition& pos) {
4799 if (0 <= pos.contextStart &&
4800 pos.contextStart <= pos.start &&
4801 pos.start <= pos.limit &&
4802 pos.limit <= pos.contextLimit &&
4803 pos.contextLimit <= input.length()) {
4806 input.extractBetween(0, pos.contextStart, a);
4807 input.extractBetween(pos.contextStart, pos.start, b);
4808 input.extractBetween(pos.start, pos.limit, c);
4809 input.extractBetween(pos.limit, pos.contextLimit, d);
4810 input.extractBetween(pos.contextLimit, input.length(), e);
4816 pos.contextStart + ", s=" + pos.start + ", l=" +
4817 pos.limit + ", cl=" + pos.contextLimit + "} on " +