Searched refs:compare (Results 1 - 25 of 88) sorted by relevance

1234

/haiku-fatelf/src/bin/coreutils/man/
H A Dcomm.x2 comm \- compare two sorted files line by line
H A Dtest.x2 test \- check file types and compare values
/haiku-fatelf/headers/posix/
H A Dsearch.h44 int (*compare)(const void *, const void *));
46 int (*compare)(const void *, const void *));
48 int (*compare)(const void *, const void *));
/haiku-fatelf/src/bin/unzip/
H A Dapihelp.c103 while (doc->compare && STRNICMP(doc->compare,slide,strlen(fname)))
105 if (!doc->compare)
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dskiplist.h51 int (*compare)(); member in struct:_SkipList
63 SkipList NewSL(int (*compare)(), void (*freeitem)(), int flags);
69 void DoForRangeSL(SkipList l, void *key, int (*compare)(),
H A Dsl.c63 SkipList NewSL(int (*compare)(), void (*freeitem)(), int flags) argument
68 if (compare == NULL) /* need at least a compare function... */
86 l->compare = compare;
163 int (*compare)() = l->compare;
169 while((q = p->forward[k]) && (*compare)(q->key, key) < 0)
176 if (q && (*compare)(q->key, key) == 0) /* item is a duplicate */
218 int (*compare)()
347 DoForRangeSL(SkipList l, void *key, int (*compare)(), int (*func)(), void *arg) argument
[all...]
/haiku-fatelf/src/tools/cppunit/cppunit/
H A DTypeInfoHelper.cpp22 name.compare( classPrefix, 0, classPrefix.length() );
24 name.compare( 0, classPrefix.length(), classPrefix );
/haiku-fatelf/src/tests/kits/interface/
H A DGraphicsDefsTest.cpp35 template<class T> void compare(T &a, T &b);
40 compare<const pattern>(const pattern &a, const pattern &b) function
49 compare<const rgb_color>(const rgb_color &a, const rgb_color &b) function
60 compare(T &a, T &b) function
91 #define TEST(type, constant) compare(_##constant, constant)
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcache.h104 cache_compare compare);
107 cache_compare compare);
110 cache_compare compare, int flags);
H A Dcache.c47 * A compare function must be provided for finding a wanted entry
148 const struct CACHED_GENERIC *wanted, cache_compare compare)
164 while (link && compare(link->entry, wanted))
176 && compare(current, wanted)) {
214 cache_compare compare)
230 while (link && compare(link->entry, item))
245 && compare(current, item)) {
367 * compare function may be provided to select entries to invalidate
375 const struct CACHED_GENERIC *item, cache_compare compare,
395 if (compare(lin
147 ntfs_fetch_cache(struct CACHE_HEADER *cache, const struct CACHED_GENERIC *wanted, cache_compare compare) argument
212 ntfs_enter_cache(struct CACHE_HEADER *cache, const struct CACHED_GENERIC *item, cache_compare compare) argument
374 ntfs_invalidate_cache(struct CACHE_HEADER *cache, const struct CACHED_GENERIC *item, cache_compare compare, int flags) argument
[all...]
/haiku-fatelf/src/tests/kits/support/
H A Dstring_utf8_tests.cpp75 const char *compare = "����+��"B_UTF8_ELLIPSIS"different"; local
76 if (string.CompareChars(compare, 5) != 0) {
82 if (string.CompareChars(compare, 6) == 0) {
/haiku-fatelf/src/add-ons/locale/collators/
H A DFrench.cpp100 int compare = CompareSecondary(context); local
101 if (compare != 0)
102 return compare;
194 int compare = _inherited::Compare(a, b, length, B_COLLATE_PRIMARY, ignorePunctuation); local
195 if (strength == B_COLLATE_PRIMARY || compare != 0)
196 return compare;
216 int32 compare = Compare(a, b, length, B_COLLATE_SECONDARY, ignorePunctuation); local
217 if (compare != 0)
218 return compare;
/haiku-fatelf/src/servers/app/drawing/Painter/drawing_modes/
H A DDrawingModeSelect.h29 // compare
31 compare(uint8* p, const rgb_color& high, const rgb_color& low, rgb_color* result) function
63 if (compare(p, high, low, &color)) {
86 && compare(p, high, low, &color))
94 && compare(p, high, low, &color)) {
115 if (*covers && compare(p, high, low, &color)) {
143 if (*covers && compare(p, high, low, &color)) {
172 if (*covers && colors->a > 0 && compare(p, high, low, &color)) {
187 if (colors->a > 0 && compare(p, high, low, &color)) {
196 if (colors->a > 0 && compare(
[all...]
H A DDrawingModeSelectSUBPIX.h37 if (compare(p, high, low, &color)){
/haiku-fatelf/src/tests/kits/locale/
H A DcollatorTest.cpp74 int compare = gCollator->Compare(strings[i], strings[i - 1]); local
75 if (compare > 0)
77 else if (compare < 0) {
90 if (keyCompare > 0 || (keyCompare == 0 && compare != 0))
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A DREADME54 To compare the output of two or more runs, use multiview in the src
57 % ./multiview reference compare1 compare2 compare2 > compare.html
60 where the reference and compare files contain the output of different
63 The compare.html file will allow quick comparisons to be drawn,
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_create/speculative/
H A D2-1.c24 int compare(const void *key, const void *amemb) function
67 if (lfind(&tid, tids, &i, sizeof(timer_t), compare) != NULL) {
/haiku-fatelf/src/bin/sharutils/intl/
H A Dbindtextdom.c80 int compare = strcmp (domainname, binding->domainname); local
81 if (compare == 0)
84 if (compare < 0)
/haiku-fatelf/headers/cpp/std/
H A Dbastring.h411 int compare (const basic_string& str, size_type pos = 0, size_type n = npos) const;
415 int compare (const charT* s, size_type pos, size_type n) const;
418 int compare (size_type pos, size_type n, const charT* s) const function in class:basic_string
419 { return compare(s, pos, n); }
420 int compare (const charT* s, size_type pos = 0) const function in class:basic_string
421 { return compare (s, pos, traits::length (s)); }
542 return (lhs.compare (rhs) == 0);
549 return (rhs.compare (lhs) == 0);
556 return (lhs.compare (rhs) == 0);
563 return (rhs.compare (lh
[all...]
H A Dstraits.h59 static int compare (const char_type* s1, const char_type* s2, size_t n) function in struct:string_char_traits
122 static int compare (const char_type* s1, const char_type* s2, size_t n) function in struct:string_char_traits
150 static int compare (const char_type* s1, const char_type* s2, size_t n)
/haiku-fatelf/src/preferences/filetypes/
H A DExtensionWindow.cpp40 int compare = strcasecmp(a, b); local
41 if (compare != 0)
42 return compare;
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs_boot.cpp78 int compare = strcasecmp(a->ContentName(), b->ContentName()); local
79 if (!compare)
91 return compare;
110 int compare = (int)aIsCD - (int)bIsCD; local
111 if (compare != 0)
112 return compare;
/haiku-fatelf/src/bin/rc/
H A DMakefile6 CXXFLAGS = -O2 -Wall -Wno-multichar -Wno-sign-compare -Wno-unused
/haiku-fatelf/build/scripts/
H A Dmacosx_merge_lipo.pl76 } elsif (File::Compare::compare ($_, $destname) != 0) {
/haiku-fatelf/headers/os/support/
H A DObjectList.h192 int (*compare)(const Key*, const T*)) const;
196 int (*compare)(const Key*, const T*, void*),
200 CompareFunction compare) const;
202 CompareFunctionWithState compare,
207 int (*compare)(const Key*, const T*)) const;
729 int (*compare)(const Key*, const T*)) const
732 (GenericCompareFunction)compare);
740 int (*compare)(const Key*, const T*, void*), void* state) const
743 (GenericCompareFunctionWithState)compare, state);
749 BObjectList<T>::BinarySearchIndex(const T& item, CompareFunction compare) cons
758 BinarySearchIndex(const T& item, CompareFunctionWithState compare, void* state) const argument
[all...]

Completed in 135 milliseconds

1234