Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 1505) sorted by relevance

12345678910>>...61

/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_internal.c34 int32_t tmp0, tmp1, diff; in WebRtcSpl_DownBy2IntToShort() local
43 diff = tmp0 - state[1]; in WebRtcSpl_DownBy2IntToShort()
45 diff = (diff + (1 << 13)) >> 14; in WebRtcSpl_DownBy2IntToShort()
46 tmp1 = state[0] + diff * kResampleAllpass[1][0]; in WebRtcSpl_DownBy2IntToShort()
48 diff = tmp1 - state[2]; in WebRtcSpl_DownBy2IntToShort()
50 diff = diff >> 14; in WebRtcSpl_DownBy2IntToShort()
51 if (diff < 0) in WebRtcSpl_DownBy2IntToShort()
52 diff += 1; in WebRtcSpl_DownBy2IntToShort()
53 tmp0 = state[1] + diff * kResampleAllpass[1][1]; in WebRtcSpl_DownBy2IntToShort()
55 diff = tmp0 - state[3]; in WebRtcSpl_DownBy2IntToShort()
[all …]
Dresample_by_2_mips.c151 int32_t tmp1, tmp2, diff; in WebRtcSpl_DownsampleBy2() local
157 diff = in32 - state1; in WebRtcSpl_DownsampleBy2()
158 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
160 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
161 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2()
163 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2()
164 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2); in WebRtcSpl_DownsampleBy2()
169 diff = in32 - state5; in WebRtcSpl_DownsampleBy2()
170 tmp1 = MUL_ACCUM_1(kResampleAllpass1[0], diff, state4); in WebRtcSpl_DownsampleBy2()
172 diff = tmp1 - state6; in WebRtcSpl_DownsampleBy2()
[all …]
Dresample_by_2.c31 int32_t diff, in MUL_ACCUM_1() argument
34 __asm __volatile ("smlawb %0, %1, %2, %3": "=r"(result): "r"(diff), in MUL_ACCUM_1()
47 int32_t diff, in MUL_ACCUM_2() argument
50 __asm __volatile ("smmla %0, %1, %2, %3": "=r"(result): "r"(diff << 1), in MUL_ACCUM_2()
72 int32_t tmp1, tmp2, diff, in32, out32; in WebRtcSpl_DownsampleBy2() local
87 diff = in32 - state1; in WebRtcSpl_DownsampleBy2()
88 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
90 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2()
91 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2()
93 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2()
[all …]
/external/selinux/prebuilts/bin/
Dsediff.py132 diff = setools.PolicyDifference(p1, p2) variable
135 print("Policy Properties ({0} Modified)".format(len(diff.modified_properties)))
137 if diff.modified_properties and not args.stats:
138 for name, added, removed in sorted(diff.modified_properties, key=lambda x: x.property):
144 if diff.added_commons or diff.removed_commons or diff.modified_commons or args.common:
146 len(diff.added_commons), len(diff.removed_commons), len(diff.modified_commons)))
147 if diff.added_commons and not args.stats:
148 print(" Added Commons: {0}".format(len(diff.added_commons)))
149 for c in sorted(diff.added_commons):
151 if diff.removed_commons and not args.stats:
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/
DdiffiSAC.txt4 diff ../dataqa350/i30_1DTMF_16kHz_long.pcm ../dataqa351/i30_1DTMF_16kHz_long.pcm
5 diff ../dataqa350/i60_1DTMF_16kHz_long.pcm ../dataqa351/i60_1DTMF_16kHz_long.pcm
6 diff ../dataqa350/i30_2DTMF_16kHz_long.pcm ../dataqa351/i30_2DTMF_16kHz_long.pcm
7 diff ../dataqa350/i60_2DTMF_16kHz_long.pcm ../dataqa351/i60_2DTMF_16kHz_long.pcm
8 diff ../dataqa350/i30_3DTMF_16kHz_long.pcm ../dataqa351/i30_3DTMF_16kHz_long.pcm
9 diff ../dataqa350/i60_3DTMF_16kHz_long.pcm ../dataqa351/i60_3DTMF_16kHz_long.pcm
10 diff ../dataqa350/i30_4DTMF_16kHz_long.pcm ../dataqa351/i30_4DTMF_16kHz_long.pcm
11 diff ../dataqa350/i60_4DTMF_16kHz_long.pcm ../dataqa351/i60_4DTMF_16kHz_long.pcm
12 diff ../dataqa350/i30_5DTMF_16kHz_long.pcm ../dataqa351/i30_5DTMF_16kHz_long.pcm
13 diff ../dataqa350/i60_5DTMF_16kHz_long.pcm ../dataqa351/i60_5DTMF_16kHz_long.pcm
[all …]
/external/icu/icu4c/source/common/
Ducnvbocu.cpp217 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) argument
220 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) argument
223 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2) argument
287 packDiff(int32_t diff) { in packDiff() argument
290 … U_ASSERT(!DIFF_IS_SINGLE(diff)); /* assume we won't be called where diff==BOCU1_REACH_NEG_1=-64 */ in packDiff()
291 if(diff>=BOCU1_REACH_NEG_1) { in packDiff()
294 if(diff<=BOCU1_REACH_POS_1) { in packDiff()
296 return 0x01000000|(BOCU1_MIDDLE+diff); in packDiff()
299 if(diff<=BOCU1_REACH_POS_2) { in packDiff()
301 diff-=BOCU1_REACH_POS_1+1; in packDiff()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetBOCU1.java210 private static boolean DIFF_IS_SINGLE(int diff){ in DIFF_IS_SINGLE() argument
211 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1); in DIFF_IS_SINGLE()
215 private static int PACK_SINGLE_DIFF(int diff){ in PACK_SINGLE_DIFF() argument
216 return (BOCU1_MIDDLE+(diff)); in PACK_SINGLE_DIFF()
220 private static boolean DIFF_IS_DOUBLE(int diff){ in DIFF_IS_DOUBLE() argument
221 return (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2); in DIFF_IS_DOUBLE()
237 int prev, c , diff; field in CharsetBOCU1.CharsetEncoderBOCU
265 diff = n; in NEGDIVMOD()
266 (m)=(diff)%(d); in NEGDIVMOD()
267 (diff)/=(d); in NEGDIVMOD()
[all …]
/external/libavc/common/x86/
Dih264_deblk_chroma_ssse3.c110 __m128i diff, alpha_cbcr_16x8, beta_cbcr_16x8; in ih264_deblk_chroma_vert_bs4_ssse3() local
145 diff = _mm_subs_epi16(p0_uv_8x16, q0_uv_8x16); //Condn 1 in ih264_deblk_chroma_vert_bs4_ssse3()
146 diff = _mm_abs_epi16(diff); in ih264_deblk_chroma_vert_bs4_ssse3()
148 flag1 = _mm_cmpgt_epi16(alpha_cbcr_16x8, diff); in ih264_deblk_chroma_vert_bs4_ssse3()
150 diff = _mm_subs_epi16(q1_uv_8x16, q0_uv_8x16); //Condtn 2 in ih264_deblk_chroma_vert_bs4_ssse3()
151 diff = _mm_abs_epi16(diff); in ih264_deblk_chroma_vert_bs4_ssse3()
153 flag1 = _mm_and_si128(flag1, _mm_cmpgt_epi16(beta_cbcr_16x8, diff)); in ih264_deblk_chroma_vert_bs4_ssse3()
155 diff = _mm_subs_epi16(p1_uv_8x16, p0_uv_8x16); //Condtn 3 in ih264_deblk_chroma_vert_bs4_ssse3()
156 diff = _mm_abs_epi16(diff); in ih264_deblk_chroma_vert_bs4_ssse3()
157 flag1 = _mm_and_si128(flag1, _mm_cmpgt_epi16(beta_cbcr_16x8, diff)); in ih264_deblk_chroma_vert_bs4_ssse3()
[all …]
/external/icu/icu4c/source/i18n/
Dbocsu.cpp33 u_writeDiff(int32_t diff, uint8_t *p) { in u_writeDiff() argument
34 if(diff>=SLOPE_REACH_NEG_1) { in u_writeDiff()
35 if(diff<=SLOPE_REACH_POS_1) { in u_writeDiff()
36 *p++=(uint8_t)(SLOPE_MIDDLE+diff); in u_writeDiff()
37 } else if(diff<=SLOPE_REACH_POS_2) { in u_writeDiff()
38 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); in u_writeDiff()
39 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
40 } else if(diff<=SLOPE_REACH_POS_3) { in u_writeDiff()
41 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); in u_writeDiff()
42 diff/=SLOPE_TAIL_COUNT; in u_writeDiff()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DBOCSU.java259 private static final int writeDiff(int diff, byte buffer[], int offset) in writeDiff() argument
261 if (diff >= SLOPE_REACH_NEG_1_) { in writeDiff()
262 if (diff <= SLOPE_REACH_POS_1_) { in writeDiff()
263 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); in writeDiff()
265 else if (diff <= SLOPE_REACH_POS_2_) { in writeDiff()
267 + (diff / SLOPE_TAIL_COUNT_)); in writeDiff()
269 (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
271 else if (diff <= SLOPE_REACH_POS_3_) { in writeDiff()
273 + (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
274 diff /= SLOPE_TAIL_COUNT_; in writeDiff()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java258 private static final int writeDiff(int diff, byte buffer[], int offset) in writeDiff() argument
260 if (diff >= SLOPE_REACH_NEG_1_) { in writeDiff()
261 if (diff <= SLOPE_REACH_POS_1_) { in writeDiff()
262 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff); in writeDiff()
264 else if (diff <= SLOPE_REACH_POS_2_) { in writeDiff()
266 + (diff / SLOPE_TAIL_COUNT_)); in writeDiff()
268 (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
270 else if (diff <= SLOPE_REACH_POS_3_) { in writeDiff()
272 + (diff % SLOPE_TAIL_COUNT_)); in writeDiff()
273 diff /= SLOPE_TAIL_COUNT_; in writeDiff()
[all …]
/external/netperf/src/
Dnetcpu_procstat.c252 cpu_states_t diff; in calc_cpu_util_internal() local
278 diff.user = in calc_cpu_util_internal()
280 diff.nice = in calc_cpu_util_internal()
282 diff.sys = in calc_cpu_util_internal()
284 diff.idle = in calc_cpu_util_internal()
286 diff.iowait = in calc_cpu_util_internal()
288 diff.hard_irq = in calc_cpu_util_internal()
290 diff.soft_irq = in calc_cpu_util_internal()
292 diff.steal = in calc_cpu_util_internal()
294 diff.guest = in calc_cpu_util_internal()
[all …]
/external/llvm/test/tools/llvm-cov/
Dllvm-cov.test14 RUN: llvm-cov gcov test.c | diff -u test_no_options.output -
15 RUN: diff -aub test_no_options.cpp.gcov test.cpp.gcov
16 RUN: diff -aub test_no_options.h.gcov test.h.gcov
21 RUN: llvm-cov gcov -o objdir test.c | diff -u test_no_options.output -
22 RUN: diff -aub test_objdir.cpp.gcov test.cpp.gcov
23 RUN: diff -aub test_objdir.h.gcov test.h.gcov
26 RUN: llvm-cov gcov -o objdir/test.o test.c | diff -u test_no_options.output -
27 RUN: diff -aub test_objdir.cpp.gcov test.cpp.gcov
28 RUN: diff -aub test_objdir.h.gcov test.h.gcov
31 RUN: llvm-cov gcov -o objdir/test test.c | diff -u test_no_options.output -
[all …]
/external/skia/tools/skdiff/
Dskdiff_html.cpp79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) { in print_pixel_count() argument
81 stream->writeDecAsText(static_cast<int>(diff.fFractionDifference * in print_pixel_count()
82 diff.fBase.fBitmap.width() * in print_pixel_count()
83 diff.fBase.fBitmap.height())); in print_pixel_count()
93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_checkbox_cell() argument
95 stream->writeText(diff.fBase.fFilename.c_str()); in print_checkbox_cell()
99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) { in print_label_cell() argument
103 stream->writeText(diff.fBase.fFilename.c_str()); in print_label_cell()
105 switch (diff.fResult) { in print_label_cell()
116 sprintf(metricBuf, "%.4f%%", 100 * diff.fFractionDifference); in print_label_cell()
[all …]
/external/v8/tools/foozzie/
Dv8_foozzie_test.py24 diff = None, None
25 self.assertEquals(diff, suppress.diff(one, two))
29 diff = None, None
30 self.assertEquals(diff, suppress.diff(one, two))
52 diff = None, None
53 self.assertEquals(diff, suppress.diff(one, two))
62 diff = '- Extra line', None
63 self.assertEquals(diff, suppress.diff(one, two))
72 diff = '+ Extra line', None
73 self.assertEquals(diff, suppress.diff(one, two))
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBCtestscript.txt37 diff $OUTP/F00.BIT20 $INP/F00.BIT20
38 diff $OUTP/F01.BIT20 $INP/F01.BIT20
39 diff $OUTP/F02.BIT20 $INP/F02.BIT20
40 diff $OUTP/F03.BIT20 $INP/F03.BIT20
41 diff $OUTP/F04.BIT20 $INP/F04.BIT20
42 diff $OUTP/F05.BIT20 $INP/F05.BIT20
43 diff $OUTP/F06.BIT20 $INP/F06.BIT20
44 diff $OUTP/F00.OUT20 $INP/F00.OUT20
45 diff $OUTP/F01.OUT20 $INP/F01.OUT20
46 diff $OUTP/F02.OUT20 $INP/F02.OUT20
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_msa.c60 int16_t *diff, int32_t diff_stride) { in sub_blk_16x16_msa() argument
77 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
78 diff += diff_stride; in sub_blk_16x16_msa()
82 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
83 diff += diff_stride; in sub_blk_16x16_msa()
87 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
88 diff += diff_stride; in sub_blk_16x16_msa()
92 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
93 diff += diff_stride; in sub_blk_16x16_msa()
97 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa()
[all …]
/external/v8/src/compiler/
Dpipeline-statistics.cc31 CompilationStatistics::BasicStats* diff) { in End() argument
33 diff->function_name_ = pipeline_stats->function_name_; in End()
34 diff->delta_ = timer_.Elapsed(); in End()
37 diff->max_allocated_bytes_ = outer_zone_diff + scope_->GetMaxAllocatedBytes(); in End()
38 diff->absolute_max_allocated_bytes_ = in End()
39 diff->max_allocated_bytes_ + allocated_bytes_at_start_; in End()
40 diff->total_allocated_bytes_ = in End()
67 CompilationStatistics::BasicStats diff; in ~PipelineStatistics() local
68 total_stats_.End(this, &diff); in ~PipelineStatistics()
69 compilation_stats_->RecordTotalStats(source_size_, diff); in ~PipelineStatistics()
[all …]
/external/slf4j/
D.gitattributes5 *.cs diff=csharp
13 *.doc diff=astextplain
14 *.DOC diff=astextplain
15 *.docx diff=astextplain
16 *.DOCX diff=astextplain
17 *.dot diff=astextplain
18 *.DOT diff=astextplain
19 *.pdf diff=astextplain
20 *.PDF diff=astextplain
21 *.rtf diff=astextplain
[all …]
/external/webp/src/utils/
Drandom_utils.h41 int diff; in VP8RandomBits2() local
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_]; in VP8RandomBits2()
44 if (diff < 0) diff += (1u << 31); in VP8RandomBits2()
45 rg->tab_[rg->index1_] = diff; in VP8RandomBits2()
49 diff = (int)((uint32_t)diff << 1) >> (32 - num_bits); in VP8RandomBits2()
50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range in VP8RandomBits2()
51 diff += 1 << (num_bits - 1); // shift back to 0.5-center in VP8RandomBits2()
52 return diff; in VP8RandomBits2()
/external/tcpdump/
D.gitattributes8 *.cs diff=csharp
16 *.doc diff=astextplain
17 *.DOC diff=astextplain
18 *.docx diff=astextplain
19 *.DOCX diff=astextplain
20 *.dot diff=astextplain
21 *.DOT diff=astextplain
22 *.pdf diff=astextplain
23 *.PDF diff=astextplain
24 *.rtf diff=astextplain
[all …]
/external/clang/test/CodeGenCXX/
Dfunction-template-specialization.cpp7 T* next(T* ptr, const U& diff);
10 T* next(T* ptr, const U& diff) { in next() argument
11 return ptr + diff; in next()
14 void test(int *iptr, float *fptr, int diff) { in test() argument
16 iptr = next(iptr, diff); in test()
19 fptr = next(fptr, diff); in test()
23 T* next(T* ptr, const U& diff);
25 void test2(int *iptr, double *dptr, int diff) { in test2() argument
26 iptr = next(iptr, diff); in test2()
29 dptr = next(dptr, diff); in test2()
/external/libmpeg2/common/x86/
Dideint_cac_ssse3.c171 __m128i min, max, diff, thresh; in ideint_cac_8x8_ssse3() local
184 diff = _mm_sub_epi16(max, min); in ideint_cac_8x8_ssse3()
187 mask = _mm_cmpgt_epi16(diff, thresh); in ideint_cac_8x8_ssse3()
188 diff = _mm_and_si128(diff, mask); in ideint_cac_8x8_ssse3()
190 diff_sum = _mm_extract_epi16(diff, 0); in ideint_cac_8x8_ssse3()
191 diff_sum += _mm_extract_epi16(diff, 1); in ideint_cac_8x8_ssse3()
192 diff_sum += _mm_extract_epi16(diff, 2); in ideint_cac_8x8_ssse3()
193 diff_sum += _mm_extract_epi16(diff, 3); in ideint_cac_8x8_ssse3()
197 diff_sum = _mm_extract_epi16(diff, 4); in ideint_cac_8x8_ssse3()
198 diff_sum += _mm_extract_epi16(diff, 5); in ideint_cac_8x8_ssse3()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubtract_neon.c16 void vpx_subtract_block_neon(int rows, int cols, int16_t *diff, in vpx_subtract_block_neon() argument
37 vst1q_s16(&diff[c + 0], vreinterpretq_s16_u16(v_diff_lo_00)); in vpx_subtract_block_neon()
38 vst1q_s16(&diff[c + 8], vreinterpretq_s16_u16(v_diff_hi_00)); in vpx_subtract_block_neon()
39 vst1q_s16(&diff[c + 16], vreinterpretq_s16_u16(v_diff_lo_16)); in vpx_subtract_block_neon()
40 vst1q_s16(&diff[c + 24], vreinterpretq_s16_u16(v_diff_hi_16)); in vpx_subtract_block_neon()
42 diff += diff_stride; in vpx_subtract_block_neon()
54 vst1q_s16(&diff[0], vreinterpretq_s16_u16(v_diff_lo)); in vpx_subtract_block_neon()
55 vst1q_s16(&diff[8], vreinterpretq_s16_u16(v_diff_hi)); in vpx_subtract_block_neon()
56 diff += diff_stride; in vpx_subtract_block_neon()
65 vst1q_s16(&diff[0], vreinterpretq_s16_u16(v_diff)); in vpx_subtract_block_neon()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheStatsTest.java64 CacheStats diff = two.minus(one); in testMinus() local
65 assertEquals(76, diff.requestCount()); in testMinus()
66 assertEquals(42, diff.hitCount()); in testMinus()
67 assertEquals(42.0/76, diff.hitRate()); in testMinus()
68 assertEquals(34, diff.missCount()); in testMinus()
69 assertEquals(34.0/76, diff.missRate()); in testMinus()
70 assertEquals(26, diff.loadSuccessCount()); in testMinus()
71 assertEquals(22, diff.loadExceptionCount()); in testMinus()
72 assertEquals(22.0/48, diff.loadExceptionRate()); in testMinus()
73 assertEquals(26 + 22, diff.loadCount()); in testMinus()
[all …]

12345678910>>...61