Lines Matching refs:copy_size
294 SIZE_T copy_size = internal_strnlen(src, n); in INTERCEPTOR() local
295 if (copy_size < n) in INTERCEPTOR()
296 copy_size++; // trailing \0 in INTERCEPTOR()
298 CopyShadowAndOrigin(dest, src, copy_size, &stack); in INTERCEPTOR()
299 __msan_unpoison(dest + copy_size, n - copy_size); in INTERCEPTOR()
374 SIZE_T copy_size = internal_strnlen(src, n); in INTERCEPTOR() local
377 CopyShadowAndOrigin(dest + dest_size, src, copy_size, &stack); in INTERCEPTOR()
378 __msan_unpoison(dest + dest_size + copy_size, 1); // \0 in INTERCEPTOR()
1569 SIZE_T copy_size = internal_wcsnlen(src, n); in INTERCEPTOR() local
1570 if (copy_size < n) copy_size++; // trailing \0 in INTERCEPTOR()
1572 CopyShadowAndOrigin(dest, src, copy_size * sizeof(wchar_t), &stack); in INTERCEPTOR()
1573 __msan_unpoison(dest + copy_size, (n - copy_size) * sizeof(wchar_t)); in INTERCEPTOR()