HomeSort by relevance Sort by last modified time
    Searched refs:decimal (Results 1 - 25 of 171) sorted by null

1 2 3 4 5 6 7

  /frameworks/base/core/java/android/text/method/
DigitsKeyListener.java 39 private static final int DECIMAL = 2;
77 * plus the minus sign (only at the beginning) and/or decimal point
80 public DigitsKeyListener(boolean sign, boolean decimal) {
82 mDecimal = decimal;
84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
97 * plus the minus sign (only at the beginning) and/or decimal point
100 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) {
101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0)
153 int decimal = -1; local
    [all...]
  /external/freetype/src/psaux/
psconv.c 38 /* digits (both decimal and non-decimal) into numbers. */
200 FT_Long decimal = 0; local
235 /* read the decimal part */
253 if ( decimal < 0xCCCCCCCL )
255 decimal = decimal * 10 + c;
290 if ( !integral && !decimal )
304 if ( decimal >= 0xCCCCCCCL )
311 decimal *= 10
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_format_r11g11b10f.h 119 float scale, decimal; local
127 decimal = 1.0f + (float) mantissa / 64;
128 f32.f = scale * decimal;
205 float scale, decimal; local
213 decimal = 1.0f + (float) mantissa / 32;
214 f32.f = scale * decimal;
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_r11g11b10f.h 119 float scale, decimal; local
127 decimal = 1.0f + (float) mantissa / 64;
128 f32.f = scale * decimal;
205 float scale, decimal; local
213 decimal = 1.0f + (float) mantissa / 32;
214 f32.f = scale * decimal;
  /external/icu4c/i18n/
decfmtst.h 10 * parsing of decimal and group separators.
38 static const UnicodeSet *getSimilarDecimals(UChar32 decimal, UBool strictParse);
decfmtst.cpp 10 * parsing of decimal and group separators.
215 const UnicodeSet *DecimalFormatStaticSets::getSimilarDecimals(UChar32 decimal, UBool strictParse)
225 if (gStaticSets->fDotEquivalents->contains(decimal)) {
229 if (gStaticSets->fCommaEquivalents->contains(decimal)) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 1 import decimal namespace
9 rval = self.loads('1.1', parse_float=decimal.Decimal)
10 self.assertTrue(isinstance(rval, decimal.Decimal))
11 self.assertEqual(rval, decimal.Decimal('1.1'))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 1 import decimal namespace
9 rval = self.loads('1.1', parse_float=decimal.Decimal)
10 self.assertTrue(isinstance(rval, decimal.Decimal))
11 self.assertEqual(rval, decimal.Decimal('1.1'))
  /external/chromium_org/third_party/freetype/src/psaux/
psconv.c 27 /* digits (both decimal and non-decimal) into numbers. */
149 FT_Long decimal = 0, divider = 1; local
170 /* read the decimal part */
191 decimal = decimal * 10 + c;
197 decimal = decimal * 10 + c;
214 decimal *= 10;
225 if ( decimal )
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_unicodedata.py 94 str(self.db.decimal(char, -1)),
129 self.assertEqual(self.db.decimal(u'A',None), None)
130 self.assertEqual(self.db.decimal(u'9'), 9)
131 self.assertEqual(self.db.decimal(u'\u215b', None), None)
132 self.assertEqual(self.db.decimal(u'\u2468', None), None)
133 self.assertEqual(self.db.decimal(u'\U00020000', None), None)
135 self.assertRaises(TypeError, self.db.decimal)
136 self.assertRaises(TypeError, self.db.decimal, u'xx')
137 self.assertRaises(ValueError, self.db.decimal, u'x')
242 # Test that decimal and numeric are consistent
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_unicodedata.py 94 str(self.db.decimal(char, -1)),
129 self.assertEqual(self.db.decimal(u'A',None), None)
130 self.assertEqual(self.db.decimal(u'9'), 9)
131 self.assertEqual(self.db.decimal(u'\u215b', None), None)
132 self.assertEqual(self.db.decimal(u'\u2468', None), None)
133 self.assertEqual(self.db.decimal(u'\U00020000', None), None)
135 self.assertRaises(TypeError, self.db.decimal)
136 self.assertRaises(TypeError, self.db.decimal, u'xx')
137 self.assertRaises(ValueError, self.db.decimal, u'x')
242 # Test that decimal and numeric are consistent
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
JSONValues.cpp 222 DecimalNumber decimal = m_doubleValue; local
224 if (decimal.bufferLengthForStringDecimal() > WTF::NumberToStringBufferLength) {
225 // Not enough room for decimal. Use exponential format.
226 if (decimal.bufferLengthForStringExponential() > WTF::NumberToStringBufferLength) {
231 length = decimal.toStringExponential(buffer, WTF::NumberToStringBufferLength);
233 length = decimal.toStringDecimal(buffer, WTF::NumberToStringBufferLength);
  /external/llvm/tools/llvm-size/
llvm-size.cpp 50 enum RadixTy {octal = 8, decimal = 10, hexadecimal = 16}; enumerator in enum:RadixTy
54 cl::init(decimal));
59 clEnumValN(decimal, "d", "Print size in decimal"),
62 cl::init(decimal));
101 case decimal:
  /libcore/luni/src/main/java/java/lang/
StringToReal.java 154 int decimal = s.indexOf('.'); local
155 if (decimal > -1) {
156 result.e -= end - decimal - 1;
157 s = s.substring(start, decimal) + s.substring(decimal + 1, end);
  /external/compiler-rt/lib/tsan/
analyze_libtsan.sh 30 size=$(grep __tsan_$f$ libtsan.nm | awk --non-decimal-data '{print ("0x"$2)+0}')
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-netrexx.jar 
  /external/chromium_org/third_party/libxml/src/
xmlschemastypes.c 120 xmlSchemaValDecimal decimal; member in union:_xmlSchemaVal::__anon14119
245 ret->val->value.decimal.lo = value;
466 xmlSchemaTypeDecimalDef = xmlSchemaInitBasicType("decimal",
    [all...]
  /external/libxml2/
xmlschemastypes.c 120 xmlSchemaValDecimal decimal; member in union:_xmlSchemaVal::__anon23194
245 ret->val->value.decimal.lo = value;
466 xmlSchemaTypeDecimalDef = xmlSchemaInitBasicType("decimal",
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fractions.py 7 from decimal import Decimal
37 (?:\.(?P<decimal>\d*))? # an optional fractional part
59 - float and Decimal instances
89 >>> Fraction('-47e-2') # string may include a decimal exponent
95 >>> Fraction(Decimal('1.47'))
114 elif isinstance(numerator, Decimal):
132 decimal = m.group('decimal')
133 if decimal
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fractions.py 7 from decimal import Decimal
37 (?:\.(?P<decimal>\d*))? # an optional fractional part
59 - float and Decimal instances
89 >>> Fraction('-47e-2') # string may include a decimal exponent
95 >>> Fraction(Decimal('1.47'))
114 elif isinstance(numerator, Decimal):
132 decimal = m.group('decimal')
133 if decimal
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
dtptngen.h 374 * The decimal value is used in formatting fractions of seconds. If the
378 * the decimal string is ",". Then the resulting pattern is modified to be
381 * @param decimal
384 void setDecimal(const UnicodeString& decimal);
388 * @return UnicodeString corresponding to the decimal point
442 UnicodeString decimal; member in class:DateTimePatternGenerator
  /external/icu4c/i18n/unicode/
dtptngen.h 376 * The decimal value is used in formatting fractions of seconds. If the
380 * the decimal string is ",". Then the resulting pattern is modified to be
383 * @param decimal
386 void setDecimal(const UnicodeString& decimal);
390 * @return UnicodeString corresponding to the decimal point
444 UnicodeString decimal; member in class:DateTimePatternGenerator
  /external/icu4c/common/unicode/
umachine.h 163 # error int64_t is required for decimal format and rule-based number format.
  /external/chromium_org/third_party/icu/source/common/unicode/
umachine.h 182 # error int64_t is required for decimal format and rule-based number format.
  /external/valgrind/main/VEX/priv/
guest_s390_defs.h 93 UInt s390_do_cvb(ULong decimal);

Completed in 815 milliseconds

1 2 3 4 5 6 7