Searched refs:rnd (Results 1 - 25 of 62) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/x86/
H A Dvc1dsp_mmx.c75 int rnd, int64_t shift)
101 "m"(shift), "m"(rnd), "r"(9*stride-4)
111 const int16_t *src, int rnd)
116 rnd -= (-1+9+9-1)*1024; /* Add -1024 bias */
144 : "r"(stride), "m"(rnd)
155 x86_reg stride, int rnd, x86_reg offset)
157 rnd = 8-rnd;
196 : "r"(offset), "r"(-2*offset), "g"(stride), "m"(rnd),
263 int rnd, int64_
73 vc1_put_ver_16b_shift2_mmx(int16_t *dst, const uint8_t *src, x86_reg stride, int rnd, int64_t shift) argument
110 vc1_put_hor_16b_shift2_mmx(uint8_t *dst, x86_reg stride, const int16_t *src, int rnd) argument
154 vc1_put_shift2_mmx(uint8_t *dst, const uint8_t *src, x86_reg stride, int rnd, x86_reg offset) argument
405 vc1_mspel_mc(uint8_t *dst, const uint8_t *src, int stride, int hmode, int vmode, int rnd) argument
[all...]
H A Ddsputil_h264_template_ssse3.c27 static void H264_CHROMA_MC8_TMPL(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y, int rnd) argument
46 :: "r"(255*(x+y)+8), "m"(*(rnd?&ff_pw_4:&ff_pw_3))
118 :: "r"((x*255+8)*(8-y)), "r"((x*255+8)*y), "m"(*(rnd?&ff_pw_32:&ff_pw_28))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/
H A Dbn_depr.c73 BIGNUM *rnd=NULL; local
80 if ((rnd=BN_new()) == NULL) goto err;
83 rnd=ret;
84 if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb))
90 if (!found && (ret == NULL) && (rnd != NULL)) BN_free(rnd);
91 return(found ? rnd : NULL);
H A Dbn_rand.c118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) argument
126 BN_zero(rnd);
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
207 bn_check_top(rnd);
211 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
213 return bnrand(0, rnd, bits, top, bottom);
216 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
218 return bnrand(1, rnd, bits, top, bottom);
222 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
224 return bnrand(2, rnd, bit
[all...]
H A Dbn_prime.c131 static int probable_prime(BIGNUM *rnd, int bits);
132 static int probable_prime_dh(BIGNUM *rnd, int bits,
134 static int probable_prime_dh_safe(BIGNUM *rnd, int bits,
377 static int probable_prime(BIGNUM *rnd, int bits) argument
384 if (!BN_rand(rnd,bits,1,1)) return(0);
387 mods[i]=BN_mod_word(rnd,(BN_ULONG)primes[i]);
392 /* check that rnd is not a prime and also
393 * that gcd(rnd-1,primes) == 1 (except for 2) */
401 if (!BN_add_word(rnd,delta)) return(0);
402 bn_check_top(rnd);
406 probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/mm/
H A Dmmap.c23 unsigned rnd = get_random_int() & 0xfffffff; local
24 mm->mmap_base += ((unsigned long)rnd) << PAGE_SHIFT;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/loginutils/
H A Dchpasswd.c29 int rnd = rnd; /* we *want* it to be non-initialized! */ local
47 rnd = crypt_make_salt(salt, 1, rnd);
50 rnd = crypt_make_salt(salt + 3, 4, rnd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/
H A Dbn_prime.c126 static int probable_prime(BIGNUM *rnd, int bits);
127 static int probable_prime_dh(BIGNUM *rnd, int bits,
129 static int probable_prime_dh_safe(BIGNUM *rnd, int bits,
136 BIGNUM *rnd=NULL; local
148 if ((rnd=BN_new()) == NULL) goto err;
151 rnd=ret;
156 if (!probable_prime(rnd,bits)) goto err;
162 if (!probable_prime_dh_safe(rnd,bits,add,rem,ctx))
167 if (!probable_prime_dh(rnd,bits,add,rem,ctx))
171 /* if (BN_mod_word(rnd,(BN_ULON
349 probable_prime(BIGNUM *rnd, int bits) argument
380 probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) argument
[all...]
H A Dbn_rand.c118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) argument
126 BN_zero(rnd);
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
210 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
212 return bnrand(0, rnd, bits, top, bottom);
215 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
217 return bnrand(1, rnd, bits, top, bottom);
221 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) argument
223 return bnrand(2, rnd, bits, top, bottom);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/rc4/asm/
H A Drc4-ia64.S90 .rotr dat[4],key_x[4],tx[2],rnd[2],key_y[2],ty[1];
129 (p18) dep rnd[1]=rnd[1],r0,OFF,8 } // ((tx+ty)&255)<<OFF
135 { .mmi; (p18) add rnd[1]=ksch,rnd[1] // &key[(tx+ty)&255]
137 { .mmi; (p18) LDKEY rnd[1]=[rnd[1]] // rnd=key[(tx+ty)&255]
146 { .mmb; (p17) add rnd[0]=tx[1],ty[0] // tx+=ty
147 (p18) xor dat[2]=dat[2],rnd[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavutil/
H A Dmathematics.c64 int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd){ argument
68 assert(rnd >=0 && rnd<=5 && rnd!=4);
70 if(a<0 && a != INT64_MIN) return -av_rescale_rnd(-a, b, c, rnd ^ ((rnd>>1)&1));
72 if(rnd==AV_ROUND_NEAR_INF) r= c/2;
73 else if(rnd&1) r= c-1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/rc4/asm/
H A Drc4-ia64.S95 .rotr dat[4],key_x[4],tx[2],rnd[2],key_y[2],ty[1];
129 (p18) dep rnd[1]=rnd[1],ksch,OFF,8} // &key[(tx+ty)&255]
133 { .mmi; (p18) LDKEY rnd[1]=[rnd[1]] // rnd=key[(tx+ty)&255]
143 { .mmb; (p17) add rnd[0]=tx[1],ty[0] // tx+=ty
144 (p18) xor dat[2]=dat[2],rnd[1] // dat^=rnd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/rand/
H A Drand_unix.c131 u_int32_t rnd = 0, i; local
136 rnd = arc4random();
137 buf[i] = rnd;
138 rnd >>= 8;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/test/
H A Dtestgen.com19 $ append/new nl: .rnd
20 $ open/append random_file .rnd
H A Dtestgen18 echo "string to make the random number generator think it has entropy" >> ./.rnd
H A Dtestss23 echo "string to make the random number generator think it has entropy" >> ./.rnd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Dtestgen.com19 $ append/new nl: .rnd
20 $ open/append random_file .rnd
H A Dtestgen18 echo "string to make the random number generator think it has entropy" >> ./.rnd
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/sh4/
H A Ddsputil_align.c261 #define DEFFUNC(op,rnd,xy,sz,OP_N,avgfunc) \
262 static void op##_##rnd##_pixels##sz##_##xy (uint8_t * dest, const uint8_t * ref, \
266 case 0:OP_N##0(sz,rnd##_##avgfunc); return; \
267 case 1:OP_N(1,sz,rnd##_##avgfunc); return; \
268 case 2:OP_N(2,sz,rnd##_##avgfunc); return; \
269 case 3:OP_N(3,sz,rnd##_##avgfunc); return; \
275 DEFFUNC(put, rnd,o,8,OP_C,avg32)
276 DEFFUNC(put, rnd,x,8,OP_X,avg32)
278 DEFFUNC(put, rnd,y,8,OP_Y,avg32)
280 DEFFUNC(put, rnd,x
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dsha1.c38 #define rnd(f,k) \ macro
64 rnd(ch, 0x5a827999);
68 rnd(parity, 0x6ed9eba1);
72 rnd(maj, 0x8f1bbcdc);
76 rnd(parity, 0xca62c1d6);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dvc1dsp.c38 int rnd = 1; local
44 d1 = (a - d + 3 + rnd) >> 3;
45 d2 = (a - d + b - c + 4 - rnd) >> 3;
52 rnd = !rnd;
63 int rnd = 1; local
69 d1 = (a - d + 3 + rnd) >> 3;
70 d2 = (a - d + b - c + 4 - rnd) >> 3;
77 rnd = !rnd;
351 vc1_mspel_mc(uint8_t *dst, const uint8_t *src, int stride, int hmode, int vmode, int rnd) argument
[all...]
H A Dmpc.h65 AVRandomState rnd; member in struct:__anon543
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/rand/
H A Drand_unix.c139 u_int32_t rnd = 0, i; local
144 rnd = arc4random();
145 buf[i] = rnd;
146 rnd >>= 8;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dacct.c322 int exp, rnd; local
324 exp = rnd = 0;
326 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */
334 if (rnd && (++value > MAXFRACT)) {
364 int exp, rnd; local
367 rnd = 0;
369 rnd = value & 1;
377 if (rnd && (++value > MAXFRACT2)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/engines/rsaref/
H A Drsaref.c463 R_RANDOM_STRUCT rnd; local
472 R_RandomInit(&rnd);
473 R_GetRandomBytesNeeded((unsigned int *)&i,&rnd);
478 R_RandomUpdate(&rnd,buf,(unsigned int)((i>16)?16:i));
484 if ((i=RSAPublicEncrypt(to,(unsigned int *)&outlen,(unsigned char *)from,len,&RSAkey,&rnd)) != 0)
492 R_RandomFinal(&rnd);
493 memset(&rnd,0,sizeof(rnd));

Completed in 107 milliseconds

123