Home
last modified time | relevance | path

Searched refs:NumericType (Results 1 – 25 of 31) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/test/
DCheckNumbers.java14 import org.unicode.cldr.test.DisplayAndInputProcessor.NumericType;
201 NumericType type = NumericType.getNumericType(path); in handleCheck()
202 if (type == NumericType.NOT_NUMERIC) { in handleCheck()
221 if (type == NumericType.CURRENCY || type == NumericType.CURRENCY_ABBREVIATED) { in handleCheck()
222 if (type == NumericType.CURRENCY_ABBREVIATED && value.equals("0")) { in handleCheck()
233 if (type == NumericType.PERCENT) { in handleCheck()
285 … if (type == NumericType.DECIMAL_ABBREVIATED || type == NumericType.CURRENCY_ABBREVIATED) { in handleCheck()
327 private static UnicodeSet findUnquotedChars(NumericType type, String value) { in findUnquotedChars()
331 if (type == NumericType.DECIMAL_ABBREVIATED) { in findUnquotedChars()
382 List<CheckStatus> result, NumericType type) { in checkDecimalFormatConsistency()
[all …]
DDisplayAndInputProcessor.java260 NumericType numericType = NumericType.getNumericType(path); in processForDisplay()
261 if (numericType != NumericType.NOT_NUMERIC) { in processForDisplay()
269 … if (numericType != NumericType.CURRENCY && numericType != NumericType.CURRENCY_ABBREVIATED) { in processForDisplay()
390 NumericType numericType = NumericType.getNumericType(path); in processInput()
391 if (numericType != NumericType.NOT_NUMERIC) { in processInput()
392 if (numericType == NumericType.CURRENCY) { in processInput()
394 if (numericType == NumericType.CURRENCY_ABBREVIATED) { in processInput()
401 if (numericType == NumericType.DECIMAL_ABBREVIATED) { in processInput()
929 public static String getCanonicalPattern(String inpattern, NumericType type, boolean isPOSIX) { in getCanonicalPattern()
933 if (type == NumericType.DECIMAL_ABBREVIATED || type == NumericType.CURRENCY_ABBREVIATED in getCanonicalPattern()
[all …]
DCLDRTest.java29 import org.unicode.cldr.test.DisplayAndInputProcessor.NumericType;
149 NumericType type = NumericType.getNumericType(xpath); in TestCurrencyFormats()
150 if (type == NumericType.NOT_NUMERIC) continue; in TestCurrencyFormats()
/external/angle/src/common/third_party/base/anglebase/numerics/
Dsafe_conversions_impl.h25 template <typename NumericType>
28 static_assert(std::is_arithmetic<NumericType>::value, "Argument must be numeric.");
30 std::numeric_limits<NumericType>::is_iec559
31 ? std::numeric_limits<NumericType>::max_exponent
32 : (sizeof(NumericType) * CHAR_BIT + 1 - std::numeric_limits<NumericType>::is_signed);
Dsafe_math.h233 template <typename NumericType>
236 using type = NumericType;
239 template <typename NumericType>
240 struct UnderlyingType<CheckedNumeric<NumericType>>
242 using type = NumericType;
Dsafe_math_impl.h408 template <typename NumericType>
412 std::numeric_limits<NumericType>::is_integer
414 : (std::numeric_limits<NumericType>::is_iec559 ? NUMERIC_FLOATING : NUMERIC_UNKNOWN);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterTest.java2230 … if(UCharacter.getIntPropertyMaxValue(UProperty.NUMERIC_TYPE)!=UCharacter.NumericType.COUNT-1) { in TestAdditionalProperties()
2358 { 0x0F33, UCharacter.NumericType.NUMERIC, -1./2. }, in TestNumericProperties()
2359 { 0x0C66, UCharacter.NumericType.DECIMAL, 0 }, in TestNumericProperties()
2360 { 0x96f6, UCharacter.NumericType.NUMERIC, 0 }, in TestNumericProperties()
2361 { 0xa833, UCharacter.NumericType.NUMERIC, 1./16. }, in TestNumericProperties()
2362 { 0x2152, UCharacter.NumericType.NUMERIC, 1./10. }, in TestNumericProperties()
2363 { 0x2151, UCharacter.NumericType.NUMERIC, 1./9. }, in TestNumericProperties()
2364 { 0x1245f, UCharacter.NumericType.NUMERIC, 1./8. }, in TestNumericProperties()
2365 { 0x2150, UCharacter.NumericType.NUMERIC, 1./7. }, in TestNumericProperties()
2366 { 0x2159, UCharacter.NumericType.NUMERIC, 1./6. }, in TestNumericProperties()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2227 … if(UCharacter.getIntPropertyMaxValue(UProperty.NUMERIC_TYPE)!=UCharacter.NumericType.COUNT-1) { in TestAdditionalProperties()
2355 { 0x0F33, UCharacter.NumericType.NUMERIC, -1./2. }, in TestNumericProperties()
2356 { 0x0C66, UCharacter.NumericType.DECIMAL, 0 }, in TestNumericProperties()
2357 { 0x96f6, UCharacter.NumericType.NUMERIC, 0 }, in TestNumericProperties()
2358 { 0xa833, UCharacter.NumericType.NUMERIC, 1./16. }, in TestNumericProperties()
2359 { 0x2152, UCharacter.NumericType.NUMERIC, 1./10. }, in TestNumericProperties()
2360 { 0x2151, UCharacter.NumericType.NUMERIC, 1./9. }, in TestNumericProperties()
2361 { 0x1245f, UCharacter.NumericType.NUMERIC, 1./8. }, in TestNumericProperties()
2362 { 0x2150, UCharacter.NumericType.NUMERIC, 1./7. }, in TestNumericProperties()
2363 { 0x2159, UCharacter.NumericType.NUMERIC, 1./6. }, in TestNumericProperties()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/json/
Djson_util.h43 template <typename NumericType, typename ErrorVectorType>
45 NumericType* output, in ExtractJsonNumber()
47 static_assert(std::is_integral<NumericType>::value, "Integral required"); in ExtractJsonNumber()
125 template <typename NumericType, typename ErrorVectorType>
127 NumericType* output, ErrorVectorType* error_list) { in ExtractJsonType()
Djson.h123 template <typename NumericType>
125 Json(NumericType number) in Json()
127 template <typename NumericType>
128 Json& operator=(NumericType number) {
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h26 template <typename NumericType>
28 static const int value = std::is_floating_point<NumericType>::value
29 ? std::numeric_limits<NumericType>::max_exponent
30 : std::numeric_limits<NumericType>::digits + 1;
35 template <typename NumericType>
37 static const int value = std::numeric_limits<NumericType>::digits +
38 std::is_signed<NumericType>::value;
Dchecked_math_impl.h452 template <typename NumericType>
455 std::is_integral<NumericType>::value
457 : (std::is_floating_point<NumericType>::value ? NUMERIC_FLOATING
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h27 template <typename NumericType>
29 static const int value = std::is_floating_point<NumericType>::value
30 ? std::numeric_limits<NumericType>::max_exponent
31 : std::numeric_limits<NumericType>::digits + 1;
36 template <typename NumericType>
38 static const int value = std::numeric_limits<NumericType>::digits +
39 std::is_signed<NumericType>::value;
Dsafe_math_impl.h522 template <typename NumericType>
525 std::is_integral<NumericType>::value
527 : (std::is_floating_point<NumericType>::value ? NUMERIC_FLOATING
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterProperty.java20 import android.icu.lang.UCharacter.NumericType;
699 return NumericType.COUNT-1;
1248 (ntv==NTV_NONE_) ? NumericType.NONE : in ntvGetType()
1249 (ntv<NTV_DIGIT_START_) ? NumericType.DECIMAL : in ntvGetType()
1250 (ntv<NTV_NUMERIC_START_) ? NumericType.DIGIT : in ntvGetType()
1251 NumericType.NUMERIC; in ntvGetType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterProperty.java19 import com.ibm.icu.lang.UCharacter.NumericType;
698 return NumericType.COUNT-1;
1247 (ntv==NTV_NONE_) ? NumericType.NONE : in ntvGetType()
1248 (ntv<NTV_DIGIT_START_) ? NumericType.DECIMAL : in ntvGetType()
1249 (ntv<NTV_NUMERIC_START_) ? NumericType.DIGIT : in ntvGetType()
1250 NumericType.NUMERIC; in ntvGetType()
/external/llvm-project/flang/lib/Evaluate/
Dintrinsics.cpp65 static constexpr CategorySet NumericType{IntType | RealType | ComplexType}; variable
120 static constexpr TypePattern AnyNumeric{NumericType, KindCode::any};
140 static constexpr TypePattern SameNumeric{NumericType, KindCode::same};
161 static constexpr TypePattern ResultNumeric{NumericType, KindCode::likeMultiply};
/external/libchrome/mojo/public/tools/bindings/
DREADME.md729 BasicTypeName = Identifier | "associated" Identifier | HandleType | NumericType
730 NumericType = "bool" | "int8" | "uint8" | "int16" | "uint16" | "int32"
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java3690 public static interface NumericType interface in UCharacter
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java3158 public static interface NumericType interface in UCharacter
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...

12