/external/chromium/base/ |
H A D | md5.cc | 29 uint32 bits[2]; member in struct:Context 154 ctx->bits[0] = 0; 155 ctx->bits[1] = 0; 169 t = ctx->bits[0]; 170 if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) 171 ctx->bits[1]++; /* Carry from low to high */ 172 ctx->bits[1] += static_cast<uint32>(len >> 29); 210 * 1 0* (64-bit count of bits processed, MSB-first) 218 count = (ctx->bits[0] >> 3) & 0x3F; 243 /* Append length in bits an [all...] |
/external/chromium/webkit/glue/ |
H A D | webcursor_gtk_data.h | 263 const char* bits; member in struct:__anon3238
|
/external/clang/test/Sema/ |
H A D | cast.c | 3 typedef struct { unsigned long bits[(((1) + (64) - 1) / (64))]; } cpumask_t; member in struct:__anon4515
|
/external/dropbear/ |
H A D | dropbearkey.c | 67 fprintf(stderr, "Usage: %s -t <type> -f <filename> [-s bits]\n" 77 "-s bits Key size in bits, should be a multiple of 8 (optional)\n" 100 unsigned int bits; local 186 if (sscanf(sizetext, "%u", &bits) != 1) { 191 if (bits < 512 || bits > 4096 || (bits % 8 != 0)) { 192 fprintf(stderr, "Bits must satisfy 512 <= bits <= 4096, and be a" 197 keysize = bits / [all...] |
/external/elfutils/libdwfl/ |
H A D | find-debuginfo.c | 264 const unsigned char *bits; local 266 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0)
|
/external/elfutils/tests/ |
H A D | allregs.c | 102 int bits; member in struct:reginfo 130 int bits, int type) 146 state->info[regno].bits = bits; 161 int bits, int type) 164 printf ("%5d => %s register %s%s %s %d bits\n", 166 dwarf_encoding_string (type), bits); 206 printf ("\t%3d: %s%s (%s), %s %d bits\n", 211 state.info[i].bits); 125 one_register(void *arg, int regno, const char *setname, const char *prefix, const char *regname, int bits, int type) argument 156 match_register(void *arg, int regno, const char *setname, const char *prefix, const char *regname, int bits, int type) argument
|
/external/flac/libFLAC/ |
H A D | fixed.c | 58 /* rbps stands for residual bits per sample 67 unsigned bits; /* the number of bits required to represent a number */ local 68 int fracbits; /* the number of bits of rbps that comprise the fractional part */ 78 * The above two things tell us 1) n fits in 16 bits; 2) err/n > 1. 87 /* err now holds err/n with fracbits fractional bits */ 90 * Whittle err down to 16 bits max. 16 significant bits is enough for 94 bits = FLAC__bitmath_ilog2(err)+1; 95 if(bits > 1 146 unsigned bits; /* the number of bits required to represent a number */ local [all...] |
/external/guava/guava/src/com/google/common/hash/ |
H A D | BloomFilter.java | 48 * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element. 50 <T> void put(T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); argument 53 * Queries {@code numHashFunctions} bits of the given bit array, by hashing a user element; 54 * returns {@code true} if and only if all selected bits are set. 57 T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); 61 private final BitArray bits; field in class:BloomFilter 77 private BloomFilter(BitArray bits, int numHashFunctions, Funnel<T> funnel, argument 80 this.bits = checkNotNull(bits); 91 return strategy.mightContain(object, funnel, numHashFunctions, bits); 56 mightContain( T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits) argument [all...] |
H A D | Hashing.java | 50 int bits = checkPositiveAndMakeMultipleOf32(minimumBits); 52 if (bits == 32) { 54 } else if (bits <= 128) { 58 int hashFunctionsNeeded = (bits + 127) / 128; 150 * If {@code hashCode} has enough bits, returns {@code hashCode.asLong()}, otherwise 155 return (hashCode.bits() < 64) ? UnsignedInts.toLong(hashCode.asInt()) : hashCode.asLong(); 223 int bits = iterator.next().bits(); 224 byte[] resultBytes = new byte[bits / 8]; 249 byte[] resultBytes = new byte[iterator.next().bits() / 264 checkPositiveAndMakeMultipleOf32(int bits) argument 271 final int bits; field in class:Hashing.ConcatenatedHashFunction 293 public int bits() { method in class:Hashing.ConcatenatedHashFunction [all...] |
H A D | MessageDigestHashFunction.java | 39 private final int bits; field in class:MessageDigestHashFunction 43 this.bits = getMessageDigest(algorithmName).getDigestLength() * 8; 46 public int bits() { method in class:MessageDigestHashFunction 47 return bits;
|
/external/icu4c/test/perf/unisetperf/draft/ |
H A D | bitset.cpp | 86 BitSet(const UnicodeSet &set, UErrorCode &errorCode) : bits(shortBits), restSet(set.clone()) { 133 // Set bits for the start of the range. 150 bits=(int64_t *)uprv_malloc(bitHash->countKeys()*8); 152 if(bits!=NULL) { 153 bitHash->invert(bits); 155 bits=shortBits; 160 latin1Set[0]=(uint32_t)bits[0]; 161 latin1Set[1]=(uint32_t)(bits[0]>>32); 162 latin1Set[2]=(uint32_t)bits[1]; 163 latin1Set[3]=(uint32_t)(bits[ 192 int64_t *bits; member in class:BitSet [all...] |
/external/iptables/extensions/ |
H A D | libxt_connlimit.c | 109 unsigned int bits = 0; local 112 ++bits; 114 return 32 - bits; 119 unsigned int bits = 0, i; local 124 ++bits; 125 return 128 - bits;
|
/external/kernel-headers/original/linux/sunrpc/ |
H A D | svcauth.h | 130 static inline unsigned long hash_str(char *name, int bits) argument 145 return hash >> (BITS_PER_LONG - bits); 148 static inline unsigned long hash_mem(char *buf, int length, int bits) argument 164 return hash >> (BITS_PER_LONG - bits);
|
/external/libvorbis/lib/ |
H A D | floor0.c | 43 long bits; member in struct:__anon8127
|
/external/openssh/ |
H A D | auth-rsa.c | 63 * options bits e n comment 64 * where bits, e and n are decimal numbers, 99 error("auth_rsa_verify_response: RSA modulus too small: %d < minimum %d bits", 169 u_int bits; local 214 if (hostfile_read_key(&cp, &bits, key) == 0) { 228 /* check the real bits */ 230 if (keybits < 0 || bits != (u_int)keybits) 233 file, linenum, BN_num_bits(key->rsa->n), bits);
|
H A D | auth1.c | 167 u_int bits; local 180 bits = packet_get_int(); 185 if (keybits < 0 || bits != (u_int)keybits) { 188 BN_num_bits(client_host_key->rsa->n), bits);
|
H A D | dh.c | 224 debug2("bits set: %d/%d", bits_set, BN_num_bits(dh->p)); 249 /* generate a 2*need bits random private exponent */ 257 debug2("dh_gen_key: priv key bits set: %d/%d", 333 * attack complexity approximately the same as O(2**bits). Estimate 338 dh_estimate(int bits) argument 341 if (bits <= 128) 343 if (bits <= 192)
|
/external/openssh/openbsd-compat/ |
H A D | openssl-compat.c | 83 RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *bn_e, void *cb) argument 93 new_rsa = RSA_generate_key(bits, e, NULL, NULL); 107 DSA_generate_parameters_ex(DSA *dsa, int bits, const unsigned char *seed, argument 114 new_dsa = DSA_generate_parameters(bits, (unsigned char *)seed, seed_len,
|
/external/openssl/apps/ |
H A D | dhparam.c | 256 BIO_printf(bio_err," numbits number of bits in to generate (default 512)\n"); 463 int len,l,bits; local 466 bits=BN_num_bits(dh->p); 476 printf("DH *get_dh%d()\n\t{\n",bits); 479 printf("\tstatic unsigned char dh%d_p[]={",bits); 488 printf("\tstatic unsigned char dh%d_g[]={",bits); 499 bits,bits); 501 bits,bits); [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_exp2.c | 122 int i,j,bits,b,bits1,bits2,ret=0,wpos1,wpos2,window1,window2,wvalue1,wvalue2; local 149 bits=(bits1 > bits2)?bits1:bits2; 244 for (b=bits-1; b>=0; b--) 255 /* consider bits b-window1+1 .. b for this window */ 272 /* consider bits b-window2+1 .. b for this window */
|
/external/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 88 int DSA_generate_parameters_ex(DSA *ret, int bits, argument 101 return ret->meth->dsa_paramgen(ret, bits, seed_in, seed_len, 106 return FIPS_dsa_generate_parameters_ex(ret, bits, 114 size_t qbits = bits >= 2048 ? 256 : 160; 116 if (bits >= 2048) 127 return dsa_builtin_paramgen(ret, bits, qbits, evpmd, 132 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, argument 159 if (bits < 512) 160 bits = 512; 162 bits [all...] |
/external/qemu/audio/ |
H A D | wavcapture.c | 10 int bits; member in struct:__anon10340 75 wav->freq, wav->bits, wav->nchannels, 85 int bits, int nchannels) 100 if (bits != 8 && bits != 16) { 101 monitor_printf(mon, "incorrect bit count %d, must be 8 or 16\n", bits); 112 bits16 = bits == 16; 142 wav->bits = bits; 84 wav_start_capture(CaptureState *s, const char *path, int freq, int bits, int nchannels) argument
|
/external/qemu/distrib/sdl-1.2.15/src/audio/arts/ |
H A D | SDL_artsaudio.c | 63 static arts_stream_t (*SDL_NAME(arts_play_stream))(int rate, int bits, int channels, const char *name); 279 int bits, frag_spec; local 290 bits = 0; 298 bits = 8; 302 bits = 16; 328 stream = SDL_NAME(arts_play_stream)(spec->freq, bits, spec->channels, "SDL");
|
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
H A D | SDL_sysmouse.c | 52 /* Convert bits to padded bytes */ 53 #define PAD_BITS(bits) ((bits+7)/8) 56 static void PrintBITMAP(FILE *out, char *bits, int w, int h) argument 64 ch = *bits++;
|
/external/qemu/distrib/zlib-1.2.3/ |
H A D | infback.c | 83 unsigned sym, bits; local 94 bits = 9; 95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 101 bits = 5; 102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 126 bits = state->bits; \ 137 state->bits = bits; \ 144 bits 253 unsigned bits; /* bits in bit buffer */ local [all...] |