Home
last modified time | relevance | path

Searched refs:requiredPadding (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Dnumber_padding.cpp20 addPaddingHelper(UChar32 paddingCp, int32_t requiredPadding, FormattedStringBuilder &string, int32_… in addPaddingHelper() argument
22 for (int32_t i = 0; i < requiredPadding; i++) { in addPaddingHelper()
26 return U16_LENGTH(paddingCp) * requiredPadding; in addPaddingHelper()
66 int32_t requiredPadding = fWidth - modLength - string.codePointCount(); in padAndApply() local
71 if (requiredPadding <= 0) { in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_padding.cpp20 addPaddingHelper(UChar32 paddingCp, int32_t requiredPadding, FormattedStringBuilder &string, int32_… in addPaddingHelper() argument
22 for (int32_t i = 0; i < requiredPadding; i++) { in addPaddingHelper()
26 return U16_LENGTH(paddingCp) * requiredPadding; in addPaddingHelper()
66 int32_t requiredPadding = fWidth - modLength - string.codePointCount(); in padAndApply() local
71 if (requiredPadding <= 0) { in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_padding.cpp20 addPaddingHelper(UChar32 paddingCp, int32_t requiredPadding, NumberStringBuilder &string, int32_t i… in addPaddingHelper() argument
22 for (int32_t i = 0; i < requiredPadding; i++) { in addPaddingHelper()
26 return U16_LENGTH(paddingCp) * requiredPadding; in addPaddingHelper()
66 int32_t requiredPadding = fWidth - modLength - string.codePointCount(); in padAndApply() local
71 if (requiredPadding <= 0) { in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
/third_party/icu/icu4c/source/i18n/
Dnumber_padding.cpp20 addPaddingHelper(UChar32 paddingCp, int32_t requiredPadding, FormattedStringBuilder &string, int32_… in addPaddingHelper() argument
22 for (int32_t i = 0; i < requiredPadding; i++) { in addPaddingHelper()
26 return U16_LENGTH(paddingCp) * requiredPadding; in addPaddingHelper()
66 int32_t requiredPadding = fWidth - modLength - string.codePointCount(); in padAndApply() local
71 if (requiredPadding <= 0) { in padAndApply()
81 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
83 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
88 length += addPaddingHelper(paddingCp, requiredPadding, string, leftIndex, status); in padAndApply()
90 length += addPaddingHelper(paddingCp, requiredPadding, string, rightIndex + length, status); in padAndApply()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPadder.java95 int requiredPadding = targetWidth - modLength - string.codePointCount(); in padAndApply() local
100 if (requiredPadding <= 0) { in padAndApply()
108 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
110 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
115 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
117 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
125 int requiredPadding, in addPaddingHelper() argument
128 for (int i = 0; i < requiredPadding; i++) { in addPaddingHelper()
132 return paddingString.length() * requiredPadding; in addPaddingHelper()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java88 int requiredPadding = targetWidth - modLength - string.codePointCount(); in padAndApply() local
93 if (requiredPadding <= 0) { in padAndApply()
101 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
103 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
108 length += addPaddingHelper(paddingString, requiredPadding, string, leftIndex); in padAndApply()
110 length += addPaddingHelper(paddingString, requiredPadding, string, rightIndex + length); in padAndApply()
118 int requiredPadding, in addPaddingHelper() argument
121 for (int i = 0; i < requiredPadding; i++) { in addPaddingHelper()
125 return paddingString.length() * requiredPadding; in addPaddingHelper()