Lines Matching refs:__n
146 static int _STLP_CALL compare(const char_type* __s1, const char_type* __s2, size_t __n) {
147 for (size_t __i = 0; __i < __n; ++__i)
160 static const char_type* _STLP_CALL find(const char_type* __s, size_t __n, const char_type& __c) {
161 for ( ; __n > 0 ; ++__s, --__n)
170 static char_type* _STLP_CALL copy(char_type* __s1, const char_type* __s2, size_t __n) {
171 return (__n == 0 ? __s1 :
172 (char_type*)memcpy(__s1, __s2, __n * sizeof(char_type)));
175 static char_type* _STLP_CALL assign(char_type* __s, size_t __n, char_type __c) {
176 for (size_t __i = 0; __i < __n; ++__i)
225 static int _STLP_CALL compare(const char* __s1, const char* __s2, size_t __n)
226 { return memcmp(__s1, __s2, __n); }
234 static char* _STLP_CALL assign(char* __s, size_t __n, char __c) {
235 memset(__s, __c, __n);
248 static wchar_t* _STLP_CALL move(wchar_t* __dest, const wchar_t* __src, size_t __n)
249 { return wmemmove(__dest, __src, __n); }
252 static wchar_t* _STLP_CALL copy(wchar_t* __dest, const wchar_t* __src, size_t __n)
253 { return wmemcpy(__dest, __src, __n); }
256 static int _STLP_CALL compare(const wchar_t* __s1, const wchar_t* __s2, size_t __n)
257 { return wmemcmp(__s1, __s2, __n); }
260 static wchar_t* _STLP_CALL assign(wchar_t* __s, size_t __n, wchar_t __c)
261 { return wmemset(__s, __c, __n); }