| /src/tests/lib/libc/gen/posix_spawn/ |
| h_spawn.c | 44 char *endp; local 58 ret = strtoul(argv[1], &endp, 10); 59 if (*endp != 0) { 62 "usage:\n\t%s (retcode)\n", endp, getprogname());
|
| /src/lib/libc/gen/ |
| dirname.c | 50 const char *endp; local 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 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/lib/libc/compat/sys/ |
| compat_getdents.c | 53 struct dirent *ndp, *nndp, *endp; local 64 endp = (struct dirent *)(void *)&buf[rv]; 71 for (; ndp < endp; ndp = nndp) {
|
| /src/sys/arch/sparc/stand/boot/ |
| bootinfo.c | 48 u_long *endp; local 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/sys/arch/sparc/stand/ofwboot/ |
| bootinfo.c | 49 uint64_t *endp; local 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/games/cribbage/ |
| cards.c | 132 CARD *cp, *endp; local 135 for (endp = &h[n]; h < endp - 1; h++) 136 for (cp = h + 1; cp < endp; cp++)
|
| /src/include/ |
| regexp.h | 86 char *endp[NSUBEXP]; member in struct:regexp
|
| /src/external/bsd/less/dist/ |
| regexp.h | 16 char *endp[NSUBEXP]; member in struct:regexp
|
| /src/external/bsd/ntp/dist/libntp/ |
| decodenetnum.c | 106 char * endp = strchr(++haddr, ']'); local 107 if (endp) { 108 port = _num_or_dflt(_skip(_chop(endp), ':'),
|
| /src/external/gpl2/gettext/dist/gettext-runtime/intl/ |
| plural-exp.c | 113 char *endp; local 124 n = strtoul (nplurals, &endp, 10); 126 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) 127 n = n * 10 + (*endp - '0'); 129 if (nplurals == endp)
|
| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| msgen.c | 184 char *endp; local 185 value = strtol (optarg, &endp, 10); 186 if (endp != optarg)
|
| msgcat.c | 154 char *endp; local 155 value = strtol (optarg, &endp, 10); 156 if (endp != optarg) 164 char *endp; local 165 value = strtol (optarg, &endp, 10); 166 if (endp != optarg) 238 char *endp; local 239 value = strtol (optarg, &endp, 10); 240 if (endp != optarg)
|
| msgcomm.c | 153 char *endp; local 154 value = strtol (optarg, &endp, 10); 155 if (endp != optarg) 163 char *endp; local 164 value = strtol (optarg, &endp, 10); 165 if (endp != optarg) 237 char *endp; local 238 value = strtol (optarg, &endp, 10); 239 if (endp != optarg)
|
| msgconv.c | 196 char *endp; local 197 value = strtol (optarg, &endp, 10); 198 if (endp != optarg)
|
| msguniq.c | 216 char *endp; local 217 value = strtol (optarg, &endp, 10); 218 if (endp != optarg)
|
| /src/external/gpl2/grep/dist/intl/ |
| plural-exp.c | 117 char *endp; local 128 n = strtoul (nplurals, &endp, 10); 130 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) 131 n = n * 10 + (*endp - '0'); 133 if (nplurals == endp)
|
| /src/external/gpl2/texinfo/dist/intl/ |
| plural-exp.c | 115 char *endp; local 126 n = strtoul (nplurals, &endp, 10); 128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) 129 n = n * 10 + (*endp - '0'); 131 if (nplurals == endp)
|
| /src/external/gpl3/gcc.old/dist/intl/ |
| plural-exp.c | 115 char *endp; local 126 n = strtoul (nplurals, &endp, 10); 128 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) 129 n = n * 10 + (*endp - '0'); 131 if (nplurals == endp)
|
| /src/tests/libexec/ld.elf_so/ |
| t_dladdr.c | 134 uintptr_t endp, nextp; local 141 endp = (uintptr_t)(void *)_end; 142 nextp = pagesize*((endp + pagesize - 1)/pagesize);
|
| /src/usr.bin/logger/ |
| logger.c | 121 char *p, *endp; local 124 for (p = buf, endp = buf + sizeof(buf) - 2; *argv != NULL;) { 126 if (p + len > endp && p > buf) {
|
| /src/external/bsd/nvi/dist/vi/ |
| v_ch.c | 149 CHAR_T *endp, *p, *startp; local 172 endp = (startp = p) + len; 175 while (++p < endp && *p != key); 176 if (p == endp) { 231 CHAR_T *endp, *p; local 255 endp = p - 1; 258 while (--p > endp && *p != key); 259 if (p == endp) { 265 vp->m_stop.cno = (p - endp) - 1;
|
| /src/external/gpl2/gettext/dist/gettext-tools/tests/ |
| tstngettext.c | 174 char *endp; local 178 tmp_val = strtoul (count, &endp, 10); 179 if (errno == 0 && count[0] != '\0' && endp[0] == '\0')
|
| /src/external/gpl3/gcc/dist/gcc/ |
| file-find.cc | 174 const char *startp, *endp; local 180 startp = endp = p; 183 if (*endp == PATH_SEPARATOR || *endp == 0) 185 strncpy (nstore, startp, endp-startp); 186 if (endp == startp) 190 else if (! IS_DIR_SEPARATOR (endp[-1])) 192 nstore[endp-startp] = DIR_SEPARATOR; 193 nstore[endp-startp+1] = 0; 196 nstore[endp-startp] = 0 [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| file-find.cc | 174 const char *startp, *endp; local 180 startp = endp = p; 183 if (*endp == PATH_SEPARATOR || *endp == 0) 185 strncpy (nstore, startp, endp-startp); 186 if (endp == startp) 190 else if (! IS_DIR_SEPARATOR (endp[-1])) 192 nstore[endp-startp] = DIR_SEPARATOR; 193 nstore[endp-startp+1] = 0; 196 nstore[endp-startp] = 0 [all...] |