Searched refs:rem (Results 1 - 25 of 60) sorted by relevance

123

/barrelfish-2018-10-04/lib/compiler-rt/builtins/
H A Ddivmoddi4.c17 /* Returns: a / b, *rem = a % b */
20 __divmoddi4(di_int a, di_int b, di_int* rem) argument
23 *rem = a - (d*b);
H A Ddivmodsi4.c17 /* Returns: a / b, *rem = a % b */
20 __divmodsi4(si_int a, si_int b, si_int* rem) argument
23 *rem = a - (d*b);
H A Dudivmodsi4.c17 /* Returns: a / b, *rem = a % b */
20 __udivmodsi4(su_int a, su_int b, su_int* rem) argument
23 *rem = a - (d*b);
H A Dudivmoddi4.c17 /* Effects: if rem != 0, *rem = a % b
24 __udivmoddi4(du_int a, du_int b, du_int* rem) argument
44 if (rem)
45 *rem = n.s.low % d.s.low;
52 if (rem)
53 *rem = n.s.low;
65 if (rem)
66 *rem = n.s.high % d.s.low;
76 if (rem)
[all...]
H A Dudivmodti4.c19 /* Effects: if rem != 0, *rem = a % b
26 __udivmodti4(tu_int a, tu_int b, tu_int* rem) argument
46 if (rem)
47 *rem = n.s.low % d.s.low;
54 if (rem)
55 *rem = n.s.low;
67 if (rem)
68 *rem = n.s.high % d.s.low;
78 if (rem)
[all...]
/barrelfish-2018-10-04/lib/libc/stdlib/
H A Dlldiv.c39 retval.rem = numer % denom;
41 if (numer >= 0 && retval.rem < 0) {
43 retval.rem -= denom;
H A Ddiv.c48 r.rem = num % denom;
59 * r.rem will have the same sign as denom and the opposite
61 * truncated towards -inf, r.rem will be positive (will
69 * if num >= 0, but r.rem < 0, we got the wrong answer.
71 * subtract denom from r.rem.
73 if (num >= 0 && r.rem < 0) {
75 r.rem -= denom;
H A Dimaxdiv.c39 retval.rem = numer % denom;
41 if (numer >= 0 && retval.rem < 0) {
43 retval.rem -= denom;
H A Dldiv.c50 r.rem = num % denom;
52 if (num >= 0 && r.rem < 0) {
54 r.rem -= denom;
/barrelfish-2018-10-04/lib/compiler-rt/test/
H A Dudivmodsi4_test.c19 extern COMPILER_RT_ABI su_int __udivmodsi4(su_int a, su_int b, su_int* rem);
24 su_int rem; local
25 su_int result = __udivmodsi4(a, b, &rem);
31 if (rem != expected_rem) {
33 a, b, rem, expected_rem);
H A Ddivmodsi4_test.c19 extern COMPILER_RT_ABI si_int __divmodsi4(si_int a, si_int b, si_int* rem);
25 si_int rem; local
26 si_int result = __divmodsi4(a, b, &rem);
32 if (rem != expected_rem) {
34 a, b, rem, expected_rem);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/ms/
H A Dmw.bat1 @rem OpenSSL with Mingw32
2 @rem --------------------
4 @rem Makefile
7 @rem DLL definition files
13 @rem Build the libraries
17 @rem Generate the DLLs and input libraries
/barrelfish-2018-10-04/lib/openssl-1.0.0d/Netware/
H A Dbuild.bat3 rem ========================================================================
4 rem Batch file to automate building OpenSSL for NetWare.
5 rem
6 rem usage:
7 rem build [target] [debug opts] [assembly opts] [configure opts]
8 rem
9 rem target - "netware-clib" - CLib NetWare build (WinSock Sockets)
10 rem - "netware-clib-bsdsock" - CLib NetWare build (BSD Sockets)
11 rem - "netware-libc" - LibC NetWare build (WinSock Sockets)
12 rem
[all...]
H A Dset_env.bat3 rem ========================================================================
4 rem Batch file to assist in setting up the necessary enviroment for
5 rem building OpenSSL for NetWare.
6 rem
7 rem usage:
8 rem set_env [target]
9 rem
10 rem target - "netware-clib" - Clib build
11 rem - "netware-libc" - LibC build
12 rem
[all...]
H A Dcpy_tests.bat3 rem Batch file to copy OpenSSL stuff to a NetWare server for testing
5 rem This batch file will create an "opensssl" directory at the root of the
6 rem specified NetWare drive and copy the required files to run the tests.
7 rem It should be run from inside the "openssl\netware" subdirectory.
9 rem Usage:
10 rem cpy_tests.bat <test subdirectory> <NetWare drive>
11 rem <test subdirectory> - out_nw.dbg | out_nw
12 rem <NetWare drive> - any mapped drive letter
13 rem
14 rem exampl
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dmath64.h61 uint64_t rem = *n; local
64 uint32_t high = rem >> 32;
71 rem -= (uint64_t) (high*base) << 32;
74 while ((int64_t)b > 0 && b < rem) {
80 if (rem >= b) {
81 rem -= b;
89 return rem;
/barrelfish-2018-10-04/usr/tests/msun/
H A Drem_test.c82 printf("ok 1 - rem\n");
97 printf("ok 2 - rem\n");
105 printf("ok 3 - rem\n");
147 long double rem; local
150 rem = remainderl(x, y);
151 assert(rem == expected_rem);
152 assert(!signbit(rem) == !signbit(expected_rem));
153 rem = remquol(x, y, &q);
154 assert(rem == expected_rem);
155 assert(!signbit(rem)
169 double rem; local
191 float rem; local
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/threads/
H A Dnetware.bat2 rem batch file to build multi-thread test ( mttest.nlm )
4 rem command line arguments:
5 rem debug => build using debug settings
7 rem
8 rem After building, copy mttest.nlm to the server and run it, you'll probably
9 rem want to redirect stdout and stderr. An example command line would be
10 rem "mttest.nlm -thread 20 -loops 10 -CAfile \openssl\apps\server.pem >mttest.out 2>mttest.err"
11 rem
34 rem generate command file for metrowerks
44 rem compil
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/shlib/
H A Dwin32.bat0 rem win32 dll build
8 rem ml /coff /c crypto\bf\asm\b-win32.asm
9 rem ml /coff /c crypto\des\asm\c-win32.asm
10 rem ml /coff /c crypto\des\asm\d-win32.asm
11 rem ml /coff /c crypto\bn\asm\x86nt32.asm
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_div.c67 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
84 if (rem != NULL)
85 { if (BN_copy(rem,m) == NULL) return(0); }
93 if (rem == NULL) rem = BN_CTX_get(ctx);
94 if (D == NULL || dv == NULL || rem == NULL)
100 if (BN_copy(rem,m) == NULL) goto end;
112 if (BN_ucmp(rem,D) >= 0)
115 if (!BN_usub(rem,rem,
299 BN_ULONG n0,n1,rem=0; local
526 BN_ULONG n0,n1,rem=0; local
[all...]
H A Dbn_prime.c133 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
135 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
160 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb)
183 if (!probable_prime_dh_safe(ret,bits,add,rem,ctx))
188 if (!probable_prime_dh(ret,bits,add,rem,ctx))
407 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx)
417 /* we need ((rnd-rem) % add) == 0 */
421 if (rem == NULL)
424 { if (!BN_add(rnd,rnd,rem)) goto err; }
445 const BIGNUM *rem, BN_CT
159 BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) argument
406 probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) argument
444 probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd, const BIGNUM *rem, BN_CTX *ctx) argument
[all...]
/barrelfish-2018-10-04/lib/posixcompat/
H A Dsleep.c19 int nanosleep(const struct timespec *req, struct timespec *rem) argument
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/des/
H A Ddes.c370 int num=0,j,k,l,rem,ll,len,last,ex=0; local
467 rem=0;
473 num=l=fread(&(buf[rem]),1,BUFSIZE,DES_IN);
474 l+=rem;
475 num+=rem;
483 rem=l%8;
484 len=l-rem;
487 for (i=7-rem; i>0; i--)
489 buf[l++]=rem;
491 len+=rem;
687 int i,j,left,rem,ret=num; local
[all...]
H A Dcfb_enc.c77 register int num=numbits/8,n=(numbits+7)/8,i,rem=numbits%8; local
127 if (rem==0)
131 ovec[i]=ovec[i+num]<<rem |
132 ovec[i+num+1]>>(8-rem);
170 if (rem==0)
174 ovec[i]=ovec[i+num]<<rem |
175 ovec[i+num+1]>>(8-rem);
/barrelfish-2018-10-04/include/
H A Dinttypes.h44 intmax_t rem; /* Remainder. */ member in struct:__anon84

Completed in 110 milliseconds

123