HomeSort by relevance Sort by last modified time
    Searched refs:digit (Results 51 - 75 of 231) sorted by null

1 23 4 5 6 7 8 910

  /external/v8/src/
conversions-inl.h 153 int digit; local
155 digit = static_cast<char>(*current) - '0';
157 digit = static_cast<char>(*current) - 'a' + 10;
159 digit = static_cast<char>(*current) - 'A' + 10;
169 number = number * radix + digit;
529 insignificant_digits++; // Move the digit into the exponential part.
627 int digit = *current - '0';
629 && !(num == max_exponent / 10 && digit <= max_exponent % 10)) {
632 num = num * 10 + digit;
fast-dtoa.cc 45 // A different range might be chosen on a different platform, to optimize digit
51 // Adjusts the last digit of the generated number, and screens out generated
210 // Increment the last digit recursively until we find a non '9' digit.
217 // If the first digit is now '0'+ 10 we had a buffer with all '9's. With the
218 // exception of the first digit all digits are now '0'. Simply switch the
219 // first digit to '1' and adjust the kappa. Example: "99" becomes "10" and
360 // * buffer contains the shortest possible decimal digit-sequence
378 // get each digit. Example the first digit after the point would be computed b
434 int digit = integrals \/ divisor; local
469 int digit = static_cast<int>(fractionals >> -one.e()); local
543 int digit = integrals \/ divisor; local
576 int digit = static_cast<int>(fractionals >> -one.e()); local
    [all...]
strtod.cc 121 // The input buffer has been trimmed. Therefore the last digit must be
124 // Set the last digit to be non-zero. This is sufficient to guarantee
133 // When the string starts with "1844674407370955161" no further digit is read.
135 // digit if it was less or equal than 6, but this would complicate the code.
141 int digit = buffer[i++] - '0'; local
142 ASSERT(0 <= digit && digit <= 9);
143 result = 10 * result + digit;
  /libcore/luni/src/main/java/java/util/
Scanner.java 435 * <code>findWithinHorizon(Pattern.compile("\\p{Digit}{3}"), 2)</code>
437 * <code>findWithinHorizon(Pattern.compile("\\p{Digit}{3}"), 3)</code>
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_Configuration.java 228 int digit = Character.digit((char) nextChar, 16); local
229 if (digit >= 0) {
230 unicode = (unicode << 4) + digit;
  /external/compiler-rt/lib/asan/
asan_printf.cc 70 size_t digit = num_buffer[pos];
71 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit
72 : 'a' + digit - 10);
  /external/icu4c/io/
ufmt_cmn.c 71 uint32_t digit; local
75 digit = (uint32_t)(value % radix);
77 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit)
78 : TO_UC_DIGIT(digit));
149 /* read the next digit */
  /libcore/luni/src/main/java/java/lang/
Integer.java 373 int digit = Character.digit(string.charAt(offset++), radix); local
374 if (digit == -1) {
380 int next = result * radix - digit;
Long.java 360 int digit = Character.digit(string.charAt(offset++), radix); local
361 if (digit == -1) {
367 long next = result * radix - digit;
  /external/stlport/test/unit/
ctype_facets_test.cpp 33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') );
50 CPPUNIT_ASSERT( (res[0] & ctype_base::digit) != 0 );
66 CPPUNIT_ASSERT( (res[3] & ctype_base::digit) == 0 );
70 CPPUNIT_ASSERT( (res[4] & ctype_base::digit) == 0 );
177 CPPUNIT_CHECK( wct.is(ctype_base::digit, L'0') );
194 CPPUNIT_CHECK( (res[0] & ctype_base::digit) != 0 );
210 CPPUNIT_CHECK( (res[3] & ctype_base::digit) == 0 );
214 CPPUNIT_CHECK( (res[4] & ctype_base::digit) == 0 );
454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c))
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
ctype_facets_test.cpp 33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') );
50 CPPUNIT_ASSERT( (res[0] & ctype_base::digit) != 0 );
66 CPPUNIT_ASSERT( (res[3] & ctype_base::digit) == 0 );
70 CPPUNIT_ASSERT( (res[4] & ctype_base::digit) == 0 );
177 CPPUNIT_CHECK( wct.is(ctype_base::digit, L'0') );
194 CPPUNIT_CHECK( (res[0] & ctype_base::digit) != 0 );
210 CPPUNIT_CHECK( (res[3] & ctype_base::digit) == 0 );
214 CPPUNIT_CHECK( (res[4] & ctype_base::digit) == 0 );
454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c))
    [all...]
  /ndk/tests/device/test-stlport/unit/
ctype_facets_test.cpp 33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') );
50 CPPUNIT_ASSERT( (res[0] & ctype_base::digit) != 0 );
66 CPPUNIT_ASSERT( (res[3] & ctype_base::digit) == 0 );
70 CPPUNIT_ASSERT( (res[4] & ctype_base::digit) == 0 );
177 CPPUNIT_CHECK( wct.is(ctype_base::digit, L'0') );
194 CPPUNIT_CHECK( (res[0] & ctype_base::digit) != 0 );
210 CPPUNIT_CHECK( (res[3] & ctype_base::digit) == 0 );
214 CPPUNIT_CHECK( (res[4] & ctype_base::digit) == 0 );
454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c))
    [all...]
  /external/chromium/chrome/browser/autofill/
credit_card.cc 415 int digit = *iter - '0'; local
417 digit *= 2;
418 sum += digit / 10 + digit % 10;
420 sum += digit;
  /libcore/luni/src/main/native/
cbigint.cpp 314 simpleAppendDecimalDigitHighPrecision (uint64_t * arg1, int32_t length, uint64_t digit)
316 /* assumes digit is less than 32 bits */
320 digit <<= 32;
324 digit = HIGH_IN_U64 (digit) + TIMES_TEN (arg);
325 LOW_U32_FROM_PTR (arg1 + index) = LOW_U32_FROM_VAR (digit);
328 digit = HIGH_IN_U64 (digit) + TIMES_TEN (arg);
329 HIGH_U32_FROM_PTR (arg1 + index) = LOW_U32_FROM_VAR (digit);
333 return HIGH_U32_FROM_VAR (digit);
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/
scan.l 133 ^"%"{LEXOPT}{OPTWS}[[:digit:]]*{OPTWS}{NL} ++linenum; /* ignore */
159 [[:digit:]]+ linenum = myctoi( yytext );
336 "{"/[[:digit:]] BEGIN(NUM); return '{';
523 "[:digit:]" BEGIN(CCL); return CCE_DIGIT;
540 [[:digit:]]+ {
  /external/apache-http/src/org/apache/commons/codec/net/
QuotedPrintableCodec.java 182 int u = Character.digit((char) bytes[++i], 16);
183 int l = Character.digit((char) bytes[++i], 16);
URLCodec.java 167 int u = Character.digit((char)bytes[++i], 16);
168 int l = Character.digit((char)bytes[++i], 16);
  /external/grub/stage2/
char_io.c 867 unsigned int digit; local
869 digit = tolower (*ptr) - '0';
870 if (digit > 9)
872 digit -= 'a' - '0';
873 if (mult == 10 || digit > 5)
875 digit += 10;
879 if (myint > ((MAXINT - digit) / mult))
884 myint = (myint * mult) + digit;
  /dalvik/dexgen/src/com/android/dexgen/util/
HexParser.java 105 throw new RuntimeException("spare digit around " +
112 int digVal = Character.digit(c, 16);
114 throw new RuntimeException("bogus digit character: \"" +
127 throw new RuntimeException("spare digit around offset " +
  /dalvik/dx/src/com/android/dx/util/
HexParser.java 105 throw new RuntimeException("spare digit around " +
112 int digVal = Character.digit(c, 16);
114 throw new RuntimeException("bogus digit character: \"" +
127 throw new RuntimeException("spare digit around offset " +
  /external/dexmaker/src/dx/java/com/android/dx/util/
HexParser.java 105 throw new RuntimeException("spare digit around " +
112 int digVal = Character.digit(c, 16);
114 throw new RuntimeException("bogus digit character: \"" +
127 throw new RuntimeException("spare digit around offset " +
  /external/webkit/Tools/Scripts/
run-leaks 162 my ($size) = ($line =~ /size=([[:digit:]]+)/);
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberUtils.java 82 * global-phone-number = ["+"] 1*( DIGIT / written-sep )
200 * Network address portion is everything up to DTMF control digit
219 // Character.digit() supports ASCII and Unicode digits (fullwidth, Arabic-Indic, etc.)
220 int digit = Character.digit(c, 10); local
221 if (digit != -1) {
222 ret.append(digit);
289 // Character.digit() supports ASCII and Unicode digits (fullwidth, Arabic-Indic, etc.)
290 int digit = Character.digit(c, 10) local
1493 int digit = Character.digit(c, 10); local
1516 int digit = Character.digit(c, 10); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldCharacterTest.java 130 assertEquals(-1, Character.digit('\uFFFF', 1));
  /libcore/support/src/test/java/tests/support/
Support_Configuration.java 312 int digit = Character.digit((char) nextChar, 16); local
313 if (digit >= 0) {
314 unicode = (unicode << 4) + digit;

Completed in 953 milliseconds

1 23 4 5 6 7 8 910