Searched refs:comparator (Results 1 - 4 of 4) sorted by relevance
/haiku-fatelf/src/preferences/media/ |
H A D | MediaListItem.cpp | 268 Comparator comparator(this); 269 item->Accept(comparator); 270 return comparator.result; 333 Comparator comparator(this); 334 item->Accept(comparator); 335 return comparator.result; 420 Comparator comparator(this); 421 item->Accept(comparator); 422 return comparator.result;
|
/haiku-fatelf/src/kits/support/ |
H A D | PointerList.cpp | 35 struct comparator; 64 friend struct comparator; 87 struct comparator : public binary_function<const void*, const void*, bool> struct in inherits:binary_function 89 comparator(AbstractPointerListHelper* helper) : helper(helper) {} function in struct:comparator 159 const void** found = lower_bound(items, end, key, comparator(this)); 174 sort(&items[low], &items[high+1], comparator(this));
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | hash.c | 72 Hash_comparator comparator; member in struct:hash_table 263 if (entry == cursor->data || table->comparator (entry, cursor->data)) 489 /* If the user passes a NULL comparator, we use pointer comparison. */ 587 Hash_hasher hasher, Hash_comparator comparator, 594 if (comparator == NULL) 595 comparator = raw_comparator; 626 table->comparator = comparator; 799 if (entry == bucket->data || table->comparator (entry, bucket->data)) 827 || table->comparator (entr 586 hash_initialize(size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer) argument [all...] |
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | hash.c | 69 Hash_comparator comparator; member in struct:hash_table 260 if (table->comparator (entry, cursor->data)) 538 Hash_hasher hasher, Hash_comparator comparator, 543 if (hasher == NULL || comparator == NULL) 585 table->comparator = comparator; 760 if ((*table->comparator) (entry, bucket->data)) 787 if ((*table->comparator) (entry, cursor->next->data)) 826 table->comparator, table->data_freer); 537 hash_initialize(size_t candidate, const Hash_tuning *tuning, Hash_hasher hasher, Hash_comparator comparator, Hash_data_freer data_freer) argument
|
Completed in 115 milliseconds