Home
last modified time | relevance | path

Searched refs:previousLimit (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_number_format.cpp765 int previousLimit = 0; in GroupToParts() local
795 intl::LocaleHelper::UStringToString(thread, formattedText, previousLimit, start); in GroupToParts()
808 groupLeapLength = start - previousLimit + 1; in GroupToParts()
809 previousLimit = limit; in GroupToParts()
811 } else if (start > previousLimit) { in GroupToParts()
813 intl::LocaleHelper::UStringToString(thread, formattedText, previousLimit, start); in GroupToParts()
832 previousLimit = limit; in GroupToParts()
836 if (formattedText.length() > previousLimit) { in GroupToParts()
839 … intl::LocaleHelper::UStringToString(thread, formattedText, previousLimit, formattedText.length()); in GroupToParts()
Djs_relative_time_format.cpp386 int32_t previousLimit = 0; in FormatToArray() local
420 if (start > previousLimit) { in FormatToArray()
423 intl::LocaleHelper::UStringToString(thread, formattedText, previousLimit, start); in FormatToArray()
461 previousLimit = limit; in FormatToArray()
465 if (formattedText.length() > previousLimit) { in FormatToArray()
468 … intl::LocaleHelper::UStringToString(thread, formattedText, previousLimit, formattedText.length()); in FormatToArray()