Lines Matching refs:src
96 const T* src = aSrc;
100 while (src < srcEnd)
102 if (*src == *breakStr)
104 src ++;
105 if (src < srcEnd && breakStr[1] && *src == breakStr[1])
106 src ++;
112 src ++;
151 const T* src = inSrc;
158 while (src < srcEnd)
160 if (*src == srcBreakChar)
163 src++;
167 *dst++ = *src++;
175 // src and dest termination is different length. Do it a slower way.
177 // count linebreaks in src. Assumes that chars in 2-char linebreaks are unique.
184 const T* src = inSrc;
188 while (src < srcEnd)
190 if (*src == *srcBreak)
196 src ++;
197 if (src < srcEnd && srcBreak[1] && *src == srcBreak[1])
198 src ++;
202 *dst++ = *src++;
222 T* src = inSrc;
225 while (src < srcEnd)
227 if (*src == srcBreak)
228 *src = destBreak;
230 src ++;
245 const T* src = inSrc;
251 while (src < srcEnd)
253 if (*src == nsCRT::CR)
255 if (src < srcEnd && src[1] == nsCRT::LF)
259 src ++;
267 else if (*src == nsCRT::LF)
276 src ++;
282 src = inSrc;
287 while (src < srcEnd)
289 if (*src == nsCRT::CR)
291 if (src < srcEnd && src[1] == nsCRT::LF)
295 src ++;
303 else if (*src == nsCRT::LF)
310 *dst++ = *src;
312 src ++;