Home
last modified time | relevance | path

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

12345678910>>...117

/external/webrtc/common_audio/signal_processing/
Dresample_by_2_internal.c36 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 …]
Dresample_by_2_mips.c153 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 …]
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/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_internal_test.cc66 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 …]
Dgraph_view_internal.h404 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()
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()
420 diff->op.clear(); in UpdateOp()
421 diff->update_op = false; in UpdateOp()
[all …]
/external/libabigail/tests/data/
DMakefile.am46 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/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/libhevc/encoder/
Dihevce_chroma_had_satd.c113 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/llvm-project/llvm/utils/lit/tests/Inputs/shtest-shell/
Ddiff-encodings.txt1 # Check that diff falls back to binary mode if it cannot decode a file.
3 # RUN: diff -u diff-in.bin diff-in.bin
4 # RUN: diff -u diff-in.utf16 diff-in.bin && false || true
5 # RUN: diff -u diff-in.utf8 diff-in.bin && false || true
6 # RUN: diff -u diff-in.bin diff-in.utf8 && false || true
8 # RUN: cat diff-in.bin | diff -u - diff-in.bin
9 # RUN: cat diff-in.bin | diff -u diff-in.bin -
10 # RUN: cat diff-in.bin | diff -u diff-in.utf16 - && false || true
11 # RUN: cat diff-in.bin | diff -u diff-in.utf8 - && false || true
12 # RUN: cat diff-in.bin | diff -u - diff-in.utf8 && false || true
/external/libabigail/src/
Dabg-comp-filter.cc131 diff_involves_decl_only_class(const class_diff* diff) in diff_involves_decl_only_class() argument
133 if (diff && there_is_a_decl_only_class(diff->first_class_decl(), in diff_involves_decl_only_class()
134 diff->second_class_decl())) in diff_involves_decl_only_class()
180 has_type_size_change(const diff* diff) in has_type_size_change() argument
182 if (!diff) in has_type_size_change()
185 if (const fn_parm_diff* fn_parm_d = is_fn_parm_diff(diff)) in has_type_size_change()
186 diff = fn_parm_d->type_diff().get(); in has_type_size_change()
188 type_base_sptr f = is_type(diff->first_subject()), in has_type_size_change()
189 s = is_type(diff->second_subject()); in has_type_size_change()
247 crc_changed(const diff* diff) in crc_changed() argument
[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/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_mmi.c16 void vpx_subtract_block_mmi(int rows, int cols, int16_t *diff, in vpx_subtract_block_mmi() argument
86 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
92 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
98 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
113 [src] "+&r"(src), [pred] "+&r"(pred), [diff] "+&r"(diff) in vpx_subtract_block_mmi()
158 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
169 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
180 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
191 MMI_ADDU(%[diff], %[diff], %[diff_stride]) in vpx_subtract_block_mmi()
201 [pred] "+&r"(pred), [diff] "+&r"(diff) in vpx_subtract_block_mmi()
[all …]
/external/libabigail/include/
Dabg-comp-filter.h30 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 *);
77 has_class_or_union_type_name_change(const diff *d);
80 has_basic_or_class_type_name_change(const diff *d);
[all …]
/external/one-true-awk/testdir/
DT.clv15 diff foo1 foo2 || echo 'BAD: T.clv (stdin only)'
24 diff foo1 foo2 || echo 'BAD: T.clv (x=1 only)'
33 diff foo1 foo2 || echo 'BAD: T.clv (x=3 only)'
43 diff foo1 foo2 || echo 'BAD: T.clv (x=3 only)'
48 diff foo1 foo2 || echo 'BAD: T.clv (x=4 /dev/null)'
53 diff foo1 foo2 || echo 'BAD: T.clv (x=5 /dev/null)'
63 diff foo1 foo2 || echo 'BAD: T.clv (x=6 /dev/null)'
70 diff foo1 foo2 || echo 'BAD: T.clv (x=7 /dev/null)'
77 diff foo1 foo2 || echo 'BAD: T.clv (_=7A /dev/null)'
87 diff foo1 foo2 || echo 'BAD: T.clv (x=11)'
[all …]
/external/catch2/include/internal/
Dcatch_totals.cpp13 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 -()
38 Totals diff; in operator -() local
39 diff.assertions = assertions - other.assertions; in operator -()
40 diff.testCases = testCases - other.testCases; in operator -()
41 return diff; in operator -()
51 Totals diff = *this - prevTotals; in delta() local
[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/skqp/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/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/libyuv/files/source/
Dcompare_common.cc24 uint32_t diff = 0u; in HammingDistance_C1() local
30 ++diff; in HammingDistance_C1()
32 ++diff; in HammingDistance_C1()
34 ++diff; in HammingDistance_C1()
36 ++diff; in HammingDistance_C1()
38 ++diff; in HammingDistance_C1()
40 ++diff; in HammingDistance_C1()
42 ++diff; in HammingDistance_C1()
44 ++diff; in HammingDistance_C1()
46 return diff; in HammingDistance_C1()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dcompare_common.cc24 uint32_t diff = 0u; in HammingDistance_C1() local
30 ++diff; in HammingDistance_C1()
32 ++diff; in HammingDistance_C1()
34 ++diff; in HammingDistance_C1()
36 ++diff; in HammingDistance_C1()
38 ++diff; in HammingDistance_C1()
40 ++diff; in HammingDistance_C1()
42 ++diff; in HammingDistance_C1()
44 ++diff; in HammingDistance_C1()
46 return diff; in HammingDistance_C1()
[all …]

12345678910>>...117