Home
last modified time | relevance | path

Searched +full:- +full:- +full:diff (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_internal.c4 * Use of this source code is governed by a BSD-style license
34 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()
[all …]
Dresample_by_2.c4 * Use of this source code is governed by a BSD-style license
27 // Multiply two 32-bit values and accumulate to another input value.
28 // Return: state + ((diff * tbl_value) >> 16)
31 int32_t diff, in MUL_ACCUM_1() argument
34 __asm __volatile ("smlawb %0, %1, %2, %3": "=r"(result): "r"(diff), in MUL_ACCUM_1()
39 // Multiply two 32-bit values and accumulate to another input value.
40 // Return: Return: state + (((diff << 1) * tbl_value) >> 32)
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()
61 // Multiply a 32-bit value with a 16-bit value and accumulate to another input:
[all …]
Dresample_by_2_mips.c4 * Use of this source code is governed by a BSD-style license
26 // Multiply a 32-bit value with a 16-bit value and accumulate to another input:
62 for (i = len1; i > 0; i--) { in WebRtcSpl_DownsampleBy2()
147 // limit amplitude to prevent wrap-around, and write to output array in WebRtcSpl_DownsampleBy2()
151 int32_t tmp1, tmp2, diff; in WebRtcSpl_DownsampleBy2() local
154 for (i = len1; i > 0; i--) { in WebRtcSpl_DownsampleBy2()
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()
[all …]
/external/valgrind/none/tests/s390x/
Dclcl.stdout.exp1 --- test 1 ---
2 cc: 0, len1: 0, len2: 0, addr1 diff: 0, addr2 diff: 0
3 cc: 0, len1: 0, len2: 0, addr1 diff: 0, addr2 diff: 0
4 --- test 2 ---
5 cc: 1, len1: 1, len2: 1, addr1 diff: 0, addr2 diff: 0
6 cc: 0, len1: 0, len2: 0, addr1 diff: 1, addr2 diff: 1
7 cc: 2, len1: 1, len2: 1, addr1 diff: 0, addr2 diff: 0
8 cc: 1, len1: 1, len2: 1, addr1 diff: 0, addr2 diff: 0
9 cc: 0, len1: 0, len2: 0, addr1 diff: 1, addr2 diff: 1
10 cc: 2, len1: 1, len2: 1, addr1 diff: 0, addr2 diff: 0
[all …]
Dmvcl.stdout.exp1 --- test 1 ---
2 cc: 0, len1: 0, len2: 0, addr1 diff: 0, addr2 diff: 0
3 cc: 0, len1: 0, len2: 0, addr1 diff: 0, addr2 diff: 0
4 cc: 1, len1: 0, len2: 5, addr1 diff: 0, addr2 diff: 0
5 cc: 1, len1: 0, len2: 5, addr1 diff: 0, addr2 diff: 0
6 cc: 1, len1: 0, len2: 10, addr1 diff: 0, addr2 diff: 0
7 cc: 1, len1: 0, len2: 10, addr1 diff: 0, addr2 diff: 0
8 --- test 2 ---
9 cc: 2, len1: 0, len2: 0, addr1 diff: 1, addr2 diff: 0
11 cc: 2, len1: 0, len2: 0, addr1 diff: 10, addr2 diff: 0
[all …]
/external/selinux/prebuilts/bin/
Dsediff.py2 # Copyright 2015-2016, Tresys Technology, LLC
30 parser.add_argument("POLICY1", help="Path to the first SELinux policy to diff.", nargs=1)
31 parser.add_argument("POLICY2", help="Path to the second SELinux policy to diff.", nargs=1)
32 parser.add_argument("--version", action="version", version=setools.__version__)
33 parser.add_argument("--stats", action="store_true", help="Display only statistics.")
34 parser.add_argument("-v", "--verbose", action="store_true",
36 parser.add_argument("--debug", action="store_true", dest="debug", help="Enable debugging.")
39 comp.add_argument("--common", action="store_true", help="Print common differences")
40 comp.add_argument("-c", "--class", action="store_true", help="Print class differences",
42 comp.add_argument("-t", "--type", action="store_true", help="Print type differences",
[all …]
/external/llvm/test/tools/llvm-cov/
Dllvm-cov.test1 # Tests for compatibility between llvm-cov and gcov. These work by
2 # comparing llvm-cov against reference outputs generated by gcov 4.2.
8 RUN: rm -rf %t
14 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
19 RUN: mkdir -p %t/objdir
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
[all …]
/external/icu/icu4c/source/common/
Ducnvbocu.cpp6 * Copyright (C) 2002-2016, International Business Machines
11 * encoding: US-ASCII
19 * in its MIME-friendly form as defined in http://www.unicode.org/notes/tn6/
34 /* BOCU-1 constants and macros ---------------------------------------------- */
37 * BOCU-1 encodes the code points of a Unicode string as
38 * a sequence of byte-encoded differences (slope detection),
41 * Optimize the difference-taking for runs of Unicode text within
44 * Most small scripts are allocated within aligned 128-blocks of Unicode
51 * C0 control codes and space are encoded with their US-ASCII bytes.
66 #define BOCU1_COUNT (BOCU1_MAX_LEAD-BOCU1_MIN+1)
[all …]
/external/libavc/common/x86/
Dih264_deblk_chroma_ssse3.c9 * http://www.apache.org/licenses/LICENSE-2.0
68 /* Inputs : pu1_src - pointer to the src sample q0 of U */
69 /* src_strd - source stride */
70 /* alpha_cb - alpha value for the boundary in U */
71 /* beta_cb - beta value for the boundary in U */
72 /* alpha_cr - alpha value for the boundary in V */
73 /* beta_cr - beta value for the boundary in V */
110 __m128i diff, alpha_cbcr_16x8, beta_cbcr_16x8; in ih264_deblk_chroma_vert_bs4_ssse3() local
115 linea = _mm_loadl_epi64((__m128i *)(pu1_src_uv - 4)); in ih264_deblk_chroma_vert_bs4_ssse3()
116 lineb = _mm_loadl_epi64((__m128i *)(pu1_src_uv - 4 + src_strd)); in ih264_deblk_chroma_vert_bs4_ssse3()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetBOCU1.java5 * Copyright (C) 2008-2011, International Business Machines Corporation and *
40 //private static final int BOCU1_COUNT = (BOCU1_MAX_LEAD-BOCU1_MIN+1);
44 private static final int BOCU1_TRAIL_BYTE_OFFSET = (BOCU1_MIN-BOCU1_TRAIL_CONTROLS_COUNT);
47 …private static final int BOCU1_TRAIL_COUNT =((BOCU1_MAX_TRAIL-BOCU1_MIN+1)+BOCU1_TRAIL_CONTROLS_CO…
50 * number of positive and negative single-byte codes
55 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
60 /* The difference value range for single-byters. */
61 private static final int BOCU1_REACH_POS_1 = (BOCU1_SINGLE-1);
62 private static final int BOCU1_REACH_NEG_1 = (-BOCU1_SINGLE);
64 /* The difference value range for double-byters. */
[all …]
/external/skia/tools/skdiff/
Dskdiff_html.cpp4 * Use of this source code is governed by a BSD-style license that can be
35 stream->writeText("<table>\n"); in print_table_header()
36 stream->writeText("<tr><th>"); in print_table_header()
37 stream->writeText("select image</th>\n<th>"); in print_table_header()
41 stream->writeText("SkDiff run at "); in print_table_header()
42 stream->writeDecAsText(dt.fHour); in print_table_header()
43 stream->writeText(":"); in print_table_header()
45 stream->writeText("0"); in print_table_header()
47 stream->writeDecAsText(dt.fMinute); in print_table_header()
48 stream->writeText(":"); in print_table_header()
[all …]
/external/icu/icu4c/source/i18n/
Dbocsu.cpp5 * Copyright (C) 2001-2014, International Business Machines
9 * encoding: US-ASCII
29 * encode one difference value -0x10ffff..+0x10ffff in 1..4 bytes,
33 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()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_msa.c4 * Use of this source code is governed by a BSD-style license
43 for (loop_cnt = 4; loop_cnt--;) { in sub_blk_8x8_msa()
60 int16_t *diff, int32_t diff_stride) { in sub_blk_16x16_msa() argument
67 for (count = 2; count--;) { in sub_blk_16x16_msa()
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()
[all …]
Dvariance_msa.c4 * Use of this source code is governed by a BSD-style license
36 #define VARIANCE_WxH(sse, diff, shift) sse - (((uint32_t)diff * diff) >> shift) argument
38 #define VARIANCE_LARGE_WxH(sse, diff, shift) \ argument
39 sse - (((int64_t)diff * diff) >> shift)
43 int32_t height, int32_t *diff) { in sse_diff_4width_msa() argument
52 for (ht_cnt = (height >> 2); ht_cnt--;) { in sse_diff_4width_msa()
64 *diff = HADD_SW_S32(vec); in sse_diff_4width_msa()
71 int32_t height, int32_t *diff) { in sse_diff_8width_msa() argument
78 for (ht_cnt = (height >> 2); ht_cnt--;) { in sse_diff_8width_msa()
91 *diff = HADD_SW_S32(vec); in sse_diff_8width_msa()
[all …]
Dsad_msa.c4 * Use of this source code is governed by a BSD-style license
30 v16u8 diff; in sad_4width_msa() local
33 for (ht_cnt = (height >> 2); ht_cnt--;) { in sad_4width_msa()
42 diff = __msa_asub_u_b(src, ref); in sad_4width_msa()
43 sad += __msa_hadd_u_h(diff, diff); in sad_4width_msa()
56 for (ht_cnt = (height >> 2); ht_cnt--;) { in sad_8width_msa()
77 for (ht_cnt = (height >> 2); ht_cnt--;) { in sad_16width_msa()
101 for (ht_cnt = (height >> 2); ht_cnt--;) { in sad_32width_msa()
140 for (ht_cnt = (height >> 1); ht_cnt--;) { in sad_64width_msa()
169 v16u8 ref0, ref1, ref2, ref3, diff; in sad_4width_x3_msa() local
[all …]
Dsub_pixel_variance_msa.c4 * Use of this source code is governed by a BSD-style license
33 #define VARIANCE_WxH(sse, diff, shift) sse - (((uint32_t)diff * diff) >> shift) argument
35 #define VARIANCE_LARGE_WxH(sse, diff, shift) \ argument
36 sse - (((int64_t)diff * diff) >> shift)
43 int32_t *diff) { in avg_sse_diff_4width_msa() argument
52 for (ht_cnt = (height >> 2); ht_cnt--;) { in avg_sse_diff_4width_msa()
68 *diff = HADD_SW_S32(vec); in avg_sse_diff_4width_msa()
78 int32_t *diff) { in avg_sse_diff_8width_msa() argument
86 for (ht_cnt = (height >> 2); ht_cnt--;) { in avg_sse_diff_8width_msa()
102 *diff = HADD_SW_S32(vec); in avg_sse_diff_8width_msa()
[all …]
/external/netperf/src/
Dnetcpu_procstat.c2 @(#)netcpu_procstat.c (c) Copyright 2005-2012 Version 2.6.0";
7 utilization measurements. These are broken-out into a separate file
9 twisty, CPU-util-related, #ifdefs, all different. raj 2005-01-26
42 percentage. raj 2005-01-26 */
70 static int proc_stat_fd = -1;
117 proc_stat_fd = -1; in cpu_util_terminate()
234 return (end - start); in tick_subtract()
237 * We wrapped, and it is likely that the kernel is suppling 32-bit in tick_subtract()
238 * counters, because "start" is less than 32-bits wide. If that's in tick_subtract()
240 * the lower 32-bits so as to get back to unsigned 32-bit in tick_subtract()
[all …]
/external/v8/tools/foozzie/
Dv8_foozzie_test.py2 # Use of this source code is governed by a BSD-style license that can be
24 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
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBCtestscript.txt2 (set -o igncr) 2>/dev/null && set -o igncr; # force bash to ignore \r character
5 # This script can be used to verify the bit exactness of iLBC fixed-point version 1.0.6
37 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
[all …]
/external/v8/src/compiler/
Dpipeline-statistics.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include "src/compilation-info.h"
8 #include "src/compiler/pipeline-statistics.h"
9 #include "src/compiler/zone-stats.h"
19 scope_.reset(new ZoneStats::StatsScope(pipeline_stats->zone_stats_)); in Begin()
21 outer_zone_initial_size_ = pipeline_stats->OuterZoneSize(); in Begin()
23 outer_zone_initial_size_ - in Begin()
24 pipeline_stats->total_stats_.outer_zone_initial_size_ + in Begin()
25 pipeline_stats->zone_stats_->GetCurrentAllocatedBytes(); in Begin()
31 CompilationStatistics::BasicStats* diff) { in End() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DBOCSU.java6 * Copyright (C) 1996-2014, International Business Machines Corporation and
18 * <a href="http://www.icu-project.org/docs/papers/binary_ordered_compression_for_unicode.html">
23 * to UTF-8, and for some kinds of text (such as CJK) it does better.
35 * <p>Unlike a UTF encoding, BOCU-compressed text is not suitable for
48 * range -10ffff..+10ffff in ascending order, which forbids encoding
50 * lead byte range in the middle and encode non-negative values going
54 * middle byte value for single-byte encoded differences. For
58 * single-byte range. For large absolute values, the difference is
76 * to minimize the differences in same-script text runs. (Syn Wee,
84 // public methods -------------------------------------------------------
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DBOCSU.java5 * Copyright (C) 1996-2014, International Business Machines Corporation and
17 * <a href="http://www.icu-project.org/docs/papers/binary_ordered_compression_for_unicode.html">
22 * to UTF-8, and for some kinds of text (such as CJK) it does better.
34 * <p>Unlike a UTF encoding, BOCU-compressed text is not suitable for
47 * range -10ffff..+10ffff in ascending order, which forbids encoding
49 * lead byte range in the middle and encode non-negative values going
53 * middle byte value for single-byte encoded differences. For
57 * single-byte range. For large absolute values, the difference is
75 * to minimize the differences in same-script text runs. (Syn Wee,
83 // public methods -------------------------------------------------------
[all …]
/external/tcpdump/tests/
DTESTonce3 system("mkdir -p NEW DIFF");
18 …$r = system "..\\windump -n -r $input $options 2>NUL | sed 's/\\r//' | tee NEW/$output | diff $out…
24 $r = system "../tcpdump 2>/dev/null -n -r $input $options >NEW/$output";
33 $r = system "cat NEW/$output | diff $output - >DIFF/$output.diff";
39 printf " %-35s: passed\n", $name;
40 unlink "DIFF/$output.diff";
43 printf " %-35s: TEST FAILED", $name;
44 open FOUT, '>>failure-outputs.txt';
47 if(-f "DIFF/$output.diff") {
48 system "cat DIFF/$output.diff >> failure-outputs.txt";
[all …]
/external/clang/tools/clang-format/
Dclang-format-diff.py3 #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===#
10 #===------------------------------------------------------------------------===#
13 ClangFormat Diff Reformatter
16 This script reads input from a unified diff and reformats all the changed
20 git diff -U0 HEAD^ | clang-format-diff.py -p1 -i
21 svn diff --diff-cmd=diff -x-U0 | clang-format-diff.py -i
36 'Reformat changed lines in diff. Without -i '
37 'option just output the diff that would be '
39 parser.add_argument('-i', action='store_true', default=False,
40 help='apply edits to files instead of displaying a diff')
[all …]
/external/brotli/research/
Ddraw_diff.cc8 /* Tool for drawing diff PPM images between two input PGM images. Normally used
28 for (int i = *height - 1; i >= 0; --i) { in ReadPGM()
34 void CalculateDiff(int** diff, uint8_t** image1, uint8_t** image2, in CalculateDiff() argument
38 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; in CalculateDiff()
43 void DrawDiff(int** diff, uint8_t** image1, uint8_t** image2, in DrawDiff() argument
45 int max = -1234; in DrawDiff()
49 if (max < diff[i][j]) max = diff[i][j]; in DrawDiff()
50 if (min > diff[i][j]) min = diff[i][j]; in DrawDiff()
51 int img_min = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff()
56 int abs_max = -min; in DrawDiff()
[all …]

12345678910>>...43