Searched refs:compar (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | lsearch.c | 43 cmp_fn_t compar) in lsearch() argument 45 void *element = lfind(key, base, nelp, width, compar); in lsearch() 60 cmp_fn_t compar) in lfind() argument 66 if (!compar(key, element)) /* key found */ in lfind()
|
D | tsearch.c | 25 int (*compar)(const void *, const void *)) in tsearch() 36 if ((r = (*compar)(key, (*rootp)->key)) == 0) /* T2: */ in tsearch() 54 int (*compar)(const void *, const void *)) in tdelete() 65 while ((cmp = (*compar)(key, (*rootp)->key)) != 0) { in tdelete()
|
D | tfind.c | 24 int (*compar)(const void *, const void *)) in tfind() 33 if ((r = (*compar)(key, (*rootp)->key)) == 0) /* T2: */ in tfind()
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
D | bsearch.c | 63 int (*compar)(const void *, const void *)) in bsearch() 72 _DIAGASSERT(compar != NULL); in bsearch() 76 cmp = (*compar)(key, p); in bsearch()
|
/bionic/libc/bionic/ |
D | fts.c | 72 int (*compar)(const FTSENT **, const FTSENT **)) in __fts_open() 90 sp->fts_compar = compar; in __fts_open() 129 if (compar) { in __fts_open() 141 if (compar && nitems > 1) in __fts_open() 1052 int (*compar)(const FTSENT **, const FTSENT **)) in fts_open() 1060 return __fts_open(argv, options, compar); in fts_open()
|