/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTreeTest.java | 157 assertThat(a.subtract(a)).isSameInstanceAs(RangeTree.empty()); in testSubtraction() 158 assertThat(a.subtract(RangeTree.empty())).isEqualTo(a); in testSubtraction() 159 assertThat(RangeTree.empty().subtract(a)).isSameInstanceAs(RangeTree.empty()); in testSubtraction() 162 assertThat(a.subtract(b)).containsExactly("12[0-24-9]x", "123[0-35-9]"); in testSubtraction() 163 assertThat(b.subtract(a)).containsExactly("999", "4[0-46-9]xxx", "45[0-57-9]xx"); in testSubtraction() 193 RangeTree subAB = a.subtract(b); in testVennDiagram() 194 RangeTree subBA = b.subtract(a); in testVennDiagram() 287 assertThat(tree.subtract(ranges("[6-8]xx")).first()).isEqualTo(DigitSequence.of("900")); in testMin() 288 assertThat(tree.subtract(ranges("xxx")).first()).isEqualTo(DigitSequence.of("8000")); in testMin() 289 assertThat(tree.subtract(range in testMin() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | internal-index.h | 25 V8_WARN_UNUSED_RESULT InternalIndex adjust_down(size_t subtract) const { in adjust_down() 26 DCHECK_GE(entry_, subtract); in adjust_down() 27 return InternalIndex(entry_ - subtract); in adjust_down()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 1089 // we assume add/subtract test function; this just in diagcompareto() 1556 // we assume add/subtract test function; this and min just in diagmax() 1608 // we assume add/subtract test function; this and max just in diagmin() 2462 /** Test the {@link ohos.global.icu.math.BigDecimal#subtract} method. */ 2472 TestFmwk.assertTrue("sub301", ((new ohos.global.icu.math.BigDecimal(2)).subtract(new ohos.global.icu.math.BigDecimal(3),mcdef).toString()).equals("-1")); in diagsubtract() 2473 TestFmwk.assertTrue("sub302", ((new ohos.global.icu.math.BigDecimal("5.75")).subtract(new ohos.global.icu.math.BigDecimal("3.3"),mcdef).toString()).equals("2.45")); in diagsubtract() 2474 TestFmwk.assertTrue("sub303", ((new ohos.global.icu.math.BigDecimal("5")).subtract(new ohos.global.icu.math.BigDecimal("-3"),mcdef).toString()).equals("8")); in diagsubtract() 2475 TestFmwk.assertTrue("sub304", ((new ohos.global.icu.math.BigDecimal("-5")).subtract(new ohos.global.icu.math.BigDecimal("-3"),mcdef).toString()).equals("-2")); in diagsubtract() 2476 TestFmwk.assertTrue("sub305", ((new ohos.global.icu.math.BigDecimal("-7")).subtract(new ohos.global.icu.math.BigDecimal("2.5"),mcdef).toString()).equals("-9.5")); in diagsubtract() 2477 TestFmwk.assertTrue("sub306", ((new ohos.global.icu.math.BigDecimal("0.7")).subtract(ne in diagsubtract() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
H A D | DiagBigDecimalTest.java | 1086 // we assume add/subtract test function; this just in diagcompareto() 1553 // we assume add/subtract test function; this and min just in diagmax() 1605 // we assume add/subtract test function; this and max just in diagmin() 2459 /** Test the {@link com.ibm.icu.math.BigDecimal#subtract} method. */ 2469 TestFmwk.assertTrue("sub301", ((new com.ibm.icu.math.BigDecimal(2)).subtract(new com.ibm.icu.math.BigDecimal(3),mcdef).toString()).equals("-1")); in diagsubtract() 2470 TestFmwk.assertTrue("sub302", ((new com.ibm.icu.math.BigDecimal("5.75")).subtract(new com.ibm.icu.math.BigDecimal("3.3"),mcdef).toString()).equals("2.45")); in diagsubtract() 2471 TestFmwk.assertTrue("sub303", ((new com.ibm.icu.math.BigDecimal("5")).subtract(new com.ibm.icu.math.BigDecimal("-3"),mcdef).toString()).equals("8")); in diagsubtract() 2472 TestFmwk.assertTrue("sub304", ((new com.ibm.icu.math.BigDecimal("-5")).subtract(new com.ibm.icu.math.BigDecimal("-3"),mcdef).toString()).equals("-2")); in diagsubtract() 2473 TestFmwk.assertTrue("sub305", ((new com.ibm.icu.math.BigDecimal("-7")).subtract(new com.ibm.icu.math.BigDecimal("2.5"),mcdef).toString()).equals("-9.5")); in diagsubtract() 2474 TestFmwk.assertTrue("sub306", ((new com.ibm.icu.math.BigDecimal("0.7")).subtract(ne in diagsubtract() [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
H A D | CalculateLimits.java | 73 BigDecimal minResidue = minTrunc.subtract(universalMin); in main() 74 BigDecimal maxResidue = universalMax.subtract(maxTrunc); in main() 78 min = minTrunc.subtract(minResidue.min(half)); in main()
|
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
H A D | TimeUtil.java | 298 * @deprecated Use {@link Timestamps#subtract} instead. 301 public static Timestamp subtract(Timestamp start, Duration length) { in subtract() method in TimeUtil 302 return Timestamps.subtract(start, length); in subtract() 318 * @deprecated Use {@link Durations#subtract} instead. 321 public static Duration subtract(Duration d1, Duration d2) { in subtract() method in TimeUtil 322 return Durations.subtract(d1, d2); in subtract()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | RangeTable.java | 163 return rangeMap != null ? all.subtract(rangeMap.getAssignedRanges()) : all; in getRanges() 190 return allRanges.subtract(allAssigned); in getUnassignedRanges() 276 allRanges = allRanges.subtract(ranges); in remove() 464 return getAllRanges().subtract(getAssignedRanges(column)); in getRanges() 578 RangeTree unassigned = getAllRanges().subtract(getAssignedRanges(c)); in toImmutableTable() 629 map.put(value, PrefixTree.minimal(include, allRanges.subtract(include), minPrefixLength)); in getPrefixMap() 709 RangeTree otherRanges = allRanges.subtract(indexTable.getRanges(INDEX, n)); in simplifyIndexTable() 746 .subTable(allRanges.subtract(overlaps), INDEX) in simplifyIndexTable() 773 disjointRange, simplifiedRange, disjointRange.subtract(simplifiedRange)); in simplifyIndexTable() 874 remainder = remainder.subtract(overla in toRows() [all...] |
H A D | DisjointRangeMap.java | 86 ranges = ranges.subtract(map.getOrDefault(checkedValue, RangeTree.empty())); in checkAssign() 117 e.setValue(e.getValue().subtract(overlap)); in assign() 126 assignedRanges = assignedRanges.subtract(ranges); in assign()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | commentsCommentParsing.js | 119 /** This is subtract function 127 function subtract(a: number, b: number, c?: () => string, d?: () => string, e?: () => string, f?: () => string) { function 253 /** This is subtract function
261 function subtract(a, b, c, d, e, f) {
342 /** This is subtract function
350 declare function subtract(a: number, b: number, c?: () => string, d?: () => string, e?: () => string, f?: () => string): void;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | APFloat.h | 60 /// implemented operations. Currently implemented operations are add, subtract, 246 opStatus subtract(const IEEEFloat &, roundingMode); 270 Result.subtract(RHS, rmNearestTiesToEven); in operator -() 500 lostFraction addOrSubtractSignificand(const IEEEFloat &, bool subtract); 520 opStatus addOrSubtractSpecials(const IEEEFloat &, bool subtract); 532 opStatus addOrSubtract(const IEEEFloat &, roundingMode, bool subtract); 638 opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM); 932 opStatus subtract(const APFloat &RHS, roundingMode RM) { in subtract() function in llvm::APFloat 934 return U.IEEE.subtract(RHS.U.IEEE, RM); in subtract() 936 return U.Double.subtract(RH in subtract() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APFloat.cpp | 1231 /* Shift the significand left BITS bits, subtract BITS from its exponent. */ 1437 bool subtract) { 1456 sign = rhs.sign ^ subtract; 1464 sign = rhs.sign ^ subtract; 1469 sign = rhs.sign ^ subtract; 1479 if (((sign ^ rhs.sign)!=0) != subtract) { 1491 /* Add or subtract two normal numbers. */ 1493 bool subtract) { 1500 subtract ^= static_cast<bool>(sign ^ rhs.sign); 1506 if (subtract) { [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | ComplexUnitsConverter.java | 198 BigDecimal remainder = quantity.subtract(BigDecimal.valueOf(flooredQuantity.longValue())); in convert() 259 quantity = quantity.subtract(unitsConverters_.get(lastIndex).convert(carry)); in applyRounder() 271 intValues.set(j, intValues.get(j).subtract(unitsConverters_.get(j).convert(carry).toBigInteger())); in applyRounder()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | UniversalTimeScale.java | 463 * (i.e. we subtract units first to guarantee that we'll still be in range when we 479 * Since we also need to subtract the epochOffset, we fold the <code>+/- 1</code> 525 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 544 return universalTime.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 660 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | UniversalTimeScale.java | 419 * (i.e. we subtract units first to guarantee that we'll still be in range when we 435 * Since we also need to subtract the epochOffset, we fold the <code>+/- 1</code> 477 return universal.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 494 return universalTime.divide(units, BigDecimal.ROUND_HALF_UP).subtract(epochOffset); in toBigDecimal() 608 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/third_party/skia/src/core/ |
H A D | SkRect.cpp | 194 static bool subtract(const R& a, const R& b, R* out) { in subtract() function 270 return subtract<SkRect>(a, b, out); in Subtract() 274 return subtract<SkIRect>(a, b, out); in Subtract()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | APFloat.h | 70 /// implemented operations. Currently implemented operations are add, subtract, 271 opStatus subtract(const IEEEFloat &, roundingMode); 489 lostFraction addOrSubtractSignificand(const IEEEFloat &, bool subtract); 510 opStatus addOrSubtractSpecials(const IEEEFloat &, bool subtract); 522 opStatus addOrSubtract(const IEEEFloat &, roundingMode, bool subtract); 629 opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM); 970 opStatus subtract(const APFloat &RHS, roundingMode RM) { in subtract() function in llvm::APFloat 974 return U.IEEE.subtract(RHS.U.IEEE, RM); in subtract() 976 return U.Double.subtract(RHS.U.Double, RM); in subtract() 1050 (void)Result.subtract(RH in operator -() [all...] |
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | TimeUtilTest.java | 419 value = TimeUtil.subtract(end, duration); in testTimeOperations() 426 value = TimeUtil.subtract(start, duration); in testTimeOperations() 456 duration = TimeUtil.subtract(duration, TimeUtil.parseDuration("-1s")); in testTimeOperations() 471 Duration d2 = TimeUtil.subtract(d1, TimeUtil.createDurationFromNanos(1)); in testTimeOperations()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
H A D | UnitsTest.java | 36 expected.subtract(actual).abs() : in compareTwoBigDecimal() 37 (expected.subtract(actual).divide(expected, MathContext.DECIMAL128)).abs(); in compareTwoBigDecimal() 97 "foot", "foot-and-inch", BigDecimal.valueOf(2.0).subtract(ComplexUnitsConverter.EPSILON), in testComplexUnitsConverter() 102 BigDecimal.valueOf(2.0).subtract( in testComplexUnitsConverter() 105 new Measure(BigDecimal.valueOf(12.0).subtract( in testComplexUnitsConverter() 123 BigDecimal.valueOf(2.0).subtract(ComplexUnitsConverter.EPSILON), in testComplexUnitsConverter() 132 // BigDecimal.valueOf(1.0).subtract(ComplexUnitsConverter.EPSILON), in testComplexUnitsConverter()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | XmlRangesSchema.java | 134 src.getRanges(RangesTableSchema.TARIFF, extTariff).subtract(unsupportedRanges); in fromExternalTable() 144 col, table.getAllRanges().subtract(table.getAssignedRanges(col))); in checkSourceColumn()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-set.hh | 132 void subtract (const hb_sparseset_t &other) { s.subtract (other.s); } in subtract() function
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTree.java | 769 subtract(ltree, retainFrom(rhs, ltree)), in union() 771 subtract(rtree, retainFrom(lhs, rtree)))); in union() 802 private RangeTree subtract(RangeTree lhs, RangeTree rhs) { in subtract() method in RangeTree.SetOperations 1067 public RangeTree subtract(RangeTree tree) { in subtract() method in RangeTree 1068 return SetOperations.INSTANCE.subtract(this, tree); in subtract() 1088 * to {@code tree.subtract(this).isEmpty()}, but much more efficient in cases where it returns 1105 // A very efficient test of tree containment (faster than doing "b.subtract(a).isEmpty()").
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timescale/ |
H A D | TimeScaleMonkeyTest.java | 53 BigDecimal interval = new BigDecimal(max).subtract(new BigDecimal(min)); in initRandom()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
H A D | TimeScaleMonkeyTest.java | 50 BigDecimal interval = new BigDecimal(max).subtract(new BigDecimal(min)); in initRandom()
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_blend_init.c | 58 BLEND_FUNC(subtract, sse2) in BLEND_FUNC() 59 BLEND_FUNC(subtract, avx2) in BLEND_FUNC()
|
/third_party/icu/icu4j/perf-tests/perldriver/ |
H A D | Output.pm | 364 my $ratio = $baseLinePO->subtract($perOperation); 381 my $ratio = $baseLinePO->subtract($perOperation);
|