Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 173) sorted by relevance

1234567

/dragonfly/sys/dev/drm/
H A Dlinux_list_sort.c55 int (*compare)(void *, struct list_head *, struct list_head *)) in list_sort()
88 sorted = list_sort_merge(accum[logn], sorted, compare, arg); in list_sort()
109 sorted = list_sort_merge(accum[logn], sorted, compare, arg); in list_sort()
115 list_sort_merge_into(list, accum[max_logn], sorted, compare, arg); in list_sort()
125 int (*compare)(void *, struct list_head *, in list_sort_merge()
134 struct list_head **const first = ((*compare)(arg, a, b) <= 0? in list_sort_merge()
156 int (*compare)(void *, struct list_head *, in list_sort_merge_into()
166 (*compare)(arg, a, b) <= 0 ? &a : &b); in list_sort_merge_into()
/dragonfly/libexec/bootpd/
H A Dhash.c181 hash_Exists(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Exists() argument
188 if ((*compare) (key, memberptr->data)) { in hash_Exists()
209 hash_Insert(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Insert() argument
215 if (hash_Exists(hashtable, hashcode, compare, key)) { in hash_Insert()
237 hash_Delete(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Delete() argument
253 while (memberptr && (*compare) (key, memberptr->data)) { in hash_Delete()
272 if ((*compare) (key, memberptr->data)) { in hash_Delete()
299 hash_Lookup(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, in hash_Lookup() argument
306 if ((*compare) (key, memberptr->data)) { in hash_Lookup()
/dragonfly/contrib/gdb-7/gdb/
H A Ddictionary.c242 symbol_compare_ftype *compare,
246 symbol_compare_ftype *compare,
274 symbol_compare_ftype *compare,
278 symbol_compare_ftype *compare,
553 const char *name, symbol_compare_ftype *compare, in dict_iter_match_first() argument
557 compare, iterator); in dict_iter_match_first()
565 ->iter_match_next (name, compare, iterator); in dict_iter_match_next()
657 symbol_compare_ftype *compare, in iter_match_first_hashed() argument
674 if (compare (SYMBOL_SEARCH_NAME (sym), name) == 0) in iter_match_first_hashed()
887 const char *name, symbol_compare_ftype *compare, in iter_match_first_linear() argument
[all …]
H A Dblock.c630 symbol_compare_ftype *compare, in block_iter_match_step() argument
650 compare, &iterator->dict_iter); in block_iter_match_step()
653 sym = dict_iter_match_next (name, compare, &iterator->dict_iter); in block_iter_match_step()
671 symbol_compare_ftype *compare, in block_iter_match_first() argument
677 return dict_iter_match_first (block->dict, name, compare, in block_iter_match_first()
680 return block_iter_match_step (iterator, name, compare, 1); in block_iter_match_first()
687 symbol_compare_ftype *compare, in block_iter_match_next() argument
691 return dict_iter_match_next (name, compare, &iterator->dict_iter); in block_iter_match_next()
693 return block_iter_match_step (iterator, name, compare, 0); in block_iter_match_next()
H A Ddictionary.h152 symbol_compare_ftype *compare,
164 symbol_compare_ftype *compare,
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dstring_view474 { return __x.compare(__y) < 0; }
480 { return __x.compare(__y) < 0; }
486 { return __x.compare(__y) < 0; }
492 { return __x.compare(__y) > 0; }
498 { return __x.compare(__y) > 0; }
504 { return __x.compare(__y) > 0; }
510 { return __x.compare(__y) <= 0; }
516 { return __x.compare(__y) <= 0; }
522 { return __x.compare(__y) <= 0; }
528 { return __x.compare(__y) >= 0; }
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/experimental/
H A Dstring_view487 { return __x.compare(__y) < 0; }
493 { return __x.compare(__y) < 0; }
499 { return __x.compare(__y) < 0; }
505 { return __x.compare(__y) > 0; }
511 { return __x.compare(__y) > 0; }
517 { return __x.compare(__y) > 0; }
523 { return __x.compare(__y) <= 0; }
529 { return __x.compare(__y) <= 0; }
535 { return __x.compare(__y) <= 0; }
541 { return __x.compare(__y) >= 0; }
[all …]
/dragonfly/contrib/mpfr/src/
H A Drem1.c60 int compare, inex, q_is_odd, sign, signx = MPFR_SIGN (x); in mpfr_rem1() local
184 compare = mpz_cmpabs (r, my); in mpfr_rem1()
186 compare = ((compare > 0) || in mpfr_rem1()
187 ((rnd_q == MPFR_RNDN) && (compare == 0) && q_is_odd)); in mpfr_rem1()
189 if (compare) in mpfr_rem1()
H A Dagm.c30 int compare, inexact; in mpfr_agm() local
97 compare = mpfr_cmp (op1, op2); in mpfr_agm()
98 if (MPFR_UNLIKELY( compare == 0 )) in mpfr_agm()
103 else if (compare > 0) in mpfr_agm()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Dregex.h821 compare(const sub_match& __s) const in _GLIBCXX_VISIBILITY()
875 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
887 { return __lhs.compare(__rhs) != 0; } in _GLIBCXX_VISIBILITY()
899 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
911 { return __lhs.compare(__rhs) <= 0; } in _GLIBCXX_VISIBILITY()
923 { return __lhs.compare(__rhs) >= 0; } in _GLIBCXX_VISIBILITY()
935 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
1115 { return __rhs.compare(__lhs) == 0; } in _GLIBCXX_VISIBILITY()
1140 { return __rhs.compare(__lhs) > 0; } in _GLIBCXX_VISIBILITY()
1189 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dbasic_string.h2298 compare(const _CharT* __s) const; in _GLIBCXX_VISIBILITY()
2485 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
2506 { return __rhs.compare(__lhs) == 0; } in _GLIBCXX_VISIBILITY()
2518 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
2568 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
2580 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
2592 { return __rhs.compare(__lhs) > 0; } in _GLIBCXX_VISIBILITY()
2605 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
2617 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
2629 { return __rhs.compare(__lhs) < 0; } in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/usr.bin/look/
H A Dlook.c74 static int compare(wchar_t *, unsigned char *, unsigned char *);
253 if (compare(string, p, back) == GREATER) in binary_search()
278 switch (compare(string, front, back)) { in linear_search()
297 for (; front < back && compare(string, front, back) == EQUAL; ++front) { in print_from()
320 compare(wchar_t *s1, unsigned char *s2, unsigned char *back) in compare() function
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/
H A Dvstring.tcc283 && traits_type::compare(__data + __pos + 1, in find()
323 if (traits_type::compare(__data + __pos, __s, __n) == 0) in rfind()
466 int __r = traits_type::compare(this->_M_data() + __pos, in compare()
477 compare(size_type __pos1, size_type __n1, const __versa_string& __str, in compare() function in __gnu_cxx::__versa_string
485 int __r = traits_type::compare(this->_M_data() + __pos1, in compare()
496 compare(const _CharT* __s) const in compare() function in __gnu_cxx::__versa_string
502 int __r = traits_type::compare(this->_M_data(), __s, __len); in compare()
512 compare(size_type __pos, size_type __n1, const _CharT* __s) const in compare() function in __gnu_cxx::__versa_string
519 int __r = traits_type::compare(this->_M_data() + __pos, __s, __len); in compare()
529 compare(size_type __pos, size_type __n1, const _CharT* __s, in compare() function in __gnu_cxx::__versa_string
[all …]
H A Dvstring.h2011 compare(const _CharT* __s) const; in _GLIBCXX_VISIBILITY()
2196 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
2220 { return __rhs.compare(__lhs) == 0; } in _GLIBCXX_VISIBILITY()
2233 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
2287 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
2300 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
2313 { return __rhs.compare(__lhs) > 0; } in _GLIBCXX_VISIBILITY()
2327 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
2340 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
2353 { return __rhs.compare(__lhs) < 0; } in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/
H A Dvstring.tcc283 && traits_type::compare(__data + __pos + 1, in find()
323 if (traits_type::compare(__data + __pos, __s, __n) == 0) in rfind()
466 int __r = traits_type::compare(this->_M_data() + __pos, in compare()
477 compare(size_type __pos1, size_type __n1, const __versa_string& __str, in compare() function in __gnu_cxx::__versa_string
485 int __r = traits_type::compare(this->_M_data() + __pos1, in compare()
496 compare(const _CharT* __s) const in compare() function in __gnu_cxx::__versa_string
502 int __r = traits_type::compare(this->_M_data(), __s, __len); in compare()
512 compare(size_type __pos, size_type __n1, const _CharT* __s) const in compare() function in __gnu_cxx::__versa_string
519 int __r = traits_type::compare(this->_M_data() + __pos, __s, __len); in compare()
529 compare(size_type __pos, size_type __n1, const _CharT* __s, in compare() function in __gnu_cxx::__versa_string
[all …]
H A Dvstring.h2154 compare(const _CharT* __s) const; in _GLIBCXX_VISIBILITY()
2339 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
2363 { return __rhs.compare(__lhs) == 0; } in _GLIBCXX_VISIBILITY()
2376 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
2430 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
2443 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
2456 { return __rhs.compare(__lhs) > 0; } in _GLIBCXX_VISIBILITY()
2470 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
2483 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
2496 { return __rhs.compare(__lhs) < 0; } in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dregex.h925 compare(const sub_match& __s) const in _GLIBCXX_VISIBILITY()
981 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
992 { return __lhs.compare(__rhs) != 0; } in _GLIBCXX_VISIBILITY()
1003 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
1014 { return __lhs.compare(__rhs) <= 0; } in _GLIBCXX_VISIBILITY()
1025 { return __lhs.compare(__rhs) >= 0; } in _GLIBCXX_VISIBILITY()
1036 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
1215 { return __rhs.compare(__lhs) == 0; } in _GLIBCXX_VISIBILITY()
1240 { return __rhs.compare(__lhs) > 0; } in _GLIBCXX_VISIBILITY()
1289 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dchar_traits.h108 compare(const char_type* __s1, const char_type* __s2, std::size_t __n); in _GLIBCXX_VISIBILITY()
149 compare(const char_type* __s1, const char_type* __s2, std::size_t __n) in _GLIBCXX_VISIBILITY()
302 compare(const char_type* __s1, const char_type* __s2, size_t __n) in _GLIBCXX_VISIBILITY()
308 return __gnu_cxx::char_traits<char_type>::compare(__s1, __s2, __n); in _GLIBCXX_VISIBILITY()
411 compare(const char_type* __s1, const char_type* __s2, size_t __n) in _GLIBCXX_VISIBILITY()
417 return __gnu_cxx::char_traits<char_type>::compare(__s1, __s2, __n); in _GLIBCXX_VISIBILITY()
531 compare(const char_type* __s1, const char_type* __s2, size_t __n)
628 compare(const char_type* __s1, const char_type* __s2, size_t __n)
H A Dbasic_string.h2863 compare(const _Tp& __svt) const in _GLIBCXX_VISIBILITY()
5704 compare(const _Tp& __svt) const in _GLIBCXX_VISIBILITY()
6051 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
6072 { return __rhs.compare(__lhs) == 0; } in _GLIBCXX_VISIBILITY()
6084 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
6136 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
6148 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
6160 { return __rhs.compare(__lhs) > 0; } in _GLIBCXX_VISIBILITY()
6174 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
6186 { return __lhs.compare(__rhs) > 0; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dfs_path.h353 int compare(const path& __p) const noexcept; in _GLIBCXX_VISIBILITY()
354 int compare(const string_type& __s) const; in _GLIBCXX_VISIBILITY()
355 int compare(const value_type* __s) const; in _GLIBCXX_VISIBILITY()
356 int compare(const basic_string_view<value_type> __s) const; in _GLIBCXX_VISIBILITY()
529 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
545 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
1016 path::compare(const string_type& __s) const { return compare(path(__s)); } in _GLIBCXX_VISIBILITY()
1019 path::compare(const value_type* __s) const { return compare(path(__s)); } in _GLIBCXX_VISIBILITY()
1022 path::compare(basic_string_view<value_type> __s) const in _GLIBCXX_VISIBILITY()
1023 { return compare(path(__s)); } in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/ncurses/progs/
H A Dinfocmp.c79 static int compare; variable
393 switch (compare) { in show_comparing()
462 switch (compare) { in compare_predicate()
510 switch (compare) { in compare_predicate()
558 switch (compare) { in compare_predicate()
605 switch (compare) { in compare_predicate()
1164 switch (compare) { in file_comparison()
1601 compare = C_COMMON; in main()
1654 compare = C_NAND; in main()
1713 compare = C_USEALL; in main()
[all …]
/dragonfly/contrib/ee/
H A Dee.c1701 if (compare(cmd_str, HELP, FALSE))
1703 else if (compare(cmd_str, WRITE, FALSE))
1719 else if (compare(cmd_str, READ, FALSE))
1737 else if (compare(cmd_str, LINE, FALSE))
1761 else if (compare(cmd_str, REDRAW, FALSE))
1772 else if (compare(cmd_str, AUTHOR, FALSE))
1784 else if (compare(cmd_str, CASE, FALSE))
4169 if (compare(str1, CASE, FALSE)) in ee_init()
4177 else if (compare(str1, INFO, FALSE)) in ee_init()
4192 else if (compare(str1, Echo, FALSE)) in ee_init()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dfibonacci_heap.h71 int compare (fibonacci_node_t *other) in compare() function
83 return fibonacci_node_t (key).compare (this); in compare_data()
410 if (y != NULL && node->compare (y) <= 0) in replace_key_data()
416 if (node->compare (m_min) <= 0) in replace_key_data()
496 if (heapb->m_min->compare (heapa->m_min) < 0) in union_with()
633 if (x->compare (y) > 0) in consolidate()
646 if (m_min == NULL || a[i]->compare (m_min) < 0) in consolidate()
/dragonfly/contrib/lvm2/dist/test/
H A Dtest-lib.sh267 compare='diff -u'
269 compare='cmp -s'
271 compare=cmp
/dragonfly/usr.sbin/installer/libinstaller/
H A Dmount.c56 compare(const void *a, const void *b) in compare() function
84 qsort((void*)mt_array, count, sizeof(struct statfs), compare); in unmount_all_under()

1234567