/ndk/tests/device/test-gnustl-full/unit/ |
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) );
|
/ndk/tests/device/test-stlport/unit/ |
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/guava/guava-tests/test/com/google/common/cache/ |
CacheStatsTest.java | 64 CacheStats diff = two.minus(one); local 65 assertEquals(76, diff.requestCount()); 66 assertEquals(42, diff.hitCount()); 67 assertEquals(42.0/76, diff.hitRate()); 68 assertEquals(34, diff.missCount()); 69 assertEquals(34.0/76, diff.missRate()); 70 assertEquals(26, diff.loadSuccessCount()); 71 assertEquals(22, diff.loadExceptionCount()); 72 assertEquals(22.0/48, diff.loadExceptionRate()); 73 assertEquals(26 + 22, diff.loadCount()) [all...] |
/external/libvpx/libvpx/vpx_ports/ |
vpx_timer.h | 79 LARGE_INTEGER freq, diff; local 81 diff.QuadPart = t->end.QuadPart - t->begin.QuadPart; 84 return diff.QuadPart * 1000000 / freq.QuadPart; 86 struct timeval diff; 88 timersub(&t->end, &t->begin, &diff); 89 return diff.tv_sec * 1000000 + diff.tv_usec;
|
/external/chromium_org/tools/site_compare/operators/ |
equals.py | 32 diff = ImageChops.difference(im1, im2) 34 if max(diff.getextrema()) != (0, 0): 35 return ("The images differ", diff)
|
equals_with_mask.py | 41 diff = ImageChops.difference(im1, im2) 52 diff = ImageChops.multiply(diff, mask.convert(diff.mode)) 54 if max(diff.getextrema()) != (0, 0): 55 return ("The images differ", diff)
|
/external/skia/tools/ |
skdiff_html.cpp | 79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) { 81 stream->writeDecAsText(static_cast<int>(diff.fFractionDifference * 82 diff.fBase.fBitmap.width() * 83 diff.fBase.fBitmap.height())); 86 stream->writeDecAsText(diff.fWeightedFraction * 87 diff.fBaseWidth * 88 diff.fBaseHeight); 93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) { 95 stream->writeText(diff.fBase.fFilename.c_str()); 99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) { 287 DiffRecord* diff = differences[i]; local [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
RawContactDeltaTests.java | 45 * correctly build expected "diff" operations. 170 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 171 source.buildDiff(diff); 173 assertTrue("Created changes when none needed", (diff.size() == 0)); 188 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 189 source.buildAssert(diff); 190 source.buildDiff(diff); 191 assertEquals("Unexpected operations", 4, diff.size()); 193 final ContentProviderOperation oper = diff.get(0); 197 final ContentProviderOperation oper = diff.get(1) 228 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 267 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 300 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 325 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 353 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local [all...] |
/external/chromium_org/printing/ |
printed_page.cc | 32 int diff = paper_size.width() - page_size().width(); local 33 content_rect->set_x(content_rect->x() + diff / 2); 36 int diff = paper_size.height() - page_size().height(); local 37 content_rect->set_y(content_rect->y() + diff / 2);
|
/frameworks/base/core/java/com/android/server/ |
ResettableTimeout.java | 104 long diff; local 106 diff = mOffAt - SystemClock.uptimeMillis(); 107 if (diff <= 0) { 115 sleep(diff);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
geometry_utils.h | 42 const float diff = ROUND_FLOAT_10000(deltaA); local 43 if (diff > M_PI_F) { 44 const float normalizedDiff = 2.0f * M_PI_F - diff; 47 return diff;
|
/external/linux-tools-perf/bench/ |
sched-pipe.c | 52 struct timeval start, stop, diff; local 87 timersub(&stop, &start, &diff); 101 result_usec = diff.tv_sec * 1000000; 102 result_usec += diff.tv_usec; 105 diff.tv_sec, 106 (unsigned long) (diff.tv_usec/1000)); 117 diff.tv_sec, 118 (unsigned long) (diff.tv_usec / 1000));
|
/external/tcpdump/tests/ |
eapon1.sh | 7 if diff eapon1.new eapon1.out
|
esp0.sh | 5 if (../tcpdump -t -n -r 02-sunrise-sunset-esp.pcap | diff - esp0.out)
|
isakmp1.sh | 6 if (../tcpdump -t -n -r isakmp-delete-segfault.pcap | diff - isakmp1.out)
|
isakmp2.sh | 6 if (../tcpdump -t -n -r isakmp-pointer-loop.pcap | diff - isakmp2.out)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGBlock.cpp | 92 void RenderSVGBlock::styleWillChange(StyleDifference diff, const RenderStyle* newStyle) 94 if (diff == StyleDifferenceLayout) 96 RenderBlock::styleWillChange(diff, newStyle); 99 void RenderSVGBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) 101 RenderBlock::styleDidChange(diff, oldStyle); 102 SVGResourcesCache::clientStyleChanged(this, diff, style());
|
/external/webrtc/src/common_audio/signal_processing/ |
splitting_filter.c | 67 WebRtc_Word32 diff; local 74 // "diff" should be safe from wrap around since max values are 2^25 75 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[0], filter_state[1]); // = (x[0] - y_1[-1]) 77 out_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, filter_state[0]); 82 diff = WEBRTC_SPL_SUB_SAT_W32(in_data[k], out_data[k - 1]); // = (x[n] - y_1[n-1]) 84 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); 92 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[0], filter_state[3]); // = (y_1[0] - y_2[-1]) 94 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); 97 diff = WEBRTC_SPL_SUB_SAT_W32(out_data[k], in_data[k - 1]); // =(y_1[n] - y_2[n-1]) 99 in_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, out_data[k-1]) [all...] |
/external/libvpx/libvpx/vp9/common/arm/neon/ |
vp9_short_idct32x32_1_add_neon.asm | 32 ADD_DIFF_16x8 $diff 33 vqadd.u8 q8, q8, $diff 34 vqadd.u8 q9, q9, $diff 35 vqadd.u8 q10, q10, $diff 36 vqadd.u8 q11, q11, $diff 37 vqadd.u8 q12, q12, $diff 38 vqadd.u8 q13, q13, $diff 39 vqadd.u8 q14, q14, $diff 40 vqadd.u8 q15, q15, $diff 44 SUB_DIFF_16x8 $diff [all...] |
/external/srec/srec/crec/ |
astar_pphash.c | 48 asr_int32_t diff = 0; local 52 diff = parp1->token_index - parp2->token_index; 58 diff = parp1->word - parp2->word; 59 if (diff) 66 diff = (int)parp1->next - (int)parp2->next; 69 if (diff) 70 diff = (diff < 0 ? -1 : 1); 71 return diff;
|
/external/aac/libAACenc/src/ |
quantize.cpp | 304 FIXP_DBL diff; local 323 diff = fixp_abs(fixp_abs(invQuantSpec) - fixp_abs(mdctSpectrum[i]>>1)); 325 scale = CountLeadingBits(diff); 326 diff = scaleValue(diff, scale); 327 diff = fPow2(diff); 330 diff = scaleValue(diff, -scale); 332 xfsf = xfsf + diff; 359 FIXP_DBL diff; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/ |
confirmdiff.py | 48 def _show_pretty_diff(self, diff): 54 pretty_diff_file = pretty_patch.pretty_diff_file(diff) 58 # file alive until the user has had a chance to confirm the diff. 68 diff = self.cached_lookup(state, "diff") 69 pretty_diff_file = self._show_pretty_diff(diff) 71 self._tool.user.page(diff) 72 diff_correct = self._tool.user.confirm("Was that diff correct?")
|
/external/chromium/sdch/open-vcdiff/src/ |
vcdiffengine.h | 60 // delta file window into *diff. 63 // All thread-specific data will be stored in the coder and diff arguments. 74 OutputStringInterface* diff, 89 OutputStringInterface* diff, 108 OutputStringInterface* diff,
|