Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkString.h82 char* SkStrAppendU64(char buffer[], uint64_t, int minDigits);
87 char* SkStrAppendS64(char buffer[], int64_t, int minDigits);
184 void insertS64(size_t offset, int64_t value, int minDigits = 0);
186 void insertU64(size_t offset, uint64_t value, int minDigits = 0);
187 void insertHex(size_t offset, uint32_t value, int minDigits = 0);
195 …void appendS64(int64_t value, int minDigits = 0) { this->insertS64((size_t)-1, value, minDigits); }
197 …void appendU64(uint64_t value, int minDigits = 0) { this->insertU64((size_t)-1, value, minDigits);…
198 …void appendHex(uint32_t value, int minDigits = 0) { this->insertHex((size_t)-1, value, minDigits);…
206 void prependS64(int32_t value, int minDigits = 0) { this->insertS64(0, value, minDigits); }
207 void prependHex(uint32_t value, int minDigits = 0) { this->insertHex(0, value, minDigits); }
DSkStream.h207 bool writeBigDecAsText(int64_t, int minDigits = 0);
208 bool writeHexAsText(uint32_t, int minDigits = 0);
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DEscapeTransliterator.java59 private int minDigits; field in EscapeTransliterator
152 int radix, int minDigits, in EscapeTransliterator() argument
159 this.minDigits = minDigits; in EscapeTransliterator()
184 supplementalHandler.minDigits); in handleTransliterate()
195 Utility.appendNumber(buf, c, radix, minDigits); in handleTransliterate()
221 Utility.appendNumber(buffer, i, it.radix, it.minDigits); in addSourceTargetSet()
DUnescapeTransliterator.java155 int minDigits = spec[ipat++]; in handleTransliterate() local
207 match = (digitCount >= minDigits); in handleTransliterate()
/external/skia/src/core/
DSkString.cpp101 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64() argument
110 minDigits--; in SkStrAppendU64()
113 while (minDigits > 0) { in SkStrAppendU64()
115 minDigits--; in SkStrAppendU64()
127 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64() argument
133 return SkStrAppendU64(string, udec, minDigits); in SkStrAppendS64()
493 void SkString::insertS64(size_t offset, int64_t dec, int minDigits) { in insertS64() argument
495 char* stop = SkStrAppendS64(buffer, dec, minDigits); in insertS64()
505 void SkString::insertU64(size_t offset, uint64_t dec, int minDigits) { in insertU64() argument
507 char* stop = SkStrAppendU64(buffer, dec, minDigits); in insertU64()
[all …]
DSkStream.cpp95 bool SkWStream::writeBigDecAsText(int64_t dec, int minDigits) in writeBigDecAsText() argument
98 char* stop = SkStrAppendU64(buffer, dec, minDigits); in writeBigDecAsText()
/external/icu/icu4c/source/i18n/
Desctrn.cpp97 this->minDigits = _minDigits; in EscapeTransliterator()
110 minDigits(o.minDigits), in EscapeTransliterator()
150 supplementalHandler->minDigits); in handleTransliterate()
161 ICU_Utility::appendNumber(buf, c, radix, minDigits); in handleTransliterate()
Desctrn.h68 int32_t minDigits; variable
99 int32_t radix, int32_t minDigits,
Dunesctrn.cpp188 int32_t minDigits = spec[ipat++]; in handleTransliterate() local
240 match = (digitCount >= minDigits); in handleTransliterate()
Dtzfmt.cpp2072 …ldWithLocalizedDigits(const UnicodeString& text, int32_t start, uint8_t minDigits, uint8_t maxDigi… in parseOffsetFieldWithLocalizedDigits() argument
2095 if (numDigits < minDigits || decVal < minVal) { in parseOffsetFieldWithLocalizedDigits()
2179 int32_t minDigits = 2 * (minFields + 1) - (fixedHourWidth ? 0 : 1); in parseAbuttingAsciiOffsetFields() local
2203 if (numDigits < minDigits) { in parseAbuttingAsciiOffsetFields()
2210 while (numDigits >= minDigits) { in parseAbuttingAsciiOffsetFields()
2341 TimeZoneFormat::appendOffsetDigits(UnicodeString& buf, int32_t n, uint8_t minDigits) const { in appendOffsetDigits()
2344 for (int32_t i = 0; i < minDigits - numDigits; i++) { in appendOffsetDigits()
Ddecimfmt.cpp1447 int32_t minDigits = getMinimumIntegerDigits();
1450 int32_t prependZero = (minDigits < 1 ? 1 : minDigits) - destlength;
Dsmpdtfmt.cpp1888 int32_t value, int32_t minDigits, int32_t maxDigits) const in zeroPaddingNumber() argument
1893 currentNumberFormat->setMinimumIntegerDigits(minDigits); in zeroPaddingNumber()
/external/icu/icu4c/source/io/
Dufmt_cmn.c71 int32_t minDigits) in ufmt_64tou() argument
85 if(minDigits != -1 && length < minDigits) { in ufmt_64tou()
86 while(length < minDigits && length < *len) in ufmt_64tou()
Duprntf_p.c358 int32_t minDigits = -1; in u_printf_integer_handler() local
382 minDigits = unum_getAttribute(format, UNUM_MIN_INTEGER_DIGITS); in u_printf_integer_handler()
399 if (minDigits != -1) { in u_printf_integer_handler()
400 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_integer_handler()
491 int32_t minDigits = -1; in u_printf_uinteger_handler() local
513 minDigits = unum_getAttribute(format, UNUM_MIN_INTEGER_DIGITS); in u_printf_uinteger_handler()
527 if (minDigits != -1) { in u_printf_uinteger_handler()
528 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_uinteger_handler()
Dufmt_cmn.h106 int32_t minDigits);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java611 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
612 if (minDigits < 1 || maxDigits < 1 in getVersionString()
613 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
624 while (numDigits > minDigits) { in getVersionString()
/external/icu/icu4c/source/common/
Dutil.cpp35 int32_t radix, int32_t minDigits) { in appendNumber() argument
51 --minDigits; in appendNumber()
54 while (--minDigits > 0) { in appendNumber()
Dutil.h45 int32_t minDigits = 1);
/external/skia/src/xml/
DSkXMLWriter.cpp38 void SkXMLWriter::addHexAttribute(const char name[], uint32_t value, int minDigits) in addHexAttribute() argument
41 tmp.appendHex(value, minDigits); in addHexAttribute()
/external/skia/include/xml/
DSkXMLWriter.h26 void addHexAttribute(const char name[], uint32_t value, int minDigits = 0);
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h867 void appendOffsetDigits(UnicodeString& buf, int32_t n, uint8_t minDigits) const;
964 … uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) const;
Dsmpdtfmt.h1284 int32_t minDigits,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1359 int radix, int minDigits)
1364 if (n >= radix || minDigits > 1) {
1365 recursiveAppendNumber(result, n / radix, radix, minDigits - 1);
1387 int radix, int minDigits)
1402 recursiveAppendNumber(result, abs, radix, minDigits);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2161 private void appendOffsetDigits(StringBuilder buf, int n, int minDigits) {
2164 for (int i = 0; i < minDigits - numDigits; i++) {
2642 …private int parseOffsetFieldWithLocalizedDigits(String text, int start, int minDigits, int maxDigi…
2666 if (numDigits < minDigits || decVal < minVal) {
2818 int minDigits = 2 * (minFields.ordinal() + 1) - (fixedHourWidth ? 0 : 1);
2839 if (numDigits < minDigits) {
2846 while (numDigits >= minDigits) {
DSimpleDateFormat.java2038 int minDigits, int maxDigits) { in zeroPaddingNumber() argument
2043 fastZeroPaddingNumber(buf, value, minDigits, maxDigits); in zeroPaddingNumber()
2045 nf.setMinimumIntegerDigits(minDigits); in zeroPaddingNumber()
2109 private void fastZeroPaddingNumber(StringBuffer buf, int value, int minDigits, int maxDigits) { in fastZeroPaddingNumber() argument
2120 int padding = minDigits - (limit - index); in fastZeroPaddingNumber()
2138 protected String zeroPaddingNumber(long value, int minDigits, int maxDigits) in zeroPaddingNumber() argument
2140 numberFormat.setMinimumIntegerDigits(minDigits); in zeroPaddingNumber()