Home | History | Annotate | Download | only in intltest

Lines Matching defs:surrogate

252     // setting offset in the middle of a surrogate pair
253 UnicodeString surrogate = UNICODE_STRING_SIMPLE("\\ud800\\udc00str").unescape();
254 iter = tailored.createCollationElementIterator(surrogate);
256 iter->setOffset(1, status); // sets offset in the middle of surrogate
259 errln("Error: setting offset in the middle of a surrogate pair should be the same as setting it to the start of the surrogate pair");
264 surrogate = UNICODE_STRING_SIMPLE("simple\\ud800\\udc00str").unescape();
265 iter = tailored.createCollationElementIterator(surrogate);
268 iter->setOffset(7, status); // sets offset in the middle of surrogate
271 errln("Error: setting offset in the middle of a surrogate pair should be the same as setting it to the start of the surrogate pair");