Searched refs:compar (Results 1 – 5 of 5) sorted by relevance
/glibc-2.36/misc/ |
D | lsearch.c | 25 __compar_fn_t compar) in lsearch() argument 30 result = lfind (key, base, nmemb, size, compar); in lsearch() 44 __compar_fn_t compar) in lfind() argument 49 while (cnt < *nmemb && (*compar) (key, result) != 0) in lfind()
|
D | tsearch.c | 290 __tsearch (const void *key, void **vrootp, __compar_fn_t compar) in __tsearch() argument 316 r = (*compar) (key, root->key); in __tsearch() 371 __tfind (const void *key, void *const *vrootp, __compar_fn_t compar) in weak_alias() 387 r = (*compar) (key, root->key); in weak_alias() 403 __tdelete (const void *key, void **vrootp, __compar_fn_t compar) in weak_alias() 425 while ((cmp = (*compar) (key, root->key)) != 0) in weak_alias()
|
/glibc-2.36/include/ |
D | search.h | 16 __compar_fn_t compar); 19 __compar_fn_t compar); 22 __compar_fn_t compar);
|
/glibc-2.36/io/ |
D | fts.c | 121 int (*compar) (const FTSENTRY **, const FTSENTRY **)) in FTS_OPEN() 139 sp->fts_compar = (int (*) (const void *, const void *)) compar; in FTS_OPEN() 187 if (compar) { in FTS_OPEN() 200 if (compar && nitems > 1) in FTS_OPEN()
|
/glibc-2.36/manual/ |
D | search.texi | 72 …key}, const void *@var{base}, size_t *@var{nmemb}, size_t @var{size}, comparison_fn_t @var{compar}) 78 by @var{compar} is used to decide whether two elements match. 90 …*@var{key}, void *@var{base}, size_t *@var{nmemb}, size_t @var{size}, comparison_fn_t @var{compar}) 493 …ftypefun {void *} tsearch (const void *@var{key}, void **@var{rootp}, comparison_fn_t @var{compar}) 503 pointed to by @var{compar} is used to determine whether two elements 505 which can be used for the @var{compar} parameter. 527 …efun {void *} tfind (const void *@var{key}, void *const *@var{rootp}, comparison_fn_t @var{compar}) 541 …ftypefun {void *} tdelete (const void *@var{key}, void **@var{rootp}, comparison_fn_t @var{compar})
|