Lines Matching refs:StrNCpy
705 // strncpy(x, "", y) -> memset(x, '\0', y, 1)
716 if (Len == 0) return Dst; // strncpy(x, y, 0) -> x
721 // Let strncpy handle the zero padding
725 // strncpy(x, s, c) -> memcpy(x, s, c, 1) [s and c are constant]
1727 static StrNCpyOpt StrNCpy;
1796 case LibFunc::strncpy:
1797 return &StrNCpy;