Searched refs:diff (Results 1 - 25 of 1087) sorted by relevance

1234567891011>>

/external/desugar/test/java/com/google/devtools/build/android/desugar/
H A Ddiff.sh16 diff "$1" "$2"
/external/webrtc/webrtc/common_audio/signal_processing/
H A Dresample_by_2_internal.c34 int32_t tmp0, tmp1, diff; local
43 diff = tmp0 - state[1];
45 diff = (diff + (1 << 13)) >> 14;
46 tmp1 = state[0] + diff * kResampleAllpass[1][0];
48 diff = tmp1 - state[2];
50 diff = diff >> 14;
51 if (diff < 0)
52 diff
129 int32_t tmp0, tmp1, diff; local
203 int32_t tmp0, tmp1, diff; local
273 int32_t tmp0, tmp1, diff; local
343 int32_t tmp0, tmp1, diff; local
422 int32_t tmp0, tmp1, diff; local
555 int32_t tmp0, tmp1, diff; local
[all...]
H A Dresample_by_2_mips.c151 int32_t tmp1, tmp2, diff; local
157 diff = in32 - state1;
158 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0);
160 diff = tmp1 - state2;
161 tmp2 = MUL_ACCUM_2(kResampleAllpass2[1], diff, state1);
163 diff = tmp2 - state3;
164 state3 = MUL_ACCUM_2(kResampleAllpass2[2], diff, state2);
169 diff = in32 - state5;
170 tmp1 = MUL_ACCUM_1(kResampleAllpass1[0], diff, state4);
172 diff
[all...]
/external/selinux/prebuilts/bin/
H A Dsediff.py30 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)
132 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
[all...]
/external/webp/src/utils/
H A Drandom_utils.h41 int diff; local
43 diff = rg->tab_[rg->index1_] - rg->tab_[rg->index2_];
44 if (diff < 0) diff += (1u << 31);
45 rg->tab_[rg->index1_] = diff;
49 diff = (int)((uint32_t)diff << 1) >> (32 - num_bits);
50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range
51 diff
[all...]
/external/clang/test/CodeGenCXX/
H A Dfunction-template-specialization.cpp7 T* next(T* ptr, const U& diff);
10 T* next(T* ptr, const U& diff) { argument
11 return ptr + diff;
14 void test(int *iptr, float *fptr, int diff) { argument
16 iptr = next(iptr, diff);
19 fptr = next(fptr, diff);
23 T* next(T* ptr, const U& diff);
25 void test2(int *iptr, double *dptr, int diff) { argument
26 iptr = next(iptr, diff);
29 dptr = next(dptr, diff);
[all...]
/external/icu/icu4c/source/i18n/
H A Dbocsu.cpp33 u_writeDiff(int32_t diff, uint8_t *p) { argument
34 if(diff>=SLOPE_REACH_NEG_1) {
35 if(diff<=SLOPE_REACH_POS_1) {
36 *p++=(uint8_t)(SLOPE_MIDDLE+diff);
37 } else if(diff<=SLOPE_REACH_POS_2) {
38 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT));
39 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT);
40 } else if(diff<=SLOPE_REACH_POS_3) {
41 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT);
42 diff/
[all...]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/
H A DdiffiSAC.txt4 diff ../dataqa350/i30_1DTMF_16kHz_long.pcm ../dataqa351/i30_1DTMF_16kHz_long.pcm
5 diff ../dataqa350/i60_1DTMF_16kHz_long.pcm ../dataqa351/i60_1DTMF_16kHz_long.pcm
6 diff ../dataqa350/i30_2DTMF_16kHz_long.pcm ../dataqa351/i30_2DTMF_16kHz_long.pcm
7 diff ../dataqa350/i60_2DTMF_16kHz_long.pcm ../dataqa351/i60_2DTMF_16kHz_long.pcm
8 diff ../dataqa350/i30_3DTMF_16kHz_long.pcm ../dataqa351/i30_3DTMF_16kHz_long.pcm
9 diff ../dataqa350/i60_3DTMF_16kHz_long.pcm ../dataqa351/i60_3DTMF_16kHz_long.pcm
10 diff ../dataqa350/i30_4DTMF_16kHz_long.pcm ../dataqa351/i30_4DTMF_16kHz_long.pcm
11 diff ../dataqa350/i60_4DTMF_16kHz_long.pcm ../dataqa351/i60_4DTMF_16kHz_long.pcm
12 diff ../dataqa350/i30_5DTMF_16kHz_long.pcm ../dataqa351/i30_5DTMF_16kHz_long.pcm
13 diff
[all...]
H A DdiffiSACPLC.txt10 diff $OUTDIR1/outplc1.pcm $OUTDIR2/outplc1.pcm
11 diff $OUTDIR1/outplc2.pcm $OUTDIR2/outplc2.pcm
12 diff $OUTDIR1/outplc3.pcm $OUTDIR2/outplc3.pcm
13 diff $OUTDIR1/outplc4.pcm $OUTDIR2/outplc4.pcm
14 diff $OUTDIR1/outplc5.pcm $OUTDIR2/outplc5.pcm
15 diff $OUTDIR1/outplc6.pcm $OUTDIR2/outplc6.pcm
/external/v8/tools/foozzie/
H A Dv8_foozzie_test.py24 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
[all...]
/external/trappy/hooks/
H A Dpre-commit26 git diff-index --check --cached HEAD --
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DBOCSU.java254 * @param diff
259 private static final int writeDiff(int diff, byte buffer[], int offset) argument
261 if (diff >= SLOPE_REACH_NEG_1_) {
262 if (diff <= SLOPE_REACH_POS_1_) {
263 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff);
265 else if (diff <= SLOPE_REACH_POS_2_) {
267 + (diff / SLOPE_TAIL_COUNT_));
269 (diff % SLOPE_TAIL_COUNT_));
271 else if (diff <= SLOPE_REACH_POS_3_) {
273 + (diff
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DBOCSU.java253 * @param diff
258 private static final int writeDiff(int diff, byte buffer[], int offset) argument
260 if (diff >= SLOPE_REACH_NEG_1_) {
261 if (diff <= SLOPE_REACH_POS_1_) {
262 buffer[offset ++] = (byte)(SLOPE_MIDDLE_ + diff);
264 else if (diff <= SLOPE_REACH_POS_2_) {
266 + (diff / SLOPE_TAIL_COUNT_));
268 (diff % SLOPE_TAIL_COUNT_));
270 else if (diff <= SLOPE_REACH_POS_3_) {
272 + (diff
[all...]
/external/libvpx/libvpx/vpx_dsp/mips/
H A Dsubtract_mmi.c16 void vpx_subtract_block_mmi(int rows, int cols, int16_t *diff, argument
84 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t"
85 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t"
86 MMI_ADDU(%[diff], %[diff], %[diff_stride])
90 "gssdlc1 %[ftmp11], 0x07(%[diff]) \n\t"
91 "gssdrc1 %[ftmp11], 0x00(%[diff]) \n\t"
92 MMI_ADDU(%[diff], %[diff], %[diff_stride])
96 "gssdlc1 %[ftmp11], 0x07(%[diff]) \
[all...]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
H A DDifferenceTest.java39 Difference diff = Difference.calculate(a, b);
40 assertEquals(0, diff.getElements().size());
54 Difference diff = Difference.calculate(a, b);
55 assertEquals(4, diff.getElements().size());
56 assertEquals(added(new CsmToken(GeneratedJavaParserConstants.LPAREN)), diff.getElements().get(0));
57 assertEquals(added(new CsmChild(n1)), diff.getElements().get(1));
58 assertEquals(added(new CsmToken(GeneratedJavaParserConstants.RPAREN)), diff.getElements().get(2));
59 assertEquals(added(new CsmChild(n2)), diff.getElements().get(3));
73 Difference diff = Difference.calculate(a, b);
74 assertEquals(4, diff
[all...]
/external/icu/icu4c/source/common/
H A Ducnvbocu.cpp214 /* 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)
219 /** Encode a diff value in a single byte. */
220 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff))
222 /** Is a diff value encodable in two bytes? */
223 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_
287 packDiff(int32_t diff) argument
400 int32_t prev, c, diff; local
660 int32_t prev, c, diff; local
884 int32_t diff, count; local
964 int32_t prev, count, diff, c; local
1186 int32_t prev, count, diff, c; local
[all...]
/external/google-breakpad/src/tools/solaris/dump_syms/
H A Drun_regtest.sh40 diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.sym > \
41 testdata/dump_syms_regtest.diff
45 rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new
48 echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
/external/google-breakpad/src/tools/windows/dump_syms/
H A Drun_regtest.sh42 diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.sym > \
43 testdata/dump_syms_regtest.diff
47 rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new
50 echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
/external/tensorflow/tensorflow/core/util/
H A Dequal_graph_def.h36 // diff != nullptr, *diff is set to an explanation of the difference. Note that
40 string* diff, const EqualGraphDefOptions& options = {});
56 // diff != nullptr, *diff is set to an explanation of the difference.
57 bool EqualNodeDef(const NodeDef& actual, const NodeDef& expected, string* diff,
71 // different and diff != nullptr, *diff is set to an explanation of the
75 string* diff,
91 string diff; \
[all...]
/external/vulkan-validation-layers/scripts/
H A Dcheck_code_format.sh25 FILES_TO_CHECK=$(git diff --name-only master | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$")
32 FORMAT_DIFF=$(git diff -U0 master -- ${FILES_TO_CHECK} | python ./scripts/clang-format-diff.py -p1 -style=file)
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetBOCU1.java207 /* 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){ argument
211 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1);
214 /** Encode a diff value in a single byte. */
215 private static int PACK_SINGLE_DIFF(int diff){ argument
216 return (BOCU1_MIDDLE+(diff));
219 /** Is a diff value encodable in two bytes? */
220 private static boolean DIFF_IS_DOUBLE(int diff){ argument
237 int prev, c , diff; field in class:CharsetBOCU1.CharsetEncoderBOCU
690 int prev, c , diff, count; field in class:CharsetBOCU1.CharsetDecoderBOCU
[all...]
/external/annotation-tools/annotation-file-utilities/tests/system-test/
H A DMakefile40 out2.diff: out2.jaif
41 diff -u expected-annos.jaif out2.jaif > out2.diff
44 # Fail if out2.diff is non-empty
45 check-out2: out2.diff
46 [ ! -s out2.diff ] || (cat out2.diff && false)
66 out5.diff: out5.jaif
67 diff -u expected-annos.jaif out5.jaif > out5.diff
[all...]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Dlsf_to_lsp.c32 int16_t diff; /* difference, which is used for the local
47 diff = (freq&0x00ff);
56 tmpW32 = WebRtcIlbcfix_kCosDerivative[k] * diff;
H A Dnearest_neighbor.c28 const size_t diff = local
30 if (diff < min_diff) {
32 min_diff = diff;
/external/ltp/tools/pounder21/test_scripts/
H A Dcopy_large_tree32 diff -Naur /usr "$TREE_DEST/usr/" | tee "$POUNDER_TMPDIR/copytree.diff"
37 # Anything in the diff?
38 DIFF_ERRORS=`wc -l < $POUNDER_TMPDIR/copytree.diff`

Completed in 707 milliseconds

1234567891011>>