Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 386) 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.c129 par.round = d->round; in dev_sio_open()
154 par.round = d->round * rate / d->rate; in dev_sio_open()
191 if (par.round == 0 || par.round > par.bufsz || in dev_sio_open()
192 par.bufsz % par.round != 0) { in dev_sio_open()
211 d->round = par.round; in dev_sio_open()
347 d->rchan * d->round * d->par.bps - in dev_sio_run()
358 d->sio.rused -= d->round; in dev_sio_run()
359 if (d->sio.rused >= d->round) { in dev_sio_run()
401 d->pchan * d->round * d->par.bps - in dev_sio_run()
412 d->sio.pused += d->round; in dev_sio_run()
[all …]
H A Ddev.c477 in, s->mix.resampbuf, s->round, d->round); in dev_mix_badd()
608 s->sub.resampbuf, resamp_out, d->round, s->round); in dev_sub_bcopy()
657 d->delta -= d->round; in dev_cycle()
852 d->reqround = round; in dev_new()
944 d->bufsz / d->round, d->round); in dev_allocbufs()
1188 if (((long long)o->round * n->rate != (long long)n->round * o->rate) || in dev_iscompat()
1414 resamp_init(&s->mix.resamp, s->round, d->round, in slot_initconv()
1444 resamp_init(&s->sub.resamp, d->round, s->round, in slot_initconv()
1633 s->round = s->opt->dev->round; in slot_new()
1828 s->appbufsz / s->round, s->round); in slot_start()
[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/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
H A Dpf13.loaded13 @3 pass out quick on tun1000000 inet all flags S/SA route-to (tun1000001:peer:*) round-robin
17 …uick on tun1000000 inet from any to 192.168.1.1 flags S/SA route-to (tun1000001:peer:*) round-robin
21 …t quick on tun1000000 inet6 from any to fec0::1 flags S/SA route-to (tun1000001:peer:*) round-robin
33 …on tun1000000 inet from 192.168.1.1 to 10.1.1.1 flags S/SA route-to (tun1000001:peer:*) round-robin
37 …k on tun1000000 inet6 from fec0::/64 to fec1::2 flags S/SA route-to (tun1000001:peer:*) round-robin
49 …on tun1000000 inet from 192.168.1.1 to 10.1.1.1 flags S/SA reply-to (tun1000001:peer:*) round-robin
53 …k on tun1000000 inet6 from fec0::/64 to fec1::2 flags S/SA reply-to (tun1000001:peer:*) round-robin
/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
193 # India - year-round bases
200 # Japan - year-round bases
215 # year-round base
225 # year-round base
329 # year-round bases
[all …]
/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/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm2018 $x->round(@r);
2088 $x->round(@r);
3460 $x->round(@r);
3506 $x->round(@r);
3522 $x->round(@r);
3541 $x->round(@r);
3565 $x->round(@r);
3587 $x->round(@r);
4222 sub round { subroutine
4448 $x->round(@r);
[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/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.t130 is(round(2.25), 2, "round 2.25");
131 is(round(-2.25), -2, "round -2.25");
132 is(round(2.5), 3, "round 2.5");
133 is(round(-2.5), -3, "round -2.5");
134 is(round(2.75), 3, "round 2.75");
135 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