/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
JavaScriptTarget.java | 65 private void writeHexWithPadding(StringBuffer buf, String digits) { 66 digits = digits.toUpperCase(); 67 int padding = 8 - digits.length(); 72 buf.append(digits);
|
/external/chromium_org/third_party/libxslt/libxslt/ |
extra.c | 175 char digits[5]; local 202 memset(digits, 0, sizeof(digits)); 203 strncpy(digits, str+7, 4); 204 field = strtol(digits, NULL, 10); 207 memset(digits, 0, sizeof(digits)); 208 strncpy(digits, str+12, 2); 209 field = strtol(digits, NULL, 10); 212 memset(digits, 0, sizeof(digits)) [all...] |
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
digits.pass.cpp | 12 // digits 21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1"); 22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2"); 23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3"); 24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4");
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLFontElement.cpp | 92 StringBuilder digits; 93 digits.reserveCapacity(16); 97 digits.append(*position++); 101 if (digits.isEmpty()) 107 if (digits.is8Bit()) 108 value = charactersToIntStrict(digits.characters8(), digits.length()); 110 value = charactersToIntStrict(digits.characters16(), digits.length());
|
/external/chromium_org/third_party/icu/source/i18n/ |
digitlst.cpp | 50 * This is the zero digit. The base for the digits returned by getDigit() 75 fContext.digits = fStorage.getCapacity(); 112 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 114 fContext.digits = fStorage.getCapacity(); 146 c.digits = 1; 162 int32_t savedDigits = fContext.digits; 163 fContext.digits = 1; 165 fContext.digits = savedDigits; 179 // Reduce - remove trailing zero digits. 187 // trim - remove trailing fraction zero digits [all...] |
decNumber.c | 60 /* precision (up to 999,999,999 digits) and arbitrary exponent */ 64 /* tightly: digits, emax, and -emin in the context must be <= */ 69 /* be finite, positive, have an exponent of zero, and all digits */ 70 /* must be either 0 or 1. The result will only contain digits */ 150 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */ 152 /* accounting of digits is not needed. The correct digits value */ 154 /* This must be called before any rounding if the number of digits */ 158 /* numbers up to four digits, using appropriate constants. This */ 216 /* round-for-reround digits */ 7810 Int digits=(len-1)*DECDPUN+1; \/* possible digits excluding msu *\/ local 8000 Int ae, d, digits; \/* .. *\/ local [all...] |
/external/icu/icu4c/source/i18n/ |
digitlst.cpp | 50 * This is the zero digit. The base for the digits returned by getDigit() 71 fContext.digits = fStorage.getCapacity(); 108 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 110 fContext.digits = fStorage.getCapacity(); 142 c.digits = 1; 158 int32_t savedDigits = fContext.digits; 159 fContext.digits = 1; 161 fContext.digits = savedDigits; 175 // Reduce - remove trailing zero digits. 183 // trim - remove trailing fraction zero digits [all...] |
decNumber.c | 60 /* precision (up to 999,999,999 digits) and arbitrary exponent */ 64 /* tightly: digits, emax, and -emin in the context must be <= */ 69 /* be finite, positive, have an exponent of zero, and all digits */ 70 /* must be either 0 or 1. The result will only contain digits */ 150 /* 6. The digits count is allowed to rise to a multiple of DECDPUN */ 152 /* accounting of digits is not needed. The correct digits value */ 154 /* This must be called before any rounding if the number of digits */ 158 /* numbers up to four digits, using appropriate constants. This */ 216 /* round-for-reround digits */ 7812 Int digits=(len-1)*DECDPUN+1; \/* possible digits excluding msu *\/ local 8002 Int ae, d, digits; \/* .. *\/ local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLParserIdioms.cpp | 175 StringBuilder digits; 179 digits.append(*position++); 184 if (digits.is8Bit()) 185 value = sign * charactersToIntStrict(digits.characters8(), digits.length(), &ok); 187 value = sign * charactersToIntStrict(digits.characters16(), digits.length(), &ok); 235 StringBuilder digits; 239 digits.append(*position++); 244 if (digits.is8Bit() [all...] |
/bionic/libc/dns/nameser/ |
ns_ttl.c | 105 int ch, digits, dirty; local 109 digits = 0; 117 digits++; 120 if (digits == 0) 134 digits = 0; 137 if (digits > 0) {
|
/external/arduino/hardware/arduino/cores/arduino/ |
Print.cpp | 99 void Print::print(double n, int digits) 101 printFloat(n, digits); 158 void Print::println(double n, int digits) 160 print(n, digits); 187 void Print::printFloat(double number, uint8_t digits) 198 for (uint8_t i=0; i<digits; ++i) 208 // Print the decimal point, but only if there are digits beyond 209 if (digits > 0) 212 // Extract digits from the remainder one at a time 213 while (digits-- > 0 [all...] |
/external/fonttools/Lib/fontTools/misc/ |
fixedTools.py | 31 digits = (precisionBits + 2) // 3 32 fmt = "%%.%df" % digits
|
/external/chromium_org/third_party/skia/src/utils/ |
SkFloatUtils.h | 36 static const int digits = 0; member in struct:SkNumericLimits 41 static const int digits = DBL_MANT_DIG; member in struct:SkNumericLimits 46 static const int digits = FLT_MANT_DIG; member in struct:SkNumericLimits 64 static const size_t kFractionBitCount = SkNumericLimits<RawType>::digits - 1;
|
/external/libcxx/test/utilities/time/ |
hours.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 22, "");
|
microseconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 54, "");
|
milliseconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 44, "");
|
minutes.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 28, "");
|
nanoseconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 63, "");
|
seconds.pass.cpp | 25 static_assert(std::numeric_limits<Rep>::digits >= 34, "");
|
/external/chromium_org/third_party/icu/source/samples/datefmt/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|
/external/chromium_org/third_party/icu/source/samples/msgfmt/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|
/external/chromium_org/third_party/icu/source/samples/translit/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
logging.cc | 59 int digits = 0; local 63 ++digits; 78 return (digits > 0);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/ |
gen_xmlpool.py | 48 digits = 0 61 digits = digits + 1 63 digits = 2 64 if digits >= 2: 71 digits = digits + 1 73 digits = 3 74 if digits >= 3: 86 digits = [all...] |
/external/icu/icu4c/source/samples/datefmt/ |
util.cpp | 22 int8_t digits, 25 while (digits > 0) { 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF];
|