/external/clang/test/CodeGenCXX/ |
template-dependent-bind-temporary.cpp | 16 T digit; local 17 char((digit < 10 ? '0' : 'a') + digit) + result;
|
/external/icu4c/common/ |
ustrfmt.c | 32 int digit; local 37 digit = (int)(i % radix); 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
|
cstring.c | 148 uint8_t digit; local 163 digit = (uint8_t)(uval % radix); 164 tbuf[--tbx] = (char)(T_CString_itosOffset(digit)); 186 uint8_t digit; local 201 digit = (uint8_t)(uval % radix); 202 tbuf[--tbx] = (char)(T_CString_itosOffset(digit));
|
util.cpp | 57 int32_t digit = n / r; local 58 result.append(DIGITS[digit]); 59 n -= digit * r;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.cc | 37 int digit = *pch++; local 38 if (digit >= '0' && digit <= '9') { 39 value += digit - '0'; 41 else if (digit >= 'A' && digit <= 'F') { 42 value += digit - 'A' + 10; 44 else if (digit >= 'a' && digit <= 'f') { 45 value += digit - 'a' + 10 [all...] |
/external/icu4c/tools/genrb/ |
rbutil.c | 72 int digit; local 82 digit = (int)(i % radix); 83 buffer[length++]= digits[digit];
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
ctype_base.h | 51 static const mask digit = _ISdigit; member in struct:ctype_base
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
ctype_base.h | 47 static const mask digit = _N; member in struct:ctype_base
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
ctype_base.h | 47 static const mask digit = _N; member in struct:ctype_base
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
ctype_base.h | 47 static const mask digit = _N; member in struct:ctype_base
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
ctype_base.h | 47 static const mask digit = _N; member in struct:ctype_base
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/x86/include/bits/ |
ctype_base.h | 47 static const mask digit = _N; member in struct:ctype_base
|
/bionic/libc/inet/ |
inet_pton.c | 109 u_int digit, base; local 140 digit = c - '0'; 141 if (digit >= base) 143 val = (val * base) + digit; 146 digit = c + 10 - (islower(c) ? 'a' : 'A'); 147 if (digit >= 16) 149 val = (val << 4) | digit;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
NumericSprite.java | 37 String digit = sStrike.substring(i, i+1); local 38 mLabelId[i] = mLabelMaker.add(gl, digit, paint); 73 int digit = c - '0'; local 74 mLabelMaker.draw(gl, x, y, mLabelId[digit]); 75 x += mWidth[digit];
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
Hex.java | 79 * @param ch A character to convert to an integer digit 85 int digit = Character.digit(ch, 16); local 86 if (digit == -1) { 89 return digit;
|
/external/chromium/chrome/browser/metrics/ |
metrics_log_unittest.cc | 36 char digit = xml_encoded->at(i); local 37 ASSERT_GE(digit, '0'); 38 ASSERT_LE(digit, '9');
|
/external/icu4c/samples/numfmt/ |
util.cpp | 35 uint32_t digit; local 37 digit = (number >> ((--digits) * 4)) & 0xF; 38 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit);
|
/external/v8/src/ |
conversions.cc | 155 int digit; local 157 digit = static_cast<char>(*current) - '0'; 159 digit = static_cast<char>(*current) - 'a' + 10; 161 digit = static_cast<char>(*current) - 'A' + 10; 171 number = number * radix + digit; 532 insignificant_digits++; // Move the digit into the exponential part. 632 int digit = *current - '0'; 634 && !(num == max_exponent / 10 && digit <= max_exponent % 10)) { 637 num = num * 10 + digit; 801 // Build the string backwards from the least significant digit [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;
|
/external/webkit/Source/WebCore/html/parser/ |
HTMLParserIdioms.cpp | 127 int digit, exponentSign; local 133 switch (digit = string[cursor]) { 137 digit = string[++cursor]; 139 if (digit >= '0' && digit <= '9') { 140 while (cursor < length && digit == '0') 141 digit = string[++cursor]; 142 if (digit > '0' && digit <= '9') { 143 exponent32 = digit - '0' [all...] |
/external/guava/src/com/google/common/base/ |
CharMatcher.java | 94 * Determines whether a character is a digit according to 97 public static final CharMatcher DIGIT; 100 CharMatcher digit = inRange('0', '9'); typedefs 106 digit = digit.or(inRange(base, (char) (base + 9))); 108 DIGIT = digit; 129 * Determines whether a character is a digit according to {@link 152 * Determines whether a character is a letter or digit according to {@link [all...] |
/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 */
|
/external/icu4c/test/intltest/ |
punyref.c | 73 /* is undefined if flag is nonzero and digit d has no uppercase form. */ 223 b, j, in, oldi, w, k, digit, t; local 260 digit = decode_digit(input[in++]); 261 if (digit >= base) return punycode_bad_input; 262 if (digit > (maxint - i) / w) return punycode_overflow; 263 i += digit * w; 266 if (digit < t) break;
|
/external/ppp/pppd/plugins/pppoatm/ |
ans.c | 179 int digit; local 183 digit = addr[i] & 0x0F; 184 *(buf++) = digit + (digit >= 10 ? '7' : '0'); 186 digit = ((unsigned char) (addr[i])) >> 4; 187 *(buf++) = digit + (digit >= 10 ? '7' : '0');
|
/external/skia/src/utils/ |
SkParse.cpp | 125 int digit; local 127 while ((digit = to_hex(*str)) >= 0) 131 n = (n << 4) | digit;
|