Lines Matching +defs:name +defs:pos
230 void AnyTransliterator::handleTransliterate(Replaceable& text, UTransPosition& pos,
232 int32_t allStart = pos.start;
233 int32_t allLimit = pos.limit;
235 ScriptRunIterator it(text, pos.contextStart, pos.contextLimit);
247 // pos.start up to date.
248 pos.start = it.limit;
257 pos.start = uprv_max(allStart, it.start);
258 pos.limit = uprv_min(allLimit, it.limit);
259 int32_t limit = pos.limit;
260 t->filteredTransliterate(text, pos, incremental);
261 int32_t delta = pos.limit - limit;
269 // Restore limit. pos.start is fine where the last transliterator
271 pos.limit = allLimit;
327 * Return the script code for a given name, or -1 if not found.
329 static UScriptCode scriptNameToCode(const UnicodeString& name) {
333 int32_t nameLen = name.length();
334 UBool isInvariant = uprv_isInvariantUString(name.getBuffer(), nameLen);
337 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV);