Searched defs:bits (Results 76 - 100 of 403) sorted by relevance

1234567891011>>

/external/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/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/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/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/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysmouse.cc33 /* Convert bits to padded bytes */
34 #define PADDED_BITS(bits) ((bits+7)/8)
38 char *bits; member in struct:WMcursor
65 cursor->bits = (char *)SDL_malloc(4+2*((allowed_x/8)*allowed_y));
66 if ( cursor->bits == NULL ) {
71 cursor->bits[0] = allowed_y; /* Size of the cursor */
72 cursor->bits[1] = 1; /* Bit depth of cursor */
73 cursor->bits[2] = hot_y;
74 cursor->bits[
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestbitmap.c18 SDL_Surface *LoadXBM(SDL_Surface *screen, int w, int h, Uint8 *bits) argument
35 memcpy(line, bits, w);
36 /* X11 Bitmap images have the bits reversed */
48 bits += w;
/external/qemu/distrib/zlib-1.2.3/
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/skia/src/core/
H A DSkBlitBWMaskTemplate.h41 const uint8_t* bits = srcMask.getAddr1(cx, cy); local
50 U8CPU mask = *bits++;
89 U8CPU mask = *bits & left_mask;
91 bits += mask_rowBytes;
100 const uint8_t* b = bits;
117 bits += mask_rowBytes;
/external/skia/src/gpu/
H A DGrStencilBuffer.h29 int bits() const { return fBits; } function in class:GrStencilBuffer
67 GrStencilBuffer(GrGpu* gpu, int width, int height, int bits, int sampleCnt) argument
71 , fBits(bits)
/external/speex/libspeex/
H A Dspeex_callbacks.c43 EXPORT int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state) argument
47 /*speex_bits_advance(bits, 5);*/
48 id=speex_bits_unpack_unsigned(bits, 4);
53 return callback->func(bits, state, callback->data);
55 /*If callback is not registered, skip the right number of bits*/
70 speex_bits_advance(bits, adv);
75 EXPORT int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) argument
78 m = speex_bits_unpack_unsigned(bits, 4);
83 EXPORT int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data) argument
86 m = speex_bits_unpack_unsigned(bits,
91 speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data) argument
100 speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) argument
109 speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) argument
118 speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data) argument
127 speex_std_char_handler(SpeexBits *bits, void *state, void *data) argument
139 speex_default_user_handler(SpeexBits *bits, void *state, void *data) argument
[all...]
/external/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);
222 // Emit the safepoint table after the body. The number of bits per
/external/webkit/Source/JavaScriptCore/wtf/
H A DBitmap.h59 FixedArray<WordType, words> bits; member in class:WTF::Bitmap
71 return !!(bits[n / wordSize] & (one << (n % wordSize)));
77 bits[n / wordSize] |= (one << (n % wordSize));
85 bool result = bits[index] & mask;
86 bits[index] |= mask;
93 bits[n / wordSize] &= ~(one << (n % wordSize));
99 memset(bits.data(), 0, sizeof(bits));
105 if (!~bits[start / wordSize])
139 result += WTF::bitCount(bits[
[all...]
H A DHashFunctions.h100 typename IntTypes<sizeof(T)>::UnsignedType bits; member in union:WTF::FloatHash::__anon14410
103 return intHash(u.bits);
H A DStdLibExtras.h105 // Returns a count of the number of bits set in 'bits'.
106 inline size_t bitCount(unsigned bits) argument
108 bits = bits - ((bits >> 1) & 0x55555555);
109 bits = (bits & 0x33333333) + ((bits >> 2) & 0x33333333);
110 return (((bits
[all...]
/external/webkit/Source/WebCore/page/win/
H A DFrameCGWin.cpp58 void* bits; local
64 HBITMAP hbmp = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0);
66 CGContextRef context = CGBitmapContextCreate(static_cast<void*>(bits), w, h,
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DVGUtils.cpp130 int bits = width * imageFormatBitsPerPixel(format); local
131 if (bits % 8 > 1) // If unaligned, round up to the next byte.
132 bits += 8 - (bits % 8);
134 return bits / 8;
/external/webkit/Source/WebCore/platform/win/
H A DDragImageCGWin.cpp50 LPVOID bits; local
51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0);
56 CGContextRef bitmapContext = CGBitmapContextCreate(bits, bmpInfo.bmiHeader.biWidth, bmpInfo.bmiHeader.biHeight, 8,
H A DDragImageCairoWin.cpp49 LPVOID bits; local
50 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0);
58 cairo_surface_t* bitmapContext = cairo_image_surface_create_for_data((unsigned char*)bits,
/external/webkit/Source/WebKit2/UIProcess/win/
H A DBackingStoreWin.cpp74 void* bits; local
75 return adoptPtr(::CreateDIBSection(0, &info, DIB_RGB_COLORS, &bits, 0, 0));
/external/webp/src/enc/
H A Dcost.c339 int bits = VP8LevelCodes[level - 1][1]; local
344 cost += VP8BitCost(bits & 1, probas[i]);
346 bits >>= 1;
/external/webp/src/utils/
H A Dbit_reader.c32 br->missing_ = 8; // to load the very first 8bits
72 // Only read 8bits at a time
84 uint32_t VP8GetValue(VP8BitReader* const br, int bits) { argument
86 while (bits-- > 0) {
87 v |= VP8GetBit(br, 0x80) << bits;
92 int32_t VP8GetSignedValue(VP8BitReader* const br, int bits) { argument
93 const int value = VP8GetValue(br, bits);
/external/webrtc/src/common_audio/signal_processing/include/
H A Dspl_inl.h82 int bits; local
85 bits = 16;
87 bits = 0;
89 if (0x0000FF00 & (n >> bits)) bits += 8;
90 if (0x000000F0 & (n >> bits)) bits += 4;
91 if (0x0000000C & (n >> bits)) bits += 2;
92 if (0x00000002 & (n >> bits)) bit
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c57 state->bits < 8
67 - The maximum input bits used by a length/distance pair is 15 bits for the
68 length code, 5 bits for the length extra, 15 bits for the distance code,
69 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
95 /* 88 44 */ unsigned bits; /* ebx rbx local strm->bits */ member in struct:inffast_ar
136 ar.bits
[all...]
/external/zlib/src/
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/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBitSet.cs50 private const int BITS = 64; // number of bits / long
62 /** <summary>The actual data bits</summary> */
65 /** <summary>Construct a bitset of size one word (64 bits)</summary> */
71 public BitSet(ulong[] bits) { argument
72 _bits = bits;
83 * <param name="nbits">The size of the bitset in bits</param>
138 /** <summary>Grows the set to a larger number of bits.</summary>
204 // for any bits in common, compare
211 // make sure any extra bits are off
261 return _bits.Length << LOG_BITS; // num words * bits pe
[all...]

Completed in 382 milliseconds

1234567891011>>