Home
last modified time | relevance | path

Searched refs:minDigits (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/include/core/
DSkString.h88 char* SkStrAppendU64(char buffer[], uint64_t, int minDigits);
93 char* SkStrAppendS64(char buffer[], int64_t, int minDigits);
195 void insertS64(size_t offset, int64_t value, int minDigits = 0);
197 void insertU64(size_t offset, uint64_t value, int minDigits = 0);
198 void insertHex(size_t offset, uint32_t value, int minDigits = 0);
206 …void appendS64(int64_t value, int minDigits = 0) { this->insertS64((size_t)-1, value, minDigits); }
208 …void appendU64(uint64_t value, int minDigits = 0) { this->insertU64((size_t)-1, value, minDigits);…
209 …void appendHex(uint32_t value, int minDigits = 0) { this->insertHex((size_t)-1, value, minDigits);…
217 void prependS64(int32_t value, int minDigits = 0) { this->insertS64(0, value, minDigits); }
218 void prependHex(uint32_t value, int minDigits = 0) { this->insertHex(0, value, minDigits); }
DSkStream.h218 bool writeBigDecAsText(int64_t, int minDigits = 0);
219 bool writeHexAsText(uint32_t, int minDigits = 0);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEscapeTransliterator.java62 private int minDigits; field in EscapeTransliterator
163 int radix, int minDigits, in EscapeTransliterator() argument
170 this.minDigits = minDigits; in EscapeTransliterator()
196 supplementalHandler.minDigits); in handleTransliterate()
207 Utility.appendNumber(buf, c, radix, minDigits); in handleTransliterate()
233 Utility.appendNumber(buffer, i, it.radix, it.minDigits); in addSourceTargetSet()
DUnescapeTransliterator.java166 int minDigits = spec[ipat++]; in handleTransliterate() local
218 match = (digitCount >= minDigits); in handleTransliterate()
DTimeZoneFormat.java2093 private void appendOffsetDigits(StringBuilder buf, int n, int minDigits) {
2096 for (int i = 0; i < minDigits - numDigits; i++) {
2574 …private int parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigi…
2598 if (numDigits < minDigits || decVal < minVal) {
2750 int minDigits = 2 * (minFields.ordinal() + 1) - (fixedHourWidth ? 0 : 1);
2771 if (numDigits < minDigits) {
2778 while (numDigits >= minDigits) {
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DEscapeTransliterator.java61 private int minDigits; field in EscapeTransliterator
162 int radix, int minDigits, in EscapeTransliterator() argument
169 this.minDigits = minDigits; in EscapeTransliterator()
195 supplementalHandler.minDigits); in handleTransliterate()
206 Utility.appendNumber(buf, c, radix, minDigits); in handleTransliterate()
232 Utility.appendNumber(buffer, i, it.radix, it.minDigits); in addSourceTargetSet()
DUnescapeTransliterator.java165 int minDigits = spec[ipat++]; in handleTransliterate() local
217 match = (digitCount >= minDigits); in handleTransliterate()
/external/skia/src/core/
DSkString.cpp151 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64() argument
160 minDigits--; in SkStrAppendU64()
163 while (minDigits > 0) { in SkStrAppendU64()
165 minDigits--; in SkStrAppendU64()
177 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64() argument
183 return SkStrAppendU64(string, udec, minDigits); in SkStrAppendS64()
521 void SkString::insertS64(size_t offset, int64_t dec, int minDigits) { in insertS64() argument
523 char* stop = SkStrAppendS64(buffer, dec, minDigits); in insertS64()
533 void SkString::insertU64(size_t offset, uint64_t dec, int minDigits) { in insertU64() argument
535 char* stop = SkStrAppendU64(buffer, dec, minDigits); in insertU64()
[all …]
/external/icu/icu4c/source/i18n/
Desctrn.cpp99 this->minDigits = _minDigits; in EscapeTransliterator()
112 minDigits(o.minDigits), in EscapeTransliterator()
152 supplementalHandler->minDigits); in handleTransliterate()
163 ICU_Utility::appendNumber(buf, c, radix, minDigits); in handleTransliterate()
Desctrn.h70 int32_t minDigits; variable
101 int32_t radix, int32_t minDigits,
Dunesctrn.cpp190 int32_t minDigits = spec[ipat++]; in handleTransliterate() local
242 match = (digitCount >= minDigits); in handleTransliterate()
Dtzfmt.cpp2074 …ldWithLocalizedDigits(const UnicodeString& text, int32_t start, uint8_t minDigits, uint8_t maxDigi… in parseOffsetFieldWithLocalizedDigits() argument
2097 if (numDigits < minDigits || decVal < minVal) { in parseOffsetFieldWithLocalizedDigits()
2181 int32_t minDigits = 2 * (minFields + 1) - (fixedHourWidth ? 0 : 1); in parseAbuttingAsciiOffsetFields() local
2205 if (numDigits < minDigits) { in parseAbuttingAsciiOffsetFields()
2212 while (numDigits >= minDigits) { in parseAbuttingAsciiOffsetFields()
2343 TimeZoneFormat::appendOffsetDigits(UnicodeString& buf, int32_t n, uint8_t minDigits) const { in appendOffsetDigits()
2346 for (int32_t i = 0; i < minDigits - numDigits; i++) { in appendOffsetDigits()
/external/icu/icu4c/source/io/
Dufmt_cmn.c73 int32_t minDigits) in ufmt_64tou() argument
87 if(minDigits != -1 && length < minDigits) { in ufmt_64tou()
88 while(length < minDigits && length < *len) in ufmt_64tou()
Duprntf_p.c360 int32_t minDigits = -1; in u_printf_integer_handler() local
384 minDigits = unum_getAttribute(format, UNUM_MIN_INTEGER_DIGITS); in u_printf_integer_handler()
401 if (minDigits != -1) { in u_printf_integer_handler()
402 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_integer_handler()
493 int32_t minDigits = -1; in u_printf_uinteger_handler() local
515 minDigits = unum_getAttribute(format, UNUM_MIN_INTEGER_DIGITS); in u_printf_uinteger_handler()
529 if (minDigits != -1) { in u_printf_uinteger_handler()
530 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_uinteger_handler()
Dufmt_cmn.h108 int32_t minDigits);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java646 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
647 if (minDigits < 1 || maxDigits < 1 in getVersionString()
648 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
659 while (numDigits > minDigits) { in getVersionString()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVersionInfo.java608 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
609 if (minDigits < 1 || maxDigits < 1 in getVersionString()
610 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
621 while (numDigits > minDigits) { in getVersionString()
/external/icu/icu4c/source/common/
Dutil.cpp37 int32_t radix, int32_t minDigits) { in appendNumber() argument
53 --minDigits; in appendNumber()
56 while (--minDigits > 0) { in appendNumber()
Dutil.h47 int32_t minDigits = 1);
/external/skia/src/xml/
DSkXMLWriter.cpp34 void SkXMLWriter::addHexAttribute(const char name[], uint32_t value, int minDigits) { in addHexAttribute() argument
36 tmp.appendHex(value, minDigits); in addHexAttribute()
DSkXMLWriter.h26 void addHexAttribute(const char name[], uint32_t value, int minDigits = 0);
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h866 void appendOffsetDigits(UnicodeString& buf, int32_t n, uint8_t minDigits) const;
963 … uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1373 int radix, int minDigits)
1378 if (n >= radix || minDigits > 1) {
1379 recursiveAppendNumber(result, n / radix, radix, minDigits - 1);
1401 int radix, int minDigits)
1416 recursiveAppendNumber(result, abs, radix, minDigits);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java1377 int radix, int minDigits)
1382 if (n >= radix || minDigits > 1) {
1383 recursiveAppendNumber(result, n / radix, radix, minDigits - 1);
1405 int radix, int minDigits)
1420 recursiveAppendNumber(result, abs, radix, minDigits);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2163 private void appendOffsetDigits(StringBuilder buf, int n, int minDigits) {
2166 for (int i = 0; i < minDigits - numDigits; i++) {
2644 …private int parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigi…
2668 if (numDigits < minDigits || decVal < minVal) {
2820 int minDigits = 2 * (minFields.ordinal() + 1) - (fixedHourWidth ? 0 : 1);
2841 if (numDigits < minDigits) {
2848 while (numDigits >= minDigits) {

12