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

1 2

  /external/icu4c/i18n/unicode/
numsys.h 93 * Create a numbering system using the specified radix, type, and description.
94 * @param radix The radix (base) for this numbering system.
101 static NumberingSystem* U_EXPORT2 createInstance(int32_t radix, UBool isAlgorithmic, const UnicodeString& description, UErrorCode& status );
120 * Returns the radix of this numbering system.
169 int32_t radix; member in class:NumberingSystem
173 void setRadix(int32_t radix);
  /external/icu4c/i18n/
esctrn.h 25 * empty, a radix, typically 16 or 10, a minimum digit count,
59 * The radix to display the number in. Typically 16 or 10. Must
62 int32_t radix; member in class:EscapeTransliterator
80 * prefix, suffix, radix, and minDigits of this object are used
99 int32_t radix, int32_t minDigits,
nfrule.h 62 double getDivisor() const { return uprv_pow(radix, exponent); }
96 int32_t radix; member in class:NFRule
numsys.cpp 39 static const char gRadix[] = "radix";
53 radix = 10;
150 int32_t radix = 10; local
160 radix = ures_getInt(nsCurrent,&status);
178 NumberingSystem* ns = NumberingSystem::createInstance(radix,isAlgorithmic,nsd,status);
191 return radix;
203 radix = r;
unesctrn.cpp 186 int8_t radix = (int8_t) spec[ipat++]; local
228 int32_t digit = u_digit(ch, radix);
233 u = (u * radix) + digit;
  /external/icu4c/common/
util_props.cpp 28 int8_t radix = 10; local
33 radix = 16;
38 radix = 8;
43 int32_t d = u_digit(rule.charAt(p++), radix);
49 int32_t v = (value * radix) + d;
178 * @param radix the radix in which to parse; must be >= 2 and <=
186 int32_t& pos, int8_t radix) {
188 // assert(radix >= 2);
189 // assert(radix <= 36)
    [all...]
  /external/apache-harmony/math/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...]
BigIntegerConstructorsTest.java 30 * BigInteger(String val, int radix)
571 * Create a number from a string value and radix.
572 * Verify an exception thrown if a radix is out of range
576 int radix = 45; local
578 new BigInteger(value, radix);
585 * Create a number from a string value and radix.
590 int radix = 10; local
592 new BigInteger(value, radix);
599 * Create a number from a string value and radix.
604 int radix = 34 local
618 int radix = 20; local
631 int radix = 2; local
647 int radix = 8; local
663 int radix = 10; local
679 int radix = 16; local
695 int radix = 36; local
711 int radix = 36; local
727 int radix = 10; local
    [all...]
  /external/v8/src/
conversions.cc 123 static bool isDigit(int x, int radix) {
124 return (x >= '0' && x <= '9' && x < '0' + radix)
125 || (radix > 10 && x >= 'a' && x < 'a' + radix - 10)
126 || (radix > 10 && x >= 'A' && x < 'A' + radix - 10);
135 // Parsing integers with radix 2, 4, 8, 16, 32. Assumes current != end.
152 const int radix = (1 << radix_log_2); local
156 if (*current >= '0' && *current <= '9' && *current < '0' + radix) {
158 } else if (radix > 10 && *current >= 'a' && *current < 'a' + radix - 10)
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
NumberPrototype.cpp 211 int radix; local
213 radix = radixValue.asInt32();
215 radix = 10;
217 radix = static_cast<int>(radixValue.toInteger(exec)); // nan -> 0
219 if (radix == 10)
225 if (radix == 36) {
235 if (radix < 2 || radix > 36)
236 return throwVMError(exec, createRangeError(exec, "toString() radix argument must be between 2 and 36"));
238 // INT_MAX results in 1024 characters left of the dot with radix
    [all...]
JSGlobalObjectFunctions.cpp 160 static int parseDigit(unsigned short c, int radix)
171 if (digit >= radix)
176 double parseIntOverflow(const char* s, int length, int radix)
188 int digit = parseDigit(*p, radix);
192 radixMultiplier *= radix;
198 double parseIntOverflow(const UChar* s, int length, int radix)
210 int digit = parseDigit(*p, radix);
214 radixMultiplier *= radix;
220 static double parseInt(const UString& s, int radix)
239 if ((radix == 0 || radix == 16) && length - p >= 2 && data[p] == '0' && (data[p + 1] == 'x' || data[p + 1] == (…)
463 int32_t radix = exec->argument(1).toInt32(exec); local
    [all...]
  /external/clang/include/clang/Lex/
LiteralSupport.h 37 /// determines the radix of the value and can convert it to a useful value.
46 unsigned radix; member in class:clang::NumericLiteralParser
71 unsigned getRadix() const { return radix; }
  /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...]
cxpersistence.cpp 52 static char* icv_itoa( int _val, char* buffer, int /*radix*/ )
54 const int radix = 10; local
61 unsigned r = val / radix;
62 *--ptr = (char)(val - (r*radix) + '0');
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
BridgeResources.java 425 int radix = 10; local
428 radix = 16;
431 return Integer.parseInt(v, radix);
  /external/elfutils/src/
size.c 55 { "radix", OPT_RADIX, "RADIX", 0, N_("Use RADIX for printing symbol values") },
56 { NULL, 'd', NULL, 0, N_("Same as `--radix=10'") },
57 { NULL, 'o', NULL, 0, N_("Same as `--radix=8'") },
58 { NULL, 'x', NULL, 0, N_("Same as `--radix=16'") },
115 /* Radix for printed numbers. */
121 } radix; variable in typeref:enum:__anon5754
124 /* Mapping of radix and binary class to length. */
218 radix = radix_decimal
    [all...]
nm.c 79 { "radix", 't', "RADIX", 0, N_("Use RADIX for printing symbol values"), 0 },
177 /* Radix for printed numbers. */
183 } radix; variable in typeref:enum:__anon5750
285 radix = radix_decimal;
287 radix = radix_octal;
289 radix = radix_hex;
512 /* Mapping of radix and binary class to length. */
758 int digits = length_map[gelf_getclass (ebl->elf) - 1][radix];
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/stdlib/
SDL_string.c 33 static size_t SDL_ScanLong(const char *text, int radix, long *valuep)
43 if ( radix == 16 && SDL_strncmp(text, "0x", 2) == 0 ) {
50 } else if ( radix == 16 && SDL_isupperhex(*text) ) {
52 } else if ( radix == 16 && SDL_islowerhex(*text) ) {
57 value *= radix;
73 static size_t SDL_ScanUnsignedLong(const char *text, int radix, unsigned long *valuep)
78 if ( radix == 16 && SDL_strncmp(text, "0x", 2) == 0 ) {
85 } else if ( radix == 16 && SDL_isupperhex(*text) ) {
87 } else if ( radix == 16 && SDL_islowerhex(*text) ) {
92 value *= radix;
749 int radix = 10; local
1127 int radix = 10; local
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
AsYouTypeFormatter.java 498 int radix = 10; local
499 normalizedChar = Character.forDigit(Character.digit(nextChar, radix), radix);
  /libcore/luni/src/main/java/java/util/
Scanner.java 93 // Default radix.
628 * {@code BigInteger} in the default radix.
641 * {@code BigInteger} in the specified radix.
643 * @param radix
644 * the radix used to translate the token into a
651 public boolean hasNextBigInteger(int radix) {
652 Pattern integerPattern = getIntegerPattern(radix);
658 cacheHasNextValue = new BigInteger(intString, radix);
682 * {@code byte} value in the default radix.
695 * {@code byte} value in the specified radix
1553 public int radix() { method in class:Scanner
    [all...]
  /packages/inputmethods/PinyinIME/jni/share/
dicttrie.cpp 882 uint16 radix = spl_start[pos + 1] - spl_start[pos]; local
883 splids[pos] = spl_mtrx[ spl_start[pos] + try_pos / mod % radix];
884 mod *= radix;
  /external/protobuf/java/src/main/java/com/google/protobuf/
TextFormat.java 1267 int radix = 10; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemNumber.java 1595 int radix = table.getLength(); local
1624 int radix = aTable.getLength(); local
    [all...]
  /external/icu4c/test/cintltst/
cucdtst.c 684 int8_t radix, value; member in struct:__anon6401
714 /* wrong radix values */
720 if(u_digit(data[i].c, data[i].radix)!=data[i].value) {
723 data[i].radix,
724 u_digit(data[i].c, data[i].radix),
    [all...]
  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
PinyinIME.java 700 int radix = 10; local
704 radix = 16;
707 int unicode = Integer.parseInt(digitStr, radix);
    [all...]

Completed in 637 milliseconds

1 2