Home
last modified time | relevance | path

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

/bionic/libc/bionic/
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()
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()
/bionic/tests/
Dsearch_test.cpp23 static int int_cmp(const void* lhs, const void* rhs) { in int_cmp() argument
24 return *reinterpret_cast<const int*>(rhs) - *reinterpret_cast<const int*>(lhs); in int_cmp()
59 static int node_cmp(const void* lhs, const void* rhs) { in node_cmp() argument
60 return strcmp(reinterpret_cast<const node*>(lhs)->s, reinterpret_cast<const node*>(rhs)->s); in node_cmp()
129 static int pod_node_cmp(const void* lhs, const void* rhs) { in pod_node_cmp() argument
130 return reinterpret_cast<const pod_node*>(rhs)->i - reinterpret_cast<const pod_node*>(lhs)->i; in pod_node_cmp()
Dutils.cpp97 bool operator==(const Errno& lhs, const Errno& rhs) { in operator ==() argument
98 return lhs.errno_ == rhs.errno_; in operator ==()
Dmath_data_test.h143 size_t UlpDistance(T lhs, T rhs) {
144 const auto biased1 = SignAndMagnitudeToBiased(lhs);
Dutils.h328 bool operator==(const Errno& lhs, const Errno& rhs);
Dstdlib_test.cpp413 static int comparator(const void* lhs, const void* rhs) { in TEST()
414 return strcmp(reinterpret_cast<const s*>(lhs)->name, reinterpret_cast<const s*>(rhs)->name); in TEST()