/src/lib/libc/gen/ |
dirname.c | 50 const char *endp; local in function:__weak_alias 64 endp = path + strlen(path) - 1; 65 while (endp != path && *endp == '/') 66 endp--; 69 while (endp > path && *endp != '/') 70 endp--; 72 if (endp == path) { 73 path = *endp == '/' ? "/" : "." [all...] |
dirname.c | 50 const char *endp; local in function:__weak_alias 64 endp = path + strlen(path) - 1; 65 while (endp != path && *endp == '/') 66 endp--; 69 while (endp > path && *endp != '/') 70 endp--; 72 if (endp == path) { 73 path = *endp == '/' ? "/" : "." [all...] |
basename.c | 51 const char *startp, *endp; local in function:__weak_alias 65 endp = path + strlen(path) - 1; 66 while (endp != path && *endp == '/') 67 endp--; 70 if (endp == path && *endp == '/') { 77 for (startp = endp; startp > path && *(startp - 1) != '/'; startp--) 81 len = (endp - startp) + 1 /* last char */;
|
basename.c | 51 const char *startp, *endp; local in function:__weak_alias 65 endp = path + strlen(path) - 1; 66 while (endp != path && *endp == '/') 67 endp--; 70 if (endp == path && *endp == '/') { 77 for (startp = endp; startp > path && *(startp - 1) != '/'; startp--) 81 len = (endp - startp) + 1 /* last char */;
|
/src/tests/lib/libc/gen/posix_spawn/ |
h_spawn.c | 44 char *endp; local in function:main 58 ret = strtoul(argv[1], &endp, 10); 59 if (*endp != 0) { 62 "usage:\n\t%s (retcode)\n", endp, getprogname());
|
h_spawn.c | 44 char *endp; local in function:main 58 ret = strtoul(argv[1], &endp, 10); 59 if (*endp != 0) { 62 "usage:\n\t%s (retcode)\n", endp, getprogname());
|
/src/sys/arch/sparc/stand/ofwboot/ |
bootinfo.c | 49 uint64_t *endp; local in function:bi_init 51 endp = (uint64_t *)ALIGN(addr); 56 sparc64_memset(endp, 0, BOOTINFO_SIZE); 62 endp[0] = (uint64_t)(u_long)((char *)endp + BOOTINFO_SIZE); 63 bootinfo = (char *)ALIGN(&endp[2]); 64 endp[1] = (uint64_t)(u_long)bootinfo; 72 return (u_long) endp;
|
bootinfo.c | 49 uint64_t *endp; local in function:bi_init 51 endp = (uint64_t *)ALIGN(addr); 56 sparc64_memset(endp, 0, BOOTINFO_SIZE); 62 endp[0] = (uint64_t)(u_long)((char *)endp + BOOTINFO_SIZE); 63 bootinfo = (char *)ALIGN(&endp[2]); 64 endp[1] = (uint64_t)(u_long)bootinfo; 72 return (u_long) endp;
|
/src/sys/arch/sparc/stand/boot/ |
bootinfo.c | 48 u_long *endp; local in function:bi_init 50 endp = (u_long *)ALIGN(addr); 55 endp[0] = (u_long)((char *)endp + BOOTINFO_SIZE); 56 bootinfo = (char *)ALIGN(&endp[2]); 57 endp[1] = (u_long)bootinfo; 65 return (u_long) endp;
|
bootinfo.c | 48 u_long *endp; local in function:bi_init 50 endp = (u_long *)ALIGN(addr); 55 endp[0] = (u_long)((char *)endp + BOOTINFO_SIZE); 56 bootinfo = (char *)ALIGN(&endp[2]); 57 endp[1] = (u_long)bootinfo; 65 return (u_long) endp;
|
/src/lib/csu/arch/ia64/ |
crti.S | 48 .endp _init 60 .endp _fini
|
crti.S | 48 .endp _init 60 .endp _fini
|
/src/lib/libresolv/ |
res_mkupdate.c | 87 u_char *cp, *sp2, *startp, *endp; local in function:res_nmkupdate 210 endp = startp + rrecp->r_size - 1; 214 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 229 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 242 endp)) 262 soanum = getnum_str(&startp, endp); 278 n = getnum_str(&startp, endp); 283 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 292 n = getnum_str(&startp, endp); 298 n = getnum_str(&startp, endp); [all...] |
res_mkupdate.c | 87 u_char *cp, *sp2, *startp, *endp; local in function:res_nmkupdate 210 endp = startp + rrecp->r_size - 1; 214 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 229 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 242 endp)) 262 soanum = getnum_str(&startp, endp); 278 n = getnum_str(&startp, endp); 283 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 292 n = getnum_str(&startp, endp); 298 n = getnum_str(&startp, endp); [all...] |
/src/lib/libc/inet/ |
inet_pton.c | 227 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local in function:inet_pton6 236 endp = tp + NS_IN6ADDRSZ; 266 if (tp + NS_INT16SZ > endp) 274 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 283 if (tp + NS_INT16SZ > endp) 296 if (tp == endp) 299 endp[- i] = colonp[n - i]; 302 tp = endp; 304 if (tp != endp)
|
inet_pton.c | 227 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local in function:inet_pton6 236 endp = tp + NS_IN6ADDRSZ; 266 if (tp + NS_INT16SZ > endp) 274 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 283 if (tp + NS_INT16SZ > endp) 296 if (tp == endp) 299 endp[- i] = colonp[n - i]; 302 tp = endp; 304 if (tp != endp)
|
inet_net_pton.c | 273 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local in function:inet_net_pton_ipv6 284 endp = tp + NS_IN6ADDRSZ; 318 if (tp + NS_INT16SZ > endp) 327 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 339 if (tp + NS_INT16SZ > endp) 352 endp = tmp + 2 * words; 362 if (tp == endp) 365 endp[- i] = colonp[n - i]; 368 tp = endp; 370 if (tp != endp) [all...] |
inet_net_pton.c | 273 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local in function:inet_net_pton_ipv6 284 endp = tp + NS_IN6ADDRSZ; 318 if (tp + NS_INT16SZ > endp) 327 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 339 if (tp + NS_INT16SZ > endp) 352 endp = tmp + 2 * words; 362 if (tp == endp) 365 endp[- i] = colonp[n - i]; 368 tp = endp; 370 if (tp != endp) [all...] |
/src/lib/libc/compat/sys/ |
compat_getdents.c | 53 struct dirent *ndp, *nndp, *endp; local in function:getdents 64 endp = (struct dirent *)(void *)&buf[rv]; 71 for (; ndp < endp; ndp = nndp) {
|
compat_getdents.c | 53 struct dirent *ndp, *nndp, *endp; local in function:getdents 64 endp = (struct dirent *)(void *)&buf[rv]; 71 for (; ndp < endp; ndp = nndp) {
|
/src/sbin/mount_tmpfs/ |
mount_tmpfs.c | 98 char *endp; local in function:ram_fract 101 f = strtof(arg, &endp); 102 if (endp && *endp != 0) 104 " at %s", arg, endp); 118 char *endp; local in function:ram_percent 121 f = strtof(arg, &endp); 122 if (endp && *endp != 0) 124 " at %s", arg, endp); [all...] |
mount_tmpfs.c | 98 char *endp; local in function:ram_fract 101 f = strtof(arg, &endp); 102 if (endp && *endp != 0) 104 " at %s", arg, endp); 118 char *endp; local in function:ram_percent 121 f = strtof(arg, &endp); 122 if (endp && *endp != 0) 124 " at %s", arg, endp); [all...] |
/src/sys/dev/usb/ |
uhcireg.h | 195 #define UHCI_TD_SETUP(len, endp, dev) \ 196 (UHCI_TD_SET_MAXLEN(len) | UHCI_TD_SET_ENDPT(endp) | \ 198 #define UHCI_TD_OUT(len, endp, dev, dt) \ 199 (UHCI_TD_SET_MAXLEN(len) | UHCI_TD_SET_ENDPT(endp) | \ 201 #define UHCI_TD_IN(len, endp, dev, dt) \ 202 (UHCI_TD_SET_MAXLEN(len) | UHCI_TD_SET_ENDPT(endp) | \
|
uhcireg.h | 195 #define UHCI_TD_SETUP(len, endp, dev) \ 196 (UHCI_TD_SET_MAXLEN(len) | UHCI_TD_SET_ENDPT(endp) | \ 198 #define UHCI_TD_OUT(len, endp, dev, dt) \ 199 (UHCI_TD_SET_MAXLEN(len) | UHCI_TD_SET_ENDPT(endp) | \ 201 #define UHCI_TD_IN(len, endp, dev, dt) \ 202 (UHCI_TD_SET_MAXLEN(len) | UHCI_TD_SET_ENDPT(endp) | \
|
/src/games/cribbage/ |
cards.c | 132 CARD *cp, *endp; local in function:sorthand 135 for (endp = &h[n]; h < endp - 1; h++) 136 for (cp = h + 1; cp < endp; cp++)
|