Searched refs:endp (Results 1 - 25 of 86) sorted by relevance

1234

/src/lib/libc/gen/
H A Ddirname.c50 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...]
H A Dbasename.c51 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 A Dh_spawn.c44 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/
H A Dbootinfo.c49 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/
H A Dbootinfo.c48 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/
H A Dcrti.S48 .endp _init
60 .endp _fini
/src/lib/libresolv/
H A Dres_mkupdate.c87 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);
729 getword_str(char * buf,size_t size,u_char ** startpp,u_char * endp) argument
759 getstr_str(char * buf,size_t size,u_char ** startpp,u_char * endp) argument
837 gethexnum_str(u_char ** startpp,u_char * endp) argument
885 getnum_str(u_char ** startpp,u_char * endp) argument
[all...]
/src/lib/libc/inet/
H A Dinet_pton.c227 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)
H A Dinet_net_pton.c273 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...]
H A Dinet_cidr_pton.c162 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local in function:inet_cidr_pton_ipv6
169 endp = tp + NS_IN6ADDRSZ;
202 if (tp + NS_INT16SZ > endp)
210 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
225 if (tp + NS_INT16SZ > endp)
238 if (tp == endp)
241 endp[- i] = colonp[n - i];
244 tp = endp;
/src/lib/libc/compat/sys/
H A Dcompat_getdents.c53 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/
H A Dmount_tmpfs.c98 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/
H A Duhcireg.h195 #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/sys/arch/ia64/stand/ia64/ski/
H A Dstart.S60 .endp _start
/src/games/cribbage/
H A Dcards.c132 CARD *cp, *endp; local in function:sorthand
135 for (endp = &h[n]; h < endp - 1; h++)
136 for (cp = h + 1; cp < endp; cp++)
/src/include/
H A Dregexp.h86 char *endp[NSUBEXP]; member in struct:regexp
/src/usr.bin/calendar/
H A Dcalendar.c270 isnow(char *endp) argument
281 if (!(v1 = getfield(endp, &endp, &flags)))
288 if ((month = getfield(endp, &endp, &flags)) == 0) {
295 if ((day = getfield(endp, &endp, &flags)) == 0)
298 v2 = getfield(endp, &endp, &flags);
347 getfield(char *p, char **endp, in argument
[all...]
/src/lib/libcompat/regexp/
H A Dregsub.c76 } else if (prog->startp[no] != NULL && prog->endp[no] != NULL) {
77 len = prog->endp[no] - prog->startp[no];
/src/lib/libc/posix1e/
H A Dacl_from_text.c281 char *endp; local in function:_acl_name_to_id
287 l = strtoul(name, &endp, 0);
288 if (*endp != '\0' || l != (unsigned long)(uid_t)l) {
301 l = strtoul(name, &endp, 0);
302 if (*endp != '\0' || l != (unsigned long)(gid_t)l) {
/src/games/caesar/
H A Dcaesar.c113 char *endp; local in function:get_rotation
116 rot = strtol(arg, &endp, 10);
117 if (errno == 0 && (arg[0] == '\0' || *endp != '\0'))
/src/usr.bin/logger/
H A Dlogger.c121 char *p, *endp; local in function:main
124 for (p = buf, endp = buf + sizeof(buf) - 2; *argv != NULL;) {
126 if (p + len > endp && p > buf) {
/src/tests/libexec/ld.elf_so/
H A Dt_dladdr.c134 uintptr_t endp, nextp; local in function:ATF_TC_BODY
141 endp = (uintptr_t)(void *)_end;
142 nextp = pagesize*((endp + pagesize - 1)/pagesize);
/src/sys/external/bsd/gnu-efi/dist/lib/ia64/
H A Dpalproc.h29 #define PROCEDURE_EXIT(name) .##endp name
/src/distrib/utils/ssh/
H A Dssh.c537 char *dirp, *endp, *bufp; /* dir, end */ local in function:find_in_path
541 endp = dirp;
543 while (*endp && (*endp != ':'))
544 *bufp++ = *endp++;
549 if (*endp == ':')
550 endp++;
551 dirp = endp; /* next dir */
/src/lib/libc/regex/
H A Dengine.c96 const char *endp; /* end of string -- virtual NUL here */ member in struct:match
206 const char *endp; local in function:matcher
293 m->endp = stop;
315 endp = walk(m, start, stop, gf, gl, true);
316 if (endp == NULL) { /* a miss */
327 endp = walk(m, m->coldp, stop, gf, gl, false);
328 if (endp != NULL)
330 assert(m->coldp < m->endp);
332 (size_t)(m->endp - m->coldp), &m->mbs, 0);
349 dp = dissect(m, m->coldp, endp, g
[all...]

Completed in 16 milliseconds

1234