Home
last modified time | relevance | path

Searched refs:NEGATIVE_FLAG (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java54 protected static final int NEGATIVE_FLAG = 1; field in DecimalQuantity_AbstractBCD
206 flags ^= NEGATIVE_FLAG; in negate()
310 return (flags & NEGATIVE_FLAG) != 0; in isNegative()
337 flags |= NEGATIVE_FLAG; in setToInt()
358 flags |= NEGATIVE_FLAG; in setToLong()
381 flags |= NEGATIVE_FLAG; in setToBigInteger()
411 flags |= NEGATIVE_FLAG; in setToDouble()
556 flags |= NEGATIVE_FLAG; in setToBigDecimal()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java52 protected static final int NEGATIVE_FLAG = 1; field in DecimalQuantity_AbstractBCD
204 flags ^= NEGATIVE_FLAG; in negate()
308 return (flags & NEGATIVE_FLAG) != 0; in isNegative()
335 flags |= NEGATIVE_FLAG; in setToInt()
356 flags |= NEGATIVE_FLAG; in setToLong()
379 flags |= NEGATIVE_FLAG; in setToBigInteger()
409 flags |= NEGATIVE_FLAG; in setToDouble()
554 flags |= NEGATIVE_FLAG; in setToBigDecimal()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp33 int8_t NEGATIVE_FLAG = 1; variable
220 flags ^= NEGATIVE_FLAG; in negate()
304 return (flags & NEGATIVE_FLAG) != 0; in isNegative()
327 flags |= NEGATIVE_FLAG; in setToInt()
330 flags |= NEGATIVE_FLAG; in setToInt()
352 flags |= NEGATIVE_FLAG; in setToLong()
368 flags |= NEGATIVE_FLAG; in _setToLong()
382 flags |= NEGATIVE_FLAG; in setToDouble()
491 flags |= NEGATIVE_FLAG; in _setToDecNum()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java75 private static final int NEGATIVE_FLAG = 1; field in DecimalQuantity_SimpleStorage
437 flags ^= NEGATIVE_FLAG;
511 return (flags & NEGATIVE_FLAG) != 0;
520 flags = (flags & (~NEGATIVE_FLAG)) | (isNegative ? NEGATIVE_FLAG : 0);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java72 private static final int NEGATIVE_FLAG = 1; field in DecimalQuantity_SimpleStorage
434 flags ^= NEGATIVE_FLAG;
508 return (flags & NEGATIVE_FLAG) != 0;
517 flags = (flags & (~NEGATIVE_FLAG)) | (isNegative ? NEGATIVE_FLAG : 0);