Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 25 of 521) sorted by relevance

12345678910>>...21

/netbsd-src/sys/arch/hppa/spmath/
H A Ddivu.S55 rem: .reg %r3 /* remainder and upper part of dividend */ label
64 stws,ma rem,4(%sp) ; save registers on stack
71 addi 0,%arg0,rem ; get upper dividend
77 ds rem,dvr,rem ; 1st divide step, if carry
80 ds rem,dvr,rem ; 2nd divide step
82 ds rem,dvr,rem ; 3rd divide step
84 ds rem,dvr,rem ; 4th divide step
86 ds rem,dvr,rem ; 5th divide step
88 ds rem,dvr,rem ; 6th divide step
90 ds rem,dvr,rem ; 7th divide step
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/asm/
H A Dghash-ia64.pl264 @rem=("r18","r19");
273 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
288 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
292 ld8 $rem[0]=[$Btbl],-256 //(p18) Htable[nhi].lo,&Hshr4[nhi].lo
296 { .mfi; shladd $rem[0]=$rem[0],4,r0 //(p18) Htable[nhi].lo<<4
300 { .mmi; xor $rem[0]=$rem[0],$Zlo //(p18) Z.lo^(Htable[nhi].lo<<4)
306 { .mmi; and $rem[0]=$rem[0],$mask0xff //(p18) rem=($Zlo^(Htable[nhi].lo<<4))&0xff
309 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
316 ld8 $rem[0]=[$Btbl],-256 //(p18) Htable[nhi].lo,&Hshr4[nhi].lo
318 { .mmi; shladd $rem[1]=$rem[1],1,$rem_8bit //(p19) &rem_8bit[rem]
[all …]
H A Dghash-parisc.pl73 $rem="%r29";
118 ldi 3,$rem
120 andcm $rem_4bit,$rem,$rem_4bit
126 ldi 31,$rem
127 mtctl $rem,%cr11
128 extrd,u,*= $rem,%sar,1,$rem ; executes on PA-RISC 1.0
143 depd,z $Zll,60,4,$rem
155 ldd $rem($rem_4bit),$rem
161 xor $rem,$Zhh,$Zhh ; moved here to work around gas bug
162 depd,z $Zll,60,4,$rem
[all …]
H A Dghash-x86.pl155 my $rem = "eax";
161 &xor ($rem,$rem); # avoid partial register stalls on PIII
174 &mov (&LB($rem),&LB($Zll));
176 &and (&LB($rem),0xf);
180 &xor ($Zhh,&DWP($off+16,"esp",$rem,4));
182 &mov (&LB($rem),&BP($off,"esp",$cnt));
184 &and (&LB($rem),0xf0);
186 &shl (&LB($rem),4);
189 &xor ($Zll,&DWP(8,$Htbl,$rem));
190 &xor ($Zlh,&DWP(12,$Htbl,$rem));
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/asm/
H A Dghash-ia64.pl264 @rem=("r18","r19");
273 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
288 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
292 ld8 $rem[0]=[$Btbl],-256 //(p18) Htable[nhi].lo,&Hshr4[nhi].lo
296 { .mfi; shladd $rem[0]=$rem[0],4,r0 //(p18) Htable[nhi].lo<<4
300 { .mmi; xor $rem[0]=$rem[0],$Zlo //(p18) Z.lo^(Htable[nhi].lo<<4)
306 { .mmi; and $rem[0]=$rem[0],$mask0xff //(p18) rem=($Zlo^(Htable[nhi].lo<<4))&0xff
309 push (@xi,shift(@xi)); push (@rem,shift(@rem)); # "rotate" registers
316 ld8 $rem[0]=[$Btbl],-256 //(p18) Htable[nhi].lo,&Hshr4[nhi].lo
318 { .mmi; shladd $rem[1]=$rem[1],1,$rem_8bit //(p19) &rem_8bit[rem]
[all …]
H A Dghash-parisc.pl70 $rem="%r29";
115 ldi 3,$rem
117 andcm $rem_4bit,$rem,$rem_4bit
123 ldi 31,$rem
124 mtctl $rem,%cr11
125 extrd,u,*= $rem,%sar,1,$rem ; executes on PA-RISC 1.0
140 depd,z $Zll,60,4,$rem
152 ldd $rem($rem_4bit),$rem
158 xor $rem,$Zhh,$Zhh ; moved here to work around gas bug
159 depd,z $Zll,60,4,$rem
[all …]
H A Dghash-x86.pl156 my $rem = "eax";
162 &xor ($rem,$rem); # avoid partial register stalls on PIII
175 &mov (&LB($rem),&LB($Zll));
177 &and (&LB($rem),0xf);
181 &xor ($Zhh,&DWP($off+16,"esp",$rem,4));
183 &mov (&LB($rem),&BP($off,"esp",$cnt));
185 &and (&LB($rem),0xf0);
187 &shl (&LB($rem),4);
190 &xor ($Zll,&DWP(8,$Htbl,$rem));
191 &xor ($Zlh,&DWP(12,$Htbl,$rem));
[all …]
/netbsd-src/external/mit/libcbor/dist/docs/stylesheets/
H A Dstylesheet.css20 margin-bottom: 1rem;
26 border-radius: 0.3rem;
29 margin-left: 1rem; }
39 padding: 0.75rem 1rem; } }
43 padding: 0.6rem 0.9rem;
44 font-size: 0.9rem; } }
50 padding: 0.75rem;
51 font-size: 0.9rem; }
53 margin-top: 1rem;
64 padding: 5rem 6rem; } }
[all …]
/netbsd-src/external/bsd/unbound/dist/winrc/
H A Dunbound-control-setup.cmd2 rem
3 rem unbound-control-setup.cmd - set up SSL certificates for unbound-control
4 rem
5 rem Copyright (c) 2008, NLnet Labs. All rights reserved.
6 rem Modified for Windows by Y.Voinov (c) 2014
7 rem
8 rem This software is open source.
9 rem
10 rem Redistribution and use in source and binary forms, with or without
11 rem modification, are permitted provided that the following conditions
[all …]
/netbsd-src/external/bsd/pam-u2f/dist/fuzz/
H A Dpack.c9 static int do_unpack(const uint8_t **buf, size_t *rem, uint8_t *dst, in do_unpack() argument
11 if (*rem < size) in do_unpack()
15 *rem -= size; in do_unpack()
19 static int do_pack(uint8_t **buf, size_t *rem, const uint8_t *src, in do_pack() argument
21 if (*rem < size) in do_pack()
25 *rem -= size; in do_pack()
29 int pack_u32(uint8_t **buf, size_t *rem, uint32_t val) { in pack_u32() argument
31 return do_pack(buf, rem, (uint8_t *) &val, sizeof(val)); in pack_u32()
34 int unpack_u32(const uint8_t **buf, size_t *rem, uint32_t *val) { in unpack_u32() argument
35 if (!do_unpack(buf, rem, (uint8_t *) val, sizeof(*val))) in unpack_u32()
[all …]
/netbsd-src/external/gpl2/gmake/dist/
H A Dconfigure.bat2 rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
3 rem 2004, 2005, 2006 Free Software Foundation, Inc.
4 rem This file is part of GNU Make.
6 rem GNU Make is free software; you can redistribute it and/or modify it under
7 rem the terms of the GNU General Public License as published by the Free
8 rem Software Foundation; either version 2, or (at your option) any later
9 rem version.
11 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT
12 rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
[all …]
H A Dsubproc.bat2 rem Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 rem 2005, 2006 Free Software Foundation, Inc.
4 rem This file is part of GNU Make.
6 rem GNU Make is free software; you can redistribute it and/or modify it under
7 rem the terms of the GNU General Public License as published by the Free
8 rem Software Foundation; either version 2, or (at your option) any later
9 rem version.
11 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT
12 rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dnet_write.c53 size_t rem = nbytes; in net_write() local
55 while (rem > 0) { in net_write()
56 count = write (fd, cbuf, rem); in net_write()
65 return nbytes - rem; in net_write()
71 rem -= count; in net_write()
83 size_t rem = nbytes; in net_write() local
88 while (rem > 0) { in net_write()
91 count = _write (sock, cbuf, rem); in net_write()
93 count = send (sock, cbuf, rem, 0); in net_write()
101 count = _write (sock, cbuf, rem); in net_write()
[all …]
H A Dnet_read.c51 size_t rem = nbytes; in net_read() local
53 while (rem > 0) { in net_read()
54 count = read (fd, cbuf, rem); in net_read()
64 rem -= count; in net_read()
76 size_t rem = nbytes; in net_read() local
82 while (rem > 0) { in net_read()
85 count = _read (sock, cbuf, rem); in net_read()
87 count = recv (sock, cbuf, rem, 0); in net_read()
95 count = _read (sock, cbuf, rem); in net_read()
98 count = recv (sock, cbuf, rem, 0); in net_read()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dm_sha3.c67 size_t num, rem; in sha3_update() local
73 rem = bsz - num; in sha3_update()
75 if (len < rem) { in sha3_update()
85 memcpy(ctx->buf + num, inp, rem); in sha3_update()
86 inp += rem, len -= rem; in sha3_update()
93 rem = SHA3_absorb(ctx->A, inp, len, bsz); in sha3_update()
95 rem = len; in sha3_update()
97 if (rem) { in sha3_update()
98 memcpy(ctx->buf, inp + len - rem, rem); in sha3_update()
99 ctx->num = rem; in sha3_update()
[all …]
/netbsd-src/external/gpl2/gmake/dist/glob/
H A Dconfigure.bat2 rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
3 rem 2004, 2005, 2006 Free Software Foundation, Inc.
4 rem This file is part of GNU Make.
6 rem GNU Make is free software; you can redistribute it and/or modify it under
7 rem the terms of the GNU General Public License as published by the Free
8 rem Software Foundation; either version 2, or (at your option) any later
9 rem version.
11 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT
12 rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
[all …]
/netbsd-src/external/bsd/unbound/dist/compat/
H A Dgmtime_r.c51 long rem; local
57 rem = *timep % SECSPERDAY;
58 rem += (offset);
59 while (rem < 0) {
60 rem += SECSPERDAY;
63 while (rem >= SECSPERDAY) {
64 rem -= SECSPERDAY;
67 tmp->tm_hour = (int) (rem / SECSPERHOUR);
68 rem = rem % SECSPERHOUR;
69 tmp->tm_min = (int) (rem / SECSPERMIN);
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/falcon/
H A Dnouveau_nvkm_falcon_v1.c37 u8 rem = size % 4; in nvkm_falcon_v1_load_imem() local
41 size -= rem; in nvkm_falcon_v1_load_imem()
56 if (rem) { in nvkm_falcon_v1_load_imem()
63 extra & (BIT(rem * 8) - 1)); in nvkm_falcon_v1_load_imem()
76 u8 rem = size % 4; in nvkm_falcon_v1_load_emem() local
79 size -= rem; in nvkm_falcon_v1_load_emem()
89 if (rem) { in nvkm_falcon_v1_load_emem()
93 extra & (BIT(rem * 8) - 1)); in nvkm_falcon_v1_load_emem()
102 u8 rem = size % 4; in nvkm_falcon_v1_load_dmem() local
110 size -= rem; in nvkm_falcon_v1_load_dmem()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A Dudivmodti4.c26 __udivmodti4(tu_int a, tu_int b, tu_int* rem) in __udivmodti4() argument
46 if (rem) in __udivmodti4()
47 *rem = n.s.low % d.s.low; in __udivmodti4()
54 if (rem) in __udivmodti4()
55 *rem = n.s.low; in __udivmodti4()
67 if (rem) in __udivmodti4()
68 *rem = n.s.high % d.s.low; in __udivmodti4()
78 if (rem) in __udivmodti4()
82 *rem = r.all; in __udivmodti4()
92 if (rem) in __udivmodti4()
[all …]
H A Dudivmoddi4.c24 __udivmoddi4(du_int a, du_int b, du_int* rem) in __udivmoddi4() argument
44 if (rem) in __udivmoddi4()
45 *rem = n.s.low % d.s.low; in __udivmoddi4()
52 if (rem) in __udivmoddi4()
53 *rem = n.s.low; in __udivmoddi4()
65 if (rem) in __udivmoddi4()
66 *rem = n.s.high % d.s.low; in __udivmoddi4()
76 if (rem) in __udivmoddi4()
80 *rem = r.all; in __udivmoddi4()
90 if (rem) in __udivmoddi4()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/sha/
H A Dsha3.c49 size_t num, rem; in ossl_sha3_update() local
55 rem = bsz - num; in ossl_sha3_update()
57 if (len < rem) { in ossl_sha3_update()
67 memcpy(ctx->buf + num, inp, rem); in ossl_sha3_update()
68 inp += rem, len -= rem; in ossl_sha3_update()
75 rem = SHA3_absorb(ctx->A, inp, len, bsz); in ossl_sha3_update()
77 rem = len; in ossl_sha3_update()
79 if (rem) { in ossl_sha3_update()
80 memcpy(ctx->buf, inp + len - rem, rem); in ossl_sha3_update()
81 ctx->bufsz = rem; in ossl_sha3_update()
/netbsd-src/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-sqrtrem.c33 mpz_t x, rem; in main() local
51 mpz_init (rem); in main()
69 mpz_sqrtrem (x, rem, x2); in main()
71 MPZ_CHECK_FORMAT (rem); in main()
75 dump_abort (x2, x, rem); in main()
81 dump_abort (x2, x, rem); in main()
88 dump_abort (x2, x, rem); in main()
90 mpz_add (temp2, temp, rem); in main()
94 dump_abort (x2, x, rem); in main()
100 mpz_clear (rem); in main()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_div.c17 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
32 if (rem != NULL) {
33 if (BN_copy(rem, m) == NULL)
45 if (rem == NULL)
46 rem = BN_CTX_get(ctx);
47 if (D == NULL || dv == NULL || rem == NULL)
54 if (BN_copy(rem, m) == NULL)
71 if (BN_ucmp(rem, D) >= 0) {
73 if (!BN_usub(rem, rem, D))
80 rem->neg = BN_is_zero(rem) ? 0 : m->neg;
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_div.c17 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
32 if (rem != NULL) {
33 if (BN_copy(rem, m) == NULL)
45 if (rem == NULL)
46 rem = BN_CTX_get(ctx);
47 if (D == NULL || dv == NULL || rem == NULL)
54 if (BN_copy(rem, m) == NULL)
71 if (BN_ucmp(rem, D) >= 0) {
73 if (!BN_usub(rem, rem, D))
80 rem->neg = BN_is_zero(rem) ? 0 : m->neg;
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Drem1.c56 mpfr_rem1 (mpfr_ptr rem, long *quo, mpfr_rnd_t rnd_q, in mpfr_rem1() argument
72 MPFR_SET_NAN (rem); in mpfr_rem1()
81 return mpfr_set (rem, x, rnd); in mpfr_rem1()
199 inex = mpfr_set_ui (rem, 0, MPFR_RNDN); in mpfr_rem1()
202 mpfr_neg (rem, rem, MPFR_RNDN); in mpfr_rem1()
239 inex = mpfr_set_z_2exp (rem, r, ex > ey ? ey : ex, rnd); in mpfr_rem1()
253 mpfr_remainder (mpfr_ptr rem, mpfr_srcptr x, mpfr_srcptr y, mpfr_rnd_t rnd) in mpfr_remainder() argument
255 return mpfr_rem1 (rem, (long *) 0, MPFR_RNDN, x, y, rnd); in mpfr_remainder()
259 mpfr_remquo (mpfr_ptr rem, long *quo, in mpfr_remquo() argument
262 return mpfr_rem1 (rem, quo, MPFR_RNDN, x, y, rnd); in mpfr_remquo()
[all …]

12345678910>>...21