Searched refs:diff (Results 1 - 25 of 478) sorted by relevance

1234567891011>>

/external/webrtc/src/common_audio/signal_processing/
H A Dresample_by_2_internal.c34 WebRtc_Word32 tmp0, tmp1, diff; local
43 diff = tmp0 - state[1];
45 diff = (diff + (1 << 13)) >> 14;
46 tmp1 = state[0] + diff * kResampleAllpass[1][0];
48 diff = tmp1 - state[2];
50 diff = diff >> 14;
51 if (diff < 0)
52 diff
129 WebRtc_Word32 tmp0, tmp1, diff; local
203 WebRtc_Word32 tmp0, tmp1, diff; local
273 WebRtc_Word32 tmp0, tmp1, diff; local
343 WebRtc_Word32 tmp0, tmp1, diff; local
422 WebRtc_Word32 tmp0, tmp1, diff; local
555 WebRtc_Word32 tmp0, tmp1, diff; local
[all...]
H A Dresample_by_2.c28 // Return: state + ((diff * tbl_value) >> 16)
31 WebRtc_Word32 diff,
34 __asm__("smlawb %r0, %r1, %r2, %r3": "=r"(result): "r"(diff),
40 // Return: Return: state + (((diff << 1) * tbl_value) >> 32)
47 WebRtc_Word32 diff,
50 __asm__("smmla %r0, %r1, %r2, %r3": "=r"(result): "r"(diff << 1),
71 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; local
86 diff = in32 - state1;
87 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0);
89 diff
30 MUL_ACCUM_1(WebRtc_Word32 tbl_value, WebRtc_Word32 diff, WebRtc_Word32 state) argument
46 MUL_ACCUM_2(WebRtc_Word32 tbl_value, WebRtc_Word32 diff, WebRtc_Word32 state) argument
128 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; local
[all...]
H A Dsplitting_filter.c67 WebRtc_Word32 diff; local
74 // "diff" should be safe from wrap around since max values are 2^25
75 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[1]); // = (x[0] - y_1[-1])
77 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]);
82 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[k], out_data[k - 1]); // = (x[n] - y_1[n-1])
84 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]);
92 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[0], filter_state[3]); // = (y_1[0] - y_2[-1])
94 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]);
97 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[k], in_data[k - 1]); // =(y_1[n] - y_2[n-1])
99 in_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, out_dat
[all...]
/external/clang/test/CodeGenCXX/
H A Dfunction-template-specialization.cpp3 T* next(T* ptr, const U& diff);
6 T* next(T* ptr, const U& diff) { argument
7 return ptr + diff;
10 void test(int *iptr, float *fptr, int diff) { argument
12 iptr = next(iptr, diff);
15 fptr = next(fptr, diff);
19 T* next(T* ptr, const U& diff);
21 void test2(int *iptr, double *dptr, int diff) { argument
22 iptr = next(iptr, diff);
25 dptr = next(dptr, diff);
[all...]
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
H A Ddiff_parser_unittest.py36 _PATCH = '''diff --git a/WebCore/rendering/style/StyleFlexibleBoxData.h b/WebCore/rendering/style/StyleFlexibleBoxData.h
48 diff --git a/WebCore/rendering/style/StyleRareInheritedData.cpp b/WebCore/rendering/style/StyleRareInheritedData.cpp
78 diff --git a/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checksum b/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checksum
94 diff = parser.files['WebCore/rendering/style/StyleFlexibleBoxData.h']
95 self.assertEquals(7, len(diff.lines))
97 self.assertEquals((47, 47), diff.lines[0][0:2])
98 self.assertEquals('', diff.lines[0][2])
99 self.assertEquals((48, 48), diff.lines[1][0:2])
100 self.assertEquals(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2])
102 self.assertEquals((50, 0), diff
[all...]
/external/libnfc-nxp/Linux_x86/
H A DphOsalNfc_Utils.c42 int8_t diff = 0; local
47 for(;((n>0)&&(diff==0));n--,b1++,b2++)
49 diff = *b1 - *b2;
52 return (int)diff;
/external/icu4c/i18n/
H A Dbocsu.cpp30 u_writeDiff(int32_t diff, uint8_t *p) { argument
31 if(diff>=SLOPE_REACH_NEG_1) {
32 if(diff<=SLOPE_REACH_POS_1) {
33 *p++=(uint8_t)(SLOPE_MIDDLE+diff);
34 } else if(diff<=SLOPE_REACH_POS_2) {
35 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT));
36 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT);
37 } else if(diff<=SLOPE_REACH_POS_3) {
38 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT);
39 diff/
[all...]
/external/icu4c/common/
H A Ducnvbocu.c248 * mode decoder's incomplete (diff<<2)|count (ignored when toULength==0)
263 * @param diff difference value -0x10ffff..0x10ffff
271 packDiff(int32_t diff) { argument
274 if(diff>=BOCU1_REACH_NEG_1) {
277 if(diff<=BOCU1_REACH_POS_1) {
279 return 0x01000000|(BOCU1_MIDDLE+diff);
282 if(diff<=BOCU1_REACH_POS_2) {
284 diff-=BOCU1_REACH_POS_1+1;
287 m=diff%BOCU1_TRAIL_COUNT;
288 diff/
393 int32_t prev, c, diff; local
646 int32_t prev, c, diff; local
862 int32_t diff, count; local
942 int32_t prev, count, diff, c; local
1164 int32_t prev, count, diff, c; local
[all...]
/external/webkit/Tools/Scripts/webkitpy/common/
H A Dprettypatch.py39 def pretty_diff_file(self, diff):
42 assert(isinstance(diff, str))
43 pretty_diff = self.pretty_diff(diff)
49 def pretty_diff(self, diff):
52 if not diff:
65 # PrettyPatch does not modify the encoding of the diff output
67 return self._executive.run_command(args, input=diff, decode_output=False)
/external/llvm/tools/llvm-diff/
H A DMakefile1 ##===- tools/llvm-diff/Makefile ----------------------------*- Makefile -*-===##
11 TOOLNAME := llvm-diff
/external/stlport/test/unit/
H A Dsetdiff_test.cpp63 vector<int> diff; local
64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
65 CPPUNIT_ASSERT( diff.size() == 14 );
68 CPPUNIT_ASSERT( diff[i] == int_res[i] );
77 string diff; local
79 back_inserter(diff), less<char>());
80 CPPUNIT_ASSERT( diff.size() == 22 );
83 CPPUNIT_ASSERT( diff[i] == char_res[i] );
115 vector<int> diff; local
116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
128 string diff; local
[all...]
H A Dsetunion_test.cpp61 vector<int> diff; local
62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff));
63 CPPUNIT_ASSERT( diff.size() == 17 );
65 CPPUNIT_ASSERT( diff[i] == i );
74 string diff; local
76 back_inserter(diff), less<char>());
77 CPPUNIT_ASSERT( diff.size() == 26 );
79 CPPUNIT_ASSERT( diff[i] == ('A' + i) );
/external/valgrind/main/none/tests/s390x/
H A Dstck.c25 unsigned long start, end, diff; local
34 diff = clockticks_in_msec(end, start);
35 if (diff >= 1000 && diff < 1500)
H A Dstckf.c25 unsigned long start, end, diff; local
35 diff = clockticks_in_msec(end, start);
36 if (diff >= 1000 && diff < 1500)
/external/clang/utils/ABITest/layout/
H A DMakefile29 test.%.report: test.%.x.diff test.%.y.diff
42 .PRECIOUS: test.%.x.diff
43 test.%.x.diff: test.%.ref.out test.%.x.out
44 -diff $^ > $@
45 .PRECIOUS: test.%.y.diff
46 test.%.y.diff: test.%.ref.out test.%.y.out
47 -diff $^ > $@
/external/libvpx/vpx_ports/
H A Dvpx_timer.h82 LARGE_INTEGER freq, diff; local
84 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart;
86 if (QueryPerformanceFrequency(&freq) && diff.QuadPart < freq.QuadPart)
87 return (long)(diff.QuadPart * 1000000 / freq.QuadPart);
91 struct timeval diff;
93 timersub(&t->end, &t->begin, &diff);
94 return diff.tv_sec ? 1000000 : diff.tv_usec;
/external/tcpdump/tests/
H A Dbgp_vpn_attrset.sh4 if (../tcpdump -t -n -v -r bgp_vpn_attrset.pcap | diff -w - bgp_vpn_attrset.out)
H A Deapon1.sh7 if diff eapon1.new eapon1.out
H A Desp0.sh5 if (../tcpdump -t -n -r 02-sunrise-sunset-esp.pcap | diff - esp0.out)
H A Disakmp1.sh6 if (../tcpdump -t -n -r isakmp-delete-segfault.pcap | diff - isakmp1.out)
H A Disakmp2.sh6 if (../tcpdump -t -n -r isakmp-pointer-loop.pcap | diff - isakmp2.out)
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheStatsTest.java64 CacheStats diff = two.minus(one);
65 assertEquals(76, diff.requestCount());
66 assertEquals(42, diff.hitCount());
67 assertEquals(42.0/76, diff.hitRate());
68 assertEquals(34, diff.missCount());
69 assertEquals(34.0/76, diff.missRate());
70 assertEquals(26, diff.loadSuccessCount());
71 assertEquals(22, diff.loadExceptionCount());
72 assertEquals(22.0/48, diff.loadExceptionRate());
73 assertEquals(26 + 22, diff
[all...]
/external/linux-tools-perf/bench/
H A Dsched-pipe.c52 struct timeval start, stop, diff; local
87 timersub(&stop, &start, &diff);
101 result_usec = diff.tv_sec * 1000000;
102 result_usec += diff.tv_usec;
105 diff.tv_sec,
106 (unsigned long) (diff.tv_usec/1000));
117 diff.tv_sec,
118 (unsigned long) (diff.tv_usec / 1000));
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGBlock.cpp83 void RenderSVGBlock::styleWillChange(StyleDifference diff, const RenderStyle* newStyle) argument
85 if (diff == StyleDifferenceLayout)
87 RenderBlock::styleWillChange(diff, newStyle);
90 void RenderSVGBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) argument
92 RenderBlock::styleDidChange(diff, oldStyle);
93 SVGResourcesCache::clientStyleChanged(this, diff, style());
H A DRenderSVGModelObject.cpp90 void RenderSVGModelObject::styleWillChange(StyleDifference diff, const RenderStyle* newStyle) argument
92 if (diff == StyleDifferenceLayout)
94 RenderObject::styleWillChange(diff, newStyle);
97 void RenderSVGModelObject::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) argument
99 RenderObject::styleDidChange(diff, oldStyle);
100 SVGResourcesCache::clientStyleChanged(this, diff, style());

Completed in 446 milliseconds

1234567891011>>