Searched defs:compare (Results 1 - 25 of 372) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1434.js30 function compare(a, b) { function
34 compare(1.5, 2.5);
35 %OptimizeFunctionOnNextCall(compare);
36 assertTrue(compare(undefined, undefined));
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DSocketStreamError.cpp36 bool SocketStreamError::compare(const SocketStreamError& a, const SocketStreamError& b) function in class:WebCore::SocketStreamError
H A DResourceError.cpp58 bool ResourceError::compare(const ResourceError& a, const ResourceError& b) function in class:WebCore::ResourceError
/external/jdiff/src/jdiff/
H A DCompareClassPdiffs.java6 * Class to compare two ClassDiff objects.
16 public int compare(Object obj1, Object obj2){ method in class:CompareClassPdiffs
H A DComparePkgPdiffs.java6 * Class to compare two PackageDiff objects.
16 public int compare(Object obj1, Object obj2){ method in class:ComparePkgPdiffs
/external/stlport/test/eh/
H A Dbug.cpp7 struct compare struct
28 std::multiset<int*,compare> m;
/external/apache-http/src/org/apache/commons/codec/
H A DStringEncoderComparator.java63 * @param o1 the object to compare
64 * @param o2 the object to compare to
68 public int compare(Object o1, Object o2) { method in class:StringEncoderComparator
/external/apache-http/src/org/apache/http/cookie/
H A DCookieIdentityComparator.java38 * This cookie comparator can be used to compare identity of cookies.
51 public int compare(final Cookie c1, final Cookie c2) { method in class:CookieIdentityComparator
H A DCookiePathComparator.java66 public int compare(final Cookie c1, final Cookie c2) { method in class:CookiePathComparator
/external/chromium_org/url/
H A Durl_util.h64 // Returns whether the given |compare| scheme matches the scheme found in the
65 // input (if any). The |compare| scheme must be a valid canonical scheme or
69 const char* compare,
73 const char* compare,
76 const char* compare,
79 compare, found_scheme);
82 const char* compare,
85 compare, found_scheme);
75 FindAndCompareScheme(const std::string& str, const char* compare, Component* found_scheme) argument
81 FindAndCompareScheme(const base::string16& str, const char* compare, Component* found_scheme) argument
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp4.cpp37 int compare(T x, T y);
40 template <> int foo<char>::compare(char x, char y);
41 template <class T> int foo<T>::compare(T x, T y) { function in class:test0::foo
/external/compiler-rt/test/msan/
H A Dtsearch.cc7 int compare(const void *pa, const void *pb) { function
26 void *q = tsearch(p, &root, compare);
/external/deqp/framework/delibs/dethread/
H A DdeAtomic.h67 * \brief Atomic compare and exchange (CAS).
69 * \param compare Old value.
71 * \return compare value if CAS passes, *dstAddr value otherwise
74 * to compare value and if that comparison passes, value is replaced with
77 * If CAS succeeds, compare value is returned. Otherwise value stored in
80 DE_INLINE deUint32 deAtomicCompareExchange32 (deUint32 volatile* dstAddr, deUint32 compare, deUint32 exchange) argument
83 return _InterlockedCompareExchange((long volatile*)dstAddr, exchange, compare);
85 return __sync_val_compare_and_swap(dstAddr, compare, exchange);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DUnsigned.java25 public static int compare(short ushortA, short ushortB) { method in class:Unsigned
34 public static int compare(int uintA, int uintB) { method in class:Unsigned
/external/proguard/src/proguard/util/
H A DObjectUtil.java61 public static int compare(Comparable object1, Comparable object2) method in class:ObjectUtil
/external/qemu/android/base/
H A DStringView.cpp19 int StringView::compare(const StringView& other) const { function in class:android::base::StringView
/external/smack/src/org/xbill/DNS/
H A DSerial.java31 compare(long serial1, long serial2) { method in class:Serial
/external/chromium_org/content/browser/fileapi/
H A Dfile_system_url_unittest.cc115 FileSystemURL::Comparator compare; local
120 compare(FileSystemURL::CreateForTest(urls[i]),
129 EXPECT_EQ(a.type() < b.type(), compare(a, b));
130 EXPECT_EQ(b.type() < a.type(), compare(b, a));
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLEntitySearch.cpp46 HTMLEntitySearch::CompareResult HTMLEntitySearch::compare(const HTMLEntityTableEntry* entry, UChar nextCharacter) const function in class:WebCore::HTMLEntitySearch
63 CompareResult result = compare(left, nextCharacter);
70 result = compare(probe, nextCharacter);
88 CompareResult result = compare(right, nextCharacter);
95 result = compare(probe, nextCharacter);
118 if (m_first == m_last && compare(m_first, nextCharacter) != Prefix)
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBKey.cpp55 // Safely compare numbers (signed/unsigned ints/floats/doubles).
66 int IDBKey::compare(const IDBKey* other) const function in class:WebCore::IDBKey
75 if (int result = m_array[i]->compare(other->m_array[i].get()))
101 return compare(other) == -1;
109 return !compare(other);
/external/chromium_org/third_party/icu/source/test/iotest/
H A Dtrnstst.c121 UChar compare[] = { 0xfeff, 0x03a3, 0x03c4, 0x03b5, 0x03c6, 0x1f00, 0x03bd, 0x03bf, 0x03c2, 0x043C, 0x0000 }; local
193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile);
195 if(len != u_strlen(compare))
197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len);
201 if(u_strlen(compare) != u_strlen(ubuf))
203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len);
206 if(u_strcmp(compare, ubuf))
227 UChar compare[] = { 0x03a3, 0x03c4, 0x03b5, 0x03c6, 0x1f00, 0x03bd, 0x03bf, 0x03c2, 0x043C, 0x0000 }; local
290 if(u_strlen(compare) != u_strlen(ubuf))
292 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), u_strle
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dhandle.c53 compare(void *key1, void *key2) function
68 handle_hash = util_hash_table_create(hash_func, compare);
/external/chromium_org/v8/test/intl/overrides/
H A Dsecurity.js36 Intl.Collator.prototype.compare = throwError;
/external/guava/guava/src/com/google/common/collect/
H A DByFunctionOrdering.java45 @Override public int compare(F left, F right) { method in class:ByFunctionOrdering
46 return ordering.compare(function.apply(left), function.apply(right));
H A DComparisonChain.java35 * .compare(this.aString, that.aString)
36 * .compare(this.anInt, that.anInt)
37 * .compare(this.anEnum, that.anEnum, Ordering.natural().nullsLast())
66 @Override public ComparisonChain compare(
70 @Override public <T> ComparisonChain compare(
72 return classify(comparator.compare(left, right));
74 @Override public ComparisonChain compare(int left, int right) {
75 return classify(Ints.compare(left, right));
77 @Override public ComparisonChain compare(long left, long right) {
78 return classify(Longs.compare(lef
107 @Override public ComparisonChain compare( method in class:ComparisonChain.InactiveComparisonChain
111 @Override public <T> ComparisonChain compare(@Nullable T left, method in class:ComparisonChain.InactiveComparisonChain
115 @Override public ComparisonChain compare(int left, int right) { method in class:ComparisonChain.InactiveComparisonChain
118 @Override public ComparisonChain compare(long left, long right) { method in class:ComparisonChain.InactiveComparisonChain
121 @Override public ComparisonChain compare(float left, float right) { method in class:ComparisonChain.InactiveComparisonChain
124 @Override public ComparisonChain compare(double left, double right) { method in class:ComparisonChain.InactiveComparisonChain
127 @Override public ComparisonChain compare(boolean left, boolean right) { method in class:ComparisonChain.InactiveComparisonChain
140 public abstract ComparisonChain compare( method in class:ComparisonChain
147 public abstract <T> ComparisonChain compare( method in class:ComparisonChain
155 public abstract ComparisonChain compare(int left, int right); method in class:ComparisonChain
162 public abstract ComparisonChain compare(long left, long right); method in class:ComparisonChain
169 public abstract ComparisonChain compare(float left, float right); method in class:ComparisonChain
176 public abstract ComparisonChain compare(double left, double right); method in class:ComparisonChain
183 public abstract ComparisonChain compare(boolean left, boolean right); method in class:ComparisonChain
[all...]

Completed in 646 milliseconds

1234567891011>>