Lines Matching defs:src
39 char *src = "Hello";
41 stpncpy(dest, src, strlen(src));
43 if (strncmp(src, buf, strlen(src))) {
44 t_error("%s failed: src = %s, buf = %s\n", __func__, src, buf);
48 for (int i = strlen(src) + 1; i < BUF_SIZE; i++) {
66 char *src = "";
68 stpncpy(dest, src, strlen(src));
70 if (strcmp(src, buf)) {
71 t_error("%s failed: src = %s, buf = %s\n", __func__, src, buf);
91 char *src = "Hello world!";
93 stpncpy(dest, src, strlen(src));
95 if (strncmp(src, buf, strlen(src))) {
96 t_error("%s failed: src = %s, buf = %s\n", __func__, src, buf);
110 char *src = "Hello world!";
111 stpncpy(NULL, src, strlen(src));