Home
last modified time | relevance | path

Searched refs:__s2 (Results 1 – 8 of 8) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
Dchar_traits.h146 static int _STLP_CALL compare(const char_type* __s1, const char_type* __s2, size_t __n) { in compare() argument
148 if (!eq(__s1[__i], __s2[__i])) in compare()
149 return __s1[__i] < __s2[__i] ? -1 : 1; in compare()
167 static char_type* _STLP_CALL move(char_type* __s1, const char_type* __s2, size_t _Sz) in move() argument
168 { return (_Sz == 0 ? __s1 : (char_type*)memmove(__s1, __s2, _Sz * sizeof(char_type))); } in move()
170 static char_type* _STLP_CALL copy(char_type* __s1, const char_type* __s2, size_t __n) { in copy() argument
172 (char_type*)memcpy(__s1, __s2, __n * sizeof(char_type))); in copy()
225 static int _STLP_CALL compare(const char* __s1, const char* __s2, size_t __n) in compare() argument
226 { return memcmp(__s1, __s2, __n); } in compare()
256 static int _STLP_CALL compare(const wchar_t* __s1, const wchar_t* __s2, size_t __n) in compare() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/ibm/
Dxlocale.h243 int strcoll_l(const char *__s1, const char *__s2, locale_t locale) in strcoll_l() argument
245 return __xstrcoll(locale, __s1, __s2); in strcoll_l()
248 int wcscoll_l(const wchar_t *__s1, const wchar_t *__s2, locale_t locale) in wcscoll_l() argument
250 return __xwcscoll(locale, __s1, __s2); in wcscoll_l()
253 size_t strxfrm_l(char *__s1, const char *__s2, size_t __n, locale_t locale) in strxfrm_l() argument
255 return __xstrxfrm(locale, __s1, __s2, __n); in strxfrm_l()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/solaris/
Dxlocale.c81 int wcscoll_l(const wchar_t *__s1, const wchar_t *__s2, locale_t __l) { in wcscoll_l() argument
84 __s1, __s2); in wcscoll_l()
87 int strcoll_l(const char *__s1, const char *__s2, locale_t __l) { in strcoll_l() argument
90 __s1, __s2); in strcoll_l()
93 size_t strxfrm_l(char *__s1, const char *__s2, size_t __n, locale_t __l) { in strxfrm_l() argument
96 __s1, __s2, __n); in strxfrm_l()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcwchar183 …TY const wchar_t* wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return ::wcspbrk(__s1, __s2);}
184 …TY wchar_t* wcspbrk( wchar_t* __s1, const wchar_t* __s2) {return ::wcspbrk(__s1, __s2);}
189 …LITY const wchar_t* wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return ::wcsstr(__s1, __s2);}
190 …LITY wchar_t* wcsstr( wchar_t* __s1, const wchar_t* __s2) {return ::wcsstr(__s1, __s2);}
Dcstring99 …_VISIBILITY char* strpbrk( char* __s1, const char* __s2) {return ::strpbrk(__s1, __s2);}
102 …NE_VISIBILITY char* strstr( char* __s1, const char* __s2) {return ::strstr(__s1, __s2);}
Dstring520 static int compare(const char_type* __s1, const char_type* __s2, size_t __n);
523 static char_type* move(char_type* __s1, const char_type* __s2, size_t __n);
524 static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n);
546 char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n)
548 for (; __n; --__n, ++__s1, ++__s2)
550 if (lt(*__s1, *__s2))
552 if (lt(*__s2, *__s1))
585 char_traits<_CharT>::move(char_type* __s1, const char_type* __s2, size_t __n)
588 if (__s1 < __s2)
590 for (; __n; --__n, ++__s1, ++__s2)
[all …]
Dregex1486 explicit __owns_two_states(__node<_CharT>* __s1, base* __s2)
1487 : base(__s1), __second_(__s2) {}
1523 __node<_CharT>* __s1, __owns_one_state<_CharT>* __s2,
1528 : base(__s1, __s2), __min_(__min), __max_(__max), __loop_id_(__loop_id),
1622 __owns_one_state<_CharT>* __s2)
1623 : base(__s1, __s2) {}
2334 string_type __s2 = __traits_.transform(&__ch2.first,
2338 if (__ranges_[__i].first <= __s2 &&
2339 __s2 <= __ranges_[__i].second)
2348 string_type __s2 = __traits_.transform_primary(&__ch2.first,
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/solaris/
Dxlocale.h101 int strcoll_l(const char *__s1, const char *__s2, locale_t __l);
102 int wcscoll_l(const wchar_t *__s1, const wchar_t *__s2, locale_t __l);
106 size_t strxfrm_l(char *__s1, const char *__s2, size_t __n, locale_t __l);