/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | TimestampTest.cs | 99 Duration difference = new Duration { Seconds = 1999, Nanos = Duration.NanosecondsPerSecond - 5000 }; in Arithmetic() 100 Assert.AreEqual(difference, t1 - t2); in Arithmetic() 101 Assert.AreEqual(-difference, t2 - t1); in Arithmetic() 103 Assert.AreEqual(t1, t2 + difference); in Arithmetic() 104 Assert.AreEqual(t2, t1 - difference); in Arithmetic()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | sleep.c | 36 long int difference = new_time.tv_sec - old_time.tv_sec - 2000; in sleep_0100() local 37 if (difference > 2) { in sleep_0100() 38 t_error("%s sleep get result is %ld is greater than 2 ms", __func__, difference); in sleep_0100()
|
H A D | usleep.c | 36 long int difference = new_time.tv_sec - old_time.tv_sec - 2000; in usleep_0100() local 37 if (difference > 2) { in usleep_0100() 38 t_error("%s usleep get result is %ld is greater than 2 ms", __func__, difference); in usleep_0100()
|
/third_party/skia/tests/ |
H A D | RectTest.cpp | 225 SkIRect difference; in DEF_TEST() local 226 bool exact = SkRectPriv::Subtract(e.fA, e.fB, &difference); in DEF_TEST() 228 REPORTER_ASSERT(reporter, difference == e.fExpected); in DEF_TEST() 259 SkIRect difference; in DEF_TEST() local 260 bool exact = SkRectPriv::Subtract(reallyBig, reasonable, &difference); in DEF_TEST() 262 REPORTER_ASSERT(reporter, difference == reallyBig); in DEF_TEST() 266 exact = SkRectPriv::Subtract(reasonable, reallyBig, &difference); in DEF_TEST() 268 REPORTER_ASSERT(reporter, difference == reasonable); in DEF_TEST()
|
H A D | GrClipStackTest.cpp | 49 // .difference() 84 // for difference ops, whereas ClipStack only sometimes can subtract the inner bounds for a 85 // difference op. 109 ElementsBuilder& difference() { fOp = SkClipOp::kDifference; return *this; } in difference() function in __anon19011::ElementsBuilder 567 // Tests that an intersection and a difference op do not combine, even if they would have if both 578 .difference().rect(r2) in DEF_TEST() 916 .expect().aa().difference().rect(rect).finishElements() in DEF_TEST() 920 // Inverse filled rect + difference -> int. rect in DEF_TEST() 921 run_test_case(r, TestCase::Build("inverse-rect-difference", kDeviceBounds) in DEF_TEST() 922 .actual().aa().difference() in DEF_TEST() [all...] |
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | bignum.cc | 225 const Chunk difference = RawBigit(i + offset) - other.RawBigit(i) - borrow; in SubtractBignum() local 226 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 227 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 230 const Chunk difference = RawBigit(i + offset) - borrow; in SubtractBignum() local 231 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 232 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 780 const Chunk difference = RawBigit(i + exponent_diff) - (remove & kBigitMask); 781 RawBigit(i + exponent_diff) = difference & kBigitMask; 782 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + 789 const Chunk difference [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | double-conversion-bignum.cpp | 239 const Chunk difference = RawBigit(i + offset) - other.RawBigit(i) - borrow; in SubtractBignum() local 240 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 241 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 244 const Chunk difference = RawBigit(i + offset) - borrow; in SubtractBignum() local 245 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 246 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 794 const Chunk difference = RawBigit(i + exponent_diff) - (remove & kBigitMask); 795 RawBigit(i + exponent_diff) = difference & kBigitMask; 796 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + 803 const Chunk difference [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | double-conversion-bignum.cpp | 239 const Chunk difference = RawBigit(i + offset) - other.RawBigit(i) - borrow; in SubtractBignum() local 240 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 241 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 244 const Chunk difference = RawBigit(i + offset) - borrow; in SubtractBignum() local 245 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 246 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 794 const Chunk difference = RawBigit(i + exponent_diff) - (remove & kBigitMask); 795 RawBigit(i + exponent_diff) = difference & kBigitMask; 796 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + 803 const Chunk difference [all...] |
/third_party/node/deps/v8/src/base/numbers/ |
H A D | bignum.cc | 193 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum() local 194 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum() 195 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 198 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum() local 199 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum() 200 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 700 Chunk difference = in SubtractTimes() local 702 bigits_[i + exponent_diff] = difference & kBigitMask; in SubtractTimes() 703 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes() 708 Chunk difference in SubtractTimes() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | double-conversion-bignum.cpp | 238 const Chunk difference = RawBigit(i + offset) - other.RawBigit(i) - borrow; in SubtractBignum() local 239 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 240 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 243 const Chunk difference = RawBigit(i + offset) - borrow; in SubtractBignum() local 244 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 245 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 793 const Chunk difference = RawBigit(i + exponent_diff) - (remove & kBigitMask); 794 RawBigit(i + exponent_diff) = difference & kBigitMask; 795 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + 802 const Chunk difference [all...] |
/third_party/googletest/googletest/samples/ |
H A D | sample10_unittest.cc | 82 int difference = Water::allocated() - initially_allocated_; variable 87 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
H A D | v8_foozzie.py | 124 %(difference)s%(source_file_text)s 307 parser.error('Need either executable or config difference.') 341 difference, source_key=None, source=None): 355 difference = difference.decode('utf-8', 'replace') 369 difference=difference, 427 """Runs different configurations and bails out on output difference. 451 difference, source = suppress.diff(baseline_output, comparison_output) 453 if difference [all...] |
/third_party/skia/gn/ |
H A D | gn_to_bp.py | 519 android_srcs = android_srcs.difference(srcs) 520 linux_srcs = linux_srcs.difference(srcs) 521 mac_srcs = mac_srcs.difference(srcs) 522 win_srcs = win_srcs.difference(srcs) 561 p = sorted(platforms.difference({ desired }))
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | int128.cc | 95 int difference = dividend_bit_length - divisor_bit_length; in DivModImpl() local 97 while (difference >= 0) { in DivModImpl() 99 uint128 shifted_divisor = divisor << difference; in DivModImpl() 104 difference -= 1; in DivModImpl()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | TimestampTest.cs | 99 Duration difference = new Duration { Seconds = 1999, Nanos = Duration.NanosecondsPerSecond - 5000 }; in Arithmetic() 100 Assert.AreEqual(difference, t1 - t2); in Arithmetic() 101 Assert.AreEqual(-difference, t2 - t1); in Arithmetic() 103 Assert.AreEqual(t1, t2 + difference); in Arithmetic() 104 Assert.AreEqual(t2, t1 - difference); in Arithmetic()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/ |
H A D | civil_time_detail.h | 275 // Returns the difference in days between two normalized Y-M-D tuples. 277 // yet the difference between two such extreme values may actually be 298 // Returns the difference between fields structs using the indicated unit. 299 CONSTEXPR_F diff_t difference(year_tag, fields f1, fields f2) noexcept { 302 CONSTEXPR_F diff_t difference(month_tag, fields f1, fields f2) noexcept { 303 return impl::scale_add(difference(year_tag{}, f1, f2), 12, (f1.m - f2.m)); 305 CONSTEXPR_F diff_t difference(day_tag, fields f1, fields f2) noexcept { 308 CONSTEXPR_F diff_t difference(hour_tag, fields f1, fields f2) noexcept { 309 return impl::scale_add(difference(day_tag{}, f1, f2), 24, (f1.hh - f2.hh)); 311 CONSTEXPR_F diff_t difference(minute_ta [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | linkcheck.py | 53 xrefsOnly = internals.difference(anchors) 54 anchorsOnly = anchors.difference(internals)
|
/third_party/musl/tools/api_cmp_tool/ |
H A D | compare.py | 278 set(LIB_FILE_NAME_LIST).difference(set(HEAD_FILE_NAME_LIST))) 280 set(HEAD_FILE_NAME_LIST).difference(set(LIB_FILE_NAME_LIST))) 285 only_lib_have = list(set(only_lib_have).difference(set(not_compare_list))) 287 set(only_head_have).difference(set(not_compare_list)))
|
/third_party/rust/crates/bitflags/src/ |
H A D | lib.rs | 37 //! assert_eq!((e1 - e2), Flags::A); // set difference 155 //! - `Sub` and `SubAssign`: set difference 186 //! - `difference`: returns a new set of flags, containing all flags present in 307 /// assert_eq!((e1 - e2), Flags::A); // set difference 668 /// Returns the difference between the flags in `self` and `other`. 682 pub const fn difference(self, other: Self) -> Self { 686 /// Returns the [symmetric difference][sym-diff] between the flags 710 /// Alternatively, it can be thought of as the set difference 783 /// Returns the set difference of the two sets of flags. 1158 assert_eq!((e1 - e2), Flags::A); // set difference in test_operators() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | TimeValue.h | 195 /// @returns The difference of the two operands as a new TimeValue 255 /// Win32 platforms, correcting for the difference in Win32 zero time. 378 TimeValue difference (tv1.seconds_ - tv2.seconds_, tv1.nanos_ - tv2.nanos_ ); in operator -() 379 difference.normalize (); in operator -() 380 return difference; in operator -()
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
H A D | interval.rs | 140 pub fn difference(&mut self, other: &IntervalSet<I>) { in difference() functions 194 range = match range.difference(&other.ranges[b]) { in difference() 231 /// Compute the symmetric difference of the two sets, in place. 233 /// This computes the symmetric difference of two interval sets. This 243 self.difference(&intersection); in symmetric_difference() 392 fn difference(&self, other: &Self) -> (Option<Self>, Option<Self>) { in next() functions 421 /// Compute the symmetric difference the given range from this range. This in next() 435 union.difference(&intersection) in next()
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_blend_init.c | 62 BLEND_FUNC(difference, sse2) in BLEND_FUNC() 63 BLEND_FUNC(difference, ssse3) in BLEND_FUNC() 64 BLEND_FUNC(difference, avx2) in BLEND_FUNC()
|
/third_party/gn/src/base/ |
H A D | stl_util.h | 88 // Returns a new ResultType containing the difference of two sorted containers. 93 ResultType difference; in STLSetDifference() local 95 std::inserter(difference, difference.end())); in STLSetDifference() 96 return difference; in STLSetDifference()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NFRuleSet.java | 640 long difference = Long.MAX_VALUE; in findFractionRuleSetRule() 662 if (tempDifference < difference) { in findFractionRuleSetRule() 663 difference = tempDifference; in findFractionRuleSetRule() 665 if (difference == 0) { in findFractionRuleSetRule()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | NFRuleSet.java | 641 long difference = Long.MAX_VALUE; in findFractionRuleSetRule() 663 if (tempDifference < difference) { in findFractionRuleSetRule() 664 difference = tempDifference; in findFractionRuleSetRule() 666 if (difference == 0) { in findFractionRuleSetRule()
|