| /openbsd-src/usr.sbin/eigrpd/ |
| H A D | logmsg.c | 38 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-src/usr.sbin/ospf6d/ |
| H A D | logmsg.c | 76 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-src/usr.bin/sndiod/ |
| H A D | siofile.c | 129 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() 193 logx(0, "%s: %u: unsupported block size", d->path, par.round); in dev_sio_open() 211 d->round = par.round; in dev_sio_open() [all...] |
| H A D | dev.c | 267 if (mtc->dev->rate % (30 * 4 * mtc->dev->round) == 0) { in mtc_midi_qfr() 270 } else if (mtc->dev->rate % (25 * 4 * mtc->dev->round) == 0) { in mtc_midi_qfr() 408 if (count < s->round * s->sub.bpf) in dev_midi_slotdesc() 412 if (s->mix.buf.used < s->round * s->mix.bpf) in dev_midi_slotdesc() 420 enc_sil_do(&s->sub.enc, data, s->round); in dev_midi_dump() 422 memset(data, 0, s->round * s->sub.bpf); in dev_midi_dump() 423 abuf_wcommit(&s->sub.buf, s->round * s->sub.bpf); in dev_midi_dump() 426 abuf_rdiscard(&s->mix.buf, s->round * s->mix.bpf); in dev_midi_dump() 445 if (icount < s->round * s->mix.bpf) { in slot_skip() 455 abuf_rdiscard(&s->mix.buf, s->round * in slot_skip() 923 dev_new(char * path,struct aparams * par,unsigned int mode,unsigned int bufsz,unsigned int round,unsigned int rate,unsigned int hold,unsigned int autovol) dev_new() argument [all...] |
| H A D | sndiod.c | 406 int mode, int bufsz, int round, int rate, int hold, int autovol) in mkdev() argument 414 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() 421 d = dev_new(path, par, mode, bufsz, round, rate, hold, autovol); in mkdev() 546 unsigned int hold, autovol, bufsz, round, rate; in main() local 570 round = 0; in main() 642 bufsz, round, rat in main() [all...] |
| /openbsd-src/usr.sbin/ldpd/ |
| H A D | logmsg.c | 38 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-src/lib/libcrypto/aes/asm/ |
| H A D | vpaes-x86.pl | 57 my ($round, $base, $magic, $key, $const, $inp, $out)= 181 &mov ($round,&DWP(240,$key)); 223 &sub ($round,1); # nr-- 267 &mov ($round,&DWP(240,$key)); 272 &mov ($magic,$round); 308 &sub ($round,1); # nr-- 395 &cmp ($round,192); 409 &mov ($round,10); 413 &dec ($round); 439 &mov ($round,4); [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | xxhash.cpp | 56 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-src/share/zoneinfo/datfiles/ |
| H A D | antarctica | 8 # To keep things manageable, we list only locations occupied year-round; see 19 # Argentina - year-round bases 36 # year-round bases 127 # Belgium - year-round base 130 # Brazil - year-round base 133 # Bulgaria - year-round base 136 # Chile - year-round bases and towns 145 # China - year-round bases 149 # France - year-round bases (also see "France & Italy") 158 # French Southern Territories with year-round inhabitant [all...] |
| /openbsd-src/regress/sbin/pfctl/ |
| H A D | pf13.ok | 4 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 D | pf36.ok | 8 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 D | pf27.ok | 4 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 D | pf36.in | 4 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-src/gnu/usr.bin/perl/Porting/ |
| H A D | acknowledgements.pl | 42 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-src/gnu/usr.bin/perl/t/op/ |
| H A D | exp.t | 46 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-src/sys/arch/amd64/amd64/ |
| H A D | aes_intel.S | 199 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 215 aeskeygenassist $0x10,%xmm2,%xmm1 # round 5 219 aeskeygenassist $0x20,%xmm2,%xmm1 # round 6 223 aeskeygenassist $0x40,%xmm2,%xmm1 # round 7 228 aeskeygenassist $0x1,%xmm2,%xmm1 # round 1 230 aeskeygenassist $0x2,%xmm2,%xmm1 # round 2 232 aeskeygenassist $0x4,%xmm2,%xmm1 # round 3 [all …]
|
| /openbsd-src/lib/libm/src/ |
| H A D | s_round.c | 35 round(double x) in round() function 54 DEF_STD(round); 55 LDBL_MAYBE_CLONE(round);
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
| H A D | BigInt.pm | 286 croak("Unknown round mode '$m'") 727 $self = $self->round(@r) 747 $self = $self->round(@r); 827 $self = $self->round(@r) 874 return $self -> round(@r); 914 return $self -> round(@r); 954 return $self -> round(@r); 994 return $self -> round(@r); 1031 return $self -> round(@r); 1127 return $self -> round( 3573 sub round { global() subroutine [all...] |
| /openbsd-src/lib/libcrypto/sha/asm/ |
| H A D | sha512-x86_64.pl | |
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | llvm-mca-compare.py | 175 ] = str(round(obj_of_resource_pressure_info["ResourceUsage"], 2)) 245 round(matrix_of_code_regions[j][i].uops_per_cycle, 2) 247 table_values[5][j + 1] = str(round(matrix_of_code_regions[j][i].ipc, 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) 422 summary.total_cycles = round(summary.total_cycles / len(array_of_code_regions), 2) [all …]
|
| /openbsd-src/lib/libm/arch/sh/ |
| H A D | fenv.c | 195 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-src/gnu/llvm/compiler-rt/lib/builtins/ |
| H A D | floatunsisf.c | 39 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 D | floatsisf.c | 46 rep_t round = (rep_t)a << (typeWidth - shift); in __floatsisf() local 47 if (round > signBit) in __floatsisf() 49 if (round == signBit) in __floatsisf()
|
| /openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/ |
| H A D | math.t | 130 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.7 [all...] |
| /openbsd-src/lib/libm/arch/arm/ |
| H A D | fenv.c | 162 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()
|