Lines Matching refs:src
209 overwrite_string (dst, src) in overwrite_string() argument
211 string_type *src;
214 dst->size = src->size;
215 dst->write_idx = src->write_idx;
216 dst->ptr = src->ptr;
244 catstr (dst, src) in catstr() argument
246 string_type *src;
248 catbuf (dst, src->ptr, src->write_idx);
252 skip_white_and_stars (src, idx) in skip_white_and_stars() argument
253 string_type *src; in skip_white_and_stars()
257 while ((c = at (src, idx)),
262 && at (src, idx +1) != '/'
263 && at (src, idx -1) != '\n'))
435 remove_noncomments (src, dst) in remove_noncomments() argument
436 string_type *src; in remove_noncomments()
441 while (at (src, idx))
444 if (at (src, idx) == '\n'
445 && at (src, idx + 1) == '/'
446 && at (src, idx + 2) == '*')
450 idx = skip_white_and_stars (src, idx);
453 if (at (src, idx) == '.')
458 while (at (src, idx))
460 if (at (src, idx) == '\n')
463 if (at (src, idx + 1) == '\n')
467 idx = skip_white_and_stars (src, idx);
469 else if (at (src, idx) == '*' && at (src, idx + 1) == '/')
477 catchar (dst, at (src, idx));
1149 char *src; local
1197 src = word_start;
1201 if (src[idx] == '\\')
1202 switch (src[idx + 1])
1210 *dst++ = src[idx + 1];
1218 *dst++ = src[idx];