Searched refs:strtol (Results 1 - 25 of 632) sorted by relevance

1234567891011>>

/freebsd-current/tools/build/cross-build/include/linux/
H A Dctype.h47 return strtol(buffer, 0, 16);
/freebsd-current/lib/libc/stdlib/
H A Datol.c43 return strtol(str, (char **)NULL, 10);
H A Datoi.c43 return (int)strtol(str, NULL, 10);
H A DMakefile.inc16 strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
43 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
85 MLINKS+=strtol.3 strtoll.3 \
86 strtol.3 strtoq.3 \
87 strtol.3 strtoimax.3
/freebsd-current/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_atoi.c62 "Test that atoi(3) matches the corresponding strtol(3) call");
71 ATF_REQUIRE(atoi("0") == strtol("0", NULL, 10));
72 ATF_REQUIRE(atoi("-1") == strtol("-1", NULL, 10));
73 ATF_REQUIRE(atoi(buf) == strtol(buf, NULL, 10));
80 "Test that atol(3) matches the corresponding strtol(3) call");
89 ATF_REQUIRE(atol("0") == strtol("0", NULL, 10));
90 ATF_REQUIRE(atol("-1") == strtol("-1", NULL, 10));
91 ATF_REQUIRE(atol(buf) == strtol(buf, NULL, 10));
/freebsd-current/sbin/ipf/libipf/
H A Dtcp_flags.c26 tcpf = strtol(flgs, NULL, 0);
33 tcpfm = strtol(s, NULL, 0);
/freebsd-current/contrib/diff/lib/
H A Dstrtoimax.c58 # define strtol strtoul macro
79 return strtol (ptr, endptr, base);
H A Dposixver.c53 long int i = strtol (s, &e, 10);
/freebsd-current/tests/sys/net/
H A Drandsleep.c50 max_usecs = (useconds_t)strtol(argv[1], NULL, 0);
52 perror("strtol");
/freebsd-current/contrib/sendmail/libsm/
H A Dt-memstat.c57 l = strtol(optarg, NULL, 0);
61 sz = strtol(optarg, NULL, 0);
75 slp = strtol(optarg, NULL, 0);
/freebsd-current/usr.bin/pom/
H A Dpom.c117 tmd.tm_year = strtol(odate, NULL, 10) - 1900;
118 tmd.tm_mon = strtol(odate + 5, NULL, 10) - 1;
119 tmd.tm_mday = strtol(odate + 8, NULL, 10);
127 tmd.tm_hour = strtol(otime, NULL, 10);
128 tmd.tm_min = strtol(otime + 3, NULL, 10);
129 tmd.tm_sec = strtol(otime + 6, NULL, 10);
/freebsd-current/sbin/ipf/common/
H A Dgenmask.c42 bits = (int)strtol(msk, &endptr, 0);
/freebsd-current/contrib/ntp/sntp/libopts/
H A Dboolean.c64 long val = strtol(od->optArg.argString, &pz, 0);
/freebsd-current/share/examples/ses/srcs/
H A Dsetencstat.c61 val = strtol(v[2], NULL, 0);
H A Dsetobjstat.c65 cvt = strtol(v[2], &x, 0);
72 cvt = strtol(v[3 + i], &x, 0);
/freebsd-current/usr.bin/perror/
H A Dperror.c53 errnum = strtol(argv[1], &cp, 0);
/freebsd-current/usr.sbin/bhyve/
H A Dpci_hostbridge.c47 vendor = strtol(value, NULL, 0);
52 device = strtol(value, NULL, 0);
/freebsd-current/usr.sbin/mpsutil/
H A Dmps_slot.c71 x = strtol(argv[2], &endptr, 0);
79 x = strtol(argv[3], &endptr, 0);
/freebsd-current/usr.bin/colrm/
H A Dcolrm.c69 stop = strtol(argv[1], &p, 10);
74 start = strtol(argv[0], &p, 10);
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_cpu.c101 family = strtol(s, &endptr, 0);
111 model = strtol(s, &endptr, 0);
125 stepping = strtol(s, &endptr, 0);
/freebsd-current/bin/kill/
H A Dkill.c75 numsig = strtol(*argv, &ep, 10);
107 numsig = strtol(*argv, &ep, 10);
130 pidl = strtol(*argv, &ep, 10);
/freebsd-current/contrib/sendmail/src/
H A Dsysexits.c160 i = (int) strtol(excode, &c, 10);
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dgetenv_num.c50 || (value = strtol(src, &dst, 0)) < 0
/freebsd-current/sys/contrib/ncsw/inc/
H A Dstdlib_ext.h52 * strtol - convert a string to a int32_t
57 long strtol(const char *cp,char **endp,uint32_t base);
/freebsd-current/usr.bin/beep/
H A Dbeep.c168 frequency = strtol(optarg, NULL, 10);
171 duration_ms = strtol(optarg, NULL, 10);
177 sample_rate = strtol(optarg, NULL, 10);
183 gain = strtol(optarg, NULL, 10);

Completed in 221 milliseconds

1234567891011>>