Lines Matching defs:copy_size
155 SIZE_T copy_size = REAL(strnlen)(src, n);
156 if (copy_size < n)
157 copy_size++; // trailing \0
159 __msan_copy_poison(dest, src, copy_size);
181 SIZE_T copy_size = REAL(strnlen)(src, n);
183 __msan_copy_poison(res, src, copy_size);
184 __msan_unpoison(res + copy_size, 1); // \0
190 SIZE_T copy_size = REAL(strnlen)(src, n);
192 __msan_copy_poison(res, src, copy_size);
193 __msan_unpoison(res + copy_size, 1); // \0
220 SIZE_T copy_size = REAL(strlen)(src);
221 if (copy_size < n)
222 copy_size++; // trailing \0
224 __msan_copy_poison(dest + dest_size, src, copy_size);