Lines Matching defs:strncpy
3 Ensure all expected transformations of builtin strncpy occur and
10 extern char *strncpy (char *, const char *, size_t);
22 if (strncpy (dst, src, 4) != dst || strncmp (dst, src, 4))
26 if (strncpy (dst+16, src, 4) != dst+16 || strncmp (dst+16, src, 4))
30 if (strncpy (dst+32, src+5, 4) != dst+32 || strncmp (dst+32, src+5, 4))
35 if (strncpy (++dst2, src+5, 4) != dst+1 || strncmp (dst2, src+5, 4)
40 if (strncpy (dst, src, 0) != dst || strcmp (dst, ""))
45 if (strncpy (++dst2, ++src2, 0) != dst+1 || strcmp (dst2, "")
51 if (strncpy (++dst2+5, ++src2+5, 0) != dst+6 || strcmp (dst2+5, "")
56 if (strncpy (dst, src, 12) != dst || strcmp (dst, src))
73 strncpy(char *s1, const char *s2, size_t n)