Searched defs:bits (Results 1 - 25 of 403) sorted by relevance

1234567891011>>

/external/chromium/base/
H A Dbits_unittest.cc7 #include "base/bits.h"
11 namespace bits { namespace in namespace:base
47 } // namespace bits
H A Dbits.h15 namespace bits { namespace in namespace:base
45 } // namespace bits
/external/webkit/Source/JavaScriptCore/wtf/
H A DRandomNumber.cpp57 uint32_t bits = cryptographicallyRandomNumber(); local
58 return static_cast<double>(bits) / (static_cast<double>(std::numeric_limits<uint32_t>::max()) + 1.0);
75 uint32_t bits;
82 ISOURCE_Read(randomSource.get(), reinterpret_cast<char*>(&bits), 4);
84 return static_cast<double>(bits) / (static_cast<double>(std::numeric_limits<uint32_t>::max()) + 1.0);
88 // rand only provides 31 bits, and the low order bits of that aren't very random
89 // so we take the high 26 bits of part 1, and the high 27 bits of part2.
90 part1 >>= 5; // drop the low 5 bits
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dmd5_i.h14 u32 bits[2]; member in struct:MD5Context
/external/wpa_supplicant_8/src/crypto/
H A Dmd5_i.h14 u32 bits[2]; member in struct:MD5Context
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dmd5_i.h14 u32 bits[2]; member in struct:MD5Context
/external/dropbear/libtomcrypt/src/prngs/
H A Drng_make_prng.c15 portable way to get secure random bits to feed a PRNG (Tom St Denis)
20 @param bits Number of bits of entropy desired (64 ... 1024)
26 int rng_make_prng(int bits, int wprng, prng_state *prng, argument
39 if (bits < 64 || bits > 1024) {
47 bits = ((bits/8)+((bits&7)!=0?1:0)) * 2;
48 if (rng_get_bytes(buf, (unsigned long)bits, callbac
[all...]
/external/dropbear/libtommath/
H A Dbn_mp_montgomery_calc_normalization.c26 int x, bits, res; local
28 /* how many bits of last digit does b use */
29 bits = mp_count_bits (b) % DIGIT_BIT;
32 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) {
37 bits = 1;
42 for (x = bits - 1; x < (int)DIGIT_BIT; x++) {
/external/elfutils/libdwfl/
H A Ddwfl_build_id_find_debuginfo.c65 const unsigned char *bits; local
67 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0)
H A Ddwfl_module_report_build_id.c55 const unsigned char *bits, size_t len,
68 && !memcmp (bits, mod->build_id_bits, len))
90 memcpy (copy, bits, len);
54 dwfl_module_report_build_id(Dwfl_Module *mod, const unsigned char *bits, size_t len, GElf_Addr vaddr) argument
H A Ddwfl_module_register_names.c58 int bits, int type);
82 int bits = -1; local
85 &prefix, &setname, &bits, &type);
95 result = (*func) (arg, regno, setname, prefix, name, bits, type);
/external/linux-tools-perf/util/
H A Dbitmap.c16 int __bitmap_weight(const unsigned long *bitmap, int bits) argument
18 int k, w = 0, lim = bits/BITS_PER_LONG;
23 if (bits % BITS_PER_LONG)
24 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits));
/external/openssl/crypto/aes/
H A Daes_misc.c69 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, argument
75 return private_AES_set_encrypt_key(userKey, bits, key);
78 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, argument
84 return private_AES_set_decrypt_key(userKey, bits, key);
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/
H A DChunkedUpdateDrawingAreaWin.cpp42 void* bits; local
44 OwnPtr<HBITMAP> hbmp(::CreateDIBSection(0, &bmp, DIB_RGB_COLORS, &bits, updateChunk->memory(), 0));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DRC2Parameters.java9 private int bits; field in class:RC2Parameters
19 int bits)
22 this.bits = bits;
34 return bits;
17 RC2Parameters( byte[] key, int bits) argument
/external/chromium/third_party/libjingle/source/talk/base/
H A Dmd5.h32 uint32 bits[2]; member in struct:MD5Context
/external/elfutils/backends/
H A Dalpha_regs.c40 int *bits, int *type)
50 *bits = 64;
37 alpha_register_info(Ebl *ebl __attribute__ ((unused)), int regno, char *name, size_t namelen, const char **prefix, const char **setname, int *bits, int *type) argument
H A Dppc_regs.c40 int *bits, int *type)
49 *bits = ebl->machine == EM_PPC64 ? 64 : 32;
59 *bits = 64;
64 *bits = regno >= 1124 ? 128 : 32;
138 if (*bits == 32)
37 ppc_register_info(Ebl *ebl __attribute__ ((unused)), int regno, char *name, size_t namelen, const char **prefix, const char **setname, int *bits, int *type) argument
H A Ds390_regs.c57 int *bits, int *type)
67 *bits = ebl->class == ELFCLASS64 ? 64 : 32;
78 *bits = 64;
85 *bits = 32;
54 s390_register_info(Ebl *ebl __attribute__ ((unused)), int regno, char *name, size_t namelen, const char **prefix, const char **setname, int *bits, int *type) argument
/external/llvm/lib/Support/
H A DDisassembler.cpp49 unsigned bits; local
51 bits = 32;
53 bits = 64;
60 ud_set_mode(&ud_obj, bits);
65 << std::setw(bits/4);
/external/openssl/crypto/rsa/
H A Drsa_depr.c71 RSA *RSA_generate_key(int bits, unsigned long e_value, argument
92 if(RSA_generate_key_ex(rsa, bits, e, &cb)) {
/external/qemu/distrib/zlib-1.2.3/
H A Dinftrees.h14 table that indexes more bits of the code. op indicates whether
17 pointer, the low four bits of op is the number of index bits of
18 that table. For a length or distance, the low four bits of op
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
25 unsigned char op; /* operation, extra bits, table bits */
26 unsigned char bits; /* bit member in struct:__anon10744
[all...]
/external/aac/libMpegTPEnc/src/
H A Dtpenc_adif.cpp160 int bits = 0; local
162 bits += 8*4; /* ADIF ID */
164 bits += 1; /* Copyright present */
167 bits += 72; /* Copyright ID */
169 bits += 26;
171 bits += 4; /* Number of PCE's */
174 bits += 20;
178 bits = transportEnc_GetPCEBits(adif->cm, 0, bits);
180 return bits;
[all...]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstDouble.java39 * @param bits the {@code double} value as {@code long} bits
41 public static CstDouble make(long bits) { argument
46 return new CstDouble(bits);
52 * @param bits the {@code double} value as {@code long} bits
54 private CstDouble(long bits) { argument
55 super(bits);
61 long bits = getLongBits();
62 return "double{0x" + Hex.u8(bits)
[all...]
H A DCstFloat.java40 * @param bits the {@code float} value as {@code int} bits
42 public static CstFloat make(int bits) { argument
47 return new CstFloat(bits);
53 * @param bits the {@code float} value as {@code int} bits
55 private CstFloat(int bits) { argument
56 super(bits);
62 int bits = getIntBits();
63 return "float{0x" + Hex.u4(bits)
[all...]

Completed in 707 milliseconds

1234567891011>>