Searched refs:comparator (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
D | scandir.cpp | 71 void Sort(int (*comparator)(const dirent**, const dirent**)) { in Sort() 73 reinterpret_cast<int (*)(const void*, const void*)>(comparator)); in Sort() 94 int (*comparator)(const dirent**, const dirent**)) { in scandirat() 120 if (comparator != nullptr) { in scandirat() 121 names.Sort(comparator); in scandirat() 132 int (*comparator)(const dirent**, const dirent**)) { in scandir() 133 return scandirat(AT_FDCWD, dir_path, name_list, filter, comparator); in scandir()
|
/bionic/linker/ |
D | linker_translate_path.cpp | 60 auto comparator = [name](auto p) { return strcmp(name, p[0]) == 0; }; in translateSystemPathToApexPath() local 64 std::find_if(std::begin(kPathTranslationQ), std::end(kPathTranslationQ), comparator); in translateSystemPathToApexPath()
|
/bionic/tests/ |
D | stdlib_test.cpp | 413 static int comparator(const void* lhs, const void* rhs) { in TEST() function 422 qsort(entries, 3, sizeof(s), s::comparator); in TEST() 427 qsort(entries, 3, sizeof(s), s::comparator); in TEST()
|