/dalvik/tests/082-inline-execute/src/junit/framework/ |
Assert.java | 90 * Asserts that two doubles are equal concerning a delta. If they are not 92 * value is infinity then the delta value is ignored. 94 static public void assertEquals(String message, double expected, double actual, double delta) { 100 } else if (!(Math.abs(expected-actual) <= delta)) // Because comparison with NaN always returns false 104 * Asserts that two doubles are equal concerning a delta. If the expected 105 * value is infinity then the delta value is ignored. 107 static public void assertEquals(double expected, double actual, double delta) { 108 assertEquals(null, expected, actual, delta); 111 * Asserts that two floats are equal concerning a delta. If they are not 113 * value is infinity then the delta value is ignored [all...] |
/external/chromium_org/base/metrics/ |
histogram_snapshot_manager.h | 24 // calling for the marginal change (a.k.a., delta) in a histogram to be 32 // delta. The arguments allow selecting only a subset of histograms for 37 // Snapshot this histogram, and record the delta. 46 // each histogram) so that we can record only the delta with the next log.
|
/external/chromium_org/cc/animation/ |
scrollbar_animation_controller_linear_fade.cc | 84 base::TimeDelta delta = now - last_awaken_time_; 86 if (delta <= fadeout_delay_) 88 if (delta < fadeout_delay_ + fadeout_length_) { 89 return (fadeout_delay_ + fadeout_length_ - delta).InSecondsF() /
|
/external/guava/guava/src/com/google/common/collect/ |
Count.java | 44 public int getAndAdd(int delta) { 46 value = result + delta; 50 public int addAndGet(int delta) { 51 return value += delta;
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/ |
AtomicInteger.java | 71 public final int getAndAdd(int delta) { 73 value += delta; 85 public final int addAndGet(int delta) { 86 value += delta;
|
AtomicLong.java | 71 public final long getAndAdd(long delta) { 73 value += delta; 85 public final long addAndGet(long delta) { 86 value += delta;
|
/external/junit/src/junit/framework/ |
Assert.java | 94 * Asserts that two doubles are equal concerning a delta. If they are not 96 * value is infinity then the delta value is ignored. 98 static public void assertEquals(String message, double expected, double actual, double delta) { 101 if (!(Math.abs(expected-actual) <= delta)) 105 * Asserts that two doubles are equal concerning a delta. If the expected 106 * value is infinity then the delta value is ignored. 108 static public void assertEquals(double expected, double actual, double delta) { 109 assertEquals(null, expected, actual, delta); 112 * Asserts that two floats are equal concerning a positive delta. If they 114 * expected value is infinity then the delta value is ignored [all...] |
/external/lzma/CPP/Common/ |
MyVector.cpp | 28 unsigned delta = 1;
local 30 delta = (unsigned)_capacity / 4;
32 delta = 8;
33 Reserve(_capacity + (int)delta);
|
/external/openfst/src/include/fst/script/ |
determinize.h | 29 float delta; member in struct:fst::script::DeterminizeOptions 38 : delta(d), weight_threshold(w), state_threshold(n), 52 detargs.delta = opts.delta;
|
disambiguate.h | 29 float delta; member in struct:fst::script::DisambiguateOptions 38 : delta(d), weight_threshold(w), state_threshold(n), 52 detargs.delta = opts.delta;
|
/external/openfst/src/script/ |
prune.cc | 44 int64 state_threshold, float delta) { 45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta); 52 int64 state_threshold, float delta) { 53 PruneArgs4 args(fst, weight_threshold, state_threshold, delta);
|
randequivalent.cc | 26 int32 seed, ssize_t num_paths, float delta, 29 RandEquivalentInnerArgs1 args(fst1, fst2, seed, num_paths, delta, 40 ssize_t num_paths, float delta, 44 RandEquivalentInnerArgs2 args(fst1, fst2, seed, num_paths, delta, opts);
|
/external/chromium/chrome/browser/chromeos/cros/ |
cros_library_loader.cc | 20 void addLibcrosTimeHistogram(const char* name, const base::TimeDelta& delta) { 31 counter->AddTime(delta); 32 VLOG(1) << "Cros Time: " << name << ": " << delta.InMilliseconds() << "ms.";
|
/external/chromium/sdch/open-vcdiff/src/ |
vcdecoder_test.h | 27 // dictionary and target and construct the delta file in the same way. 49 // concatenated delta file header, delta window header, and delta window 55 // This function adds an Adler32 checksum to the delta window header. 59 // and adds it to the delta window header. 63 // (0x7FFFFFFF) at the given offset in the delta window. 67 // in the delta window. 71 // at the given offset in the delta window. 75 // bytes) and through positions in the delta file. Each time it is called, i [all...] |
/external/chromium_org/content/browser/renderer_host/ |
touch_smooth_scroll_gesture_android.cc | 58 double delta = smooth_scroll_calculator_.GetScrollDelta( local 62 pixels_scrolled_ += delta; 63 return delta;
|
/external/chromium_org/net/quic/congestion_control/ |
leaky_bucket.cc | 27 QuicTime::Delta LeakyBucket::TimeRemaining(QuicTime now) { 29 return QuicTime::Delta::FromMicroseconds( 40 QuicTime::Delta elapsed_time = now.Subtract(time_last_updated_);
|
paced_sender.cc | 32 QuicTime::Delta PacedSender::TimeUntilSend(QuicTime now, 33 QuicTime::Delta time_until_send) { 39 QuicTime::Delta::FromMicroseconds(kMaxSchedulingDelayUs));
|
/external/chromium_org/net/tools/quic/test_tools/ |
quic_test_utils.cc | 47 void MockConnection::AdvanceTime(QuicTime::Delta delta) { 50 static_cast<MockHelper*>(helper())->AdvanceTime(delta);
|
/external/chromium_org/sdch/open-vcdiff/src/ |
vcdecoder_test.h | 27 // dictionary and target and construct the delta file in the same way. 49 // concatenated delta file header, delta window header, and delta window 55 // This function adds an Adler32 checksum to the delta window header. 59 // and adds it to the delta window header. 63 // (0x7FFFFFFF) at the given offset in the delta window. 67 // in the delta window. 71 // at the given offset in the delta window. 75 // bytes) and through positions in the delta file. Each time it is called, i [all...] |
/external/chromium_org/third_party/icu/source/common/ |
uchriter.cpp | 294 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { 297 pos = begin + delta; 300 pos += delta; 303 pos = end + delta; 319 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { 325 if(delta > 0) { 326 UTF_FWD_N(text, pos, end, delta); 330 if(delta > 0) { 331 UTF_FWD_N(text, pos, end, delta); 333 UTF_BACK_N(text, begin, pos, -delta); [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
fphdlimp.h | 26 virtual void shiftLast(int32_t delta); 41 virtual void shiftLast(int32_t delta); 65 virtual void shiftLast(int32_t delta);
|
/external/icu4c/common/ |
uchriter.cpp | 295 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { 298 pos = begin + delta; 301 pos += delta; 304 pos = end + delta; 320 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { 326 if(delta > 0) { 327 U16_FWD_N(text, pos, end, delta); 331 if(delta > 0) { 332 U16_FWD_N(text, pos, end, delta); 334 U16_BACK_N(text, begin, pos, -delta); [all...] |
/external/icu4c/i18n/ |
fphdlimp.h | 26 virtual void shiftLast(int32_t delta); 41 virtual void shiftLast(int32_t delta); 65 virtual void shiftLast(int32_t delta);
|
/external/open-vcdiff/src/ |
vcdecoder_test.h | 27 // dictionary and target and construct the delta file in the same way. 49 // concatenated delta file header, delta window header, and delta window 55 // This function adds an Adler32 checksum to the delta window header. 59 // and adds it to the delta window header. 63 // (0x7FFFFFFF) at the given offset in the delta window. 67 // in the delta window. 71 // at the given offset in the delta window. 75 // bytes) and through positions in the delta file. Each time it is called, i [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
GotoCommonCodeReplacer.java | 121 for (int delta = 0; delta <= commonCount; delta++) 123 int deleteOffset = offset - delta; 167 for (int delta = 1; 168 delta <= offset1 && 169 delta <= offset2 && 170 offset2 - delta != offset1; 171 delta++) 173 int newOffset1 = offset1 - delta; [all...] |