/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_atoi.c | 62 "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 D | t_strtol.c | 55 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 D | tcp_flags.c | 30 tcpf = strtol(flgs, NULL, 0); 37 tcpfm = strtol(s, NULL, 0);
|
/freebsd-11-stable/lib/libc/stdlib/ |
H A D | atoi.c | 47 return (int)strtol(str, (char **)NULL, 10);
|
H A D | atol.c | 47 return strtol(str, (char **)NULL, 10);
|
H A D | Makefile.inc | 18 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 D | strtoimax.c | 58 # define strtol strtoul macro 79 return strtol (ptr, endptr, base);
|
H A D | posixver.c | 53 long int i = strtol (s, &e, 10);
|
/freebsd-11-stable/usr.bin/svn/lib/libapr/ |
H A D | apr_private.h | 22 #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 D | randsleep.c | 52 max_usecs = (useconds_t)strtol(argv[1], NULL, 0); 54 perror("strtol");
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | t-memstat.c | 57 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 D | pom.c | 119 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 D | getenv_num.c | 49 || (value = strtol(src, &dst, 0)) < 0
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | boolean.c | 64 long val = strtol(od->optArg.argString, &pz, 0);
|
/freebsd-11-stable/share/examples/ses/srcs/ |
H A D | setencstat.c | 62 val = strtol(v[2], NULL, 0);
|
H A D | setobjstat.c | 66 cvt = strtol(v[2], &x, 0); 73 cvt = strtol(v[3 + i], &x, 0);
|
H A D | getobjstat.c | 64 cvt = strtol(v[2], &x, 0);
|
/freebsd-11-stable/usr.bin/perror/ |
H A D | perror.c | 55 errnum = strtol(argv[1], &cp, 0);
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | deflex.l | 63 [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0);
|
/freebsd-11-stable/usr.bin/colrm/ |
H A D | colrm.c | 82 stop = strtol(argv[1], &p, 10); 87 start = strtol(argv[0], &p, 10);
|
/freebsd-11-stable/bin/kill/ |
H A D | kill.c | 87 numsig = strtol(*argv, &ep, 10); 119 numsig = strtol(*argv, &ep, 10); 142 pidl = strtol(*argv, &ep, 10);
|
/freebsd-11-stable/contrib/ipfilter/ |
H A D | genmask.c | 44 bits = (int)strtol(msk, &endptr, 0);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | sysexits.c | 160 i = (int) strtol(excode, &c, 10);
|
/freebsd-11-stable/sys/contrib/ncsw/inc/ |
H A D | stdlib_ext.h | 52 * 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 D | bulk.c | 165 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);
|