Home
last modified time | relevance | path

Searched refs:oldBlen (Results 1 – 3 of 3) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleIDParser.java245 … int oldBlen = buffer.length(); // get before append hyphen, if we truncate everything is undone in parseScript() local
262 buffer.delete(oldBlen, buffer.length()); in parseScript()
264 oldBlen++; // index past hyphen, for clients who want to extract just the script in parseScript()
267 return oldBlen; in parseScript()
304 int oldBlen = buffer.length(); in parseCountry() local
311 ++oldBlen; // increment past hyphen in parseCountry()
318 int charsAppended = buffer.length() - oldBlen; in parseCountry()
327 --oldBlen; in parseCountry()
328 buffer.delete(oldBlen, buffer.length()); in parseCountry()
332 String region = LocaleIDs.threeToTwoLetterRegion(getString(oldBlen)); in parseCountry()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DLocaleIDParser.java247 … int oldBlen = buffer.length(); // get before append hyphen, if we truncate everything is undone in parseScript() local
264 buffer.delete(oldBlen, buffer.length()); in parseScript()
266 oldBlen++; // index past hyphen, for clients who want to extract just the script in parseScript()
269 return oldBlen; in parseScript()
306 int oldBlen = buffer.length(); in parseCountry() local
313 ++oldBlen; // increment past hyphen in parseCountry()
320 int charsAppended = buffer.length() - oldBlen; in parseCountry()
329 --oldBlen; in parseCountry()
330 buffer.delete(oldBlen, buffer.length()); in parseCountry()
334 String region = LocaleIDs.threeToTwoLetterRegion(getString(oldBlen)); in parseCountry()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ducaconf.cpp201 int32_t oldBlen = 0; in testConformance() local
230 int32_t cmpres = coll->compare(oldB, oldBlen, buffer, buflen, status); in testConformance()
231 int32_t cmpres2 = coll->compare(buffer, buflen, oldB, oldBlen, status); in testConformance()
289 oldBlen = buflen; in testConformance()