Home | History | Annotate | Download | only in tsan

Lines Matching refs:dst

95 static NOINLINE char *Replace_memcpy(EXTRA_REPLACE_PARAMS char *dst,
99 dst[i] = src[i];
102 REPORT_WRITE_RANGE(dst, i);
103 return dst;
106 static NOINLINE char *Replace_memmove(EXTRA_REPLACE_PARAMS char *dst,
110 if (dst < src) {
112 dst[i] = src[i];
116 dst[len - i - 1] = src[len - i - 1];
120 REPORT_WRITE_RANGE(dst, i);
121 return dst;
140 static NOINLINE char *Replace_strcpy(EXTRA_REPLACE_PARAMS char *dst,
144 dst[i] = src[i];
146 dst[i] = 0;
148 REPORT_WRITE_RANGE(dst, i + 1);
149 return dst;
152 static NOINLINE char *Replace_stpcpy(EXTRA_REPLACE_PARAMS char *dst,
156 dst[i] = src[i];
158 dst[i] = 0;
160 REPORT_WRITE_RANGE(dst, i + 1);
161 return dst + i;
164 static NOINLINE char *Replace_strncpy(EXTRA_REPLACE_PARAMS char *dst,
168 dst[i] = src[i];
172 REPORT_WRITE_RANGE(dst, i < n ? i+1 : n);
173 return dst;