/external/webrtc/webrtc/common_audio/signal_processing/ |
D | resample_by_2_internal.c | 4 * 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 …]
|
D | resample_by_2_mips.c | 4 * 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 …]
|
D | resample_by_2.c | 4 * 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 …]
|
/external/selinux/prebuilts/bin/ |
D | sediff.py | 2 # 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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/ |
D | llvm-cov.test | 1 # 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/llvm/test/tools/llvm-cov/ |
D | llvm-cov.test | 1 # 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/ |
D | ucnvbocu.cpp | 6 * Copyright (C) 2002-2016, International Business Machines 11 * encoding: UTF-8 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/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/ |
D | shtest-shell.py | 3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out 7 # RUN: FileCheck --input-file %t.out %s 11 # CHECK: -- Testing: 13 # CHECK: FAIL: shtest-shell :: cat-error-0.txt 14 # CHECK: *** TEST 'shtest-shell :: cat-error-0.txt' FAILED *** 15 # CHECK: $ "cat" "-b" "temp1.txt" 17 # CHECK: Unsupported: 'cat': option -b not recognized 21 # CHECK: FAIL: shtest-shell :: cat-error-1.txt 22 # CHECK: *** TEST 'shtest-shell :: cat-error-1.txt' FAILED *** 29 # CHECK: FAIL: shtest-shell :: colon-error.txt [all …]
|
/external/libavc/common/x86/ |
D | ih264_deblk_chroma_ssse3.c | 9 * 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/ |
D | CharsetBOCU1.java | 5 * 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/libhevc/encoder/ |
D | ihevce_chroma_had_satd.c | 9 * http://www.apache.org/licenses/LICENSE-2.0 74 * Chroma Hadamard Transform of 4x4 block (8-bit input) 113 WORD16 diff[16], m[16], d[16]; in ihevce_chroma_HAD_4x4_8bit() local 121 diff[k + 0] = pu1_origin[2 * 0] - pu1_pred_buf[2 * 0]; in ihevce_chroma_HAD_4x4_8bit() 122 diff[k + 1] = pu1_origin[2 * 1] - pu1_pred_buf[2 * 1]; in ihevce_chroma_HAD_4x4_8bit() 123 diff[k + 2] = pu1_origin[2 * 2] - pu1_pred_buf[2 * 2]; in ihevce_chroma_HAD_4x4_8bit() 124 diff[k + 3] = pu1_origin[2 * 3] - pu1_pred_buf[2 * 3]; in ihevce_chroma_HAD_4x4_8bit() 131 m[0] = diff[0] + diff[12]; in ihevce_chroma_HAD_4x4_8bit() 132 m[1] = diff[1] + diff[13]; in ihevce_chroma_HAD_4x4_8bit() 133 m[2] = diff[2] + diff[14]; in ihevce_chroma_HAD_4x4_8bit() [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | sad_msa.c | 4 * 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 …]
|
D | subtract_msa.c | 4 * 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 …]
|
D | variance_msa.c | 4 * 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 …]
|
/external/skqp/tools/skdiff/ |
D | skdiff_html.cpp | 4 * 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/skia/tools/skdiff/ |
D | skdiff_html.cpp | 4 * 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/ |
D | bocsu.cpp | 5 * Copyright (C) 2001-2014, International Business Machines 9 * encoding: UTF-8 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/libaom/libaom/aom_dsp/mips/ |
D | variance_msa.c | 38 #define VARIANCE_WxH(sse, diff, shift) sse - (((uint32_t)diff * diff) >> shift) argument 40 #define VARIANCE_LARGE_WxH(sse, diff, shift) \ argument 41 sse - (((int64_t)diff * diff) >> shift) 45 int32_t height, int32_t *diff) { in sse_diff_4width_msa() argument 54 for (ht_cnt = (height >> 2); ht_cnt--;) { in sse_diff_4width_msa() 66 *diff = HADD_SW_S32(vec); in sse_diff_4width_msa() 73 int32_t height, int32_t *diff) { in sse_diff_8width_msa() argument 80 for (ht_cnt = (height >> 2); ht_cnt--;) { in sse_diff_8width_msa() 93 *diff = HADD_SW_S32(vec); in sse_diff_8width_msa() 100 int32_t height, int32_t *diff) { in sse_diff_16width_msa() argument [all …]
|
D | subtract_msa.c | 45 for (loop_cnt = 4; loop_cnt--;) { in sub_blk_8x8_msa() 62 int16_t *diff, int32_t diff_stride) { in sub_blk_16x16_msa() argument 69 for (count = 2; count--;) { in sub_blk_16x16_msa() 79 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa() 80 diff += diff_stride; in sub_blk_16x16_msa() 84 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa() 85 diff += diff_stride; in sub_blk_16x16_msa() 89 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa() 90 diff += diff_stride; in sub_blk_16x16_msa() 94 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa() [all …]
|
/external/deqp-deps/glslang/Test/ |
D | runtests | 6 REMAPEXE=../build/install/bin/spirv-remap 8 mkdir -p localResults 10 if [ -a localtestlist ] 15 $EXE -i -l $t > $TARGETDIR/$b.out 16 diff -b $BASEDIR/$b.out $TARGETDIR/$b.out || HASERROR=1 20 rm -f comp.spv frag.spv geom.spv tesc.spv tese.spv vert.spv 27 diff -b $BASEDIR/badMacroArgs.frag.out $TARGETDIR/badMacroArgs.frag.out || HASERROR=1 33 $EXE -l -q -C reflection.vert > $TARGETDIR/reflection.vert.out 34 diff -b $BASEDIR/reflection.vert.out $TARGETDIR/reflection.vert.out || HASERROR=1 35 $EXE -D -Od -e flizv -l -q -C -V -Od hlsl.reflection.vert > $TARGETDIR/hlsl.reflection.vert.out [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/ |
D | iLBCtestscript.txt | 2 (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/catch2/include/internal/ |
D | catch_totals.cpp | 12 Counts Counts::operator - ( Counts const& other ) const { in operator -() 13 Counts diff; in operator -() local 14 diff.passed = passed - other.passed; in operator -() 15 diff.failed = failed - other.failed; in operator -() 16 diff.failedButOk = failedButOk - other.failedButOk; in operator -() 17 return diff; in operator -() 37 Totals Totals::operator - ( Totals const& other ) const { in operator -() 38 Totals diff; in operator -() local 39 diff.assertions = assertions - other.assertions; in operator -() 40 diff.testCases = testCases - other.testCases; in operator -() [all …]
|
/external/v8/src/compiler/ |
D | pipeline-statistics.cc | 2 // Use of this source code is governed by a BSD-style license that can be 7 #include "src/compiler/pipeline-statistics.h" 8 #include "src/compiler/zone-stats.h" 9 #include "src/objects/shared-function-info.h" 11 #include "src/optimized-compilation-info.h" 20 scope_.reset(new ZoneStats::StatsScope(pipeline_stats->zone_stats_)); in Begin() 22 outer_zone_initial_size_ = pipeline_stats->OuterZoneSize(); in Begin() 24 outer_zone_initial_size_ - in Begin() 25 pipeline_stats->total_stats_.outer_zone_initial_size_ + in Begin() 26 pipeline_stats->zone_stats_->GetCurrentAllocatedBytes(); in Begin() [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | rdopt_avx2.c | 22 // the top-left 3x3 pixels, so this function must be called with 1x1 overlap, 24 INLINE static void horver_correlation_4x4(const int16_t *diff, int stride, in horver_correlation_4x4() argument 34 *(uint64_t *)&diff[0 * stride], *(uint64_t *)&diff[1 * stride], in horver_correlation_4x4() 35 *(uint64_t *)&diff[2 * stride], *(uint64_t *)&diff[3 * stride]); in horver_correlation_4x4() 63 void av1_get_horver_correlation_full_avx2(const int16_t *diff, int stride, in av1_get_horver_correlation_full_avx2() argument 67 // x - current pixel in av1_get_horver_correlation_full_avx2() 68 // y - right neighbour pixel in av1_get_horver_correlation_full_avx2() 69 // z - below neighbour pixel in av1_get_horver_correlation_full_avx2() 70 // w - down-right neighbour pixel in av1_get_horver_correlation_full_avx2() 82 for (int i = 0; i <= height - 4; i += 3) { in av1_get_horver_correlation_full_avx2() [all …]
|
/external/v8/tools/clusterfuzz/ |
D | v8_foozzie_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 41 '--first-config=ignition', 42 '--second-config=ignition_turbo', 43 '--second-d8=d8', 56 diff = None, None 57 self.assertEquals(diff, suppress.diff(one, two)) 61 diff = None, None 62 self.assertEquals(diff, suppress.diff(one, two)) 79 diff = None, None 80 self.assertEquals(diff, suppress.diff(one, two)) [all …]
|