/haiku/src/kits/package/ |
H A D | PackageResolvableExpression.cpp | 161 int compare = version.Compare(fVersion); local 165 matches = compare < 0; 168 matches = compare <= 0; 171 matches = compare == 0; 174 matches = compare != 0; 177 matches = compare >= 0; 180 matches = compare > 0; 191 return compare == 0; 195 return compare <= 0 || compatibleVersion.Compare(fVersion) <= 0;
|
/haiku/src/bin/unzip/ |
H A D | apihelp.c | 103 while (doc->compare && STRNICMP(doc->compare,slide,strlen(fname))) 105 if (!doc->compare)
|
/haiku/headers/posix/ |
H A D | search.h | 44 int (*compare)(const void *, const void *)); 46 int (*compare)(const void *, const void *)); 48 int (*compare)(const void *, const void *));
|
/haiku/src/tools/cppunit/cppunit/ |
H A D | TypeInfoHelper.cpp | 22 name.compare( classPrefix, 0, classPrefix.length() ); 24 name.compare( 0, classPrefix.length(), classPrefix );
|
/haiku/src/tests/kits/interface/ |
H A D | GraphicsDefsTest.cpp | 35 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/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | cache.h | 104 cache_compare compare); 107 cache_compare compare); 110 cache_compare compare, int flags);
|
H A D | cache.c | 47 * 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/src/tests/kits/support/ |
H A D | string_utf8_tests.cpp | 76 const char *compare = "����+��" B_UTF8_ELLIPSIS "different"; local 77 if (string.CompareChars(compare, 5) != 0) { 83 if (string.CompareChars(compare, 6) == 0) {
|
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeSelect.h | 29 // 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 D | DrawingModeSelectSUBPIX.h | 37 if (compare(p, high, low, &color)){
|
/haiku/src/tests/kits/locale/ |
H A D | collatorTest.cpp | 75 int compare = gCollator->Compare(strings[i], strings[i - 1]); local 76 if (compare > 0) 78 else if (compare < 0) { 91 if (keyCompare > 0 || (keyCompare == 0 && compare != 0))
|
/haiku/headers/cpp/std/ |
H A D | bastring.h | 415 int compare (const charT* s, size_type pos, size_type n) const; 416 int compare (const basic_string& str, size_type pos = 0, size_type n = npos) const; 420 int compare (size_type pos, size_type n, const basic_string& str) const function in class:basic_string 421 { return compare(str, pos, n); } 422 int compare (size_type pos, size_type n, const charT* s) const function in class:basic_string 423 { return compare(s, pos, n); } 424 int compare (size_type pos, size_type n, const charT* s, size_type n2) const function in class:basic_string 425 { if (n > n2) n = n2; return compare(s, pos, n); } 426 int compare (const charT* s, size_type pos = 0) const function in class:basic_string 427 { return compare ( [all...] |
H A D | straits.h | 59 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)
|
H A D | bastring.cc | 250 && traits::compare (data () + xpos, s, n) == 0) 288 && traits::compare (data () + xpos, s, n) == 0) 397 compare (const basic_string& _str, size_type pos, size_type n) const function in class:basic_string 406 int r = traits::compare (data () + pos, _str.data (), rlen); 416 compare (const charT* s, size_type pos, size_type n) const function in class:basic_string 423 int r = traits::compare (data () + pos, s, rlen);
|
/haiku/src/system/boot/platform/efi/ |
H A D | video.cpp | 55 int compare = a->width - b->width; local 56 if (compare != 0) 57 return compare; 59 compare = a->height - b->height; 60 if (compare != 0) 61 return compare; 73 int compare = compare_video_modes(videoMode, mode); local 74 if (compare == 0) { 79 if (compare > 0)
|
/haiku/src/preferences/filetypes/ |
H A D | ExtensionWindow.cpp | 40 int compare = strcasecmp(a, b); local 41 if (compare != 0) 42 return compare;
|
H A D | MimeTypeListView.cpp | 224 int compare = strcasecmp(typeA->Supertype(), typeB->Supertype()); local 225 if (compare != 0) 226 return compare; 250 int compare = strcasecmp(typeA->Description(), typeB->Description()); local 251 if (compare != 0) 252 return compare;
|
/haiku/headers/os/support/ |
H A D | ObjectList.h | 192 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; 732 int (*compare)(const Key*, const T*)) const 735 (GenericCompareFunction)compare); 743 int (*compare)(const Key*, const T*, void*), void* state) const 746 (GenericCompareFunctionWithState)compare, state); 752 BObjectList<T>::BinarySearchIndex(const T& item, CompareFunction compare) cons 761 BinarySearchIndex(const T& item, CompareFunctionWithState compare, void* state) const argument [all...] |
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | video.cpp | 103 int compare = a->width - b->width; local 104 if (compare != 0) 105 return compare; 107 compare = a->height - b->height; 108 if (compare != 0) 109 return compare; 111 compare = a->bits_per_pixel - b->bits_per_pixel; 112 if (compare != 0) 113 return compare; 115 compare 132 int compare = compare_video_modes(videoMode, mode); local [all...] |
/haiku/src/system/kernel/fs/ |
H A D | vfs_boot.cpp | 80 int compare = strcasecmp(a->ContentName(), b->ContentName()); local 81 if (!compare) 93 return compare; 112 int compare = (int)aIsCD - (int)bIsCD; local 113 if (compare != 0) 114 return compare;
|
/haiku/src/add-ons/kernel/debugger/usb_keyboard/ |
H A D | usb_keyboard.cpp | 236 uint8 *compare = sLastTransferData; local 243 if (compare[j] == current[i]) {
|
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUCollateData.cpp | 97 result = fCollator->compare(aIter, bIter, icuStatus); 107 result = fCollator->compare(unicodeA, unicodeB, icuStatus); 176 result = fCollator->compare(unicodeA, unicodeB, icuStatus);
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | Bitmap.cpp | 87 uint32 compare = 1; local 88 for (int16 j = 0;j < 32;j++,compare <<= 1) { 89 if (compare & fBitmap[i])
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | Playlist.cpp | 71 // compare complete path 633 FilePlaylistItem* compare = dynamic_cast<FilePlaylistItem*>(playlist->ItemAt(i)); local 634 if (compare == NULL) 636 if (compare->Ref() != ref 637 && _GetExceptExtension(BPath(&compare->Ref()).Path()) == exceptExtension ) 648 UrlPlaylistItem* compare local 650 if (compare == NULL) 652 if (compare->Url() == url)
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Query.cpp | 338 // We have to be able to compare them against unshifted values 594 // only compare against the index entry when this is the correct 854 int32 compare; 862 compare = matchString(fValue.String, (char*)value) == MATCH_OK ? 0 : 1; 867 compare = compareKeys(fType, &timeValue, sizeof(int64), &fValue.Int64, 870 compare = compareKeys(fType, value, size, _Value(), fSize); 874 return compare == 0; 876 return compare != 0; 878 return compare < 0; 880 return compare < [all...] |