/external/icu/icu4c/source/data/misc/ |
D | numberingSystems.txt | 9 radix:int{10} 14 radix:int{10} 19 radix:int{10} 24 radix:int{10} 29 radix:int{10} 34 radix:int{10} 39 radix:int{10} 44 radix:int{10} 49 radix:int{10} 54 radix:int{10} [all …]
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | UnsignedLongs.java | 337 public static long parseUnsignedLong(String string, int radix) { in parseUnsignedLong() argument 342 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) { in parseUnsignedLong() 343 throw new NumberFormatException("illegal radix: " + radix); in parseUnsignedLong() 346 int maxSafePos = ParseOverflowDetection.maxSafeDigits[radix] - 1; in parseUnsignedLong() 349 int digit = Character.digit(string.charAt(pos), radix); in parseUnsignedLong() 353 if (pos > maxSafePos && ParseOverflowDetection.overflowInParse(value, digit, radix)) { in parseUnsignedLong() 356 value = (value * radix) + digit; in parseUnsignedLong() 383 return parseUnsignedLong(request.rawValue, request.radix); in decode() 419 static boolean overflowInParse(long current, int digit, int radix) { in overflowInParse() argument 421 if (current < maxValueDivs[radix]) { in overflowInParse() [all …]
|
D | ParseRequest.java | 23 final int radix; field in ParseRequest 25 private ParseRequest(String rawValue, int radix) { in ParseRequest() argument 27 this.radix = radix; in ParseRequest() 37 int radix; in fromString() local 41 radix = 16; in fromString() 44 radix = 16; in fromString() 47 radix = 8; in fromString() 50 radix = 10; in fromString() 53 return new ParseRequest(rawValue, radix); in fromString()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedLongs.java | 337 public static long parseUnsignedLong(String string, int radix) { in parseUnsignedLong() argument 342 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) { in parseUnsignedLong() 343 throw new NumberFormatException("illegal radix: " + radix); in parseUnsignedLong() 346 int maxSafePos = ParseOverflowDetection.maxSafeDigits[radix] - 1; in parseUnsignedLong() 349 int digit = Character.digit(string.charAt(pos), radix); in parseUnsignedLong() 353 if (pos > maxSafePos && ParseOverflowDetection.overflowInParse(value, digit, radix)) { in parseUnsignedLong() 356 value = (value * radix) + digit; in parseUnsignedLong() 383 return parseUnsignedLong(request.rawValue, request.radix); in decode() 419 static boolean overflowInParse(long current, int digit, int radix) { in overflowInParse() argument 421 if (current < maxValueDivs[radix]) { in overflowInParse() [all …]
|
D | ParseRequest.java | 23 final int radix; field in ParseRequest 25 private ParseRequest(String rawValue, int radix) { in ParseRequest() argument 27 this.radix = radix; in ParseRequest() 37 int radix; in fromString() local 41 radix = 16; in fromString() 44 radix = 16; in fromString() 47 radix = 8; in fromString() 50 radix = 10; in fromString() 53 return new ParseRequest(rawValue, radix); in fromString()
|
/external/llvm-project/llvm/test/tools/llvm-ml/ |
D | radix.asm | 37 .radix 2 39 .radix 16 41 .radix 10 51 .radix 9 53 .radix 10 59 .radix 12 62 .radix 10 69 .radix 16 72 .radix 10 79 .radix 12 [all …]
|
D | radix_errors.asm | 10 .radix 11 15 .radix 10 22 .radix 13 27 .radix 10 34 .radix 13 39 .radix 10 44 .radix 16 45 .radix 10 50 .radix 9 53 .radix 10
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | LiteralTools.java | 53 int radix = 10; in parseByte() local 65 radix = 16; in parseByte() 68 radix = 8; in parseByte() 75 byte maxValue = (byte)(Byte.MAX_VALUE / (radix / 2)); in parseByte() 78 digit = Character.digit(byteChars[position], radix); in parseByte() 82 shiftedResult = (byte)(result * radix); in parseByte() 123 int radix = 10; in parseShort() local 135 radix = 16; in parseShort() 138 radix = 8; in parseShort() 145 short maxValue = (short)(Short.MAX_VALUE / (radix / 2)); in parseShort() [all …]
|
/external/icu/icu4c/source/common/ |
D | cstring.cpp | 157 T_CString_integerToString(char* buffer, int32_t v, int32_t radix) in T_CString_integerToString() argument 165 U_ASSERT(radix>=2 && radix<=16); in T_CString_integerToString() 167 if(v<0 && radix == 10) { in T_CString_integerToString() 176 digit = (uint8_t)(uval % radix); in T_CString_integerToString() 178 uval = uval / radix; in T_CString_integerToString() 195 T_CString_int64ToString(char* buffer, int64_t v, uint32_t radix) in T_CString_int64ToString() argument 203 U_ASSERT(radix>=2 && radix<=16); in T_CString_int64ToString() 205 if(v<0 && radix == 10) { in T_CString_int64ToString() 214 digit = (uint8_t)(uval % radix); in T_CString_int64ToString() 216 uval = uval / radix; in T_CString_int64ToString() [all …]
|
D | util_props.cpp | 32 int8_t radix = 10; in parseInteger() local 37 radix = 16; in parseInteger() 42 radix = 8; in parseInteger() 47 int32_t d = u_digit(rule.charAt(p++), radix); in parseInteger() 53 int32_t v = (value * radix) + d; in parseInteger() 189 int32_t& pos, int8_t radix) { in parseNumber() argument 197 int32_t d = u_digit(ch, radix); in parseNumber() 201 n = radix*n + d; in parseNumber()
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-string-to-double.cpp | 157 static bool isDigit(int x, int radix) { in isDigit() argument 158 return (x >= '0' && x <= '9' && x < '0' + radix) in isDigit() 159 || (radix > 10 && x >= 'a' && x < 'a' + radix - 10) in isDigit() 160 || (radix > 10 && x >= 'A' && x < 'A' + radix - 10); in isDigit() 177 static bool IsDecimalDigitForRadix(int c, int radix) { in IsDecimalDigitForRadix() argument 178 return '0' <= c && c <= '9' && (c - '0') < radix; in IsDecimalDigitForRadix() 182 static bool inline IsDecimalDigitForRadix(int c, int radix) { in IsDecimalDigitForRadix() argument 183 return '0' <= c && c <= '9' && (c - '0') < radix; in IsDecimalDigitForRadix() 193 static bool IsCharacterDigitForRadix(int c, int radix, char a_character) { in IsCharacterDigitForRadix() argument 194 return radix > 10 && c >= a_character && c < a_character + radix - 10; in IsCharacterDigitForRadix() [all …]
|
D | nfrs.cpp | 887 int64_t util64_atoi(const char* str, uint32_t radix) in util64_atoi() argument 889 if (radix > 36) { in util64_atoi() 890 radix = 36; in util64_atoi() 891 } else if (radix < 2) { in util64_atoi() 892 radix = 2; in util64_atoi() 894 int64_t lradix = radix; in util64_atoi() 903 while ((b = digitInfo[*str++]) && ((b &= 0x7f) < radix)) { in util64_atoi() 913 int64_t util64_utoi(const UChar* str, uint32_t radix) in util64_utoi() argument 915 if (radix > 36) { in util64_utoi() 916 radix = 36; in util64_utoi() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | UnsignedBytesTest.java | 137 private static void assertParseFails(String value, int radix) { in assertParseFails() argument 139 UnsignedBytes.parseUnsignedByte(value, radix); in assertParseFails() 163 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { in testParseUnsignedByteWithRadix() 165 assertEquals((byte) i, UnsignedBytes.parseUnsignedByte(Integer.toString(i, radix), radix)); in testParseUnsignedByteWithRadix() local 167 assertParseFails(Integer.toString(1000, radix), radix); in testParseUnsignedByteWithRadix() 168 assertParseFails(Integer.toString(-1, radix), radix); in testParseUnsignedByteWithRadix() 169 assertParseFails(Integer.toString(-128, radix), radix); in testParseUnsignedByteWithRadix() 170 assertParseFails(Integer.toString(256, radix), radix); in testParseUnsignedByteWithRadix() 206 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { in testToStringWithRadix() 208 assertEquals(Integer.toString(i, radix), UnsignedBytes.toString((byte) i, radix)); in testToStringWithRadix() local
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedBytesTest.java | 137 private static void assertParseFails(String value, int radix) { in assertParseFails() argument 139 UnsignedBytes.parseUnsignedByte(value, radix); in assertParseFails() 163 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { in testParseUnsignedByteWithRadix() 165 assertEquals((byte) i, UnsignedBytes.parseUnsignedByte(Integer.toString(i, radix), radix)); in testParseUnsignedByteWithRadix() local 167 assertParseFails(Integer.toString(1000, radix), radix); in testParseUnsignedByteWithRadix() 168 assertParseFails(Integer.toString(-1, radix), radix); in testParseUnsignedByteWithRadix() 169 assertParseFails(Integer.toString(-128, radix), radix); in testParseUnsignedByteWithRadix() 170 assertParseFails(Integer.toString(256, radix), radix); in testParseUnsignedByteWithRadix() 206 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { in testToStringWithRadix() 208 assertEquals(Integer.toString(i, radix), UnsignedBytes.toString((byte) i, radix)); in testToStringWithRadix() local
|
/external/rust/crates/uuid/ |
D | CODEOWNERS | 2 .travis.yml @kinggoesgaming @KodrAus @Dylan-DPC @radix 3 appveyor.yml @kinggoesgaming @KodrAus @Dylan-DPC @radix 6 Cargo.toml @kinggoesgaming @KodrAus @Dylan-DPC @radix 9 *.rs @kinggoesgaming @KodrAus @Dylan-DPC @radix 12 CODEOWNERS @kinggoesgaming @KodrAus @Dylan-DPC @radix 16 bors.toml @kinggoesgaming @KodrAus @Dylan-DPC @radix
|
/external/pigweed/pw_arduino_build/py/pw_arduino_build/core_patches/teensy/ |
D | 01-teensyduino_1.53-cpp17.diff | 28 char * ultoa(unsigned long val, char *buf, int radix); 29 char * ltoa(long val, char *buf, int radix); 33 …static inline char * utoa(unsigned int val, char *buf, int radix) __attribute__((always_inline, un… 34 …static inline char * utoa(unsigned int val, char *buf, int radix) { return ultoa(val, buf, radix);… 35 static inline char * itoa(int val, char *buf, int radix) __attribute__((always_inline, unused)); 63 char * ultoa(unsigned long val, char *buf, int radix); 64 char * ltoa(long val, char *buf, int radix); 68 …static inline char * utoa(unsigned int val, char *buf, int radix) __attribute__((always_inline, un… 69 …static inline char * utoa(unsigned int val, char *buf, int radix) { return ultoa(val, buf, radix);… 70 static inline char * itoa(int val, char *buf, int radix) __attribute__((always_inline, unused));
|
/external/llvm-project/flang/lib/Decimal/ |
D | big-radix-floating-point.h | 52 static constexpr Digit radix{uint64Radix}; 53 static_assert(radix < std::numeric_limits<Digit>::max() / 1000, 55 static_assert(radix > std::numeric_limits<Digit>::max() / 10000, 139 return digits_ == digitLimit_ && digit_[digits_ - 1] >= radix / 10; in IsFull() 163 auto q{n / radix}; in SetTo() 164 digit_[digits_++] = static_cast<Digit>(n - q * radix); in SetTo() 209 static_assert(N > 1 && radix % N == 0, "bad modulus"); in RemoveLeastOrderZeroDigits() 218 digit_[j] = q + (radix / DIVISOR) * remainder; in RemoveLeastOrderZeroDigits() 227 auto coeff{radix >> twoPow}; in RemoveLeastOrderZeroDigits() 254 auto coeff{radix >> chunk}; // precise; radix is (5*2)**log10Radix in RemoveLeastOrderZeroDigits() [all …]
|
/external/elfutils/src/ |
D | size.c | 126 } radix; variable 207 radix = radix_decimal; in parse_opt() 215 radix = radix_octal; in parse_opt() 219 radix = radix_hex; in parse_opt() 245 radix = radix_hex; in parse_opt() 247 radix = radix_decimal; in parse_opt() 249 radix = radix_octal; in parse_opt() 392 const int digits = length_map[gelf_getclass (elf) - 1][radix]; in show_sysv() 437 printf ((radix == radix_hex in show_sysv() 439 : (radix == radix_decimal in show_sysv() [all …]
|
/external/llvm-project/llvm/test/tools/llvm-size/ |
D | radix.test | 6 ## Case 1: Octal radix (Berkeley). 7 # RUN: llvm-size %t1.o %t2.o --totals -B --radix=8 \ 17 ## Case 2: Decimal radix (Berkeley). 18 # RUN: llvm-size %t1.o %t2.o --totals -B --radix=10 \ 28 ## Case 3: Hexadecimal radix (Berkeley). 29 # RUN: llvm-size %t1.o %t2.o --totals -B --radix=16 \ 39 ## Case 4: Octal radix (sysv). 40 # RUN: llvm-size %t1.o %t2.o -A --radix=8 \ 60 ## Case 5: Decimal radix (sysv). 61 # RUN: llvm-size %t1.o %t2.o -A --radix=10 \ [all …]
|
/external/llvm-project/polly/lib/External/isl/imath/ |
D | imrat.c | 491 mp_result mp_rat_to_string(mp_rat r, mp_size radix, char *str, int limit) in mp_rat_to_string() argument 499 if ((res = mp_int_to_string(MP_NUMER_P(r), radix, str, limit)) != MP_OK) in mp_rat_to_string() 517 res = mp_int_to_string(MP_DENOM_P(r), radix, start, limit); in mp_rat_to_string() 521 mp_result mp_rat_to_decimal(mp_rat r, mp_size radix, mp_size prec, in mp_rat_to_decimal() argument 545 if ((res = mp_int_mul_value(TEMP(1), radix, TEMP(1))) != MP_OK) in mp_rat_to_decimal() 552 if ((res = mp_int_expt_value(radix, prec - lead_0, TEMP(2))) != MP_OK) in mp_rat_to_decimal() 613 if ((res = mp_int_to_string(TEMP(0), radix, start, left)) != MP_OK) in mp_rat_to_decimal() 635 res = mp_int_to_string(TEMP(1), radix, start, left); in mp_rat_to_decimal() 644 mp_result mp_rat_string_len(mp_rat r, mp_size radix) in mp_rat_string_len() argument 648 n_len = mp_int_string_len(MP_NUMER_P(r), radix); in mp_rat_string_len() [all …]
|
D | imrat.h | 94 mp_result mp_rat_to_string(mp_rat r, mp_size radix, char *str, int limit); 98 mp_result mp_rat_to_decimal(mp_rat r, mp_size radix, mp_size prec, 103 mp_result mp_rat_string_len(mp_rat r, mp_size radix); 107 mp_result mp_rat_decimal_len(mp_rat r, mp_size radix, mp_size prec); 110 mp_result mp_rat_read_string(mp_rat r, mp_size radix, const char *str); 111 mp_result mp_rat_read_cstring(mp_rat r, mp_size radix, const char *str, 113 mp_result mp_rat_read_ustring(mp_rat r, mp_size radix, const char *str, 117 mp_result mp_rat_read_decimal(mp_rat r, mp_size radix, const char *str); 118 mp_result mp_rat_read_cdecimal(mp_rat r, mp_size radix, const char *str,
|
/external/pdfium/core/fxcrt/ |
D | fx_system.cpp | 56 STR_T FXSYS_IntToStr(T value, STR_T str, int radix) { in FXSYS_IntToStr() argument 57 if (radix < 2 || radix > 16) { in FXSYS_IntToStr() 76 T order = uvalue / radix; in FXSYS_IntToStr() 79 order = order / radix; in FXSYS_IntToStr() 82 str[d + i] = "0123456789abcdef"[uvalue % radix]; in FXSYS_IntToStr() 83 uvalue /= radix; in FXSYS_IntToStr() 123 const char* FXSYS_i64toa(int64_t value, char* str, int radix) { in FXSYS_i64toa() argument 124 return FXSYS_IntToStr<int64_t, uint64_t, char*>(value, str, radix); in FXSYS_i64toa() 222 char* FXSYS_itoa(int value, char* str, int radix) { in FXSYS_itoa() argument 223 return FXSYS_IntToStr<int32_t, uint32_t, char*>(value, str, radix); in FXSYS_itoa()
|
/external/vboot_reference/firmware/lib/ |
D | utility_string.c | 14 uint32_t radix, uint32_t zero_pad_width) in Uint64ToString() argument 27 if (radix < 2 || radix > 36 || zero_pad_width >= UINT64_TO_STRING_MAX) in Uint64ToString() 34 int v = value % radix; in Uint64ToString() 35 value /= radix; in Uint64ToString()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | EscapeTransliterator.java | 56 private int radix; field in EscapeTransliterator 163 int radix, int minDigits, in EscapeTransliterator() argument 169 this.radix = radix; in EscapeTransliterator() 195 Utility.appendNumber(buf, c, supplementalHandler.radix, in handleTransliterate() 207 Utility.appendNumber(buf, c, radix, minDigits); in handleTransliterate() 232 for (int i = 0; i < it.radix; ++i) { in addSourceTargetSet() 233 Utility.appendNumber(buffer, i, it.radix, it.minDigits); in addSourceTargetSet()
|
/external/llvm-project/llvm/test/tools/llvm-strings/ |
D | radix.test | 1 ## Show that llvm-strings can handle the -t/--radix switch properly. 22 ## Show --radix works too. 23 RUN: llvm-strings --radix d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace 24 RUN: llvm-strings --radix o %t/a.txt | FileCheck %s -check-prefix CHECK-OCT --strict-whitespace 25 RUN: llvm-strings --radix x %t/a.txt | FileCheck %s -check-prefix CHECK-HEX --strict-whitespace 28 RUN: llvm-strings --radix=d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace 60 RUN: not llvm-strings --radix z %t/a.txt 2>&1 | FileCheck %s --check-prefix=INVALID 61 INVALID: llvm-strings{{.*}}: for the --radix option: Cannot find option named 'z'!
|