Searched defs:compare (Results 51 - 75 of 489) sorted by relevance

1234567891011>>

/external/replicaisland/src/com/replica/replicaisland/
H A DChannelSystem.java87 public int compare(final Channel object1, final Channel object2) { method in class:ChannelSystem.ChannelComparator
H A DPhasedObjectManager.java88 public int compare(BaseObject object1, BaseObject object2) { method in class:PhasedObjectManager.PhasedObjectComparator
/external/strace/
H A Dioctl.c43 compare(const void *a, const void *b) function
56 nioctlents, sizeof(ioctlent[0]), compare);
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/
H A DFrequency.java415 if (c.compare(v, freqTable.firstKey()) < 0) {
419 if (c.compare(v, freqTable.lastKey()) >= 0) {
426 if (c.compare(v, nextValue) > 0) {
572 public int compare(Comparable<T> o1, Comparable<T> o2) { method in class:Frequency.NaturalComparator
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DNodeSorter.java86 // Create a vector of node compare elements
114 * Return the results of a compare of two nodes.
115 * TODO: Optimize compare -- cache the getStringExpr results, key by m_selectPat + hash of node.
117 * @param n1 First node to use in compare
118 * @param n2 Second node to use in compare
122 * @return The results of the compare of the two nodes.
126 int compare( method in class:NodeSorter
165 // Can't use NaN for compare. They are never equal. Use zero instead.
174 result = compare(n1, n2, kIndex + 1, support);
231 // Use collation keys for faster compare, bu
[all...]
/external/autotest/client/common_lib/
H A Dmagic.py119 def compare(self, data): member in class:MagicTest
1039 type = test.compare(data)
/external/deqp/framework/delibs/dethread/
H A DdeAtomic.h87 * \brief Atomic compare and exchange (CAS) 32-bit value.
89 * \param compare Old value.
91 * \return compare value if CAS passes, *dstAddr value otherwise
94 * to compare value and if that comparison passes, value is replaced with
97 * If CAS succeeds, compare value is returned. Otherwise value stored in
100 DE_INLINE deUint32 deAtomicCompareExchangeUint32 (volatile deUint32* dstAddr, deUint32 compare, deUint32 exchange) argument
103 return _InterlockedCompareExchange((volatile long*)dstAddr, exchange, compare);
105 return __sync_val_compare_and_swap(dstAddr, compare, exchange);
171 * \brief Atomic compare and exchange (CAS) 64-bit value.
173 * \param compare Ol
184 deAtomicCompareExchangeUint64(volatile deUint64* dstAddr, deUint64 compare, deUint64 exchange) argument
243 deAtomicCompareExchangePtr(void* volatile* dstAddr, void* compare, void* exchange) argument
[all...]
/external/e2fsprogs/intl/
H A Dbindtextdom.c118 int compare = strcmp (domainname, binding->domainname); local
119 if (compare == 0)
122 if (compare < 0)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DTimeLineGraphItem.java63 public int compare(Object o1, Object o2) { method in class:TimeLineGraphItem.GraphItemComparator
/external/freetype/include/freetype/internal/
H A Dfthash.h86 FT_Hash_CompareFunc compare; member in struct:FT_HashRec_
/external/freetype/src/cache/
H A Dftcmru.c206 FTC_MruNode_CompareFunc compare = list->clazz.node_compare; local
218 if ( compare( node, key ) )
/external/guava/guava/src/com/google/common/collect/
H A DReverseNaturalOrdering.java33 @Override public int compare(Comparable left, Comparable right) { method in class:ReverseNaturalOrdering
H A DReverseOrdering.java37 @Override public int compare(T a, T b) { method in class:ReverseOrdering
38 return forwardOrder.compare(b, a);
/external/guava/guava/src/com/google/common/primitives/
H A DSignedBytes.java92 * Byte#compare}.
94 * @param a the first {@code byte} to compare
95 * @param b the second {@code byte} to compare
99 // TODO(kevinb): if Ints.compare etc. are ever removed, *maybe* remove this
100 // one too, which would leave compare methods only on the Unsigned* classes.
101 public static int compare(byte a, byte b) { method in class:SignedBytes
170 * #compare(byte, byte)}), the first pair of values that follow any common
191 public int compare(byte[] left, byte[] right) { method in class:SignedBytes.LexicographicalComparator
194 int result = SignedBytes.compare(left[i], right[i]);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DTreeMultimapExplicitTest.java41 * Compare strings lengths, and if the lengths are equal compare the strings.
48 public int compare(String first, String second) { method in class:TreeMultimapExplicitTest.StringLength
/external/guava/guava-tests/test/com/google/common/collect/
H A DTreeMultimapExplicitTest.java43 * Compare strings lengths, and if the lengths are equal compare the strings.
50 public int compare(String first, String second) { method in class:TreeMultimapExplicitTest.StringLength
/external/icu/android_icu4j/src/main/java/android/icu/lang/
H A DCharSequences.java124 * Utility to compare a string to a code point.
134 public static int compare(CharSequence string, int codePoint) { method in class:CharSequences
169 * Utility to compare a string to a code point.
178 public static int compare(int codepoint, CharSequence a) { method in class:CharSequences
179 int result = compare(a, codepoint);
220 public static int compare(CharSequence a, CharSequence b) { method in class:CharSequences
242 return a.length() == b.length() && compare(a,b) == 0;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DCollationThaiTest.java71 // Vowels reorder, should compare \u0e2d and \u0e34
142 // Loop through each word in the dictionary and compare it to the previous
168 int result = coll.compare(lastWord, word);
173 String msg = "--------------------------------------------\n" + line + " compare("
238 if (collator.compare(tests[i], tests[j]) > 0) {
307 public int compare(String string1, String string2) method in class:CollationThaiTest.StrCmp
309 return collator.compare(string1, string2);
/external/icu/icu4c/source/common/unicode/
H A Dnormlzr.h35 * There is one exception: The new API does not provide a replacement for Normalizer::compare().
278 * the user may have to put the string in its normalized form and compare the
425 * Set to compare strings case-insensitively using case folding,
449 compare(const UnicodeString &s1, const UnicodeString &s2,
580 * @param that a Normalizer object to compare this one to
590 * @param that a Normalizer object to compare this one to
795 Normalizer::compare(const UnicodeString &s1, const UnicodeString &s2, function in class:Normalizer
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
H A DCharSequences.java122 * Utility to compare a string to a code point.
132 public static int compare(CharSequence string, int codePoint) { method in class:CharSequences
167 * Utility to compare a string to a code point.
176 public static int compare(int codepoint, CharSequence a) { method in class:CharSequences
177 int result = compare(a, codepoint);
218 public static int compare(CharSequence a, CharSequence b) { method in class:CharSequences
240 return a.length() == b.length() && compare(a,b) == 0;
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCollatorICU.java50 public int compare(Object o1, Object o2) { method in class:CollatorICU
51 return fIcuCollator.compare(o1, o2);
55 public int compare(String source, String target) { method in class:CollatorICU
56 return fIcuCollator.compare(source, target);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationThaiTest.java70 // Vowels reorder, should compare \u0e2d and \u0e34
141 // Loop through each word in the dictionary and compare it to the previous
167 int result = coll.compare(lastWord, word);
172 String msg = "--------------------------------------------\n" + line + " compare("
237 if (collator.compare(tests[i], tests[j]) > 0) {
306 public int compare(String string1, String string2) method in class:CollationThaiTest.StrCmp
308 return collator.compare(string1, string2);
/external/libchrome/base/strings/
H A Dstring_number_conversions_unittest.cc705 std::vector<uint8_t> compare; local
709 compare.push_back(static_cast<uint8_t>(cases[i].output[j]));
710 ASSERT_EQ(output.size(), compare.size()) << i << ": " << cases[i].input;
711 EXPECT_TRUE(std::equal(output.begin(), output.end(), compare.begin())) <<
809 EXPECT_EQ(hex.compare("01FF02FE038081"), 0);
/external/libdrm/amdgpu/
H A Dutil_hash_table.c59 int (*compare)(void *key1, void *key2); member in struct:util_hash_table
77 int (*compare)(void *key1, void *key2))
92 ht->compare = compare;
107 if (!ht->compare(item->key, key))
125 if (!ht->compare(item->key, key))
/external/ltp/testcases/kernel/syscalls/mlockall/
H A Dmlockall03.c87 int compare(char s1[], char s2[]);
126 if ((compare(ref_release, buf->release)) <= 0) {
195 int compare(char s1[], char s2[]) function

Completed in 760 milliseconds

1234567891011>>