HomeSort by relevance Sort by last modified time
    Searched refs:radix (Results 1 - 25 of 366) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/
radix.s 1 .radix a
2 .radix c
3 .radix C#
4 .radix cc
5 .radix Z
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerToStringTest.java 29 * Method: toString(int radix)
33 * If 36 < radix < 2 it should be set to 10
37 int radix = 10; local
38 BigInteger aNumber = new BigInteger(value, radix);
44 * test negative number of radix 2
48 int radix = 2; local
49 BigInteger aNumber = new BigInteger(value, radix);
50 String result = aNumber.toString(radix);
55 * test positive number of radix 2
59 int radix = 2 local
70 int radix = 16; local
81 int radix = 16; local
92 int radix = 16; local
103 int radix = 16; local
114 int radix = 24; local
125 int radix = 24; local
136 int radix = 36; local
147 int radix = 36; local
    [all...]
  /external/crcalc/src/com/hp/creals/
StringFloatRep.java 44 radix = r;
57 * The radix of the representation. Also the base of the exponent field.
59 public int radix; field in class:StringFloatRep
61 * The mantissa is scaled by radix**exponent.
71 + (radix == 10? "" : "(radix " + radix + ")");
  /external/guava/guava/src/com/google/common/primitives/
ParseRequest.java 20 * A string to be parsed as a number and the radix to interpret it in.
25 final int radix; field in class:ParseRequest
27 private ParseRequest(String rawValue, int radix) {
29 this.radix = radix;
37 // Handle radix specifier if present
39 int radix; local
43 radix = 16;
46 radix = 16;
49 radix = 8
    [all...]
UnsignedLongs.java 273 return parseUnsignedLong(request.rawValue, request.radix);
283 * Returns the unsigned {@code long} value represented by a string with the given radix.
286 * @param radix the radix to use while parsing {@code s}
288 * with the given radix, or if {@code radix} is not between {@link Character#MIN_RADIX}
293 public static long parseUnsignedLong(String s, int radix) {
298 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
299 throw new NumberFormatException("illegal radix: " + radix)
    [all...]
  /external/vboot_reference/firmware/lib/
utility_string.c 14 uint32_t radix, uint32_t zero_pad_width)
27 if (radix < 2 || radix > 36 || zero_pad_width >= UINT64_TO_STRING_MAX)
34 int v = value % radix;
35 value /= radix;
  /external/icu/icu4c/source/common/
ustrfmt.h 16 uprv_itou (UChar * buffer, int32_t capacity, uint32_t i, uint32_t radix, int32_t minwidth);
ustrfmt.c 15 * Fills in a UChar* string with the radix-based representation of a
22 * @param radix the radix from 2..36
31 uint32_t i, uint32_t radix, int32_t minwidth)
39 digit = (int)(i % radix);
41 i=i/radix;
util_props.cpp 32 int8_t radix = 10; local
37 radix = 16;
42 radix = 8;
47 int32_t d = u_digit(rule.charAt(p++), radix);
53 int32_t v = (value * radix) + d;
181 * @param radix the radix in which to parse; must be >= 2 and <=
189 int32_t& pos, int8_t radix) {
191 // assert(radix >= 2);
192 // assert(radix <= 36)
    [all...]
cstring.c 151 * Takes a int32_t and fills in a char* string with that number "radix"-based.
157 T_CString_integerToString(char* buffer, int32_t v, int32_t radix)
165 U_ASSERT(radix>=2 && radix<=16);
167 if(v<0 && radix == 10) {
176 digit = (uint8_t)(uval % radix);
178 uval = uval / radix;
190 * Takes a int64_t and fills in a char* string with that number "radix"-based.
195 T_CString_int64ToString(char* buffer, int64_t v, uint32_t radix)
203 U_ASSERT(radix>=2 && radix<=16)
    [all...]
  /external/icu/icu4c/source/tools/genrb/
rbutil.h 29 int32_t itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad);
  /external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
radix.pass.cpp 12 // radix
21 static_assert(std::numeric_limits<T>::radix == expected, "radix test 1");
22 static_assert(std::numeric_limits<const T>::radix == expected, "radix test 2");
23 static_assert(std::numeric_limits<volatile T>::radix == expected, "radix test 3");
24 static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4");
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
radix.pass.cpp 12 // radix
21 static_assert(std::numeric_limits<T>::radix == expected, "radix test 1");
22 static_assert(std::numeric_limits<const T>::radix == expected, "radix test 2");
23 static_assert(std::numeric_limits<volatile T>::radix == expected, "radix test 3");
24 static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/language.support/support.limits/limits/numeric.limits.members/
radix.pass.cpp 12 // radix
21 static_assert(std::numeric_limits<T>::radix == expected, "radix test 1");
22 static_assert(std::numeric_limits<const T>::radix == expected, "radix test 2");
23 static_assert(std::numeric_limits<volatile T>::radix == expected, "radix test 3");
24 static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4");
  /external/v8/src/
conversions.h 29 inline bool isDigit(int x, int radix) {
30 return (x >= '0' && x <= '9' && x < '0' + radix)
31 || (radix > 10 && x >= 'a' && x < 'a' + radix - 10)
32 || (radix > 10 && x >= 'A' && x < 'A' + radix - 10);
125 int radix);
130 int radix);
148 char* DoubleToRadixCString(double value, int radix);
  /external/guava/guava-tests/test/com/google/common/primitives/
UnsignedBytesTest.java 155 private static void assertParseFails(String value, int radix) {
157 UnsignedBytes.parseUnsignedByte(value, radix);
165 for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
167 assertEquals((byte) i, UnsignedBytes.parseUnsignedByte(Integer.toString(i, radix), radix));
169 assertParseFails(Integer.toString(1000, radix), radix);
170 assertParseFails(Integer.toString(-1, radix), radix)
    [all...]
  /external/smali/smali/src/main/java/org/jf/smali/
LiteralTools.java 53 int radix = 10; local
65 radix = 16;
68 radix = 8;
75 byte maxValue = (byte)(Byte.MAX_VALUE / (radix / 2));
78 digit = Character.digit(byteChars[position], radix);
82 shiftedResult = (byte)(result * radix);
123 int radix = 10; local
135 radix = 16;
138 radix = 8;
145 short maxValue = (short)(Short.MAX_VALUE / (radix / 2))
187 int radix = 10; local
257 int radix = 10; local
    [all...]
  /external/icu/icu4c/source/i18n/
esctrn.h 27 * empty, a radix, typically 16 or 10, a minimum digit count,
61 * The radix to display the number in. Typically 16 or 10. Must
64 int32_t radix; member in class:EscapeTransliterator
82 * prefix, suffix, radix, and minDigits of this object are used
101 int32_t radix, int32_t minDigits,
  /libcore/ojluni/src/main/java/java/lang/
Integer.java 89 * radix specified by the second argument.
91 * <p>If the radix is smaller than {@code Character.MIN_RADIX}
92 * or larger than {@code Character.MAX_RADIX}, then the radix
113 * {@code '\u005Cu007A'}. If {@code radix} is
115 * are used as radix-<var>N</var> digits in the order shown. Thus,
116 * the digits for hexadecimal (radix 16) are
126 * @param radix the radix to use in the string representation.
127 * @return a string representation of the argument in the specified radix.
131 public static String toString(int i, int radix) {
333 int radix = 1 << shift; local
    [all...]
Long.java 79 * radix specified by the second argument.
81 * <p>If the radix is smaller than {@code Character.MIN_RADIX}
82 * or larger than {@code Character.MAX_RADIX}, then the radix
103 * {@code '\u005Cu007a'}. If {@code radix} is
105 * are used as radix-<var>N</var> digits in the order shown. Thus,
106 * the digits for hexadecimal (radix 16) are
116 * @param radix the radix to use in the string representation.
117 * @return a string representation of the argument in the specified radix.
121 public static String toString(long i, int radix) {
374 int radix = 1 << shift; local
888 int radix = 10; local
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Scanner.java 149 * different radix has been set by using the {@link #useRadix} method. The
150 * {@link #reset} method will reset the value of the scanner's radix to
218 * Rmax is the highest digit in the radix being used (for example, Rmax is 9 in base 10).
355 // The current radix used by this scanner
356 private int radix = 10; field in class:Scanner
358 // The default radix for this scanner
424 String radixDigits = digits.substring(0, radix);
425 // Android-changed: Support non-decimal starting digits. (i.e, a-z are valid radix digits).
426 String nonZeroRadixDigits = "((?i)[" + digits.substring(1, radix) + "]|(" + non0Digit + "))";
1240 public int radix() { method in class:Scanner
    [all...]
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
IntegralToString.java 95 * The digits for every supported radix.
115 * Equivalent to Integer.toString(i, radix).
117 public static String intToString(int i, int radix) {
118 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
119 radix = 10;
121 if (radix == 10) {
138 int bufLen = radix < 8 ? 33 : 12; // Max chars in result (conservative)
143 int q = i / radix;
144 buf[--cursor] = DIGITS[radix * q - i]
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
EscapeTransliterator.java 20 * empty, a radix, typically 16 or 10, a minimum digit count,
53 * The radix to display the number in. Typically 16 or 10. Must
56 private int radix; field in class:EscapeTransliterator
74 * prefix, suffix, radix, and minDigits of this object are used
163 int radix, int minDigits,
169 this.radix = radix;
195 Utility.appendNumber(buf, c, supplementalHandler.radix,
207 Utility.appendNumber(buf, c, radix, minDigits);
232 for (int i = 0; i < it.radix; ++i)
    [all...]
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
EscapeTransliterator.java 19 * empty, a radix, typically 16 or 10, a minimum digit count,
52 * The radix to display the number in. Typically 16 or 10. Must
55 private int radix; field in class:EscapeTransliterator
73 * prefix, suffix, radix, and minDigits of this object are used
162 int radix, int minDigits,
168 this.radix = radix;
194 Utility.appendNumber(buf, c, supplementalHandler.radix,
206 Utility.appendNumber(buf, c, radix, minDigits);
231 for (int i = 0; i < it.radix; ++i)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
GLIntegerProperty.java 25 public GLIntegerProperty(GLStateType name, Integer defaultValue, DisplayRadix radix) {
29 mRadix = radix;

Completed in 840 milliseconds

1 2 3 4 5 6 7 8 91011>>