/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/util/include/linux/ |
H A D | bitmap.h | 9 #define BITMAP_LAST_WORD_MASK(nbits) \ 11 ((nbits) % BITS_PER_LONG) ? \ 12 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \ 15 #define small_const_nbits(nbits) \ 16 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG) 18 static inline void bitmap_zero(unsigned long *dst, int nbits) argument 20 if (small_const_nbits(nbits)) 23 int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long); 28 static inline int bitmap_weight(const unsigned long *src, int nbits) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | bitmap.h | 28 * Note that nbits should be always a compile time evaluable constant. 31 * bitmap_zero(dst, nbits) *dst = 0UL 32 * bitmap_fill(dst, nbits) *dst = ~0UL 33 * bitmap_copy(dst, src, nbits) *dst = *src 34 * bitmap_and(dst, src1, src2, nbits) *dst = *src1 & *src2 35 * bitmap_or(dst, src1, src2, nbits) *dst = *src1 | *src2 36 * bitmap_xor(dst, src1, src2, nbits) *dst = *src1 ^ *src2 37 * bitmap_andnot(dst, src1, src2, nbits) *dst = *src1 & ~(*src2) 38 * bitmap_complement(dst, src, nbits) *dst = ~(*src) 39 * bitmap_equal(src1, src2, nbits) Ar 154 bitmap_zero(unsigned long *dst, int nbits) argument 164 bitmap_fill(unsigned long *dst, int nbits) argument 174 bitmap_copy(unsigned long *dst, const unsigned long *src, int nbits) argument 185 bitmap_and(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 193 bitmap_or(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 202 bitmap_xor(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 211 bitmap_andnot(unsigned long *dst, const unsigned long *src1, const unsigned long *src2, int nbits) argument 219 bitmap_complement(unsigned long *dst, const unsigned long *src, int nbits) argument 228 bitmap_equal(const unsigned long *src1, const unsigned long *src2, int nbits) argument 237 bitmap_intersects(const unsigned long *src1, const unsigned long *src2, int nbits) argument 246 bitmap_subset(const unsigned long *src1, const unsigned long *src2, int nbits) argument 255 bitmap_empty(const unsigned long *src, int nbits) argument 263 bitmap_full(const unsigned long *src, int nbits) argument 271 bitmap_weight(const unsigned long *src, int nbits) argument 278 bitmap_shift_right(unsigned long *dst, const unsigned long *src, int n, int nbits) argument 287 bitmap_shift_left(unsigned long *dst, const unsigned long *src, int n, int nbits) argument [all...] |
H A D | nodemask.h | 112 static inline void __nodes_setall(nodemask_t *dstp, int nbits) argument 114 bitmap_fill(dstp->bits, nbits); 118 static inline void __nodes_clear(nodemask_t *dstp, int nbits) argument 120 bitmap_zero(dstp->bits, nbits); 136 const nodemask_t *src2p, int nbits) 138 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); 144 const nodemask_t *src2p, int nbits) 146 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); 152 const nodemask_t *src2p, int nbits) 154 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); 135 __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 143 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 151 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 159 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 167 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, int nbits) argument 175 __nodes_equal(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 183 __nodes_intersects(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 191 __nodes_subset(const nodemask_t *src1p, const nodemask_t *src2p, int nbits) argument 198 __nodes_empty(const nodemask_t *srcp, int nbits) argument 204 __nodes_full(const nodemask_t *srcp, int nbits) argument 210 __nodes_weight(const nodemask_t *srcp, int nbits) argument 217 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) argument 225 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) argument 296 __nodemask_scnprintf(char *buf, int len, const nodemask_t *srcp, int nbits) argument 304 __nodemask_parse_user(const char __user *buf, int len, nodemask_t *dstp, int nbits) argument 312 __nodelist_scnprintf(char *buf, int len, const nodemask_t *srcp, int nbits) argument 319 __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) argument 326 __node_remap(int oldbit, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument 334 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) argument 342 __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, const nodemask_t *relmapp, int nbits) argument 350 __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, int sz, int nbits) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | dct.h | 30 int nbits; member in struct:DCTContext 41 * @param nbits size of the input array: 42 * (1 << nbits) for DCT-II, DCT-III and DST-I 43 * (1 << nbits) + 1 for DCT-I 47 int ff_dct_init(DCTContext *s, int nbits, enum DCTTransformType type);
|
H A D | avfft.c | 27 FFTContext *av_fft_init(int nbits, int inverse) argument 31 if (s && ff_fft_init(s, nbits, inverse)) 57 FFTContext *av_mdct_init(int nbits, int inverse, double scale) argument 61 if (s && ff_mdct_init(s, nbits, inverse, scale)) 94 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans) argument 98 if (s && ff_rdft_init(s, nbits, trans)) 121 DCTContext *av_dct_init(int nbits, enum DCTTransformType inverse) argument 125 if (s && ff_dct_init(s, nbits, inverse))
|
H A D | rdft.h | 52 int nbits; member in struct:RDFTContext 65 * @param nbits log2 of the length of the input array 68 int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans);
|
H A D | rdft.c | 61 const int n = 1 << s->nbits; 99 av_cold int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans) argument 101 int n = 1 << nbits; 105 s->nbits = nbits; 109 if (nbits < 4 || nbits > 16) 112 if (ff_fft_init(&s->fft, nbits-1, trans == IDFT_C2R || trans == IDFT_R2C) < 0) 115 ff_init_ff_cos_tabs(nbits); 116 s->tcos = ff_cos_tabs[nbits]; [all...] |
H A D | avfft.h | 32 * @param nbits log2 of the length of the input array 35 FFTContext *av_fft_init(int nbits, int inverse); 50 FFTContext *av_mdct_init(int nbits, int inverse, double scale); 69 * @param nbits log2 of the length of the input array 72 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); 89 * @param nbits size of the input array: 90 * (1 << nbits) for DCT-II, DCT-III and DST-I 91 * (1 << nbits) + 1 for DCT-I 95 DCTContext *av_dct_init(int nbits, enum DCTTransformType type);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/x86/ |
H A D | fft_sse.c | 30 void ff_fft_dispatch_sse(FFTComplex *z, int nbits); 31 void ff_fft_dispatch_interleave_sse(FFTComplex *z, int nbits); 32 void ff_fft_dispatch_interleave_avx(FFTComplex *z, int nbits); 37 ff_fft_dispatch_interleave_avx(z, s->nbits); 43 int n = 1 << s->nbits; 45 ff_fft_dispatch_interleave_sse(z, s->nbits); 68 int n = 1 << s->nbits;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/jpeg/ |
H A D | jdhuff.h | 138 #define CHECK_BIT_BUFFER(state,nbits,action) \ 139 { if (bits_left < (nbits)) { \ 140 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 144 #define GET_BITS(nbits) \ 145 (((int) (get_buffer >> (bits_left -= (nbits)))) & ((1<<(nbits))-1)) 147 #define PEEK_BITS(nbits) \ 148 (((int) (get_buffer >> (bits_left - (nbits)))) & ((1<<(nbits))-1)) 150 #define DROP_BITS(nbits) \ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/tests/ |
H A D | curves.c | 99 unsigned int nbits; local 101 for (idx=0; (name = gcry_pk_get_curve (NULL, idx, &nbits)); idx++) 104 printf ("%s - %u bits\n", name, nbits); 119 unsigned int nbits; local 124 name = gcry_pk_get_curve (key, 0, &nbits); 130 else if (nbits != sample_key_1_nbits) 132 sample_key_1_nbits, nbits); 139 name = gcry_pk_get_curve (key, 0, &nbits); 145 else if (nbits != sample_key_2_nbits) 147 sample_key_2_nbits, nbits); [all...] |
H A D | testapi.c | 41 int rc, nbits; local 54 /* get nbits from a key */ 66 nbits = gcry_pk_get_nbits( sexp ); 67 printf ( "elg_testkey1 - nbits=%d\n", nbits ); 80 int rc, nbits = 1024; local 84 rc = gcry_sexp_build ( &s_parms, NULL, "(genkey(dsa(nbits %d)))", nbits );
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/tests/ |
H A D | curves.c | 99 unsigned int nbits; local 101 for (idx=0; (name = gcry_pk_get_curve (NULL, idx, &nbits)); idx++) 104 printf ("%s - %u bits\n", name, nbits); 119 unsigned int nbits; local 124 name = gcry_pk_get_curve (key, 0, &nbits); 130 else if (nbits != sample_key_1_nbits) 132 sample_key_1_nbits, nbits); 139 name = gcry_pk_get_curve (key, 0, &nbits); 145 else if (nbits != sample_key_2_nbits) 147 sample_key_2_nbits, nbits); [all...] |
H A D | testapi.c | 41 int rc, nbits; local 54 /* get nbits from a key */ 66 nbits = gcry_pk_get_nbits( sexp ); 67 printf ( "elg_testkey1 - nbits=%d\n", nbits ); 80 int rc, nbits = 1024; local 84 rc = gcry_sexp_build ( &s_parms, NULL, "(genkey(dsa(nbits %d)))", nbits );
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | avfft.c | 28 FFTContext *av_fft_init(int nbits, int inverse) argument 32 if (s && ff_fft_init(s, nbits, inverse)) 58 FFTContext *av_mdct_init(int nbits, int inverse, double scale) argument 62 if (s && ff_mdct_init(s, nbits, inverse, scale)) 95 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans) argument 99 if (s && ff_rdft_init(s, nbits, trans)) 122 DCTContext *av_dct_init(int nbits, enum DCTTransformType inverse) argument 126 if (s && ff_dct_init(s, nbits, inverse))
|
H A D | rdft.h | 52 int nbits; member in struct:RDFTContext 65 * @param nbits log2 of the length of the input array 68 int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans);
|
H A D | rdft.c | 61 const int n = 1 << s->nbits; 99 av_cold int ff_rdft_init(RDFTContext *s, int nbits, enum RDFTransformType trans) argument 101 int n = 1 << nbits; 105 s->nbits = nbits; 109 if (nbits < 4 || nbits > 16) 112 if (ff_fft_init(&s->fft, nbits-1, trans == IDFT_C2R || trans == IDFT_R2C) < 0) 115 ff_init_ff_cos_tabs(nbits); 116 s->tcos = ff_cos_tabs[nbits]; [all...] |
H A D | avfft.h | 45 * @param nbits log2 of the length of the input array 48 FFTContext *av_fft_init(int nbits, int inverse); 63 FFTContext *av_mdct_init(int nbits, int inverse, double scale); 82 * @param nbits log2 of the length of the input array 85 RDFTContext *av_rdft_init(int nbits, enum RDFTransformType trans); 103 * @param nbits size of the input array: 104 * (1 << nbits) for DCT-II, DCT-III and DST-I 105 * (1 << nbits) + 1 for DCT-I 110 DCTContext *av_dct_init(int nbits, enum DCTTransformType type);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | swfenc.c | 87 int nbits, mask; local 91 nbits = 0; 92 max_nbits(&nbits, xmin); 93 max_nbits(&nbits, xmax); 94 max_nbits(&nbits, ymin); 95 max_nbits(&nbits, ymax); 96 mask = (1 << nbits) - 1; 99 put_bits(&p, 5, nbits); 100 put_bits(&p, nbits, xmin & mask); 101 put_bits(&p, nbits, xma 111 int nbits, mask; local 143 int nbits; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | swfenc.c | 86 int nbits, mask; local 90 nbits = 0; 91 max_nbits(&nbits, xmin); 92 max_nbits(&nbits, xmax); 93 max_nbits(&nbits, ymin); 94 max_nbits(&nbits, ymax); 95 mask = (1 << nbits) - 1; 98 put_bits(&p, 5, nbits); 99 put_bits(&p, nbits, xmin & mask); 100 put_bits(&p, nbits, xma 110 int nbits, mask; local 142 int nbits; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/ |
H A D | genalloc.c | 55 int nbits = size >> pool->min_alloc_order; local 57 (nbits + BITS_PER_BYTE - 1) / BITS_PER_BYTE; 119 int nbits, start_bit, end_bit; local 124 nbits = (size + (1UL << order) - 1) >> order; 134 nbits, 0); 142 bitmap_set(chunk->bits, start_bit, nbits); 166 int bit, nbits; local 168 nbits = (size + (1UL << order) - 1) >> order; 178 while (nbits--) 184 BUG_ON(nbits > [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/aes/ |
H A D | aes_cfb.c | 159 /* This expects a single block of size nbits for both in and out. Note that 162 const int nbits,const AES_KEY *key, 168 if (nbits<=0 || nbits>128) return; 174 num = (nbits+7)/8; 182 rem = nbits%8; 183 num = nbits/8; 161 AES_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const AES_KEY *key, unsigned char *ivec,const int enc) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/camellia/ |
H A D | cmll_cfb.c | 169 /* This expects a single block of size nbits for both in and out. Note that 172 const int nbits,const CAMELLIA_KEY *key, 178 if (nbits<=0 || nbits>128) return; 184 num = (nbits+7)/8; 192 rem = nbits%8; 193 num = nbits/8; 171 Camellia_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const CAMELLIA_KEY *key, unsigned char *ivec,const int enc) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/cipher/ |
H A D | rsa.c | 88 static int test_keys (RSA_secret_key *sk, unsigned nbits); 96 test_keys (RSA_secret_key *sk, unsigned int nbits) 100 gcry_mpi_t plaintext = gcry_mpi_new (nbits); 101 gcry_mpi_t ciphertext = gcry_mpi_new (nbits); 102 gcry_mpi_t decr_plaintext = gcry_mpi_new (nbits); 103 gcry_mpi_t signature = gcry_mpi_new (nbits); 110 gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM); 127 gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM); 182 generate_std (RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, 198 if (nbits < 102 95 test_keys(RSA_secret_key *sk, unsigned int nbits) argument 181 generate_std(RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, int transient_key) argument 333 gen_x931_parm_xp(unsigned int nbits) argument 376 generate_x931(RSA_secret_key *sk, unsigned int nbits, unsigned long e_value, gcry_sexp_t deriveparms, int *swapped) argument 786 rsa_generate_ext(int algo, unsigned int nbits, unsigned long evalue, const gcry_sexp_t genparms, gcry_mpi_t *skey, gcry_mpi_t **retfactors, gcry_sexp_t *r_extrainfo) argument 863 rsa_generate(int algo, unsigned int nbits, unsigned long evalue, gcry_mpi_t *skey, gcry_mpi_t **retfactors) argument 1195 const unsigned int nbits = 1000; /* Encrypt 1000 random bits. */ local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/ |
H A D | rsa.c | 88 static int test_keys (RSA_secret_key *sk, unsigned nbits); 96 test_keys (RSA_secret_key *sk, unsigned int nbits) 100 gcry_mpi_t plaintext = gcry_mpi_new (nbits); 101 gcry_mpi_t ciphertext = gcry_mpi_new (nbits); 102 gcry_mpi_t decr_plaintext = gcry_mpi_new (nbits); 103 gcry_mpi_t signature = gcry_mpi_new (nbits); 110 gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM); 127 gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM); 182 generate_std (RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, 198 if (nbits < 102 95 test_keys(RSA_secret_key *sk, unsigned int nbits) argument 181 generate_std(RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, int transient_key) argument 333 gen_x931_parm_xp(unsigned int nbits) argument 376 generate_x931(RSA_secret_key *sk, unsigned int nbits, unsigned long e_value, gcry_sexp_t deriveparms, int *swapped) argument 786 rsa_generate_ext(int algo, unsigned int nbits, unsigned long evalue, const gcry_sexp_t genparms, gcry_mpi_t *skey, gcry_mpi_t **retfactors, gcry_sexp_t *r_extrainfo) argument 863 rsa_generate(int algo, unsigned int nbits, unsigned long evalue, gcry_mpi_t *skey, gcry_mpi_t **retfactors) argument 1195 const unsigned int nbits = 1000; /* Encrypt 1000 random bits. */ local [all...] |