Searched defs:bits (Results 101 - 125 of 652) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/proxy/
H A Dppapi_param_traits.cc215 uint32_t bits; local
216 if (!ParamTraits<uint32_t>::Read(m, iter, &bits))
218 *r = ppapi::PpapiPermissions(bits);
/external/chromium_org/third_party/icu/source/i18n/
H A DdecNumber.h41 /* Bit settings for decNumber.bits */
46 /* The remaining bits are reserved; they must be 0 */
85 uint8_t bits; /* Indicator bits (see above) */ member in struct:__anon11700
184 #define decNumberIsFinite(dn) (((dn)->bits&DECSPECIAL)==0)
185 #define decNumberIsInfinite(dn) (((dn)->bits&DECINF)!=0)
186 #define decNumberIsNaN(dn) (((dn)->bits&(DECNAN|DECSNAN))!=0)
187 #define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0)
188 #define decNumberIsQNaN(dn) (((dn)->bits&(DECNAN))!=0)
189 #define decNumberIsSNaN(dn) (((dn)->bits
[all...]
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dbloom.cc36 // Compute bloom filter size (in both bits and bytes)
37 size_t bits = n * bits_per_key_; local
41 if (bits < 64) bits = 64;
43 size_t bytes = (bits + 7) / 8;
44 bits = bytes * 8;
54 const uint32_t delta = (h >> 17) | (h << 15); // Rotate right 17 bits
56 const uint32_t bitpos = h % bits;
68 const size_t bits = (len - 1) * 8; local
80 const uint32_t delta = (h >> 17) | (h << 15); // Rotate right 17 bits
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dcost.c341 int bits = VP8LevelCodes[level - 1][1]; local
346 cost += VP8BitCost(bits & 1, probas[i]);
348 bits >>= 1;
/external/chromium_org/third_party/openssl/openssl/apps/
H A Ddh.c282 int len,l,bits; local
285 bits=BN_num_bits(dh->p);
293 printf("static unsigned char dh%d_p[]={",bits);
302 printf("static unsigned char dh%d_g[]={",bits);
310 printf("DH *get_dh%d()\n\t{\n",bits);
314 bits,bits);
316 bits,bits);
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
H A Da_bitstr.c68 int ret,j,bits,len; local
79 bits=(int)a->flags&0x07;
88 if (j & 0x01) bits=0;
89 else if (j & 0x02) bits=1;
90 else if (j & 0x04) bits=2;
91 else if (j & 0x08) bits=3;
92 else if (j & 0x10) bits=4;
93 else if (j & 0x20) bits=5;
94 else if (j & 0x40) bits=6;
95 else if (j & 0x80) bits
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/bn/
H A Dbn_rand.c118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) argument
124 if (bits == 0)
130 bytes=(bits+7)/8;
131 bit=(bits-1)%8;
141 /* make a random number and set the top and bottom bits */
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, in argument
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/modes/
H A Dcfb128.c174 it corrupts any extra bits in the last byte of out */
210 size_t bits, const void *key,
220 for(n=0 ; n<bits ; ++n)
209 CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out, size_t bits, const void *key, unsigned char ivec[16], int *num, int enc, block128_f block) argument
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
H A Drsa_gen.c74 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
81 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument
92 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb);
95 return FIPS_rsa_generate_key_ex(rsa, bits, e_value, cb);
97 return rsa_builtin_keygen(rsa, bits, e_value, cb);
100 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) argument
117 bitsp=(bits+1)/2;
118 bitsq=bits-bitsp;
/external/chromium_org/third_party/opus/src/celt/
H A Dmodes.h53 const unsigned char *bits; member in struct:__anon14103
74 const unsigned char *allocVectors; /**< Number of bits in each band for several rates */
H A Drate.h53 static inline int bits2pulses(const CELTMode *m, int band, int LM, int bits) argument
60 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band];
64 bits--;
69 if ((int)cache[mid] >= bits)
74 if (bits- (lo == 0 ? -1 : (int)cache[lo]) <= (int)cache[hi]-bits)
85 cache = m->cache.bits + m->cache.index[LM*m->nbEBands+band];
92 @param offsets Requested increase or decrease in the number of bits for
96 @return Total number of bits allocated
/external/chromium_org/third_party/skia/src/core/
H A DSkBlitBWMaskTemplate.h41 const uint8_t* bits = srcMask.getAddr1(cx, cy); local
50 U8CPU mask = *bits++;
66 rite_mask &= 0xFF; // only want low-8 bits of mask
88 U8CPU mask = *bits & left_mask;
90 bits += mask_rowBytes;
99 const uint8_t* b = bits;
116 bits += mask_rowBytes;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrStencilBuffer.h30 int bits() const { return fBits; } function in class:GrStencilBuffer
57 GrStencilBuffer(GrGpu* gpu, bool isWrapped, int width, int height, int bits, int sampleCnt) argument
61 , fBits(bits)
/external/chromium_org/third_party/tlslite/scripts/
H A Dtlsdb.py55 print " add <db> <user> <pass> [<bits>]"
115 bits = int(args.getLast(5)) variable
116 N, g, salt, verifier = VerifierDB.makeVerifier(username, password, bits)
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
H A Dopt-gvmat64.asm5 ; gvmat64.asm -- Asm portion of the optimized longest_match for 32 bits x86
39 bits 64 label
176 ; this clear high 32 bits of r8, which can be garbage in both r8 and rdx
/external/chromium_org/third_party/zlib/
H A Dinffast.c46 state->bits < 8
56 - The maximum input bits used by a length/distance pair is 15 bits for the
57 length code, 5 bits for the length extra, 15 bits for the distance code,
58 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
85 unsigned bits; /* local strm->bits */ local
91 unsigned op; /* code bits, operatio
[all...]
/external/chromium_org/ui/events/ozone/evdev/
H A Devent_device_info.cc39 bool BitIsSet(const unsigned long* bits, unsigned int bit) { argument
40 return (bits[bit / EVDEV_LONG_BITS] & (1UL << (bit % EVDEV_LONG_BITS)));
/external/chromium_org/v8/src/
H A Dsafepoint-table.h45 SafepointEntry(unsigned info, uint8_t* bits) : info_(info), bits_(bits) { argument
90 uint8_t* bits() { function in class:v8::internal::BASE_EMBEDDED
122 uint8_t* bits = &Memory::uint8_at(entries_ + (index * entry_size_));
123 return SafepointEntry(info, bits);
223 // Emit the safepoint table after the body. The number of bits per
/external/chromium_org/v8/src/utils/
H A Drandom-number-generator.cc140 int RandomNumberGenerator::Next(int bits) { argument
141 ASSERT_LT(0, bits);
142 ASSERT_GE(32, bits);
145 return static_cast<int>(seed >> (48 - bits));
/external/clang/test/Analysis/
H A Dfields.c62 struct Bits bits; local
64 if (foo() && bits.b) // expected-warning {{garbage}}
66 if (foo() && bits.inner.e) // expected-warning {{garbage}}
69 bits.c = 1;
70 clang_analyzer_eval(bits.c == 1); // expected-warning {{TRUE}}
72 if (foo() && bits.b) // expected-warning {{garbage}}
74 if (foo() && bits.x) // expected-warning {{garbage}}
77 bits.x = true;
78 clang_analyzer_eval(bits.x == true); // expected-warning{{TRUE}}
79 bits
121 struct Bits bits; local
[all...]
/external/clang/test/CodeGenCXX/
H A D2007-01-06-PtrMethodInit.cpp57 PRUint8 bits; member in struct:EventDispatchData
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DBits.java31 * Constructs a bit set to contain bits up to the given index (exclusive).
44 * @param bits {@code non-null;} bit set in question
47 public static int getMax(int[] bits) { argument
48 return bits.length * 0x20;
54 * @param bits {@code non-null;} bit set to operate on
58 public static boolean get(int[] bits, int idx) { argument
61 return (bits[arrayIdx] & bit) != 0;
67 * @param bits {@code non-null;} bit set to operate on
71 public static void set(int[] bits, int idx, boolean value) { argument
76 bits[arrayId
88 set(int[] bits, int idx) argument
100 clear(int[] bits, int idx) argument
113 isEmpty(int[] bits) argument
131 bitCount(int[] bits) argument
152 anyInRange(int[] bits, int start, int end) argument
166 findFirst(int[] bits, int idx) argument
215 toHuman(int[] bits) argument
[all...]
/external/dropbear/libtomcrypt/src/ciphers/
H A Drc2.c75 int i, bits; local
99 /* Phase 2 - reduce effective key size to "bits" */
100 bits = keylen<<3;
101 T8 = (unsigned)(bits+7)>>3;
102 TM = (255 >> (unsigned)(7 & -bits));
/external/dropbear/libtomcrypt/src/prngs/
H A Drng_get_bytes.c15 portable way to get secure random bits to feed a PRNG (Tom St Denis)
61 int l, acc, bits, a, b; local
68 bits = 8;
72 while (bits--) {
81 bits = 8;
83 acc = bits = a = b = 0;
/external/elfutils/libdwfl/
H A Ddwfl_module_build_id.c54 const void *bits, int len, GElf_Addr vaddr)
57 /* When checking bits, we do not compare VADDR because the
61 && !memcmp (bits, mod->build_id_bits, len));
70 mod->build_id_bits = memcpy (copy, bits, len);
146 const unsigned char **bits, GElf_Addr *vaddr)
150 const unsigned char **bits, GElf_Addr *vaddr)
171 *bits = mod->build_id_bits;
185 const unsigned char **bits, GElf_Addr *vaddr)
187 int result = INTUSE(dwfl_module_build_id) (mod, bits, vaddr);
53 found_build_id(Dwfl_Module *mod, bool set, const void *bits, int len, GElf_Addr vaddr) argument
149 dwfl_module_build_id(Dwfl_Module *mod, const unsigned char **bits, GElf_Addr *vaddr) argument

Completed in 2562 milliseconds

1234567891011>>