Lines Matching full:strncpy
1240 // char *strncpy(char *restrict dst, const char *restrict src, size_t n);
1320 // If the function is strncpy, strncat, etc... it is bounded.
1326 // Protect against misdeclared strncpy().
1338 // If the bound is equal to the source length, strncpy won't null-
1379 // For strncpy, this is just checking that lenVal <= sizeof(dst)
1380 // (Yes, strncpy and strncat differ in how they treat termination.
1381 // strncat ALWAYS terminates, but strncpy doesn't.)
1384 // case strncpy will do no work at all. Our bounds check uses n-1
1518 // Otherwise, this is a copy-over function (strcpy, strncpy, ...), and
1577 // strncpy is annoying in that it doesn't guarantee to null-terminate
1836 else if (C.isCLibraryFunction(FDecl, "strncpy"))