Searched refs:compare (Results 1 - 25 of 58) sorted by path

123

/haiku/headers/cpp/std/
H A Dbastring.cc250 && 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);
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)
H A Dbastring.h415 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...]
/haiku/headers/cpp/
H A Dstl_rope.h1610 int compare(const rope& __y) const { function in class:rope
2459 return __left.compare(__right) < 0;
2466 return __left.compare(__right) == 0;
/haiku/headers/os/interface/
H A DSlider.h175 BPoint compare) const;
H A DMenu.h174 void SortItems(int (*compare)(const BMenuItem*,
/haiku/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;
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/headers/private/kernel/util/
H A DSplayTree.h236 int compare = Definition::Compare(key, node); local
237 if (compare == 0 && orEqual)
241 if (compare < 0) {
247 if (compare > 0) {
/haiku/src/add-ons/kernel/debugger/usb_keyboard/
H A Dusb_keyboard.cpp236 uint8 *compare = sLastTransferData; local
243 if (compare[j] == current[i]) {
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_spec.h1255 uint16_t compare : 1; member in struct:nvme_ctrlr_data::__anon25
1305 * Atomic compare & write unit.
1562 * Namespace atomic compare & write unit.
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
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...]
H A Dcache.h104 cache_compare compare);
107 cache_compare compare);
110 cache_compare compare, int flags);
/haiku/src/bin/unzip/
H A Dapi.c455 int retcode = FALSE, compare; local
510 compare = TRUE;
516 compare = FALSE;
520 if (compare == TRUE) {
H A Dapihelp.c103 while (doc->compare && STRNICMP(doc->compare,slide,strlen(fname)))
105 if (!doc->compare)
H A Dunzpriv.h1680 char *compare; member in struct:_APIDocStruct
/haiku/src/kits/media/
H A DMediaFormats.cpp348 int compare = CompareDescriptions(a, b); local
349 if (compare != 0)
350 return compare;
/haiku/src/kits/package/
H A DPackageResolvableExpression.cpp161 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/preferences/filetypes/
H A DExtensionWindow.cpp40 int compare = strcasecmp(a, b); local
41 if (compare != 0)
42 return compare;
/haiku/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/src/system/kernel/fs/
H A Dvfs_net_boot.cpp52 int compare = (int)aIsNetDevice - (int)bIsNetDevice; local
53 if (compare != 0)
54 return compare;
/haiku/src/system/libroot/posix/
H A Dglob.c146 static int compare(const void *, const void *);
524 pglob->gl_pathc - oldpathc, sizeof(char *), compare);
529 compare(const void *p, const void *q) function
/haiku/src/tests/kits/locale/
H A DcollatorTest.cpp75 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/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.cpp1737 int compare = device_attr_private::Compare(attr, attributes); local
1738 if (compare != 0)
1739 return compare;
/haiku/src/tools/cppunit/cppunit/
H A DTypeInfoHelper.cpp22 name.compare( classPrefix, 0, classPrefix.length() );
24 name.compare( 0, classPrefix.length(), classPrefix );

Completed in 302 milliseconds

123