Home
last modified time | relevance | path

Searched refs:compar (Results 1 – 5 of 5) sorted by relevance

/glibc-2.36/misc/
Dlsearch.c25 __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()
Dtsearch.c290 __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/
Dsearch.h16 __compar_fn_t compar);
19 __compar_fn_t compar);
22 __compar_fn_t compar);
/glibc-2.36/io/
Dfts.c121 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/
Dsearch.texi72 …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})