Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/openbsd/usr.sbin/eigrpd/
H A Dlogmsg.c38 static int round = 0; in log_sockaddr() local
41 round = (round + 1) % NUM_LOGS; in log_sockaddr()
43 if (getnameinfo(sa, sa->sa_len, buf[round], NI_MAXHOST, NULL, 0, in log_sockaddr()
47 return (buf[round]); in log_sockaddr()
84 static int round = 0; in log_addr() local
88 round = (round + 1) % NUM_LOGS; in log_addr()
89 if (inet_ntop(AF_INET, &addr->v4, buf[round], in log_addr()
90 sizeof(buf[round])) == NULL) in log_addr()
92 return (buf[round]); in log_addr()
/openbsd/usr.sbin/ospf6d/
H A Dlogmsg.c76 static int round = 0; in log_rtr_id() local
79 round = (round + 1) % NUM_LOGS; in log_rtr_id()
82 if (inet_ntop(AF_INET, &addr, buf[round], 16) == NULL) in log_rtr_id()
85 return buf[round]; in log_rtr_id()
92 static int round = 0; in log_sockaddr() local
95 round = (round + 1) % NUM_LOGS; in log_sockaddr()
97 if (getnameinfo(sa, sa->sa_len, buf[round], NI_MAXHOST, NULL, 0, in log_sockaddr()
101 return (buf[round]); in log_sockaddr()
/openbsd/usr.bin/sndiod/
H A Dsiofile.c141 par.round = d->round; in dev_sio_open()
166 par.round = d->round * rate / d->rate; in dev_sio_open()
218 if (par.round == 0 || par.round > par.bufsz || in dev_sio_open()
219 par.bufsz % par.round != 0) { in dev_sio_open()
222 log_putu(par.round); in dev_sio_open()
244 d->round = par.round; in dev_sio_open()
401 d->rchan * d->round * d->par.bps - in dev_sio_run()
420 d->sio.rused -= d->round; in dev_sio_run()
422 if (d->sio.rused >= d->round) { in dev_sio_run()
499 d->sio.pused += d->round; in dev_sio_run()
[all …]
H A Ddev.c521 in, s->mix.resampbuf, s->round, d->round); in dev_mix_badd()
658 s->sub.resampbuf, resamp_out, d->round, s->round); in dev_sub_bcopy()
715 d->delta -= d->round; in dev_cycle()
941 d->reqround = round; in dev_new()
1042 log_putu(d->round); in dev_allocbufs()
1312 if (((long long)o->round * n->rate != (long long)n->round * o->rate) || in dev_iscompat()
1570 resamp_init(&s->mix.resamp, s->round, d->round, in slot_initconv()
1600 resamp_init(&s->sub.resamp, d->round, s->round, in slot_initconv()
1798 s->round = s->opt->dev->round; in slot_new()
1961 log_puti(s->round); in slot_attach()
[all …]
H A Dsndiod.c414 if (!bufsz && !round) { in mkdev()
415 round = DEFAULT_ROUND; in mkdev()
418 bufsz = round * 2; in mkdev()
419 } else if (!round) in mkdev()
420 round = bufsz / 2; in mkdev()
570 round = 0; in main()
642 bufsz, round, rate, 0, autovol); in main()
676 round = strtonum(optarg, 1, SHRT_MAX, &str); in main()
681 d = mkdev(optarg, &par, 0, bufsz, round, in main()
689 d = mkdev(optarg, &par, 0, bufsz, round, in main()
[all …]
/openbsd/usr.sbin/ldpd/
H A Dlogmsg.c38 static int round = 0; in log_sockaddr() local
41 round = (round + 1) % NUM_LOGS; in log_sockaddr()
43 if (getnameinfo(sa, sa->sa_len, buf[round], NI_MAXHOST, NULL, 0, in log_sockaddr()
47 return (buf[round]); in log_sockaddr()
84 static int round = 0; in log_addr() local
88 round = (round + 1) % NUM_LOGS; in log_addr()
89 if (inet_ntop(AF_INET, &addr->v4, buf[round], in log_addr()
90 sizeof(buf[round])) == NULL) in log_addr()
92 return (buf[round]); in log_addr()
/openbsd/lib/libcrypto/aes/asm/
H A Dvpaes-x86.pl272 &mov ($magic,$round);
395 &cmp ($round,192);
409 &mov ($round,10);
413 &dec ($round);
439 &mov ($round,4);
448 &dec ($round);
467 &mov ($round,7);
475 &dec ($round);
756 &mov ($base,$round);
782 &mov ($base,$round);
[all …]
/openbsd/gnu/llvm/llvm/lib/Support/
H A Dxxhash.cpp56 static uint64_t round(uint64_t Acc, uint64_t Input) { in round() function
64 Val = round(0, Val); in mergeRound()
85 V1 = round(V1, endian::read64le(P)); in xxHash64()
87 V2 = round(V2, endian::read64le(P)); in xxHash64()
89 V3 = round(V3, endian::read64le(P)); in xxHash64()
91 V4 = round(V4, endian::read64le(P)); in xxHash64()
108 uint64_t const K1 = round(0, endian::read64le(P)); in xxHash64()
/openbsd/share/zoneinfo/datfiles/
H A Dantarctica19 # Argentina - year-round bases
36 # year-round bases
127 # Belgium - year-round base
130 # Brazil - year-round base
145 # China - year-round bases
191 # India - year-round bases
198 # Japan - year-round bases
213 # year-round base
223 # year-round base
327 # year-round bases
[all …]
/openbsd/regress/sbin/pfctl/
H A Dpf13.ok4 pass out quick on tun1000000 inet all flags S/SA route-to (tun1000001:peer) round-robin
5 … quick on tun1000000 inet from any to 192.168.1.1 flags S/SA route-to (tun1000001:peer) round-robin
6 pass out quick on tun1000000 inet6 from any to fec0::1 flags S/SA route-to (tun1000001:peer) round-…
9 …k on tun1000000 inet from 192.168.1.1 to 10.1.1.1 flags S/SA route-to (tun1000001:peer) round-robin
10 …ick on tun1000000 inet6 from fec0::/64 to fec1::2 flags S/SA route-to (tun1000001:peer) round-robin
13 …k on tun1000000 inet from 192.168.1.1 to 10.1.1.1 flags S/SA reply-to (tun1000001:peer) round-robin
14 …ick on tun1000000 inet6 from fec0::/64 to fec1::2 flags S/SA reply-to (tun1000001:peer) round-robin
H A Dpf36.ok8 match out on lo0 inet from any to 127.0.0.1 nat-to <__automatic_0> round-robin
13 match out on lo0 inet from any to 127.0.0.1 nat-to 127.0.0.0/24 round-robin
14 match in on lo0 inet from any to 127.0.0.1 rdr-to <__automatic_3> round-robin
15 match in on lo0 inet from any to 127.0.0.1 rdr-to <__automatic_6> round-robin
20 match in on lo0 inet from any to 127.0.0.1 rdr-to 127.0.0.0/24 round-robin
H A Dpf27.ok4 match out on lo0 inet from any to 127.0.0.1 nat-to (lo0) round-robin
5 match out on lo0 inet from 127.0.0.1 to any nat-to (lo0) round-robin
10 match in on lo0 inet from any to 127.0.0.1 rdr-to (lo0) round-robin
11 match in on lo0 inet from 127.0.0.1 to any rdr-to (lo0) round-robin
H A Dpf36.in4 match out on lo0 from any to 127.0.0.1 nat-to { 127.0.0.1, 127.0.0.2 } round-robin
9 match out on lo0 from any to 127.0.0.1 nat-to lo0/24 round-robin
12 match in on lo0 from any to lo0 rdr-to { 127.0.0.1, 127.0.0.2 } round-robin
17 match in on lo0 from any to lo0 rdr-to 127.0.0.1/24 round-robin
/openbsd/gnu/usr.bin/perl/t/op/
H A Dexp.t46 cmp_ok(round(atan2(1, 2)), '==', '0.463647609', "atan2(1, 2)");
90 sub round {
100 cmp_ok(round(sin($x1)), '==', '0.841470985', "sin(1)");
107 cmp_ok(round(cos($x1)), '==', '0.540302306', "cos(1)");
109 cmp_ok(round(atan2($x1, $x2)), '==', '0.463647609', "atan2($x1, $x2)");
/openbsd/gnu/usr.bin/perl/Porting/
H A Dacknowledgements.pl42 my $formatted_changes = commify( round($changes) );
43 my $formatted_files = commify( round($files) );
44 my $formatted_code_changes = commify( round($code_changes) );
45 my $formatted_code_files = commify( round($code_files) );
149 sub round { subroutine
/openbsd/sys/arch/amd64/amd64/
H A Daes_intel.S199 aeskeygenassist $0x1,%xmm2,%xmm1 # round 1
203 aeskeygenassist $0x2,%xmm2,%xmm1 # round 2
207 aeskeygenassist $0x4,%xmm2,%xmm1 # round 3
211 aeskeygenassist $0x8,%xmm2,%xmm1 # round 4
228 aeskeygenassist $0x1,%xmm2,%xmm1 # round 1
316 pxor KEY,STATE # round 0
381 pxor KEY,STATE1 # round 0
461 aesenclast KEY,STATE1 # last round
499 pxor KEY,STATE # round 0
564 pxor KEY,STATE1 # round 0
[all …]
/openbsd/lib/libm/src/
H A Ds_round.c35 round(double x) in round() function
54 DEF_STD(round);
55 LDBL_MAYBE_CLONE(round);
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm1803 $x->round(@r);
1873 $x->round(@r);
3009 $x->round(@r);
3096 $x->round(@r);
3111 $x->round(@r);
3136 $x->round(@r);
3152 $x->round(@r);
3171 $x->round(@r);
3194 $x->round(@r);
3216 $x->round(@r);
[all …]
/openbsd/lib/libcrypto/sha/asm/
H A Dsha512-x86_64.pl82 $round="%rdi"; # zaps $ctx
109 add ($Tbl,$round,$SZ),$T1 # T1+=K[round]
132 lea 1($round),$round # round++
210 xor $round,$round
231 cmp \$$rounds,$round
/openbsd/gnu/llvm/llvm/utils/
H A Dllvm-mca-compare.py175 ] = str(round(obj_of_resource_pressure_info["ResourceUsage"], 2))
245 round(matrix_of_code_regions[j][i].uops_per_cycle, 2)
249 round(matrix_of_code_regions[j][i].block_rthroughput, 2)
413 summary.block_rthroughput = round(
416 summary.dispatch_width = round(
419 summary.ipc = round(summary.ipc / len(array_of_code_regions), 2)
420 summary.instructions = round(summary.instructions / len(array_of_code_regions), 2)
421 summary.iterations = round(summary.iterations / len(array_of_code_regions), 2)
423 summary.total_uops = round(summary.total_uops / len(array_of_code_regions), 2)
424 summary.uops_per_cycle = round(
[all …]
/openbsd/lib/libm/arch/sh/
H A Dfenv.c195 fesetround(int round) in fesetround() argument
200 if (round & ~_ROUND_MASK) in fesetround()
211 fpscr |= round; in fesetround()
212 __fpscr_values[0] |= round; in fesetround()
213 __fpscr_values[1] |= round; in fesetround()
/openbsd/gnu/llvm/compiler-rt/lib/builtins/
H A Dfloatunsisf.c39 rep_t round = (rep_t)a << (typeWidth - shift); in __floatunsisf() local
40 if (round > signBit) in __floatunsisf()
42 if (round == signBit) in __floatunsisf()
H A Dfloatsisf.c46 rep_t round = (rep_t)a << (typeWidth - shift); in __floatsisf() local
47 if (round > signBit) in __floatsisf()
49 if (round == signBit) in __floatsisf()
/openbsd/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t133 is(round(2.25), 2, "round 2.25");
134 is(round(-2.25), -2, "round -2.25");
135 is(round(2.5), 3, "round 2.5");
136 is(round(-2.5), -3, "round -2.5");
137 is(round(2.75), 3, "round 2.75");
138 is(round(-2.75), -3, "round 2.75");
/openbsd/lib/libm/arch/arm/
H A Dfenv.c162 fesetround(int round) in fesetround() argument
167 if (round & ~_ROUND_MASK) in fesetround()
172 _softfloat_float_rounding_mode |= round; in fesetround()
176 fpscr |= round << 22; in fesetround()

12345678910>>...16