HomeSort by: relevance | last modified time | path
    Searched refs:strtol (Results 1 - 25 of 219) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/lib/libc/stdlib/
atoi.c 49 return((int)strtol(str, NULL, 10));
atol.c 49 return(strtol(str, (char **)NULL, 10));
strtol.c 1 /* $NetBSD: strtol.c,v 1.18 2008/08/20 12:42:26 joerg Exp $ */
31 __RCSID("$NetBSD: strtol.c,v 1.18 2008/08/20 12:42:26 joerg Exp $");
40 #define _FUNCNAME strtol
  /src/tests/lib/libc/stdlib/
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));
t_strtol.c 54 atf_tc_fail_nonfatal("strtol(%s, &end, %d) failed "
68 "strtol(%p, &end, %d)", end, t->str, t->base);
74 atf_tc_set_md_var(tc, "descr", "Test strtol(3) with different bases");
117 li = strtol(t[i].str, &end, t[i].base);
145 atf_tc_set_md_var(tc, "descr", "Test strtol(3) with an invalid base");
173 CHECK(li, "%ld", strtol);
184 atf_tc_set_md_var(tc, "descr", "Case insensitivity with strtol(3)");
209 li = strtol(t[i].str, &end, t[i].base);
220 atf_tc_set_md_var(tc, "descr", "Test ERANGE from strtol(3)");
248 li = strtol(t[i].str, &end, t[i].base)
    [all...]
  /src/usr.sbin/sesd/srcs/
setobjstat.c 65 cvt = strtol(v[2], &x, 0);
72 cvt = strtol(v[3 + i], &x, 0);
setencstat.c 61 val = strtol(v[2], NULL, 0);
getobjstat.c 63 cvt = strtol(v[2], &x, 0);
  /src/usr.sbin/altq/libaltq/
qop_rio.c 123 weight = (int)strtol(*argv, NULL, 0);
127 qlimit = (int)strtol(*argv, NULL, 0);
131 lo_th_min = (int)strtol(*argv, NULL, 0);
135 lo_th_max = (int)strtol(*argv, NULL, 0);
139 lo_inv_pmax = (int)strtol(*argv, NULL, 0);
143 med_th_min = (int)strtol(*argv, NULL, 0);
147 med_th_max = (int)strtol(*argv, NULL, 0);
151 med_inv_pmax = (int)strtol(*argv, NULL, 0);
155 hi_th_min = (int)strtol(*argv, NULL, 0);
159 hi_th_max = (int)strtol(*argv, NULL, 0)
    [all...]
qop_red.c 116 weight = (int)strtol(*argv, NULL, 0);
120 qlimit = (int)strtol(*argv, NULL, 0);
124 th_min = (int)strtol(*argv, NULL, 0);
128 th_max = (int)strtol(*argv, NULL, 0);
132 inv_pmax = (int)strtol(*argv, NULL, 0);
  /src/sbin/mount/
fattr.c 53 id = strtol(s, &ep, 0);
85 rv = strtol(s, &ep, 8);
  /src/usr.bin/colrm/
colrm.c 79 stop = strtol(argv[1], &p, 10);
84 start = strtol(argv[0], &p, 10);
  /src/lib/libc/gen/
signalnumber.c 78 offs = strtol(name+1, &ep, 10);
getbsize.c 67 if ((n = strtol(p, &ep, 10)) < 0)
  /src/usr.bin/hexdump/
hexsyntax.c 98 if ((skip = strtol(optarg, &p, 0)) < 0)
odsyntax.c 150 if ((skip = strtol(optarg, &p, 0)) < 0)
253 nbytes = strtol(type_string, &tmp, 10);
283 nbytes = strtol(type_string, &tmp, 10);
363 skip = strtol(num, &end, base ? base : 8);
  /src/usr.bin/m4/
tokenizer.l 75 l = strtol(yytext, NULL, 0);
91 base = strtol(yytext+2, &next, 0);
  /src/usr.bin/rsh/
getport.c 57 port = strtol(service, &ep, 0);
  /src/usr.sbin/hdaudioctl/
hdaudioctl.c 171 codecid = strtol(argv[0], NULL, 0);
172 nid = strtol(argv[1], NULL, 0);
212 codecid = strtol(argv[0], NULL, 0);
213 nid = strtol(argv[1], NULL, 0);
273 codecid = strtol(argv[0], NULL, 0);
274 nid = strtol(argv[1], NULL, 0);
  /src/usr.bin/tabs/
tabs.c 102 num = strtol(arg, &end, 10);
161 num = strtol(token, &end, 10);
211 num = strtol(term, &end, 10);
  /src/lib/libterminfo/
setupterm.c 139 t_lines(*nterm) = (short)strtol(p, NULL, 0);
141 t_columns(*nterm) = (short)strtol(p, NULL, 0);
  /src/sbin/mount_ptyfs/
mount_ptyfs.c 141 l = strtol(name, &ep, 0);
194 args.mode = (mode_t)strtol(optarg, NULL, 0);
  /src/usr.sbin/sdpd/
main.c 170 uid = strtol(user, &ep, 10);
184 gid = strtol(group, &ep, 10);
  /src/usr.bin/touch/
touch.c 167 (void)strtol(argv[0], &p, 10);
384 val = strtol(arg, &ep, 10); /* YYYY */
395 val = strtol(p, &ep, 10); /* MM */
406 val = strtol(p, &ep, 10); /* DD */
417 val = strtol(p, &ep, 10); /* hh */
428 val = strtol(p, &ep, 10); /* mm */
439 val = strtol(p, &ep, 10); /* ss (or in POSIX, SS) */
454 val = strtol(p, &ep, 10);
  /src/sbin/mknod/
mknod.c 132 gid = strtol(optarg + 1, &p, 10);
138 gid = strtol(optarg, &p, 10);
151 uid = strtol(optarg + 1, &p, 10);
157 uid = strtol(optarg, &p, 10);

Completed in 653 milliseconds

1 2 3 4 5 6 7 8 9