/external/icu/icu4c/source/i18n/unicode/ |
numsys.h | 49 * positional numbering system with a specified radix (typically 10). 97 * Create a numbering system using the specified radix, type, and description. 98 * @param radix The radix (base) for this numbering system. 105 static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const UnicodeString& description, UErrorCode& status ); 130 * Returns the radix of this numbering system. Simple positional numbering systems 131 * typically have radix 10, but might have a radix of e.g. 16 for hexadecimal. The 132 * radix is less well-defined for non-positional algorithmic systems. 150 * the radix), e.g. "\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D 188 int32_t radix; member in class:NumberingSystem [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...] |
/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,
|
nfrule.h | 107 int32_t radix; member in class:NFRule
|
unesctrn.cpp | 189 int8_t radix = (int8_t) spec[ipat++]; local 231 int32_t digit = u_digit(ch, radix); 236 u = (u * radix) + digit;
|
/external/icu/icu4c/source/common/ |
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...] |
/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...] |
UnescapeTransliterator.java | 20 * radix, and minimum and maximum digit counts. 32 * radix, minimum digit count, and maximum digit count. These 165 int radix = spec[ipat++]; local 207 int digit = UCharacter.digit(ch, radix); 212 u = (u * radix) + digit; 270 // * radix, minimum digit count, and maximum digit count. These 278 int radix = spec[i+2]; local 279 for (int j = 0; j < radix; ++j) { 280 Utility.appendNumber(buffer, j, radix, 0);
|
NumberingSystem.java | 52 radix = 10; 60 * @param radix_in The radix for this numbering system. ICU currently 61 * supports only numbering systems whose radix is 10. 78 * @param radix_in The radix for this numbering system. ICU currently 79 * supports only numbering systems whose radix is 10. 92 throw new IllegalArgumentException("Invalid radix for numbering system"); 101 ns.radix = radix_in; 226 int radix; local 235 UResourceBundle nsRadixBundle = nsTop.get("radix"); 237 radix = nsRadixBundle.getInt() 317 private int radix; field in class:NumberingSystem [all...] |
/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/eigen/unsupported/Eigen/src/Polynomials/ |
Companion.h | 24 T radix(){ return 2; } function in namespace:Eigen::internal 27 T radix2(){ return radix<T>()*radix<T>(); } 148 //To find the balancing coefficients, if the radix is 2, 153 rowB = rowNorm / radix<Scalar>(); 159 colB *= radix<Scalar>(); 163 rowB = rowNorm * radix<Scalar>(); 167 colB /= radix<Scalar>();
|
/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...] |
UnescapeTransliterator.java | 19 * radix, and minimum and maximum digit counts. 31 * radix, minimum digit count, and maximum digit count. These 164 int radix = spec[ipat++]; local 206 int digit = UCharacter.digit(ch, radix); 211 u = (u * radix) + digit; 269 // * radix, minimum digit count, and maximum digit count. These 277 int radix = spec[i+2]; local 278 for (int j = 0; j < radix; ++j) { 279 Utility.appendNumber(buffer, j, radix, 0);
|
/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...] |
/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) { 334 int radix = 1 << shift; local [all...] |
/external/clang/include/clang/Lex/ |
LiteralSupport.h | 42 /// determines the radix of the value and can convert it to a useful value. 51 unsigned radix; member in class:clang::NumericLiteralParser 92 unsigned getRadix() const { return radix; }
|
/external/elfutils/src/ |
size.c | 63 { "radix", OPT_RADIX, "RADIX", 0, N_("Use RADIX for printing symbol values"), 65 { NULL, 'd', NULL, 0, N_("Same as `--radix=10'"), 0 }, 66 { NULL, 'o', NULL, 0, N_("Same as `--radix=8'"), 0 }, 67 { NULL, 'x', NULL, 0, N_("Same as `--radix=16'"), 0 }, 123 /* Radix for printed numbers. */ 129 } radix; variable in typeref:enum:__anon20230 132 /* Mapping of radix and binary class to length. */ 224 radix = radix_decimal [all...] |
strings.c | 75 { "radix", 't', "{o,d,x}", 0, 77 { NULL, 'o', NULL, 0, N_("Alias for --radix=o"), 0 }, 123 /* Radix for printed numbers. */ 130 } radix = radix_none; variable in typeref:enum:__anon20231 293 radix = radix_decimal; 298 radix = radix_octal; 302 radix = radix_hex; 369 if (unlikely (radix != radix_none)) 370 printf ((radix == radix_octal ? "%7" PRIo64 " " 371 : (radix == radix_decimal ? "%7" PRId64 " [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
XMLRecordReader.java | 224 int radix = 10; local 227 radix = 16; 235 int num = Integer.parseInt(numBuf.toString(), radix); 239 + " radix: " + radix);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
XMLRecordReader.java | 220 int radix = 10; local 223 radix = 16; 231 int num = Integer.parseInt(numBuf.toString(), radix); 235 + " radix: " + radix);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
NumberingSystem.java | 53 radix = 10; 61 * @param radix_in The radix for this numbering system. ICU currently 62 * supports only numbering systems whose radix is 10. 80 * @param radix_in The radix for this numbering system. ICU currently 81 * supports only numbering systems whose radix is 10. 95 throw new IllegalArgumentException("Invalid radix for numbering system"); 104 ns.radix = radix_in; 233 int radix; local 242 UResourceBundle nsRadixBundle = nsTop.get("radix"); 244 radix = nsRadixBundle.getInt() 330 private int radix; field in class:NumberingSystem [all...] |
/external/opencv/cxcore/src/ |
cxdxt.cpp | 223 int digits[34], radix[34]; local 258 // radix[] is initialized from index 'nf' down to zero 260 radix[nf] = 1; 265 radix[nf-i-1] = radix[nf-i]*factors[nf-i-1]; 273 int a = radix[1], na2 = n*a>>1, na4 = na2 >> 1; 311 for( i = n, j = radix[2]; i < n0; ) 317 j += radix[2]; 321 j += radix[k+2] - radix[k] [all...] |
/external/turbine/java/com/google/turbine/parse/ |
ConstExpressionParser.java | 286 int radix = 10; local 289 radix = 0x10; 291 radix = 010; 294 radix = 0b10; 299 long longValue = parseLong(text, radix); 300 if (radix == 10) { 314 int radix = 10; local 317 radix = 0x10; 319 radix = 010; 322 radix = 0b10 [all...] |
/external/v8/src/ |
conversions-inl.h | 255 // Parsing integers with radix 2, 4, 8, 16, 32. Assumes current != end. 272 const int radix = (1 << radix_log_2); local 276 if (*current >= '0' && *current <= '9' && *current < '0' + radix) { 278 } else if (radix > 10 && *current >= 'a' && *current < 'a' + radix - 10) { 280 } else if (radix > 10 && *current >= 'A' && *current < 'A' + radix - 10) { 291 number = number * radix + digit; 310 if (current == end || !isDigit(*current, radix)) break; 356 // ES6 18.2.5 parseInt(string, radix) [all...] |