/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/ |
twopsetclock.c | 13 * The two processes will attempt to set the clock to TESTTIME+DELTA 14 * and TESTTIME-DELTA. 27 #define DELTA 5 34 int pid, delta; local 45 tschild.tv_sec = TESTTIME + DELTA; 59 tsparent.tv_sec = TESTTIME - DELTA; 68 * Ensure we set clock to TESTTIME-DELTA or TESTTIME+DELTA. 77 delta = (tpget.tv_sec - LONGTIME) - TESTTIME; 79 if ((delta <= ACCEPTABLEDELTA - DELTA) | [all...] |
/external/skia/samplecode/ |
SampleDegenerateTwoPtRadials.cpp | 15 static void draw_gradient2(SkCanvas* canvas, const SkRect& rect, SkScalar delta) { 26 SkPoint c0 = { l + 2 * w / 5 + delta, t + h / 2 }; 55 SkScalar delta = fTime / 15.f; variable 56 int intPart = SkScalarFloorToInt(delta); 57 delta = delta - SK_Scalar1 * intPart; 59 delta = SK_Scalar1 - delta; 61 delta -= SK_ScalarHalf; 63 delta /= DELTA_SCALE [all...] |
/external/skqp/samplecode/ |
SampleDegenerateTwoPtRadials.cpp | 15 static void draw_gradient2(SkCanvas* canvas, const SkRect& rect, SkScalar delta) { 26 SkPoint c0 = { l + 2 * w / 5 + delta, t + h / 2 }; 55 SkScalar delta = fTime / 15.f; variable 56 int intPart = SkScalarFloorToInt(delta); 57 delta = delta - SK_Scalar1 * intPart; 59 delta = SK_Scalar1 - delta; 61 delta -= SK_ScalarHalf; 63 delta /= DELTA_SCALE [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
EqualsWithDelta.java | 28 private final Number delta;
field in class:EqualsWithDelta 30 public EqualsWithDelta(Number value, Number delta) {
32 this.delta = delta;
37 return expected.doubleValue() - delta.doubleValue() <= actualNumber
40 + delta.doubleValue();
44 buffer.append("eq(" + expected + ", " + delta + ")");
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/number/ |
IsCloseTo.java | 15 private final double delta; field in class:IsCloseTo 19 this.delta = error; 33 .appendText(" more than delta ") 34 .appendValue(delta); 40 .appendValue(delta) 46 return abs(item - value) - delta; 58 * the delta (+/-) within which matches will be allowed
|
/external/libchrome/base/test/ |
simple_test_tick_clock.cc | 20 void SimpleTestTickClock::Advance(TimeDelta delta) { 22 DCHECK(delta >= TimeDelta()); 23 now_ticks_ += delta;
|
/external/skia/src/gpu/effects/ |
GrMagnifierEffect.fp | 26 float2 delta = (coord - boundsUniform.xy) * boundsUniform.zw; 27 delta = min(delta, half2(1.0, 1.0) - delta); 28 delta *= half2(xInvInset, yInvInset); 31 if (delta.s < 2.0 && delta.t < 2.0) { 32 delta = half2(2.0, 2.0) - delta; 33 half dist = length(delta); [all...] |
/external/skqp/src/gpu/effects/ |
GrMagnifierEffect.fp | 26 float2 delta = (coord - boundsUniform.xy) * boundsUniform.zw; 27 delta = min(delta, half2(1.0, 1.0) - delta); 28 delta *= half2(xInvInset, yInvInset); 31 if (delta.s < 2.0 && delta.t < 2.0) { 32 delta = half2(2.0, 2.0) - delta; 33 half dist = length(delta); [all...] |
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/ |
DeltaDescriptor.java | 23 * Describes all of the information needed to apply a single delta operation - the format of the 24 * delta, the ranges in the delta-friendly old and new files that serve as inputs and outputs, and 25 * the number of bytes that the delta comprises in the patch stream. 29 * The format of the delta. 34 * The work range for the delta-friendly old file. 39 * The work range for the delta-friendly new file. 44 * The number of bytes of delta data in the patch stream. 50 * @param format the format of the delta 51 * @param deltaFriendlyOldFileRange the work range for the delta-friendly old fil [all...] |
/external/puffin/ |
libpuffdiff.pc | 4 Description: Puffin library for generating delta patches
|
libpuffpatch.pc | 4 Description: Puffin library for applying delta patches
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_Range.pbtxt | 16 name: "delta" 30 extends by increments of `delta` up to but not including `limit`. 37 # 'delta' is 3 38 tf.range(start, limit, delta) ==> [3, 6, 9, 12, 15]
|
/external/valgrind/gdbserver_tests/ |
mcleak.vgtest | 2 prog: ../memcheck/tests/leak-delta 8 argsB: --quiet -l 60 --nx ../memcheck/tests/leak-delta 12 stderr_filter_args: leak-delta.c 13 stderrB_filter_args: leak-delta.c
|
/external/valgrind/memcheck/tests/ |
leak-delta.vgtest | 1 prog: leak-delta
|
leak-delta.stderr.exp | 4 by 0x........: f (leak-delta.c:14) 5 by 0x........: main (leak-delta.c:60) 11 by 0x........: f (leak-delta.c:14) 12 by 0x........: main (leak-delta.c:60) 16 by 0x........: f (leak-delta.c:23) 17 by 0x........: main (leak-delta.c:60) 22 by 0x........: f (leak-delta.c:28) 23 by 0x........: main (leak-delta.c:60) 29 by 0x........: f (leak-delta.c:14) 30 by 0x........: main (leak-delta.c:60 [all...] |
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
balls.rsh | 3 float2 delta;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/ |
JobStatusTest.java | 37 private static final double DELTA = 0.00001; 54 assertEquals(1, createJobStatus(0, Long.MAX_VALUE).getFractionRunTime(), DELTA); 56 assertEquals(1, createJobStatus(0, now - 1000).getFractionRunTime(), DELTA); 57 assertEquals(0, createJobStatus(0, now + 1000).getFractionRunTime(), DELTA); 59 assertEquals(1, createJobStatus(now - 1000, Long.MAX_VALUE).getFractionRunTime(), DELTA); 60 assertEquals(0, createJobStatus(now + 1000, Long.MAX_VALUE).getFractionRunTime(), DELTA); 62 assertEquals(0, createJobStatus(now, now + 2000).getFractionRunTime(), DELTA); 63 assertEquals(0.25, createJobStatus(now - 500, now + 1500).getFractionRunTime(), DELTA); 64 assertEquals(0.5, createJobStatus(now - 1000, now + 1000).getFractionRunTime(), DELTA); 65 assertEquals(0.75, createJobStatus(now - 1500, now + 500).getFractionRunTime(), DELTA); [all...] |
/external/lzma/CPP/7zip/Compress/ |
DeltaFilter.cpp | 5 #include "../../../C/Delta.h"
56 UInt32 delta = _delta;
local 68 delta = (UInt32)prop.ulVal;
69 if (delta < 1 || delta > 256)
77 _delta = delta;
123 REGISTER_FILTER_E(Delta,
126 3, "Delta")
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
geometry_utils.h | 42 float delta = fabsf(a1 - a2); local 43 if (delta > M_2PI_F) { 44 delta -= (M_2PI_F * static_cast<int>(delta / M_2PI_F)); 46 if (delta > M_PI_F) { 47 delta = M_2PI_F - delta; 49 return ROUND_FLOAT_10000(delta);
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug247.go | 11 Delta = 100 * 1e6 14 _ = int64(Delta * Count)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug247.go | 11 Delta = 100 * 1e6 14 _ = int64(Delta * Count)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
unicodectype.c | 60 int delta = ctype->title;
local 63 return delta;
65 if (delta >= 32768)
66 delta -= 65536;
68 return ch + delta;
153 int delta = ctype->upper;
local 155 return delta;
156 if (delta >= 32768)
157 delta -= 65536;
158 return ch + delta;
167 int delta = ctype->lower; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
unicodectype.c | 60 int delta = ctype->title;
local 63 return delta;
65 if (delta >= 32768)
66 delta -= 65536;
68 return ch + delta;
153 int delta = ctype->upper;
local 155 return delta;
156 if (delta >= 32768)
157 delta -= 65536;
158 return ch + delta;
167 int delta = ctype->lower; local [all...] |
/external/python/cpython2/Objects/ |
unicodectype.c | 60 int delta = ctype->title; local 63 return delta; 65 if (delta >= 32768) 66 delta -= 65536; 68 return ch + delta; 153 int delta = ctype->upper; local 155 return delta; 156 if (delta >= 32768) 157 delta -= 65536; 158 return ch + delta; 167 int delta = ctype->lower; local [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
Cube.java | 25 public Cube(Volume v, float delta) {
26 this(v, delta, new float[]{0, 0, 0, 0, 0, 0});
29 public Cube(Volume v, float delta, float[] trim) {
32 float minx = delta + trim[0] * (v.mDimx - delta);
33 float miny = delta + trim[1] * (v.mDimy - delta);
34 float minz = delta + trim[2] * (v.mDimz - delta);
35 float maxx = v.mDimx - delta - trim[3] * (v.mDimx - delta); [all...] |