Searched refs:bits (Results 51 - 75 of 1594) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Dnomem64-err.asm0 [bits 64]
12 [bits 32]
H A Dret.asm0 [bits 16]
11 [bits 32]
21 [bits 64]
H A Dloopadsz.asm0 [bits 16]
5 [bits 32]
/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/dexmaker/src/dx/java/com/android/dx/util/
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/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/chromium_org/native_client_sdk/src/libraries/nacl_io/stream/
H A Dstream_node.cc30 void StreamNode::SetStreamFlags(uint32_t bits) { argument
31 sdk_util::AtomicOrFetch(&stream_state_flags_, bits);
34 void StreamNode::ClearStreamFlags(uint32_t bits) { argument
35 sdk_util::AtomicAndFetch(&stream_state_flags_, ~bits);
42 bool StreamNode::TestStreamFlags(uint32_t bits) { argument
43 return (stream_state_flags_ & bits) == bits;
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dwrite_bits.h15 // Write bits into a byte array.
35 // This function writes bits into bytes in increasing addresses, and within
38 // The function can write up to 56 bits in one go with WriteBits
39 // Example: let's assume that 3 bits (Rs below) have been written already:
45 // Now, we could write 5 or less bits in MSB by just sifting by 3
48 // For n bits, we take the last 5 bits, OR that with high bits in BYTE-0,
51 uint64_t bits,
55 printf("WriteBits %2d 0x%016llx %10d\n", n_bits, bits, *po
50 WriteBits(int n_bits, uint64_t bits, int * __restrict pos, uint8_t * __restrict array) argument
[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...]
/external/lldb/source/Plugins/Process/Utility/
H A DInstructionUtils.h20 Bits64 (const uint64_t bits, const uint32_t msbit, const uint32_t lsbit) argument
23 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1);
29 Bits32 (const uint32_t bits, const uint32_t msbit, const uint32_t lsbit) argument
32 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1);
37 Bit32 (const uint32_t bits, const uint32_t bit) argument
39 return (bits >> bit) & 1u;
43 Bit64 (const uint64_t bits, const uint32_t bit) argument
45 return (bits >> bit) & 1ull;
51 SetBits32(uint32_t &bits, const uint32_t msbit, const uint32_t lsbit, const uint32_t val) argument
55 bits
[all...]
/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/bluetooth/bluedroid/embdrv/sbc/decoder/include/
H A Doi_bitstream.h47 INLINE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits);
55 OI_UINT bits);
80 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \
82 OI_ASSERT((bits) <= 16); \
87 result >>= 32 - (bits); \
89 bitPtr += (bits); \
94 OI_ASSERT((bits == 0) || (result < (1u << (bits)))); \
98 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \
100 bitPtr -= bits;\
[all...]
/external/linux-tools-perf/perf-3.12.0/include/linux/
H A Dhash.h27 #define hash_long(val, bits) hash_32(val, bits)
29 #define hash_long(val, bits) hash_64(val, bits)
35 static __always_inline u64 hash_64(u64 val, unsigned int bits) argument
39 /* Sigh, gcc can't optimise this alone like it does for 32 bits. */
54 /* High bits are more random, so use them. */
55 return hash >> (64 - bits);
58 static inline u32 hash_32(u32 val, unsigned int bits) argument
63 /* High bits ar
67 hash_ptr(const void *ptr, unsigned int bits) argument
[all...]
/external/vixl/src/
H A Dutils-vixl.cc33 uint32_t bits = 0; local
34 memcpy(&bits, &value, 4);
35 return bits;
40 uint64_t bits = 0; local
41 memcpy(&bits, &value, 8);
42 return bits;
46 float rawbits_to_float(uint32_t bits) { argument
48 memcpy(&value, &bits, 4);
53 double rawbits_to_double(uint64_t bits) { argument
55 memcpy(&value, &bits,
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DBitSet.js10 * @param {Number|Array} [bits] a 32 bit number or array of 32 bit numbers
14 org.antlr.runtime.BitSet = function(bits) {
15 if (!bits) {
16 bits = org.antlr.runtime.BitSet.BITS;
19 if (org.antlr.lang.isArray(bits)) {
24 this.bits = bits;
25 } else if(org.antlr.lang.isNumber(bits)) {
26 this.bits = [];
32 * Number of bits i
[all...]
/external/chromium_org/third_party/speex/libspeex/
H A Dquant_lsp.h56 /* Quantizes narrowband LSPs with 30 bits */
57 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
60 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits);
62 /* Quantizes low bit-rate narrowband LSPs with 18 bits */
63 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
66 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits);
68 /* Quantizes high-band LSPs with 12 bits */
69 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
72 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits);
/external/speex/libspeex/
H A Dquant_lsp.h56 /* Quantizes narrowband LSPs with 30 bits */
57 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
60 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits);
62 /* Quantizes low bit-rate narrowband LSPs with 18 bits */
63 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
66 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits);
68 /* Quantizes high-band LSPs with 12 bits */
69 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
72 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits);
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
H A Ddequant.c42 dequant = 2^(scale_factor+1) * ((raw * 2.0 + 1.0) / ((2^bits) - 1) - 1)
44 2 <= bits <= 16
45 0 <= raw < (2^bits)-1 (the -1 is because quantized values with all 1's are forbidden)
52 dequant_long_scaled table for 16 bits is as accurate as possible, since it has
60 dequant_long_long[bits] = round(2^31 * 1/((2^bits - 1) / 1.38...) for 2 <= bits <= 16
67 dequant_long_scaled[bits] <= 2^31 / ((2^bits - 1)) for 2 <= bits <
125 dequant_float(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
144 OI_SBC_Dequant(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
183 OI_SBC_Dequant_Unscaled(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
[all...]
/external/chromium_org/third_party/angle/util/
H A DEGLWindow.h40 void setConfigRedBits(int bits) { mRedBits = bits; } argument
41 void setConfigGreenBits(int bits) { mGreenBits = bits; } argument
42 void setConfigBlueBits(int bits) { mBlueBits = bits; } argument
43 void setConfigAlphaBits(int bits) { mAlphaBits = bits; } argument
44 void setConfigDepthBits(int bits) { mDepthBits = bits; } argument
45 setConfigStencilBits(int bits) argument
[all...]
/external/elfutils/0.153/libebl/
H A Deblreginfo.c59 ebl_register_info (ebl, regno, name, namelen, prefix, setname, bits, type)
66 int *bits;
70 prefix, setname, bits, type);
/external/chromium_org/media/cast/test/utility/
H A Dbarcode.h17 // Encode a resilient barcode into |frame| containing all the bits
18 // from |bits|.
19 bool EncodeBarcode(const std::vector<bool>& bits,
23 // of bits.
31 std::vector<bool> bits(sizeof(T) * 8);
32 for (size_t i = 0; i < bits.size(); i++) {
33 bits[i] = ((data >> i) & 1) == 1;
35 return EncodeBarcode(bits, output_frame);
40 std::vector<bool> bits(sizeof(T) * 8);
41 bool ret = DecodeBarcode(output_frame, &bits);
[all...]

Completed in 976 milliseconds

1234567891011>>