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 if (size_ > 0 && comparator != nullptr) { in Sort() 75 reinterpret_cast<int (*)(const void*, const void*)>(comparator)); in Sort() 97 int (*comparator)(const dirent**, const dirent**)) { in scandirat() 123 names.Sort(comparator); in scandirat() 133 int (*comparator)(const dirent**, const dirent**)) { in scandir() 134 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 | 411 static int comparator(const void* lhs, const void* rhs) { in TEST() function 420 qsort(entries, 3, sizeof(s), s::comparator); in TEST() 425 qsort(entries, 3, sizeof(s), s::comparator); in TEST()
|