/external/llvm/lib/Support/ |
ConstantRange.cpp | 254 ConstantRange ConstantRange::difference(const ConstantRange &CR) const { function in class:ConstantRange
|
/external/webkit/Tools/DumpRenderTree/cg/ |
ImageDiffCG.cpp | 92 static RetainPtr<CGImageRef> createDifferenceImage(CGImageRef baseImage, CGImageRef testImage, float& difference) 138 // Compute the difference as a percentage combining both the number of different pixels and their difference amount i.e. the average distance over the entire image 140 difference = 100.0f * sum / (height * width); 142 difference = 0.0f; 145 // Generate a normalized diff image if there is any difference 146 if (difference > 0.0f) { 219 float difference = 100.0f; local 222 diffImage = createDifferenceImage(actualImage.get(), baselineImage.get(), difference); // difference is passed by referenc [all...] |
/external/webkit/Tools/DumpRenderTree/gtk/ |
ImageDiff.cpp | 41 { "tolerance", 0, 0, G_OPTION_ARG_DOUBLE, &tolerance, "Percentage difference between images before considering them different", "T" }, 132 // Compute the difference as a percentage combining both the number of 133 // different pixels and their difference amount i.e. the average distance 135 float difference = 0; local 137 difference = 100.0f * sum / (height * width); 138 if (difference <= tolerance) 139 difference = 0; 141 difference = roundf(difference * 100.0f) / 100.0f; 142 difference = max(difference, 0.01f); // round to 2 decimal place 167 float difference = calculateDifference(baselineImage, actualImage, &differenceImage); local [all...] |
/external/webkit/Tools/DumpRenderTree/win/ |
ImageDiffCairo.cpp | 107 static cairo_surface_t* createDifferenceImage(cairo_surface_t* baselineImage, cairo_surface_t* actualImage, float& difference) 145 // Compute the difference as a percentage combining both the number of different pixels and their difference amount i.e. the average distance over the entire image 147 difference = 100.0f * sum / (height * width); 149 difference = 0; 151 if (!difference) { 221 float difference = 100.0; local 226 diffImage = createDifferenceImage(actualImage, baselineImage, difference); // difference is passed by reference 227 if (difference <= tolerance [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
qc_main.c | 94 Word16 difference; local 98 difference = calcFrameLen( bitRate, 101 *paddingRest = *paddingRest - difference;
|
/ndk/sources/host-tools/make-3.81/ |
implicit.c | 370 unsigned int difference = lastslash - filename + 1; 371 if (difference > stemlen) 373 stemlen -= difference; 374 stem += difference; 368 unsigned int difference = lastslash - filename + 1; local
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleManagerTest.java | 48 assertTrue(Sets.difference(languageToCountry.keySet(), 82 assertTrue(Sets.difference(languageToCountry.keySet(),
|
/external/guava/guava/src/com/google/common/collect/ |
Maps.java | 304 * Computes the difference between two maps. This difference is an immutable 317 * @return the difference between the two maps 320 public static <K, V> MapDifference<K, V> difference( method in class:Maps 324 SortedMapDifference<K, V> result = difference(sortedLeft, right); 327 return difference(left, right, Equivalences.equals()); 331 * Computes the difference between two maps. This difference is an immutable 336 * equality, the value on the 'left' is returned in the difference. 346 * @return the difference between the two map 350 public static <K, V> MapDifference<K, V> difference( method in class:Maps 537 public static <K, V> SortedMapDifference<K, V> difference( method in class:Maps [all...] |
/external/icu4c/i18n/ |
nfrs.cpp | 523 int64_t difference = util64_fromDouble(uprv_maxMantissa()); local 546 if (tempDifference < difference) { 547 difference = tempDifference; 549 if (difference == 0) {
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
VideoRecorderAppState.java | 226 long difference = time - lastTime; local 228 if (difference < (1.0f / this.framerate) * 1000.0f) { 230 Thread.sleep(difference);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPoint.java | 241 int difference = WifiManager.compareSignalLevel(other.mRssi, mRssi); local 242 if (difference != 0) { 243 return difference;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
jbd.h | 203 int difference = (x - y); local 204 return (difference > 0); 209 int difference = (x - y); local 210 return (difference >= 0);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
jbd.h | 203 int difference = (x - y); local 204 return (difference > 0); 209 int difference = (x - y); local 210 return (difference >= 0);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
jbd.h | 203 int difference = (x - y); local 204 return (difference > 0); 209 int difference = (x - y); local 210 return (difference >= 0);
|
/external/aac/libAACenc/src/ |
qc_main.cpp | 215 INT difference; local 219 difference = FDKaacEnc_calcFrameLen( bitRate, 223 *paddingRest-=difference; 534 * In hyperframing mode the difference between grantedDynBits and usedDynBits of all sub frames [all...] |
/external/chromium/webkit/glue/ |
webmediaplayer_impl.cc | 73 float difference = integer - microseconds; local 75 // Round down if difference is large enough. 76 if ((microseconds > 0 && difference > 0.5f) || 77 (microseconds <= 0 && difference >= 0.5f)) {
|
/external/webkit/Source/WebCore/editing/ |
EditingStyle.cpp | 523 // CSS properties that create a visual difference only when applied to text. 534 RefPtr<CSSMutableStyleDeclaration> difference = getPropertiesNotIn(m_mutableStyle.get(), styleToCompare); local 537 difference->removePropertiesInSet(textOnlyProperties, WTF_ARRAY_LENGTH(textOnlyProperties)); 539 if (!difference->length()) 541 if (difference->length() == m_mutableStyle->length()) [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 411 float difference = vector1[i] - vector2[i]; local 412 squaredDistance += difference * difference;
|
/frameworks/base/core/java/android/widget/ |
TableLayout.java | 519 final int difference = newLength - length; local 522 if (difference > 0) { 528 mMaxWidths, oldMaxWidths.length, difference); 534 // difference will be negative
|
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_database.cc | 368 std::vector<SBPrefix> difference; local 371 std::back_inserter(difference)); 372 if (difference.size()) 373 UMA_HISTOGRAM_COUNTS_100("SB2.PrefixSetRestoredExcess", difference.size()); 376 difference.clear(); 379 std::back_inserter(difference)); 380 if (difference.size()) 382 difference.size()); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MapsTest.java | 338 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY); 348 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, SINGLETON); 358 MapDifference<Integer, Integer> diff = Maps.difference(SINGLETON, EMPTY); 373 MapDifference<Integer, String> diff1 = Maps.difference(left, right); 385 MapDifference<Integer, String> diff2 = Maps.difference(right, left); 405 MapDifference<Integer, String> original = Maps.difference(left, right); 406 MapDifference<Integer, String> same = Maps.difference(left, right); 407 MapDifference<Integer, String> reverse = Maps.difference(right, left); 408 MapDifference<Integer, String> diff2 = Maps.difference(left, right2); 432 MapDifference<Integer, String> diff1 = Maps.difference(left, right 465 MapDifference<Integer, Integer> difference = Maps.difference(map, EMPTY); local [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.cpp | 372 int difference; local 374 difference = minYear - year; 376 difference = maxYear - year; 380 int quotient = difference / 28; 398 // Get the difference between this time zone and UTC on the 1st of January of this year. [all...] |
/external/e2fsprogs/lib/ext2fs/ |
kernel-jbd.h | 843 int difference = (x - y); local 844 return (difference > 0); 849 int difference = (x - y); local 850 return (difference >= 0);
|
/external/kernel-headers/original/linux/ |
jbd.h | 1045 int difference = (x - y); local 1046 return (difference > 0); 1051 int difference = (x - y); local 1052 return (difference >= 0); [all...] |
/external/valgrind/main/VEX/priv/ |
host_s390_isel.c | 2264 ULong new_value, old_value, difference; local [all...] |