Home
last modified time | relevance | path

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

12345678910>>...20

/external/clang/tools/clang-format/
Dgit-clang-format3 #===- git-clang-format - ClangFormat Git Integration ---------*- python -*--===#
10 #===------------------------------------------------------------------------===#
13 clang-format git integration
16 This file provides a clang-format integration for git. Put it somewhere in your
17 path and ensure that it is executable. Then, "git clang-format" will invoke
18 clang-format on the changes in current files or a specific commit.
21 git clang-format -h
35 usage = 'git clang-format [OPTIONS] [<commit>] [<commit>] [--] [<file>...]'
38 If zero or one commits are given, run clang-format on all lines that differ
42 If two commits are given (requires --diff), run clang-format on all lines in the
[all …]
/external/cldr/tools/scripts/
DplatformDiffTool.sh7 # Prefix - will only show files which match the prefix.
16 TREE=$1
17 rm -rf ${TREE}.new
18 mkdir ${TREE}.new
19 cp -r ${TREE}/CVS ${TREE}.new/
20 rm -rf ${TREE}.backup1
21 mv ${TREE}.backup0 ${TREE}.backup1
22 mv ${TREE} ${TREE}.backup1
23 mv ${TREE}.new ${TREE}
28 TREE=$1
[all …]
DinterimVettingTool.sh7 # Prefix - will only show files which match the prefix.
15 TREE=$1
16 OUTF=${TREE}/index.html
22 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
25 <!--
26 table { border-spacing: 0; border-collapse: collapse;
28 td, th { border-spacing: 0; border-collapse: collapse; color: black;
29 vertical-align: top; border: 1px solid black }
30 -->
33 <h1>CLDR 1.2a - Drafts and Alts</h1>
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dpytree_idempotency.py29 tree = dr.parse_file(fn, debug=True)
30 if not diff(fn, tree):
44 fn = fn[:-1]
48 tree = dr.parse_file(fn, debug=True)
49 if diff(fn, tree):
65 tree = dr.parse_file(fn, debug=True)
69 if diff(fn, tree):
80 def diff(fn, tree): argument
83 f.write(str(tree))
87 return os.system("diff -u %s @" % fn)
/external/python/cpython3/Lib/lib2to3/tests/
Dpytree_idempotency.py31 tree = dr.parse_file(fn, debug=True)
32 if not diff(fn, tree):
46 fn = fn[:-1]
50 tree = dr.parse_file(fn, debug=True)
51 if diff(fn, tree):
67 tree = dr.parse_file(fn, debug=True)
71 if diff(fn, tree):
82 def diff(fn, tree): argument
85 f.write(str(tree))
89 return os.system("diff -u %s @" % fn)
/external/bcc/scripts/
Dgit-clang-format3 #===- git-clang-format - ClangFormat Git Integration ---------*- python -*--===#
10 #===------------------------------------------------------------------------===#
13 clang-format git integration
16 This file provides a clang-format integration for git. Put it somewhere in your
17 path and ensure that it is executable. Then, "git clang-format" will invoke
18 clang-format on the changes in current files or a specific commit.
21 git clang-format -h
35 usage = 'git clang-format [OPTIONS] [<commit>] [--] [<file>...]'
38 Run clang-format on all lines that differ between the working directory
42 The following git-config settings set the default of the corresponding option:
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dcompare_common.cc4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
24 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()
[all …]
/external/webp/src/utils/
Drandom_utils.h3 // Use of this source code is governed by a BSD-style license
5 // tree. An additional intellectual property rights grant can be found
7 // be found in the AUTHORS file in the root of the source tree.
8 // -----------------------------------------------------------------------------
10 // Pseudo-random utilities
24 #define VP8_RANDOM_DITHER_FIX 8 // fixed-point precision for dithering
36 // Returns a centered pseudo-random number with 'num_bits' amplitude.
37 // (uses D.Knuth's Difference-based random generator).
38 // 'amp' is in VP8_RANDOM_DITHER_FIX fixed-point precision.
41 int diff; in VP8RandomBits2() local
[all …]
/external/libvpx/libvpx/vpx_dsp/ppc/
Dsubtract_vsx.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
18 int16_t *diff, ptrdiff_t diff_stride, const uint8_t *src, in subtract_block4x4() argument
20 int16_t *diff1 = diff + 2 * diff_stride; in subtract_block4x4()
24 const int16x8_t d0 = vec_vsx_ld(0, diff); in subtract_block4x4()
25 const int16x8_t d1 = vec_vsx_ld(0, diff + diff_stride); in subtract_block4x4()
37 vec_vsx_st(xxpermdi(da, d0, 1), 0, diff); in subtract_block4x4()
38 vec_vsx_st(xxpermdi(da, d1, 3), 0, diff + diff_stride); in subtract_block4x4()
43 void vpx_subtract_block_vsx(int rows, int cols, int16_t *diff, in vpx_subtract_block_vsx() argument
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubtract_neon.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
19 void vpx_subtract_block_neon(int rows, int cols, int16_t *diff, in vpx_subtract_block_neon() argument
36 vst1q_s16(&diff[c + 0], vreinterpretq_s16_u16(d0)); in vpx_subtract_block_neon()
37 vst1q_s16(&diff[c + 8], vreinterpretq_s16_u16(d1)); in vpx_subtract_block_neon()
38 vst1q_s16(&diff[c + 16], vreinterpretq_s16_u16(d2)); in vpx_subtract_block_neon()
39 vst1q_s16(&diff[c + 24], vreinterpretq_s16_u16(d3)); in vpx_subtract_block_neon()
41 diff += diff_stride; in vpx_subtract_block_neon()
44 } while (--r); in vpx_subtract_block_neon()
[all …]
/external/libvpx/libvpx/tools/
Dlint-hunks.py4 ## Use of this source code is governed by a BSD-style license
6 ## tree. An additional intellectual property rights grant can be found
8 ## be found in the AUTHORS file in the root of the source tree.
10 """Performs style checking on each diff hunk."""
17 import diff
23 TOPLEVEL_CMD = ["git", "rev-parse", "--show-toplevel"]
24 DIFF_CMD = ["git", "diff"]
25 DIFF_INDEX_CMD = ["git", "diff-index", "-u", "HEAD", "--"]
27 CPPLINT_FILTERS = ["-readability/casting"]
71 if o in ("-h", "--help"):
[all …]
Dintersect-diffs.py4 ## Use of this source code is governed by a BSD-style license
6 ## tree. An additional intellectual property rights grant can be found
8 ## be found in the AUTHORS file in the root of the source tree.
12 Given two diffs, A and B, it finds all hunks in B that had non-context lines
21 import diff
25 """Re-serialize a list of DiffHunks."""
53 old_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[1], "r"))]
54 new_hunks = [x for x in diff.ParseDiffHunks(open(sys.argv[2], "r"))]
57 # Join the right hand side of the older diff with the left hand side of the
58 # newer diff.
[all …]
/external/libvpx/libvpx/vpx_ports/
Dvpx_timer.h4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
40 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
41 (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
42 if ((result)->tv_usec < 0) { \
43 --(result)->tv_sec; \
44 (result)->tv_usec += 1000000; \
60 QueryPerformanceCounter(&t->begin); in vpx_usec_timer_start()
62 gettimeofday(&t->begin, NULL); in vpx_usec_timer_start()
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
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
[all …]
/external/libxml2/doc/examples/
Dexamples.xml6 <test>io1 &gt; io1.tmp &amp;&amp; diff io1.tmp $(srcdir)/io1.res</test>
14 <include>&lt;libxml/tree.h&gt;</include>
17 <function line='143' file='tree' name='xmlDocDump'/>
19 <function line='149' file='tree' name='xmlFreeDoc'/>
25 <typedef line='105' file='tree' name='xmlDocPtr'/>
32 <test>io2 &gt; io2.tmp &amp;&amp; diff io2.tmp $(srcdir)/io2.res</test>
40 <function line='29' file='tree' name='xmlNodeSetContent'/>
41 <function line='36' file='tree' name='xmlDocDumpFormatMemory'/>
43 <function line='30' file='tree' name='xmlDocSetRootElement'/>
44 <typedef line='20' file='tree' name='xmlDocPtr'/>
[all …]
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_error_neon.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
26 const int16x8_t diff = vsubq_s16(c, d); in vp9_block_error_fp_neon() local
27 const int16x4_t diff_lo = vget_low_s16(diff); in vp9_block_error_fp_neon()
28 const int16x4_t diff_hi = vget_high_s16(diff); in vp9_block_error_fp_neon()
29 // diff is 15-bits, the squares 30, so we can store 2 in 31-bits before in vp9_block_error_fp_neon()
30 // accumulating them in 64-bits. in vp9_block_error_fp_neon()
37 block_size -= 8; in vp9_block_error_fp_neon()
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_c.cc4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
51 const int diff = a[j] - b[j]; in Variance16x8() local
52 sum += diff; in Variance16x8()
53 *sse += diff * diff; in Variance16x8()
59 return *sse - ((static_cast<int64_t>(sum) * sum) >> 7); in Variance16x8()
88 int diff = 0; in MbDenoise() local
92 diff = mc_running_avg_y[c] - sig[c]; in MbDenoise()
93 absdiff = abs(diff); in MbDenoise()
[all …]
/external/yapf/yapf/yapflib/
Dyapf_api.py7 # http://www.apache.org/licenses/LICENSE-2.0
27 that we want to format. The lines are 1-based indexed. It can be used by
28 third-party code (e.g., IDEs) when reformatting a snippet of code rather
31 diff that turns the formatted source into reformatter source.
73 is a diff if print_diff is True.
129 tree = pytree_utils.ParseCodeToTree(unformatted_source)
134 # Run passes on the tree, modifying it in place.
135 comment_splicer.SpliceComments(tree)
136 continuation_splicer.SpliceContinuations(tree)
137 subtype_assigner.AssignSubtypes(tree)
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dsubtract_msa.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
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()
[all …]
/external/libaom/libaom/third_party/libyuv/source/
Dcompare_common.cc4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
22 int diff = src_a[i] - src_b[i]; in SumSquareError_C() local
23 sse += (uint32)(diff * diff); in SumSquareError_C()
/external/libyuv/files/source/
Dcompare_common.cc4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
24 int diff = src_a[i] - src_b[i]; in SumSquareError_C() local
25 sse += (uint32)(diff * diff); in SumSquareError_C()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dnearest_neighbor.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
13 iLBC Speech Coder ANSI-C Source Code
26 size_t min_diff = (size_t)-1; in WebRtcIlbcfix_NearestNeighbor()
28 const size_t diff = in WebRtcIlbcfix_NearestNeighbor() local
29 (array[i] < value) ? (value - array[i]) : (array[i] - value); in WebRtcIlbcfix_NearestNeighbor()
30 if (diff < min_diff) { in WebRtcIlbcfix_NearestNeighbor()
32 min_diff = diff; in WebRtcIlbcfix_NearestNeighbor()
Dlsp_to_lsf.c4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
13 iLBC Speech Coder ANSI-C Source Code
22 /*----------------------------------------------------------------*
24 *---------------------------------------------------------------*/
27 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */ in WebRtcIlbcfix_Lsp2Lsf()
34 int16_t diff; /* diff between table value and desired value (Q15) */ in WebRtcIlbcfix_Lsp2Lsf() local
50 for(i=m-1; i>=0; i--) in WebRtcIlbcfix_Lsp2Lsf()
56 while( (((int32_t)(*cosTblPtr)-(*lspPtr)) < 0)&&(k>0) ) in WebRtcIlbcfix_Lsp2Lsf()
[all …]
/external/webrtc/webrtc/base/
Dversionparsing.cc4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
28 n = dot_pos - pos; in ParseVersionString()
49 int diff = version1[i] - version2[i]; in CompareVersions() local
50 if (diff != 0) { in CompareVersions()
51 return diff; in CompareVersions()
/external/libvpx/libvpx/vp8/common/
Dinvtrans.h4 * Use of this source code is governed by a BSD-style license
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
27 static void eob_adjust(char *eobs, short *diff) { in eob_adjust() argument
31 if ((eobs[js] == 0) && (diff[0] != 0)) eobs[js]++; in eob_adjust()
32 diff += 16; in eob_adjust()
37 short *DQC = xd->dequant_y1; in vp8_inverse_transform_mby()
39 if (xd->mode_info_context->mbmi.mode != SPLITMV) { in vp8_inverse_transform_mby()
41 if (xd->eobs[24] > 1) { in vp8_inverse_transform_mby()
42 vp8_short_inv_walsh4x4(&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby()
[all …]

12345678910>>...20