Lines Matching defs:dst
25 bool CheckFastAsciiConvert(char* dst, const char* src, int length, bool changed,
29 if (dst[i] == src[i]) continue;
33 DCHECK(dst[i] == src[i] + ('a' - 'A'));
36 DCHECK(dst[i] == src[i] - ('a' - 'A'));
62 int FastAsciiConvert(char* dst, const char* src, int length,
65 char* saved_dst = dst;
78 // dst is newly allocated and always aligned.
79 DCHECK(IsAligned(reinterpret_cast<Address>(dst), sizeof(word_t)));
91 *reinterpret_cast<word_t*>(dst) = w;
93 dst += sizeof(word_t);
104 *reinterpret_cast<word_t*>(dst) = w ^ (m >> 2);
106 dst += sizeof(word_t);
118 *dst = c;
120 ++dst;
130 template int FastAsciiConvert<false>(char* dst, const char* src, int length,
132 template int FastAsciiConvert<true>(char* dst, const char* src, int length,