| /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/external/bsd/openldap/dist/contrib/slapd-modules/rbac/ |
| util.c | 174 char *ptr, *endp = NULL; local 193 endp = ptr; 194 while ( *endp != DELIMITER ) { 195 endp++; 210 ptr = endp; 211 endp++; 212 if ( isdigit( *endp ) ) { 214 while ( isdigit( *endp ) ) { 215 secs = secs * 10 + *endp - '0'; 216 endp++ [all...] |
| /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/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/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/external/ibm-public/postfix/dist/src/global/ |
| scache_single.c | 81 SCACHE_SINGLE_ENDP endp; /* one cached session */ member in struct:__anon23132 88 #define SCACHE_SINGLE_ENDP_BUSY(sp) (VSTRING_LEN(sp->endp.endp_label) > 0) 100 msg_info("%s: %s", myname, STR(sp->endp.endp_label)); 103 if (sp->endp.fd >= 0 && close(sp->endp.fd) < 0) 104 msg_warn("close session endpoint %s: %m", STR(sp->endp.endp_label)); 105 VSTRING_RESET(sp->endp.endp_label); 106 VSTRING_TERMINATE(sp->endp.endp_label); 107 VSTRING_RESET(sp->endp.endp_prop); 108 VSTRING_TERMINATE(sp->endp.endp_prop) [all...] |
| scache_multi.c | 138 static void scache_multi_drop_endp(SCACHE_MULTI_ENDP *endp, int direction) 145 endp->endp_prop, endp->fd); 150 event_cancel_timer(scache_multi_expire_endp, (void *) endp); 157 ring_detach(endp->ring); 158 head = endp->head; 166 if (endp->fd >= 0 && close(endp->fd) != 0) 167 msg_warn("%s: close(%d): %m", myname, endp->fd); 168 myfree(endp->endp_prop) 177 SCACHE_MULTI_ENDP *endp = (SCACHE_MULTI_ENDP *) context; local 187 SCACHE_MULTI_ENDP *endp; local 210 SCACHE_MULTI_ENDP *endp; local 256 SCACHE_MULTI_ENDP *endp; local [all...] |
| /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/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/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...] |
| /src/external/bsd/ntp/dist/libntp/lib/isc/ |
| inet_pton.c | 140 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 146 endp = tp + NS_IN6ADDRSZ; 175 if (NS_INT16SZ > endp - tp) 183 if (ch == '.' && (NS_INADDRSZ <= endp - tp) && 192 if (NS_INT16SZ > endp - tp) 205 if (tp == endp) 208 endp[- i] = colonp[n - i]; 211 tp = endp; 213 if (tp != endp)
|
| /src/external/bsd/tcpdump/dist/ |
| strtoaddr.c | 160 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 166 endp = tp + NS_IN6ADDRSZ; 196 if (tp + NS_INT16SZ > endp) 204 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 213 if (tp + NS_INT16SZ > endp) 226 if (tp == endp) 229 endp[- i] = colonp[n - i]; 232 tp = endp; 234 if (tp != endp)
|
| /src/lib/csu/arch/ia64/ |
| crti.S | 48 .endp _init 60 .endp _fini
|
| /src/external/bsd/nsd/dist/compat/ |
| inet_pton.c | 150 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 156 endp = tp + NS_IN6ADDRSZ; 186 if (tp + NS_INT16SZ > endp) 194 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 203 if (tp + NS_INT16SZ > endp) 217 endp[- i] = colonp[n - i]; 220 tp = endp; 222 if (tp != endp)
|
| /src/external/bsd/unbound/dist/compat/ |
| inet_pton.c | 154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 160 endp = tp + NS_IN6ADDRSZ; 190 if (tp + NS_INT16SZ > endp) 198 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 207 if (tp + NS_INT16SZ > endp) 221 endp[- i] = colonp[n - i]; 224 tp = endp; 226 if (tp != endp)
|
| /src/external/bsd/wpa/dist/src/fst/ |
| fst_ctrl_iface.h | 33 int fst_read_next_int_param(const char *params, bool *valid, char **endp); 35 char **endp);
|
| /src/external/gpl3/gdb.old/dist/gdb/mi/ |
| mi-parse.h | 90 throw an exception on error. In each case, *ENDP, if non-NULL, 92 void set_thread_group (const char *arg, char **endp); 93 void set_thread (const char *arg, char **endp); 94 void set_frame (const char *arg, char **endp); 95 void set_language (const char *arg, const char **endp);
|
| /src/external/gpl3/gdb/dist/gdb/mi/ |
| mi-parse.h | 90 throw an exception on error. In each case, *ENDP, if non-NULL, 92 void set_thread_group (const char *arg, char **endp); 93 void set_thread (const char *arg, char **endp); 94 void set_frame (const char *arg, char **endp); 95 void set_language (const char *arg, const char **endp);
|
| /src/lib/libresolv/ |
| res_mkupdate.c | 87 u_char *cp, *sp2, *startp, *endp; local 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/external/bsd/libbind/dist/resolv/ |
| res_mkupdate.c | 86 u_char *cp, *sp2, *startp, *endp; local 209 endp = startp + rrecp->r_size - 1; 213 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 228 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 241 endp)) 261 soanum = getnum_str(&startp, endp); 277 n = getnum_str(&startp, endp); 282 if (!getword_str(buf2, sizeof buf2, &startp, endp)) 291 n = getnum_str(&startp, endp); 297 n = getnum_str(&startp, endp); [all...] |
| /src/lib/libc/inet/ |
| inet_pton.c | 227 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 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)
|