Lines Matching refs:src
123 char16* utf16_strcpy(char16 *dst, const char16 *src) {
124 if (NULL == src || NULL == dst)
129 while ((char16)'\0' != *src) {
130 *cp = *src;
132 src++;
135 *cp = *src;
140 char16* utf16_strncpy(char16 *dst, const char16 *src, size_t size) {
141 if (NULL == src || NULL == dst || 0 == size)
144 if (src == dst)
149 if (dst < src || (dst > src && dst >= src + size)) {
150 while (size-- && (*cp++ = *src++))
154 src += size - 1;
155 while (size-- && (*cp-- == *src--))
163 char* utf16_strcpy_tochar(char *dst, const char16 *src) {
164 if (NULL == src || NULL == dst)
169 while ((char16)'\0' != *src) {
170 *cp = static_cast<char>(*src);
172 src++;
174 *cp = *src;