/external/webrtc/common_audio/signal_processing/ |
D | resample_by_2_internal.c | 36 int32_t tmp0, tmp1, diff; in WebRtcSpl_DownBy2IntToShort() local 45 diff = tmp0 - state[1]; in WebRtcSpl_DownBy2IntToShort() 49 diff = (diff + (1 << 13)) >> 14; in WebRtcSpl_DownBy2IntToShort() 50 tmp1 = state[0] + diff * kResampleAllpass[1][0]; in WebRtcSpl_DownBy2IntToShort() 52 diff = tmp1 - state[2]; in WebRtcSpl_DownBy2IntToShort() 54 diff = diff >> 14; in WebRtcSpl_DownBy2IntToShort() 55 if (diff < 0) in WebRtcSpl_DownBy2IntToShort() 56 diff += 1; in WebRtcSpl_DownBy2IntToShort() 57 tmp0 = state[1] + diff * kResampleAllpass[1][1]; in WebRtcSpl_DownBy2IntToShort() 59 diff = tmp0 - state[3]; in WebRtcSpl_DownBy2IntToShort() [all …]
|
D | resample_by_2_mips.c | 153 int32_t tmp1, tmp2, diff; in WebRtcSpl_DownsampleBy2() local 159 diff = in32 - state1; in WebRtcSpl_DownsampleBy2() 160 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2() 162 diff = tmp1 - state2; in WebRtcSpl_DownsampleBy2() 163 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1); in WebRtcSpl_DownsampleBy2() 165 diff = tmp2 - state3; in WebRtcSpl_DownsampleBy2() 166 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2); in WebRtcSpl_DownsampleBy2() 171 diff = in32 - state5; in WebRtcSpl_DownsampleBy2() 172 tmp1 = MUL_ACCUM_1(kResampleAllpass1[0], diff, state4); in WebRtcSpl_DownsampleBy2() 174 diff = tmp1 - state6; in WebRtcSpl_DownsampleBy2() [all …]
|
D | resample_by_2.c | 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() 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() 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() [all …]
|
/external/libabigail/tests/data/ |
D | Makefile.am | 46 test-core-diff/report0.txt \ 47 test-core-diff/report1.txt \ 48 test-core-diff/report2.txt \ 49 test-core-diff/report3.txt \ 50 test-core-diff/report4.txt \ 51 test-core-diff/report5.txt \ 52 test-core-diff/report6.txt \ 53 test-core-diff/report7.txt \ 54 test-core-diff/report8.txt \ 55 test-core-diff/report9.txt \ [all …]
|
/external/libabigail/tests/ |
D | test-diff-dwarf.cc | 10 /// This program runs a diff between input dwarf files and compares 45 "data/test-diff-dwarf/test0-v0.o", 46 "data/test-diff-dwarf/test0-v1.o", 47 "data/test-diff-dwarf/test0-report.txt", 48 "output/test-diff-dwarf/test0-report.txt" 51 "data/test-diff-dwarf/test1-v0.o", 52 "data/test-diff-dwarf/test1-v1.o", 53 "data/test-diff-dwarf/test1-report.txt", 54 "output/test-diff-dwarf/test1-report.txt" 57 "data/test-diff-dwarf/test2-v0.o", [all …]
|
D | test-diff-suppr.cc | 10 /// This test harness program runs a diff between input ELF files 14 /// So it runs the diff diff between the two input files, using a 15 /// suppression file and compares the resulting diff with a reference 50 "data/test-diff-suppr/test0-type-suppr-v0.o", 51 "data/test-diff-suppr/test0-type-suppr-v1.o", 56 "data/test-diff-suppr/test0-type-suppr-report-0.txt", 57 "output/test-diff-suppr/test0-type-suppr-report-0.txt", 60 "data/test-diff-suppr/test0-type-suppr-v0.o", 61 "data/test-diff-suppr/test0-type-suppr-v1.o", 64 "data/test-diff-suppr/test0-type-suppr-0.suppr", [all …]
|
D | test-diff-filter.cc | 10 /// This program runs a diff between input ELF files containing DWARF 47 "data/test-diff-filter/test0-v0.o", 48 "data/test-diff-filter/test0-v1.o", 50 "data/test-diff-filter/test0-report.txt", 51 "output/test-diff-filter/test0-report.txt", 54 "data/test-diff-filter/test0-v0.o", 55 "data/test-diff-filter/test0-v1.o", 58 "data/test-diff-filter/test01-report.txt", 59 "output/test-diff-filter/test01-report.txt", 62 "data/test-diff-filter/test1-v0.o", [all …]
|
D | test-diff-pkg.cc | 57 "data/test-diff-pkg/dirpkg-0-dir1", 58 "data/test-diff-pkg/dirpkg-0-dir2", 65 "data/test-diff-pkg/dirpkg-0-report-0.txt", 66 "output/test-diff-pkg/dirpkg-0-report-0.txt" 70 "data/test-diff-pkg/dirpkg-1-dir1", 71 "data/test-diff-pkg/dirpkg-1-dir2", 78 "data/test-diff-pkg/dirpkg-1-report-0.txt", 79 "output/test-diff-pkg/dirpkg-1-report-0.txt" 84 "data/test-diff-pkg/dirpkg-1-dir1", 85 "data/test-diff-pkg/dirpkg-1-dir2", [all …]
|
D | test-core-diff.cc | 13 #include "abg-diff-utils.h" 20 /// This structure describes the set of strings we want to diff 25 // This is the path to the report we expect from the diff algorithm 28 // This is the path where to store the report of the diff algorithm 31 // This is the first string to feed the diff algorithm with. 33 // This is the second string to feed the diff algorithm with. 40 "data/test-core-diff/report0.txt", 41 "output/test-core-diff/report0.txt", 46 "data/test-core-diff/report1.txt", 47 "output/test-core-diff/report1.txt", [all …]
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | graph_view_internal_test.cc | 66 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() local 67 EXPECT_TRUE(IsEmpty(&diff)); in TEST() 68 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST() 70 UpdateName(&diff, "e"); in TEST() 71 EXPECT_FALSE(IsEmpty(&diff)); in TEST() 72 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST() 74 UpdateName(&diff, "d"); in TEST() 75 EXPECT_TRUE(IsEmpty(&diff)); in TEST() 76 EXPECT_TRUE(IsWellFormed(&diff, updated_node_names)); in TEST() 90 MutableNodeViewDiff diff(&graph_view, d_node->node_index()); in TEST() local [all …]
|
D | graph_view_internal.h | 402 // the field will be cleared in the diff. 404 inline bool UpdateName(NodeViewDiff<GraphViewT>* diff, absl::string_view name) { in UpdateName() argument 405 if (diff->graph_view->GetNode(diff->node_index)->GetName() == name) { in UpdateName() 406 diff->name.clear(); in UpdateName() 407 diff->update_name = false; in UpdateName() 409 diff->name = string(name); in UpdateName() 410 diff->update_name = true; in UpdateName() 416 // field will be cleared in the diff. 418 inline bool UpdateOp(NodeViewDiff<GraphViewT>* diff, absl::string_view op) { in UpdateOp() argument 419 if (diff->graph_view->GetNode(diff->node_index)->GetOp() == op) { in UpdateOp() [all …]
|
/external/libabigail/src/ |
D | abg-comp-filter.cc | 10 /// This file contains definitions of diff objects filtering 33 /// Walk the diff sub-trees of a a @ref corpus_diff and apply a filter 37 /// @param filter the filter to apply to the diff nodes 39 /// @param d the corpus diff to apply the filter to. 49 /// Walk a diff sub-tree and apply a filter to the nodes visted. The 55 /// infinite loops for diff trees that involve type changes that 60 /// @param d the diff sub-tree to walk and apply the filter to. 71 /// Walk a diff sub-tree and apply a filter to the nodes visted. The 77 /// infinite loops for diff trees that involve type changes that 82 /// @param d the diff sub-tree to walk and apply the filter to. [all …]
|
D | abg-comparison.cc | 34 ///@par diff nodes 37 /// a graph of @ref instances of @ref diff node. We refer to these 38 /// just as <em>diff nodes</em>. A diff node represents a change 41 /// compared are called the <em>subjects of the diff</em>. 45 ///@par comparing diff nodes 47 /// Comparing two instances of @ref diff nodes amounts to comparing 48 /// the subject of the diff. In other words, two @ref diff nodes are 50 /// diff nodes can have different memory addresses and yet be equal. 52 ///@par diff reporting and context 54 /// A diff node can be serialized to an output stream to express, in [all …]
|
/external/llvm/test/tools/llvm-cov/ |
D | llvm-cov.test | 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 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/libabigail/include/ |
D | abg-comp-filter.h | 10 /// This header declares filters for the diff trees resulting from 23 /// diff tree. 30 bool union_diff_has_harmless_changes(const diff *d); 36 has_harmful_name_change(const diff* dif); 39 has_virtual_mem_fn_change(const function_decl_diff* diff); 50 is_decl_only_class_with_size_change(const diff *diff); 57 has_decl_only_def_change(const diff *d); 68 has_class_decl_only_def_change(const diff *diff); 71 has_enum_decl_only_def_change(const diff *diff); 74 has_basic_type_name_change(const diff *); [all …]
|
D | abg-comparison.h | 18 #include "abg-diff-utils.h" 49 class diff; variable 51 /// Convenience typedef for a shared_ptr for the @ref diff class 52 typedef shared_ptr<diff> diff_sptr; 54 /// Convenience typedef for a weak_ptr for the @ref diff class 55 typedef weak_ptr<diff> diff_wptr; 69 /// Convenience typedef for a vector of @ref diff*. 70 typedef vector<diff*> diff_ptrs_type; 178 /// Convenience typedef for a map which value is a diff*. The key of 180 typedef unordered_map<string, diff*> string_diff_ptr_map; [all …]
|
/external/icu/icu4c/source/common/ |
D | ucnvbocu.cpp | 214 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 216 /** Is a diff value encodable in a single byte? */ 217 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) argument 219 /** Encode a diff value in a single byte. */ 220 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) argument 222 /** Is a diff value encodable in two bytes? */ 223 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2) argument 264 * mode decoder's incomplete (diff<<2)|count (ignored when toULength==0) 279 * @param diff difference value -0x10ffff..0x10ffff 287 packDiff(int32_t diff) { in packDiff() argument [all …]
|
/external/libavc/common/x86/ |
D | ih264_deblk_chroma_ssse3.c | 110 __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/libvpx/libvpx/vpx_dsp/mips/ |
D | sad_msa.c | 30 v16u8 diff; in sad_4width_msa() local 42 diff = __msa_asub_u_b(src, ref); in sad_4width_msa() 43 sad += __msa_hadd_u_h(diff, diff); in sad_4width_msa() 169 v16u8 ref0, ref1, ref2, ref3, diff; in sad_4width_x3_msa() local 182 diff = __msa_asub_u_b(src, ref); in sad_4width_x3_msa() 183 sad0 += __msa_hadd_u_h(diff, diff); in sad_4width_x3_msa() 188 diff = __msa_asub_u_b(src, ref); in sad_4width_x3_msa() 189 sad1 += __msa_hadd_u_h(diff, diff); in sad_4width_x3_msa() 194 diff = __msa_asub_u_b(src, ref); in sad_4width_x3_msa() 195 sad2 += __msa_hadd_u_h(diff, diff); in sad_4width_x3_msa() [all …]
|
D | subtract_msa.c | 60 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 …]
|
D | subtract_mmi.c | 16 void vpx_subtract_block_mmi(int rows, int cols, int16_t *diff, in vpx_subtract_block_mmi() argument 84 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t" in vpx_subtract_block_mmi() 85 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t" in vpx_subtract_block_mmi() 86 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi() 90 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t" in vpx_subtract_block_mmi() 91 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t" in vpx_subtract_block_mmi() 92 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi() 96 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t" in vpx_subtract_block_mmi() 97 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t" in vpx_subtract_block_mmi() 98 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi() [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetBOCU1.java | 207 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 209 /** Is a diff value encodable in a single byte? */ 210 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() 214 /** Encode a diff value in a single byte. */ 215 private static int PACK_SINGLE_DIFF(int diff){ in PACK_SINGLE_DIFF() argument 216 return (BOCU1_MIDDLE+(diff)); in PACK_SINGLE_DIFF() 219 /** Is a diff value encodable in two bytes? */ 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() [all …]
|
/external/libhevc/encoder/ |
D | ihevce_chroma_had_satd.c | 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() 134 m[3] = diff[3] + diff[15]; in ihevce_chroma_HAD_4x4_8bit() 135 m[4] = diff[4] + diff[8]; in ihevce_chroma_HAD_4x4_8bit() [all …]
|
/external/libaom/libaom/aom_dsp/mips/ |
D | subtract_msa.c | 62 int16_t *diff, int32_t diff_stride) { in sub_blk_16x16_msa() argument 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() 95 diff += diff_stride; in sub_blk_16x16_msa() 99 ST_SH2(diff0, diff1, diff, 8); in sub_blk_16x16_msa() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | bocsu.cpp | 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() 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 …]
|