Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/external/valgrind/VEX/priv/
Dguest_amd64_toIR.c524 static inline UChar getUChar ( Long delta ) in getUChar() argument
526 UChar v = guest_code[delta+0]; in getUChar()
530 static UInt getUDisp16 ( Long delta ) in getUDisp16() argument
532 UInt v = guest_code[delta+1]; v <<= 8; in getUDisp16()
533 v |= guest_code[delta+0]; in getUDisp16()
551 static Long getSDisp8 ( Long delta ) in getSDisp8() argument
553 return extend_s_8to64( guest_code[delta] ); in getSDisp8()
558 static Long getSDisp16 ( Long delta ) in getSDisp16() argument
560 UInt v = guest_code[delta+1]; v <<= 8; in getSDisp16()
561 v |= guest_code[delta+0]; in getSDisp16()
[all …]
Dguest_x86_toIR.c338 static UChar getIByte ( Int delta ) in getIByte() argument
340 return guest_code[delta]; in getIByte()
365 static UChar getUChar ( Int delta ) in getUChar() argument
367 UChar v = guest_code[delta+0]; in getUChar()
371 static UInt getUDisp16 ( Int delta ) in getUDisp16() argument
373 UInt v = guest_code[delta+1]; v <<= 8; in getUDisp16()
374 v |= guest_code[delta+0]; in getUDisp16()
378 static UInt getUDisp32 ( Int delta ) in getUDisp32() argument
380 UInt v = guest_code[delta+3]; v <<= 8; in getUDisp32()
381 v |= guest_code[delta+2]; v <<= 8; in getUDisp32()
[all …]
/external/webrtc/webrtc/common_audio/vad/
Dvad_gmm_unittest.cc22 int16_t delta = 0; in TEST_F() local
24 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(0, 0, 128, &delta)); in TEST_F()
25 EXPECT_EQ(0, delta); in TEST_F()
26 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(16, 128, 128, &delta)); in TEST_F()
27 EXPECT_EQ(0, delta); in TEST_F()
28 EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(-16, -128, 128, &delta)); in TEST_F()
29 EXPECT_EQ(0, delta); in TEST_F()
32 EXPECT_EQ(1024, WebRtcVad_GaussianProbability(59, 0, 128, &delta)); in TEST_F()
33 EXPECT_EQ(7552, delta); in TEST_F()
34 EXPECT_EQ(1024, WebRtcVad_GaussianProbability(75, 128, 128, &delta)); in TEST_F()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_eu_util.c64 unsigned delta = i*32; in brw_copy4() local
65 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy4()
66 brw_MOV(p, byte_offset(dst, delta+16), byte_offset(src, delta+16)); in brw_copy4()
83 unsigned delta = i*32; in brw_copy8() local
84 brw_MOV(p, byte_offset(dst, delta), byte_offset(src, delta)); in brw_copy8()
98 unsigned delta = i*32; in brw_copy_indirect_to_indirect() local
99 brw_MOV(p, deref_4f(dst_ptr, delta), deref_4f(src_ptr, delta)); in brw_copy_indirect_to_indirect()
100 brw_MOV(p, deref_4f(dst_ptr, delta+16), deref_4f(src_ptr, delta+16)); in brw_copy_indirect_to_indirect()
116 unsigned delta = i*32; in brw_copy_from_indirect() local
117 brw_MOV(p, byte_offset(dst, delta), deref_4f(ptr, delta)); in brw_copy_from_indirect()
[all …]
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DBaseTween.java360 protected void updateOverride(int step, int lastStep, boolean isIterationStep, float delta) { in updateOverride() argument
413 public void update(float delta) { in update() argument
416 deltaTime = delta; in update()
450 float delta = 0-currentTime; in testRelaunch() local
451 deltaTime -= delta; in testRelaunch()
455 updateOverride(step, step-1, isIterationStep, delta); in testRelaunch()
461 float delta = 0-currentTime; in testRelaunch() local
462 deltaTime -= delta; in testRelaunch()
466 updateOverride(step, step+1, isIterationStep, delta); in testRelaunch()
476 float delta = 0-currentTime; in updateStep() local
[all …]
/external/regex-re2/re2/
Dmake_unicode_casefold.py45 def _AddDelta(a, delta): argument
47 if type(delta) == int:
48 return a+delta
49 if delta == 'EvenOdd':
54 if delta == 'OddEven':
59 print >>sys.stderr, "Bad Delta: ", delta
77 delta = r[2]
78 d = delta
79 if type(delta) is not str:
81 if delta.endswith('Skip'):
[all …]
/external/python/cpython2/Objects/
Dunicodectype.c60 int delta = ctype->title; in _PyUnicode_ToTitlecase() local
63 return delta; in _PyUnicode_ToTitlecase()
65 if (delta >= 32768) in _PyUnicode_ToTitlecase()
66 delta -= 65536; in _PyUnicode_ToTitlecase()
68 return ch + delta; in _PyUnicode_ToTitlecase()
153 int delta = ctype->upper; in _PyUnicode_ToUppercase() local
155 return delta; in _PyUnicode_ToUppercase()
156 if (delta >= 32768) in _PyUnicode_ToUppercase()
157 delta -= 65536; in _PyUnicode_ToUppercase()
158 return ch + delta; in _PyUnicode_ToUppercase()
[all …]
/external/python/cpython2/Lib/encodings/
Dpunycode.py59 delta = (curlen+1) * (char - oldchar)
64 delta += index - oldindex
65 result.append(delta-1)
67 delta = 0
93 def adapt(delta, first, numchars): argument
95 delta //= 700
97 delta //= 2
98 delta += delta // numchars
101 while delta > 455:
102 delta = delta // 35 # base - tmin
[all …]
/external/pdfium/third_party/agg23/
Dagg_rasterizer_scanline_aa.cpp169 int delta, p, first, dx; in render_hline() local
176 delta = y2 - y1; in render_hline()
177 m_cur_cell.add_cover(delta, (fx1 + fx2) * delta); in render_hline()
190 delta = p / dx; in render_hline()
193 delta--; in render_hline()
196 m_cur_cell.add_cover(delta, (fx1 + first) * delta); in render_hline()
199 y1 += delta; in render_hline()
201 p = poly_base_size * (y2 - y1 + delta); in render_hline()
210 delta = lift; in render_hline()
214 delta++; in render_hline()
[all …]
/external/lzma/C/
DDelta.c22 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Encode() argument
26 MyMemCpy(buf, state, delta); in Delta_Encode()
31 for (j = 0; j < delta && i < size; i++, j++) in Delta_Encode()
39 if (j == delta) in Delta_Encode()
41 MyMemCpy(state, buf + j, delta - j); in Delta_Encode()
42 MyMemCpy(state + delta - j, buf, j); in Delta_Encode()
45 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Decode() argument
49 MyMemCpy(buf, state, delta); in Delta_Decode()
54 for (j = 0; j < delta && i < size; i++, j++) in Delta_Decode()
60 if (j == delta) in Delta_Decode()
[all …]
/external/skia/samplecode/
DSampleDegenerateTwoPtRadials.cpp15 static void draw_gradient2(SkCanvas* canvas, const SkRect& rect, SkScalar delta) { in draw_gradient2() argument
26 SkPoint c0 = { l + 2 * w / 5 + delta, t + h / 2 }; in draw_gradient2()
55 SkScalar delta = fTime / 15.f; in onDrawContent() local
56 int intPart = SkScalarFloorToInt(delta); in onDrawContent()
57 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
59 delta = SK_Scalar1 - delta; in onDrawContent()
61 delta -= SK_ScalarHalf; in onDrawContent()
63 delta /= DELTA_SCALE; in onDrawContent()
69 draw_gradient2(canvas, SkRect::MakeXYWH(l, t, w, h), delta); in onDrawContent()
71 txt.appendf("gap at \"tangent\" pt = %f", SkScalarToFloat(delta)); in onDrawContent()
[all …]
/external/icu/icu4c/source/test/intltest/
Dpunyref.c111 punycode_uint delta, punycode_uint numpoints, int firsttime ) in adapt() argument
115 delta = firsttime ? delta / damp : delta >> 1; in adapt()
117 delta += delta / numpoints; in adapt()
119 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt()
120 delta /= base - tmin; in adapt()
123 return k + (base - tmin + 1) * delta / (delta + skew); in adapt()
135 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local
140 delta = out = 0; in punycode_encode()
179 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in punycode_encode()
180 delta += (m - n) * (h + 1); in punycode_encode()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_quant_common.c164 int16_t vp9_dc_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) { in vp9_dc_quant() argument
167 case VPX_BITS_8: return dc_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
168 case VPX_BITS_10: return dc_qlookup_10[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
169 case VPX_BITS_12: return dc_qlookup_12[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
176 return dc_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_dc_quant()
180 int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) { in vp9_ac_quant() argument
183 case VPX_BITS_8: return ac_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
184 case VPX_BITS_10: return ac_qlookup_10[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
185 case VPX_BITS_12: return ac_qlookup_12[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
192 return ac_qlookup[clamp(qindex + delta, 0, MAXQ)]; in vp9_ac_quant()
/external/junit/src/main/java/org/junit/
DAssert.java230 double actual, double delta) { in assertNotEquals() argument
231 if (!doubleIsDifferent(unexpected, actual, delta)) { in assertNotEquals()
248 static public void assertNotEquals(double unexpected, double actual, double delta) { in assertNotEquals() argument
249 assertNotEquals(null, unexpected, actual, delta); in assertNotEquals()
264 static public void assertNotEquals(float unexpected, float actual, float delta) { in assertNotEquals() argument
265 assertNotEquals(null, unexpected, actual, delta); in assertNotEquals()
468 double[] actuals, double delta) throws ArrayComparisonFailure { in assertArrayEquals() argument
469 new InexactComparisonCriteria(delta).arrayEquals(message, expecteds, actuals); in assertArrayEquals()
482 public static void assertArrayEquals(double[] expecteds, double[] actuals, double delta) { in assertArrayEquals() argument
483 assertArrayEquals(null, expecteds, actuals, delta); in assertArrayEquals()
[all …]
/external/valgrind/none/tests/amd64/
Dbug132813-amd64.stdout.exp1 pushb_pos: delta 8, top64 0x0000000000000022
2 pushb_neg: delta 8, top64 0xffffffffffffffee
3 pushw_neg: delta 2, top64 0x0000555555553344
4 pushw_pos: delta 2, top64 0x000055555555ddcc
5 pushq_pos: delta 8, top64 0x0000000067675656
6 pushq_neg: delta 8, top64 0x0000000078988787
7 66pushb_pos: delta 2, top64 0x0000555555550022
8 66pushb_neg: delta 2, top64 0x000055555555ffee
/external/valgrind/none/tests/x86/
Dbug132813-x86.stdout.exp1 pushb_pos: delta 4, top32 0x00000022
2 pushb_neg: delta 4, top32 0xffffffee
3 pushw_neg: delta 2, top32 0x55553344
4 pushw_pos: delta 2, top32 0x5555ddcc
5 pushl_pos: delta 4, top32 0x67675656
6 pushl_neg: delta 4, top32 0x98988787
7 66pushb_pos: delta 2, top32 0x55550022
8 66pushb_neg: delta 2, top32 0x5555ffee
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexDebugEvent.java37 final int delta; field in DexDebugEvent.AdvancePC
41 writer.putUleb128(delta); in writeOn()
44 AdvancePC(int delta) { in AdvancePC() argument
45 this.delta = delta; in AdvancePC()
49 assert delta >= 0; in addToBuilder() local
50 builder.advancePC(delta); in addToBuilder()
55 return "ADVANCE_PC " + delta; in toString()
60 + delta * 7; in hashCode()
65 && (delta == ((AdvancePC) other).delta); in equals()
125 final int delta; field in DexDebugEvent.AdvanceLine
[all …]
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Ddogleg.h10 Scalar delta, in dogleg() argument
48 if (qnorm <= delta) in dogleg()
66 alpha = delta / qnorm; in dogleg()
87 if (sgnorm >= delta) in dogleg()
94 temp = bnorm / gnorm * (bnorm / qnorm) * (sgnorm / delta); in dogleg()
95delta / qnorm * numext::abs2(sgnorm / delta) + sqrt(numext::abs2(temp - delta / qnorm) + (1.-numex… in dogleg()
96 alpha = delta / qnorm * (1. - numext::abs2(sgnorm / delta)) / temp; in dogleg()
101 temp = (1.-alpha) * (std::min)(sgnorm,delta); in dogleg()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshglob.c155 FT_Int reference, delta; in psh_blues_set_zones_0() local
166 delta = read[0] - reference; in psh_blues_set_zones_0()
175 delta = read[1] - reference; in psh_blues_set_zones_0()
196 if ( delta < 0 ) in psh_blues_set_zones_0()
198 if ( delta < delta0 ) in psh_blues_set_zones_0()
199 zone->org_delta = delta; in psh_blues_set_zones_0()
203 if ( delta > delta0 ) in psh_blues_set_zones_0()
204 zone->org_delta = delta; in psh_blues_set_zones_0()
214 zone->org_delta = delta; in psh_blues_set_zones_0()
279 FT_Int delta; in psh_blues_set_zones() local
[all …]
/external/freetype/src/pshinter/
Dpshglob.c155 FT_Int reference, delta; in psh_blues_set_zones_0() local
166 delta = read[0] - reference; in psh_blues_set_zones_0()
175 delta = read[1] - reference; in psh_blues_set_zones_0()
196 if ( delta < 0 ) in psh_blues_set_zones_0()
198 if ( delta < delta0 ) in psh_blues_set_zones_0()
199 zone->org_delta = delta; in psh_blues_set_zones_0()
203 if ( delta > delta0 ) in psh_blues_set_zones_0()
204 zone->org_delta = delta; in psh_blues_set_zones_0()
214 zone->org_delta = delta; in psh_blues_set_zones_0()
279 FT_Int delta; in psh_blues_set_zones() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java121 private static int adapt(int delta, int numpoints, boolean firsttime ){ in adapt() argument
124 delta = (firsttime==true) ? delta / damp : delta >> 1; in adapt()
126 delta += delta / numpoints; in adapt()
128 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt()
129 delta /= base - tmin; in adapt()
132 return k + (base - tmin + 1) * delta / (delta + skew); in adapt()
142 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
147 delta = out = 0; in encode()
186 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in encode()
187 delta += (m - n) * (h + 1); in encode()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java122 private static int adapt(int delta, int numpoints, boolean firsttime ){ in adapt() argument
125 delta = (firsttime==true) ? delta / damp : delta >> 1; in adapt()
127 delta += delta / numpoints; in adapt()
129 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) { in adapt()
130 delta /= base - tmin; in adapt()
133 return k + (base - tmin + 1) * delta / (delta + skew); in adapt()
143 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
148 delta = out = 0; in encode()
187 if (m - n > (maxint - delta) / (h + 1)) return punycode_overflow; in encode()
188 delta += (m - n) * (h + 1); in encode()
[all …]
/external/valgrind/massif/tests/
Dpages_as_heap.c9 int delta; in main() local
15 for (delta = 1; delta <= 400; delta+=399) { in main()
17 inc_dec, delta, sbrk(0)); in main()
19 brk_stat = (intptr_t)brk(sbrk(0) + inc_dec * delta); in main()
27 inc_dec, delta, sbrk(0)); in main()
/external/ltp/testcases/realtime/func/measurement/
Dpreempt_timing.c84 unsigned long long i, j, delta, min, max, avg; in main() local
135 delta = sample_list[i + 1] - sample_list[i]; in main()
136 if (delta < min) in main()
137 min = delta; in main()
138 if (delta > max) in main()
139 max = delta; in main()
140 if (delta > 100000) in main()
143 delta); in main()
144 avg += delta; in main()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DBT4.java138 int delta = lzPos - currentMatch; in getMatches() local
143 if (depth-- == 0 || delta >= cyclicSize) { in getMatches()
149 int pair = (cyclicPos - delta in getMatches()
150 + (delta > cyclicPos ? cyclicSize : 0)) << 1; in getMatches()
153 if (buf[readPos + len - delta] == buf[readPos + len]) { in getMatches()
155 if (buf[readPos + len - delta] != buf[readPos + len]) in getMatches()
161 matches.dist[matches.count] = delta - 1; in getMatches()
172 if ((buf[readPos + len - delta] & 0xFF) in getMatches()
196 int delta = lzPos - currentMatch; in skip() local
198 if (depth-- == 0 || delta >= cyclicSize) { in skip()
[all …]

12345678910>>...48