/external/webrtc/src/common_audio/signal_processing/ |
resample_by_2_internal.c | 34 WebRtc_Word32 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 += 1 129 WebRtc_Word32 tmp0, tmp1, diff; local 203 WebRtc_Word32 tmp0, tmp1, diff; local 273 WebRtc_Word32 tmp0, tmp1, diff; local 343 WebRtc_Word32 tmp0, tmp1, diff; local 422 WebRtc_Word32 tmp0, tmp1, diff; local 555 WebRtc_Word32 tmp0, tmp1, diff; local [all...] |
resample_by_2.c | 28 // Return: state + ((diff * tbl_value) >> 16) 31 WebRtc_Word32 diff, 34 __asm__("smlawb %r0, %r1, %r2, %r3": "=r"(result): "r"(diff), 40 // Return: Return: state + (((diff << 1) * tbl_value) >> 32) 47 WebRtc_Word32 diff, 50 __asm__("smmla %r0, %r1, %r2, %r3": "=r"(result): "r"(diff << 1), 71 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; local 86 diff = in32 - state1; 87 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); 89 diff = tmp1 - state2 128 WebRtc_Word32 tmp1, tmp2, diff, in32, out32; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
sub.cpp | 39 Description: Changed all occurrences of L_diff to diff, deleted "short" in 113 diff = 16-bit limited difference between var1 and var2 (Word16) 146 Word32 diff; 148 diff = (Word32) var1 - var2; 154 var_out = saturate (diff); 193 Word32 diff; local 195 diff = (Word32) var1 - var2; 199 /* to conserve MIPS, i.e., var_out = saturate (diff) */ 202 if ((UWord32)(diff - 0xFFFF8000L) > 0x000FFFF) 204 if (diff > (Word32) 0x0007FFFL [all...] |
/external/clang/test/CodeGenCXX/ |
function-template-specialization.cpp | 3 T* next(T* ptr, const U& diff); 6 T* next(T* ptr, const U& diff) { 7 return ptr + diff; 10 void test(int *iptr, float *fptr, int diff) { 12 iptr = next(iptr, diff); 15 fptr = next(fptr, diff); 19 T* next(T* ptr, const U& diff); 21 void test2(int *iptr, double *dptr, int diff) { 22 iptr = next(iptr, diff); 25 dptr = next(dptr, diff); [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
diffiSAC.txt | 4 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 ../dataqa350/i60_5DTMF_16kHz_long.pcm ../dataqa351/i60_5DTMF_16kHz_long.pc [all...] |
diffiSACPLC.txt | 10 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/skia/tools/skpdiff/ |
SkDifferentPixelsMetric_opencl.cpp | 20 "__kernel void diff(read_only image2d_t baseline, read_only image2d_t test, \n" 53 QueuedDiff* diff = fQueuedDiffs.push(); local 56 diff->finished = false; 57 diff->result = -1.0; 58 diff->numDiffPixels = 0; 59 diff->poi = NULL; 65 diff->finished = true; 70 if (!this->makeImage2D(baseline, &diff->baseline) || !this->makeImage2D(test, &diff->test)) { 71 diff->finished = true 141 QueuedDiff* diff = &fQueuedDiffs[id]; local [all...] |
/external/smack/src/org/xbill/DNS/ |
Serial.java | 36 long diff = serial1 - serial2; local 37 if (diff >= MAX32) 38 diff -= (MAX32 + 1); 39 else if (diff < -MAX32) 40 diff += (MAX32 + 1); 41 return (int)diff;
|
/external/chromium_org/third_party/icu/source/i18n/ |
bocsu.c | 29 u_writeDiff(int32_t diff, uint8_t *p) { 30 if(diff>=SLOPE_REACH_NEG_1) { 31 if(diff<=SLOPE_REACH_POS_1) { 32 *p++=(uint8_t)(SLOPE_MIDDLE+diff); 33 } else if(diff<=SLOPE_REACH_POS_2) { 34 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); 35 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); 36 } else if(diff<=SLOPE_REACH_POS_3) { 37 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); 38 diff/=SLOPE_TAIL_COUNT [all...] |
/external/libnfc-nxp/Linux_x86/ |
phOsalNfc_Utils.c | 42 int8_t diff = 0; local 47 for(;((n>0)&&(diff==0));n--,b1++,b2++) 49 diff = *b1 - *b2; 52 return (int)diff;
|
/external/icu4c/i18n/ |
bocsu.cpp | 31 u_writeDiff(int32_t diff, uint8_t *p) { 32 if(diff>=SLOPE_REACH_NEG_1) { 33 if(diff<=SLOPE_REACH_POS_1) { 34 *p++=(uint8_t)(SLOPE_MIDDLE+diff); 35 } else if(diff<=SLOPE_REACH_POS_2) { 36 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); 37 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); 38 } else if(diff<=SLOPE_REACH_POS_3) { 39 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); 40 diff/=SLOPE_TAIL_COUNT [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
diff_parser_unittest.py | 45 diff = parser.files['WebCore/rendering/style/StyleFlexibleBoxData.h'] 46 self.assertEqual(7, len(diff.lines)) 48 self.assertEqual((47, 47), diff.lines[0][0:2]) 49 self.assertEqual('', diff.lines[0][2]) 50 self.assertEqual((48, 48), diff.lines[1][0:2]) 51 self.assertEqual(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2]) 53 self.assertEqual((50, 0), diff.lines[3][0:2]) 54 self.assertEqual(' unsigned orient: 1; // EBoxOrient', diff.lines[3][2]) 58 diff = parser.files['WebCore/rendering/style/StyleRareInheritedData.cpp'] 60 self.assertEqual(7 + 7 + 9, len(diff.lines) [all...] |
/external/icu4c/common/ |
ucnvbocu.cpp | 212 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 214 /** Is a diff value encodable in a single byte? */ 215 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) 217 /** Encode a diff value in a single byte. */ 218 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) 220 /** Is a diff value encodable in two bytes? */ 221 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2 398 int32_t prev, c, diff; local 651 int32_t prev, c, diff; local 867 int32_t diff, count; local 947 int32_t prev, count, diff, c; local 1169 int32_t prev, count, diff, c; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnvbocu.c | 248 * mode decoder's incomplete (diff<<2)|count (ignored when toULength==0) 263 * @param diff difference value -0x10ffff..0x10ffff 271 packDiff(int32_t diff) { 274 if(diff>=BOCU1_REACH_NEG_1) { 277 if(diff<=BOCU1_REACH_POS_1) { 279 return 0x01000000|(BOCU1_MIDDLE+diff); 282 if(diff<=BOCU1_REACH_POS_2) { 284 diff-=BOCU1_REACH_POS_1+1; 287 m=diff%BOCU1_TRAIL_COUNT; 288 diff/=BOCU1_TRAIL_COUNT 393 int32_t prev, c, diff; local 646 int32_t prev, c, diff; local 862 int32_t diff, count; local 942 int32_t prev, count, diff, c; local 1164 int32_t prev, count, diff, c; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
prettypatch.py | 37 def pretty_diff_file(self, diff): 40 assert(isinstance(diff, str)) 41 pretty_diff = self.pretty_diff(diff) 47 def pretty_diff(self, diff): 50 if not diff: 62 # PrettyPatch does not modify the encoding of the diff output 64 return self._executive.run_command(args, input=diff, decode_output=False)
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
HasCoverage.java | 28 int diff = Math.round(entity.getCoveragePercentage()) local 30 return diff != 0 ? diff : entity.getName().compareTo(otherEntity.getName());
|
/external/llvm/tools/llvm-diff/ |
Makefile | 1 ##===- tools/llvm-diff/Makefile ----------------------------*- Makefile -*-===## 11 TOOLNAME := llvm-diff
|
/external/stlport/test/unit/ |
setdiff_test.cpp | 63 vector<int> diff; local 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 65 CPPUNIT_ASSERT( diff.size() == 14 ); 68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); 77 string diff; local 79 back_inserter(diff), less<char>()); 80 CPPUNIT_ASSERT( diff.size() == 22 ); 83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); 115 vector<int> diff; local 116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 128 string diff; local [all...] |
setunion_test.cpp | 61 vector<int> diff; local 62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 63 CPPUNIT_ASSERT( diff.size() == 17 ); 65 CPPUNIT_ASSERT( diff[i] == i ); 74 string diff; local 76 back_inserter(diff), less<char>()); 77 CPPUNIT_ASSERT( diff.size() == 26 ); 79 CPPUNIT_ASSERT( diff[i] == ('A' + i) );
|
/external/valgrind/main/none/tests/s390x/ |
stck.c | 25 unsigned long start, end, diff; local 34 diff = clockticks_in_msec(end, start); 35 if (diff >= 1000 && diff < 1500)
|
stckf.c | 25 unsigned long start, end, diff; local 35 diff = clockticks_in_msec(end, start); 36 if (diff >= 1000 && diff < 1500)
|
/ndk/tests/device/test-gnustl-full/unit/ |
setdiff_test.cpp | 63 vector<int> diff; local 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 65 CPPUNIT_ASSERT( diff.size() == 14 ); 68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); 77 string diff; local 79 back_inserter(diff), less<char>()); 80 CPPUNIT_ASSERT( diff.size() == 22 ); 83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); 115 vector<int> diff; local 116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 128 string diff; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
setdiff_test.cpp | 63 vector<int> diff; local 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 65 CPPUNIT_ASSERT( diff.size() == 14 ); 68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); 77 string diff; local 79 back_inserter(diff), less<char>()); 80 CPPUNIT_ASSERT( diff.size() == 22 ); 83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); 115 vector<int> diff; local 116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 128 string diff; local [all...] |
/external/clang/utils/ABITest/layout/ |
Makefile | 29 test.%.report: test.%.x.diff test.%.y.diff 42 .PRECIOUS: test.%.x.diff 43 test.%.x.diff: test.%.ref.out test.%.x.out 44 -diff $^ > $@ 45 .PRECIOUS: test.%.y.diff 46 test.%.y.diff: test.%.ref.out test.%.y.out 47 -diff $^ > $@
|
/external/tcpdump/tests/ |
bgp_vpn_attrset.sh | 4 if (../tcpdump -t -n -v -r bgp_vpn_attrset.pcap | diff -w - bgp_vpn_attrset.out)
|