| /src/lib/libc/string/ |
| strsignal.c | 53 static char buf[NL_TEXTMAX]; local 55 return __UNCONST(__strsignal(sig, buf, NL_TEXTMAX));
|
| /src/tools/compat/ |
| setenv.c | 38 char *buf; local 44 if (!(buf = malloc(strlen(name) + strlen(value) + 2))) 47 sprintf(buf, "%s=%s", name, value); 48 putenv(buf);
|
| /src/usr.sbin/sysinst/arch/amd64/ |
| md.c | 12 char buf[MAXPATHLEN]; local 20 snprintf(buf, sizeof buf, "%s.1", path); 21 mv_within_target_or_die(buf, path);
|
| /src/crypto/external/bsd/openssh/dist/ |
| ssherr.c | 155 static char buf[1024]; local 156 snprintf(buf, sizeof(buf), "unknown error %d", n); 157 return buf;
|
| /src/external/bsd/mdocml/dist/ |
| test-strlcat.c | 6 char buf[3] = "a"; local 7 return ! (strlcat(buf, "b", sizeof(buf)) == 2 && 8 buf[0] == 'a' && buf[1] == 'b' && buf[2] == '\0');
|
| test-strlcpy.c | 6 char buf[2] = ""; local 7 return ! (strlcpy(buf, "a", sizeof(buf)) == 1 && 8 buf[0] == 'a' && buf[1] == '\0');
|
| /src/external/bsd/ppp/dist/pppd/ |
| eui64.c | 55 static char buf[32]; local 57 snprintf(buf, 32, "%02x%02x:%02x%02x:%02x%02x:%02x%02x", 60 return buf;
|
| /src/external/bsd/tcpdump/dist/ |
| machdep.c | 53 static int buf[2] = { SSIN_UACPROC, UAC_SIGBUS }; local 55 if (setsysinfo(SSI_NVPAIRS, (caddr_t)buf, 1, 0, 0) < 0) {
|
| /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
| readlink1.c | 12 char buf[1024]; local 15 if (readlink(argv[0], buf, sizeof (buf)) != -1 || errno != EINVAL)
|
| readlink9.c | 15 char buf[7]; local 17 if (readlink("/proc/42/exe", buf, sizeof (buf)) != sizeof (buf) 18 || strncmp (buf, X, sizeof (buf)) != 0)
|
| stat1.c | 9 struct stat buf; local 11 if (stat (".", &buf) != 0 12 || !S_ISDIR (buf.st_mode))
|
| stat2.c | 13 struct stat buf; local 15 if (lstat (".", &buf) != 0 16 || !S_ISDIR (buf.st_mode))
|
| stat5.c | 14 struct stat buf; local 16 if (lstat ("nonexistent", &buf) == 0 || errno != ENOENT)
|
| stat7.c | 14 struct stat buf; local 17 if (lstat (NULL, &buf) != -1
|
| uname1.c | 9 struct utsname buf; local 10 if (uname (&buf) != 0 11 || strcmp (buf.machine,
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/ |
| var-access.c | 18 char buf[] = {0, 1, 2, 3, 4, 5, 6, 7}; variable
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/ |
| readlink1.c | 12 char buf[1024]; local 15 if (readlink(argv[0], buf, sizeof (buf)) != -1 || errno != EINVAL)
|
| readlink9.c | 15 char buf[7]; local 17 if (readlink("/proc/42/exe", buf, sizeof (buf)) != sizeof (buf) 18 || strncmp (buf, X, sizeof (buf)) != 0)
|
| stat1.c | 9 struct stat buf; local 11 if (stat (".", &buf) != 0 12 || !S_ISDIR (buf.st_mode))
|
| stat2.c | 13 struct stat buf; local 15 if (lstat (".", &buf) != 0 16 || !S_ISDIR (buf.st_mode))
|
| stat5.c | 14 struct stat buf; local 16 if (lstat ("nonexistent", &buf) == 0 || errno != ENOENT)
|
| stat7.c | 14 struct stat buf; local 17 if (lstat (NULL, &buf) != -1
|
| uname1.c | 9 struct utsname buf; local 10 if (uname (&buf) != 0 11 || strcmp (buf.machine,
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| line_number.c | 54 static VSTRING *buf; local 60 if (buf == 0) 61 buf = vstring_alloc(10); 62 result = buf;
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
| fission-type-unit-locexpr.c | 19 unsigned char buf[] = { 0x11, 0x22, 0x22, 0x11, }; variable
|