Lines Matching refs:s1
59 static int compare (const char_type* s1, const char_type* s2, size_t n)
63 if (ne (s1[i], s2[i]))
64 return lt (s1[i], s2[i]) ? -1 : 1;
77 static char_type* copy (char_type* s1, const char_type* s2, size_t n)
80 assign (s1[n], s2[n]);
81 return s1;
84 static char_type* move (char_type* s1, const char_type* s2, size_t n)
91 assign (s1[i], a[i]);
92 return s1;
95 static char_type* set (char_type* s1, const char_type& c, size_t n)
98 assign (s1[n], c);
99 return s1;
122 static int compare (const char_type* s1, const char_type* s2, size_t n)
123 { return memcmp (s1, s2, n); }
126 static char_type* copy (char_type* s1, const char_type* s2, size_t n)
127 { return (char_type*) memcpy (s1, s2, n); }
128 static char_type* move (char_type* s1, const char_type* s2, size_t n)
129 { return (char_type*) memmove (s1, s2, n); }
130 static char_type* set (char_type* s1, const char_type& c, size_t n)
131 { return (char_type*) memset (s1, c, n); }
150 static int compare (const char_type* s1, const char_type* s2, size_t n)
151 { return wmemcmp (s1, s2, n); }
154 static char_type* copy (char_type* s1, const char_type* s2, size_t n)
155 { return wmemcpy (s1, s2, n); }
156 static char_type* set (char_type* s1, const char_type& c, size_t n)
157 { return wmemset (s1, c, n); }