Searched refs:bits (Results 1 - 25 of 751) sorted by relevance

1234567891011>>

/external/elfutils/tests/
H A Drun-allregs.sh39 0: %eax (eax), signed 32 bits
40 1: %ecx (ecx), signed 32 bits
41 2: %edx (edx), signed 32 bits
42 3: %ebx (ebx), signed 32 bits
43 4: %esp (esp), address 32 bits
44 5: %ebp (ebp), address 32 bits
45 6: %esi (esi), signed 32 bits
46 7: %edi (edi), signed 32 bits
47 8: %eip (eip), address 32 bits
48 9: %eflags (eflags), unsigned 32 bits
[all...]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstLiteral64.java24 /** the value as {@code long} bits */
25 private final long bits; field in class:CstLiteral64
30 * @param bits the value as {@code long} bits
32 /*package*/ CstLiteral64(long bits) { argument
33 this.bits = bits;
41 bits == ((CstLiteral64) other).bits;
47 return (int) bits
[all...]
H A DCstLiteral32.java24 /** the value as {@code int} bits */
25 private final int bits; field in class:CstLiteral32
30 * @param bits the value as {@code int} bits
32 /*package*/ CstLiteral32(int bits) { argument
33 this.bits = bits;
41 bits == ((CstLiteral32) other).bits;
47 return bits;
[all...]
H A DCstLiteralBits.java36 * Gets the value as {@code int} bits. If this instance contains
37 * more bits than fit in an {@code int}, then this returns only
38 * the low-order bits.
40 * @return the bits
45 * Gets the value as {@code long} bits. If this instance contains
46 * fewer bits than fit in a {@code long}, then the result of this
49 * @return the bits
54 * Returns true if this value can fit in 16 bits with sign-extension.
56 * @return true if the sign-extended lower 16 bits are the same as
64 int bits
[all...]
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...]
/external/speex/libspeex/
H A Dbits.c48 EXPORT void speex_bits_init(SpeexBits *bits) argument
50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME);
51 if (!bits->chars)
54 bits->buf_size = MAX_CHARS_PER_FRAME;
56 bits->owner=1;
58 speex_bits_reset(bits);
61 EXPORT void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size) argument
63 bits->chars = (char*)buff;
64 bits->buf_size = buf_size;
66 bits
71 speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size) argument
85 speex_bits_destroy(SpeexBits *bits) argument
92 speex_bits_reset(SpeexBits *bits) argument
102 speex_bits_rewind(SpeexBits *bits) argument
109 speex_bits_read_from(SpeexBits *bits, char *chars, int len) argument
147 speex_bits_flush(SpeexBits *bits) argument
156 speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) argument
188 speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) argument
211 speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) argument
229 speex_bits_pack(SpeexBits *bits, int data, int nbBits) argument
272 speex_bits_unpack_signed(SpeexBits *bits, int nbBits) argument
283 speex_bits_unpack_unsigned(SpeexBits *bits, int nbBits) argument
305 speex_bits_peek_unsigned(SpeexBits *bits, int nbBits) argument
334 speex_bits_peek(SpeexBits *bits) argument
343 speex_bits_advance(SpeexBits *bits, int n) argument
353 speex_bits_remaining(SpeexBits *bits) argument
361 speex_bits_nbytes(SpeexBits *bits) argument
366 speex_bits_insert_terminator(SpeexBits *bits) argument
[all...]
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/clang/utils/ABITest/
H A Dbuild-and-summarize-all.sh10 for bits in 32 64; do
12 echo "-- $kind-$bits --"
13 (cd $kind-$bits && ../build-and-summarize.sh $1)
/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/speex/include/speex/
H A Dspeex_bits.h51 int nbBits; /**< Total number of bits stored in the stream*/
62 void speex_bits_init(SpeexBits *bits);
65 void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size);
67 /** Sets the bits in a SpeexBits struct to use data from an existing buffer (for decoding without copying data) */
68 void speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size);
71 void speex_bits_destroy(SpeexBits *bits);
73 /** Resets bits to initial value (just after initialization, erasing content)*/
74 void speex_bits_reset(SpeexBits *bits);
77 void speex_bits_rewind(SpeexBits *bits);
80 void speex_bits_read_from(SpeexBits *bits, cha
[all...]
H A Dspeex_callbacks.h88 typedef int (*speex_callback_func)(SpeexBits *bits, void *state, void *data);
100 int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state);
103 int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data);
106 int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data);
109 int speex_std_char_handler(SpeexBits *bits, void *state, void *data);
112 int speex_default_user_handler(SpeexBits *bits, void *state, void *data);
117 int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data);
120 int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data);
123 int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data);
126 int speex_std_vbr_quality_request_handler(SpeexBits *bits, voi
[all...]
/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/linux-tools-perf/util/include/linux/added/
H A Dhash.h30 #define hash_long(val, bits) hash_32(val, bits)
32 #define hash_long(val, bits) hash_64(val, bits)
38 static inline u64 hash_64(u64 val, unsigned int bits) argument
42 /* Sigh, gcc can't optimise this alone like it does for 32 bits. */
57 /* High bits are more random, so use them. */
58 return hash >> (64 - bits);
61 static inline u32 hash_32(u32 val, unsigned int bits) argument
66 /* High bits ar
70 hash_ptr(void *ptr, unsigned int bits) argument
[all...]
/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/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...]
H A DBitIntSet.java27 int[] bits; field in class:BitIntSet
35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
53 System.arraycopy(bits, 0, newBits, 0, bits.length);
54 bits = newBits;
60 if (value < Bits.getMax(bits)) {
61 Bits.set(bits, valu
[all...]
/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/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBitSet.java37 protected final static int BITS = 64; // number of bits / long
47 /** The actual data bits */
48 protected long bits[]; field in class:BitSet
50 /** Construct a bitset of size one word (64 bits) */
57 bits = bits_;
70 * @param nbits The size of the bitset in bits
73 bits = new long[((nbits - 1) >> LOG_BITS) + 1];
119 if (n >= bits.length) {
122 bits[n] |= bitMask(el);
126 * Grows the set to a larger number of bits
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBitSet.as35 protected static const BITS:uint = 32; // number of bits / int
45 /** The actual data bits */
46 protected var bits:Array;
49 public function BitSet(bits:Array = null) {
50 if (bits == null) {
51 this.bits = new Array();
54 this.bits = new Array();
55 for (var i:int = 0; i < bits.length; i++) {
56 this.bits[i] = bits[
[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/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DBitSet.java43 * is no way to access the internal bits (which I need for speed)
45 * Consider defining set degree. Without access to the bits, I must
49 * than this.bits.length.
54 protected final static int BITS = 64; // number of bits / long
64 /** The actual data bits */
65 protected long bits[]; field in class:BitSet
67 /** Construct a bitset of size one word (64 bits) */
74 bits = bits_;
78 * @param nbits The size of the bitset in bits
81 bits
[all...]
/external/guava/guava/src/com/google/common/math/
H A DDoubleUtils.java42 long bits = Double.doubleToRawLongBits(x);
44 bits--;
46 bits++;
48 return Double.longBitsToDouble(bits);
79 long bits = Double.doubleToRawLongBits(d);
80 int exponent = (int) ((bits & EXPONENT_MASK) >> SIGNIFICAND_BITS);
100 long bits = Double.doubleToRawLongBits(d);
101 bits &= ~EXPONENT_MASK;
102 bits |= ((long) (newExponent + EXPONENT_BIAS)) << SIGNIFICAND_BITS;
103 return Double.longBitsToDouble(bits);
[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/skia/src/core/
H A DSk64.cpp17 #define shift_left_bits(hi, lo, bits) \
18 SkASSERT((unsigned)(bits) < 31); \
19 hi = (hi << (bits)) | (lo >> (32 - (bits))); \
20 lo <<= (bits)
38 void Sk64::shiftLeft(unsigned bits) argument
40 SkASSERT(bits <= 63);
41 if (bits == 0)
44 if (bits >= 32)
46 fHi = fLo << (bits
52 fLo <<= bits; local
75 shiftRight(unsigned bits) argument
89 fHi >>= bits; local
93 roundRight(unsigned bits) argument
236 int bits; local
[all...]

Completed in 1210 milliseconds

1234567891011>>