Home
last modified time | relevance | path

Searched refs:dst21 (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-not-null-terminated-result-memcpy-before-safe.c68 char dst21[13]; in good_memcpy_partial_source_length() local
69 strncpy(dst21, src, strlen(src) - 1); in good_memcpy_partial_source_length()
70 dst21[strlen(src) - 1] = '\0'; in good_memcpy_partial_source_length()
Dbugprone-not-null-terminated-result-wmemcpy-safe-cxx.cpp52 wchar_t dst21[14]; in good_wmemcpy_partial_source_length() local
53 wcsncpy_s(dst21, src, wcslen(src) - 1); in good_wmemcpy_partial_source_length()
Dbugprone-not-null-terminated-result-memcpy-safe.c65 char dst21[14]; in good__memcpy_partial_source_length() local
66 strncpy_s(dst21, 14, src, strlen(src) - 1); in good__memcpy_partial_source_length()
Dbugprone-not-null-terminated-result-memcpy-safe-cxx.cpp65 char dst21[14]; in good_memcpy_partial_source_length() local
66 strncpy_s(dst21, src, strlen(src) - 1); in good_memcpy_partial_source_length()