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

1234567891011>>

/freebsd-11-stable/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));
H A Dt_strtol.c55 atf_tc_fail_nonfatal("strtol(%s, &end, %d) failed "
65 "strtol(%s, &end, %d)", end, t->str, t->base);
71 atf_tc_set_md_var(tc, "descr", "Test strtol(3) with different bases");
106 li = strtol(t[i].str, &end, t[i].base);
116 atf_tc_set_md_var(tc, "descr", "Case insensitivity with strtol(3)");
140 li = strtol(t[i].str, &end, t[i].base);
150 atf_tc_set_md_var(tc, "descr", "Test ERANGE from strtol(3)");
178 li = strtol(t[i].str, &end, t[i].base);
181 atf_tc_fail("strtol(3) did not catch ERANGE");
190 atf_tc_set_md_var(tc, "descr", "A basic test of strtol(
[all...]
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dtcp_flags.c30 tcpf = strtol(flgs, NULL, 0);
37 tcpfm = strtol(s, NULL, 0);
/freebsd-11-stable/lib/libc/stdlib/
H A Datoi.c47 return (int)strtol(str, (char **)NULL, 10);
H A Datol.c47 return strtol(str, (char **)NULL, 10);
H A DMakefile.inc18 strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
41 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
63 MLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
/freebsd-11-stable/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-11-stable/usr.bin/svn/lib/libapr/
H A Dapr_private.h22 #define APR_INT64_STRFN strtol
25 #define APR_OFF_T_STRFN strtol
1042 #define APR_OFF_T_STRFN strtol
1043 #define APR_INT64_STRFN strtol
1051 #define APR_INT64_STRFN strtol
1058 #define APR_INT64_STRFN strtol
1066 #define APR_OFF_T_STRFN strtol
1067 #define APR_OFF_T_STRFN strtol
/freebsd-11-stable/tests/sys/net/
H A Drandsleep.c52 max_usecs = (useconds_t)strtol(argv[1], NULL, 0);
54 perror("strtol");
/freebsd-11-stable/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-11-stable/usr.bin/pom/
H A Dpom.c119 tmd.tm_year = strtol(odate, NULL, 10) - 1900;
120 tmd.tm_mon = strtol(odate + 5, NULL, 10) - 1;
121 tmd.tm_mday = strtol(odate + 8, NULL, 10);
128 tmd.tm_hour = strtol(otime, NULL, 10);
129 tmd.tm_min = strtol(otime + 3, NULL, 10);
130 tmd.tm_sec = strtol(otime + 6, NULL, 10);
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dgetenv_num.c49 || (value = strtol(src, &dst, 0)) < 0
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dboolean.c64 long val = strtol(od->optArg.argString, &pz, 0);
/freebsd-11-stable/share/examples/ses/srcs/
H A Dsetencstat.c62 val = strtol(v[2], NULL, 0);
H A Dsetobjstat.c66 cvt = strtol(v[2], &x, 0);
73 cvt = strtol(v[3 + i], &x, 0);
H A Dgetobjstat.c64 cvt = strtol(v[2], &x, 0);
/freebsd-11-stable/usr.bin/perror/
H A Dperror.c55 errnum = strtol(argv[1], &cp, 0);
/freebsd-11-stable/contrib/binutils/binutils/
H A Ddeflex.l63 [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0);
/freebsd-11-stable/usr.bin/colrm/
H A Dcolrm.c82 stop = strtol(argv[1], &p, 10);
87 start = strtol(argv[0], &p, 10);
/freebsd-11-stable/bin/kill/
H A Dkill.c87 numsig = strtol(*argv, &ep, 10);
119 numsig = strtol(*argv, &ep, 10);
142 pidl = strtol(*argv, &ep, 10);
/freebsd-11-stable/contrib/ipfilter/
H A Dgenmask.c44 bits = (int)strtol(msk, &endptr, 0);
/freebsd-11-stable/contrib/sendmail/src/
H A Dsysexits.c160 i = (int) strtol(excode, &c, 10);
/freebsd-11-stable/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-11-stable/share/examples/libusb20/
H A Dbulk.c165 in_ep = strtol(optarg, NULL, 0);
169 out_ep = strtol(optarg, NULL, 0);
173 pid = strtol(optarg, NULL, 0);
177 vid = strtol(optarg, NULL, 0);

Completed in 128 milliseconds

1234567891011>>