/dragonfly/games/rogue/ |
H A D | init.c | 258 char *eptr; in do_opts() local 262 while ((*eptr) == ' ') { in do_opts() 263 eptr++; in do_opts() 265 if (!(*eptr)) { in do_opts() 269 eptr += 6; in do_opts() 272 eptr += 5; in do_opts() 277 eptr += 5; in do_opts() 282 !strncmp(eptr,"notomb", 6)) { in do_opts() 289 while ((*eptr) && (*eptr != ',')) { in do_opts() 290 eptr++; in do_opts() [all …]
|
/dragonfly/contrib/binutils-2.27/ld/ |
H A D | ldemul.c | 277 ld_emulation_xfer_type **eptr = ld_emulations; in ldemul_choose_mode() local 281 for (; *eptr; eptr++) in ldemul_choose_mode() 283 if (strcmp (target, (*eptr)->emulation_name) == 0) in ldemul_choose_mode() 285 ld_emulation = *eptr; in ldemul_choose_mode() 298 ld_emulation_xfer_type **eptr = ld_emulations; in ldemul_list_emulations() local 301 for (; *eptr; eptr++) in ldemul_list_emulations() 307 fprintf (f, "%s", (*eptr)->emulation_name); in ldemul_list_emulations() 314 ld_emulation_xfer_type **eptr; in ldemul_list_emulation_options() local 317 for (eptr = ld_emulations; *eptr; eptr++) in ldemul_list_emulation_options() 319 ld_emulation_xfer_type *emul = *eptr; in ldemul_list_emulation_options()
|
/dragonfly/contrib/binutils-2.34/ld/ |
H A D | ldemul.c | 317 ld_emulation_xfer_type **eptr = ld_emulations; in ldemul_choose_mode() local 321 for (; *eptr; eptr++) in ldemul_choose_mode() 323 if (strcmp (target, (*eptr)->emulation_name) == 0) in ldemul_choose_mode() 325 ld_emulation = *eptr; in ldemul_choose_mode() 338 ld_emulation_xfer_type **eptr = ld_emulations; in ldemul_list_emulations() local 341 for (; *eptr; eptr++) in ldemul_list_emulations() 347 fprintf (f, "%s", (*eptr)->emulation_name); in ldemul_list_emulations() 354 ld_emulation_xfer_type **eptr; in ldemul_list_emulation_options() local 357 for (eptr = ld_emulations; *eptr; eptr++) in ldemul_list_emulation_options() 359 ld_emulation_xfer_type *emul = *eptr; in ldemul_list_emulation_options()
|
/dragonfly/contrib/openbsd_libm/src/ |
H A D | s_frexpf.c | 23 frexpf(float x, int *eptr) in frexpf() argument 28 *eptr = 0; in frexpf() 34 *eptr = -25; in frexpf() 36 *eptr += (ix>>23)-126; in frexpf()
|
/dragonfly/lib/libc/gen/ |
H A D | posixshm.c | 129 const char *eptr; in mkintermediatedirs() local 134 eptr = path - 1; in mkintermediatedirs() 135 while ((eptr = strchr(eptr + 1, '/')) != NULL) { in mkintermediatedirs() 136 len = eptr - path; in mkintermediatedirs()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | pretty-print.c | 146 char *eptr, *delim; in eat_esc_sequence() local 166 if (eptr != esc_term) in eat_esc_sequence() 190 if (eptr != esc_term) in eat_esc_sequence() 214 if (eptr != esc_term) in eat_esc_sequence() 238 if (eptr != esc_term) in eat_esc_sequence() 262 if (eptr != esc_term) in eat_esc_sequence() 287 if (eptr != esc_term) in eat_esc_sequence() 312 if (eptr != esc_term) in eat_esc_sequence() 358 if (eptr != delim) in eat_esc_sequence() 512 if (*eptr != ';' && eptr != esc_term) in eat_esc_sequence() [all …]
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | asn1_gen.c | 379 char *eptr; in parse_tagging() local 383 tag_num = strtoul(vstart, &eptr, 10); in parse_tagging() 385 if (eptr && *eptr && (eptr > vstart + vlen)) in parse_tagging() 393 if (eptr) in parse_tagging() 394 vlen -= eptr - vstart; in parse_tagging() 398 switch (*eptr) { in parse_tagging() 418 ERR_asprintf_error_data("Char=%c", *eptr); in parse_tagging() 786 char *eptr; in bitstr_cb() local 790 bitnum = strtoul(elem, &eptr, 10); in bitstr_cb() 791 if (eptr && *eptr && (eptr != elem + len)) in bitstr_cb()
|
/dragonfly/sys/netgraph7/netgraph/ |
H A D | ng_parse.c | 339 char *eptr; in ng_int8_parse() local 344 *off = eptr - s; in ng_int8_parse() 437 char *eptr; in ng_int16_parse() local 443 *off = eptr - s; in ng_int16_parse() 536 char *eptr; in ng_int32_parse() local 545 *off = eptr - s; in ng_int32_parse() 638 char *eptr; in ng_int64_parse() local 643 *off = eptr - s; in ng_int64_parse() 1031 char *eptr; in ng_enaddr_parse() local 1042 *off = (eptr - s); in ng_enaddr_parse() [all …]
|
/dragonfly/contrib/tcsh-6/ |
H A D | gethost.c | 170 const char *ptr, *bptr, *eptr = NULL, *name; in explode() local 179 for (ptr = defs; (bptr = strstr(ptr, def)) != NULL; ptr = eptr + 1) { in explode() 183 if ((eptr = strchr(ptr + sizeof(def) - 1, ')')) == NULL) { in explode() 189 buf = cat(buf, bptr, eptr - bptr + 1); in explode() 191 len = eptr - name; in explode() 213 if (!eptr) { in explode() 217 buf = cat(buf, eptr + 1, 0); in explode()
|
/dragonfly/sys/netgraph/netgraph/ |
H A D | ng_parse.c | 337 char *eptr; in ng_int8_parse() local 339 val = strtol(s + *off, &eptr, 0); in ng_int8_parse() 342 *off = eptr - s; in ng_int8_parse() 430 char *eptr; in ng_int16_parse() local 436 *off = eptr - s; in ng_int16_parse() 524 char *eptr; in ng_int32_parse() local 530 *off = eptr - s; in ng_int32_parse() 618 char *eptr; in ng_int64_parse() local 621 if (eptr == s + *off) in ng_int64_parse() 623 *off = eptr - s; in ng_int64_parse() [all …]
|
/dragonfly/usr.bin/gcore/ |
H A D | gcore.c | 82 char *eptr; in main() local 93 gcore_seg_limit = strtol(optarg, &eptr, 0); in main() 94 switch(*eptr) { in main()
|
/dragonfly/tools/tools/ath/athpoke/ |
H A D | athpoke.c | 69 char *eptr; in main() local 110 reg = (uint32_t) strtoul(argv[0], &eptr, 0); in main() 111 if (argv[0] == eptr || eptr[0] != '\0') in main()
|
/dragonfly/sys/netgraph7/netflow/ |
H A D | ng_netflow.c | 209 char *eptr; in ng_netflow_newhook() local 215 ifnum = (int)strtoul(cp, &eptr, 10); in ng_netflow_newhook() 216 if (*eptr != '\0' || ifnum < 0 || ifnum >= NG_NETFLOW_MAXIFACES) in ng_netflow_newhook() 241 char *eptr; in ng_netflow_newhook() local 247 ifnum = (int)strtoul(cp, &eptr, 10); in ng_netflow_newhook() 248 if (*eptr != '\0' || ifnum < 0 || ifnum >= NG_NETFLOW_MAXIFACES) in ng_netflow_newhook()
|
/dragonfly/contrib/dhcpcd/compat/ |
H A D | pidfile.c | 138 char dpath[PATH_MAX], buf[16], *eptr; in pidfile_read() local 161 pid = (pid_t)strtoi(buf, &eptr, 10, 1, INT_MAX, &error); in pidfile_read() 162 if (error && !(error == ENOTSUP && *eptr == '\n')) { in pidfile_read()
|
/dragonfly/contrib/bmake/ |
H A D | arch.c | 664 char *ptr, *eptr; in ArchSVR4Entry() local 686 eptr = ar->fnametab + size; in ArchSVR4Entry() 687 for (entry = 0, ptr = ar->fnametab; ptr < eptr; ptr++) in ArchSVR4Entry() 701 entry = (size_t)strtol(&inout_name[1], &eptr, 0); in ArchSVR4Entry() 702 if ((*eptr != ' ' && *eptr != '\0') || eptr == &inout_name[1]) { in ArchSVR4Entry()
|
/dragonfly/sys/netgraph/ksocket/ |
H A D | ng_ksocket.c | 272 char *eptr; in ng_ksocket_sockaddr_parse() local 274 val = strtoul(s + *off, &eptr, 10); in ng_ksocket_sockaddr_parse() 275 if (val > 0xff || eptr == s + *off) in ng_ksocket_sockaddr_parse() 277 *off += (eptr - (s + *off)); in ng_ksocket_sockaddr_parse() 285 val = strtoul(s + *off, &eptr, 10); in ng_ksocket_sockaddr_parse() 286 if (val > 0xffff || eptr == s + *off) in ng_ksocket_sockaddr_parse() 288 *off += (eptr - (s + *off)); in ng_ksocket_sockaddr_parse() 1237 char *eptr; in ng_ksocket_parse() local 1247 val = (int)strtoul(s, &eptr, 10); in ng_ksocket_parse() 1248 if (val < 0 || *eptr != '\0') in ng_ksocket_parse()
|
/dragonfly/sys/netgraph7/ksocket/ |
H A D | ng_ksocket.c | 274 char *eptr; in ng_ksocket_sockaddr_parse() local 276 val = strtoul(s + *off, &eptr, 10); in ng_ksocket_sockaddr_parse() 277 if (val > 0xff || eptr == s + *off) in ng_ksocket_sockaddr_parse() 279 *off += (eptr - (s + *off)); in ng_ksocket_sockaddr_parse() 287 val = strtoul(s + *off, &eptr, 10); in ng_ksocket_sockaddr_parse() 288 if (val > 0xffff || eptr == s + *off) in ng_ksocket_sockaddr_parse() 290 *off += (eptr - (s + *off)); in ng_ksocket_sockaddr_parse() 1269 char *eptr; in ng_ksocket_parse() local 1279 val = (int)strtoul(s, &eptr, 10); in ng_ksocket_parse() 1280 if (val < 0 || *eptr != '\0') in ng_ksocket_parse()
|
/dragonfly/crypto/libressl/crypto/evp/ |
H A D | p_lib.c | 235 ENGINE **eptr = NULL; in pkey_set_type() local 238 eptr = &e; in pkey_set_type() 254 ameth = EVP_PKEY_asn1_find_str(eptr, str, len); in pkey_set_type() 256 ameth = EVP_PKEY_asn1_find(eptr, type); in pkey_set_type() 258 if (pkey == NULL && eptr != NULL) in pkey_set_type()
|
/dragonfly/sys/netgraph/ether/ |
H A D | ng_ether.c | 633 char *eptr; in ng_enaddr_parse() local 640 val = strtoul(s + *off, &eptr, 16); in ng_enaddr_parse() 641 if (val > 0xff || eptr == s + *off) in ng_enaddr_parse() 644 *off = (eptr - s); in ng_enaddr_parse() 646 if (*eptr != ':') in ng_enaddr_parse()
|
/dragonfly/usr.sbin/mixer/ |
H A D | mixer.c | 111 char *name, *eptr; in main() local 120 n = strtol(name + 5, &eptr, 10) - 1; in main() 121 if (n > 0 && *eptr == '\0') in main()
|
/dragonfly/usr.bin/top/ |
H A D | utils.c | 143 char *eptr; in itoa_w() local 153 eptr = ptr = buffer + sizeof(buffer); in itoa_w() 164 while (ptr >= eptr - w) in itoa_w()
|
/dragonfly/sys/netgraph7/ |
H A D | ng_sample.c | 206 char *eptr; in ng_xxx_newhook() local 211 dlci = (int)strtoul(cp, &eptr, 10); in ng_xxx_newhook() 212 if (*eptr != '\0' || dlci < 0 || dlci > 1023) in ng_xxx_newhook()
|
/dragonfly/sys/netgraph/ |
H A D | ng_sample.c | 208 char *eptr; in ng_xxx_newhook() local 213 dlci = (int)strtoul(cp, &eptr, 10); in ng_xxx_newhook() 214 if (*eptr != '\0' || dlci < 0 || dlci > 1023) in ng_xxx_newhook()
|
/dragonfly/sbin/ipfw/ |
H A D | ipfw2.c | 1859 char *eptr; in fill_ip() local 3584 char *eptr; in table_create() local 3594 if (*eptr != '\0') in table_create() 3606 char *eptr; in table_flush() local 3623 if (*eptr != '\0') in table_flush() 3738 char *eptr; in table_alt() local 3749 if (*eptr != '\0') in table_alt() 3823 char *eptr; in table_show() local 3831 if (*eptr != '\0') in table_show() 3922 char *eptr; in table_zero() local [all …]
|
/dragonfly/usr.sbin/sshlockout/ |
H A D | sshlockout.c | 209 char *eptr; in parse_args() local 211 tableid = strtoul(av[2], &eptr, 0); in parse_args() 212 if (*eptr != '\0') in parse_args()
|