Home
last modified time | relevance | path

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

12

/external/skqp/include/core/
DSkString.h90 char* SkStrAppendU64(char buffer[], uint64_t, int minDigits);
95 char* SkStrAppendS64(char buffer[], int64_t, int minDigits);
197 void insertS64(size_t offset, int64_t value, int minDigits = 0);
199 void insertU64(size_t offset, uint64_t value, int minDigits = 0);
200 void insertHex(size_t offset, uint32_t value, int minDigits = 0);
208 …void appendS64(int64_t value, int minDigits = 0) { this->insertS64((size_t)-1, value, minDigits); }
210 …void appendU64(uint64_t value, int minDigits = 0) { this->insertU64((size_t)-1, value, minDigits);…
211 …void appendHex(uint32_t value, int minDigits = 0) { this->insertHex((size_t)-1, value, minDigits);…
219 void prependS64(int32_t value, int minDigits = 0) { this->insertS64(0, value, minDigits); }
220 void prependHex(uint32_t value, int minDigits = 0) { this->insertHex(0, value, minDigits); }
/external/skia/include/core/
DSkString.h90 char* SkStrAppendU64(char buffer[], uint64_t, int minDigits);
95 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); }
/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/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()
/external/skia/src/core/
DSkString.cpp114 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64() argument
123 minDigits--; in SkStrAppendU64()
126 while (minDigits > 0) { in SkStrAppendU64()
128 minDigits--; in SkStrAppendU64()
140 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64() argument
146 return SkStrAppendU64(string, udec, minDigits); in SkStrAppendS64()
445 void SkString::insertS64(size_t offset, int64_t dec, int minDigits) { in insertS64() argument
447 char* stop = SkStrAppendS64(buffer, dec, minDigits); in insertS64()
457 void SkString::insertU64(size_t offset, uint64_t dec, int minDigits) { in insertU64() argument
459 char* stop = SkStrAppendU64(buffer, dec, minDigits); in insertU64()
[all …]
/external/skqp/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()
512 void SkString::insertS64(size_t offset, int64_t dec, int minDigits) { in insertS64() argument
514 char* stop = SkStrAppendS64(buffer, dec, minDigits); in insertS64()
524 void SkString::insertU64(size_t offset, uint64_t dec, int minDigits) { in insertU64() argument
526 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()
/external/icu/icu4c/source/io/
Dufmt_cmn.cpp73 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.cpp365 int32_t minDigits = -1; in u_printf_integer_handler() local
389 minDigits = unum_getAttribute(format, UNUM_MIN_INTEGER_DIGITS); in u_printf_integer_handler()
406 if (minDigits != -1) { in u_printf_integer_handler()
407 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_integer_handler()
500 int32_t minDigits = -1; in u_printf_uinteger_handler() local
522 minDigits = unum_getAttribute(format, UNUM_MIN_INTEGER_DIGITS); in u_printf_uinteger_handler()
536 if (minDigits != -1) { in u_printf_uinteger_handler()
537 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_uinteger_handler()
Dufmt_cmn.h108 int32_t minDigits);
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVersionInfo.java614 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
615 if (minDigits < 1 || maxDigits < 1 in getVersionString()
616 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
627 while (numDigits > minDigits) { in getVersionString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java653 public String getVersionString(int minDigits, int maxDigits) { in getVersionString() argument
654 if (minDigits < 1 || maxDigits < 1 in getVersionString()
655 || minDigits > 4 || maxDigits > 4 || minDigits > maxDigits) { in getVersionString()
666 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/skqp/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/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.java1374 int radix, int minDigits)
1379 if (n >= radix || minDigits > 1) {
1380 recursiveAppendNumber(result, n / radix, radix, minDigits - 1);
1402 int radix, int minDigits)
1417 recursiveAppendNumber(result, abs, radix, minDigits);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java1378 int radix, int minDigits)
1383 if (n >= radix || minDigits > 1) {
1384 recursiveAppendNumber(result, n / radix, radix, minDigits - 1);
1406 int radix, int minDigits)
1421 recursiveAppendNumber(result, abs, radix, minDigits);

12