Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_equal.cpp31 int pthread_equal(pthread_t lhs, pthread_t rhs) { in pthread_equal() argument
32 return (lhs == rhs ? 1 : 0); in pthread_equal()
Diconv.cpp63 static bool __match_encoding(const char* lhs, const char* rhs) { in __match_encoding() argument
64 while (*lhs && *rhs) { in __match_encoding()
67 for (; *lhs; ++lhs) { in __match_encoding()
68 if (isalnum(*lhs) && (*lhs != '0' || !isdigit(*(lhs + 1)))) break; in __match_encoding()
71 if (tolower(*lhs) != tolower(*rhs)) break; in __match_encoding()
72 ++lhs; in __match_encoding()
76 if ((*lhs == '\0' || strstr(lhs, "//") == lhs) && *rhs == '\0') return true; in __match_encoding()
/bionic/tests/
Dsearch_test.cpp21 static int int_cmp(const void* lhs, const void* rhs) { in int_cmp() argument
22 return *reinterpret_cast<const int*>(rhs) - *reinterpret_cast<const int*>(lhs); in int_cmp()
57 static int node_cmp(const void* lhs, const void* rhs) { in node_cmp() argument
58 return strcmp(reinterpret_cast<const node*>(lhs)->s, reinterpret_cast<const node*>(rhs)->s); in node_cmp()
122 static int pod_node_cmp(const void* lhs, const void* rhs) { in pod_node_cmp() argument
123 return reinterpret_cast<const pod_node*>(rhs)->i - reinterpret_cast<const pod_node*>(lhs)->i; in pod_node_cmp()
Dmath_data_test.h143 size_t UlpDistance(T lhs, T rhs) {
144 const auto biased1 = SignAndMagnitudeToBiased(lhs);
Dstdlib_test.cpp356 static int comparator(const void* lhs, const void* rhs) { in TEST()
357 return strcmp(reinterpret_cast<const s*>(lhs)->name, reinterpret_cast<const s*>(rhs)->name); in TEST()