| /dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
| CstDouble.java | 39 * @param bits the {@code double} value as {@code long} bits 41 public static CstDouble make(long bits) { 46 return new CstDouble(bits); 52 * @param bits the {@code double} value as {@code long} bits 54 private CstDouble(long bits) { 55 super(bits); 61 long bits = getLongBits(); local 62 return "double{0x" + Hex.u8(bits) + " / " [all...] |
| CstFloat.java | 40 * @param bits the {@code float} value as {@code int} bits 42 public static CstFloat make(int bits) { 47 return new CstFloat(bits); 53 * @param bits the {@code float} value as {@code int} bits 55 private CstFloat(int bits) { 56 super(bits); 62 int bits = getIntBits(); local 63 return "float{0x" + Hex.u4(bits) + " / " [all...] |
| /dalvik/dx/src/com/android/dx/rop/cst/ |
| CstDouble.java | 39 * @param bits the {@code double} value as {@code long} bits 41 public static CstDouble make(long bits) { 46 return new CstDouble(bits); 52 * @param bits the {@code double} value as {@code long} bits 54 private CstDouble(long bits) { 55 super(bits); 61 long bits = getLongBits(); local 62 return "double{0x" + Hex.u8(bits) + " / " [all...] |
| CstFloat.java | 40 * @param bits the {@code float} value as {@code int} bits 42 public static CstFloat make(int bits) { 47 return new CstFloat(bits); 53 * @param bits the {@code float} value as {@code int} bits 55 private CstFloat(int bits) { 56 super(bits); 62 int bits = getIntBits(); local 63 return "float{0x" + Hex.u4(bits) + " / " [all...] |
| /external/chromium_org/native_client_sdk/src/libraries/nacl_io/stream/ |
| stream_node.cc | 30 void StreamNode::SetStreamFlags(uint32_t bits) { 31 sdk_util::AtomicOrFetch(&stream_state_flags_, bits); 34 void StreamNode::ClearStreamFlags(uint32_t bits) { 35 sdk_util::AtomicAndFetch(&stream_state_flags_, ~bits); 42 bool StreamNode::TestStreamFlags(uint32_t bits) { 43 return (stream_state_flags_ & bits) == bits;
|
| /external/chromium_org/third_party/brotli/src/brotli/enc/ |
| write_bits.h | 15 // 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, *pos) [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
| CstDouble.java | 39 * @param bits the {@code double} value as {@code long} bits 41 public static CstDouble make(long bits) { 46 return new CstDouble(bits); 52 * @param bits the {@code double} value as {@code long} bits 54 private CstDouble(long bits) { 55 super(bits); 61 long bits = getLongBits(); local 62 return "double{0x" + Hex.u8(bits) + " / " [all...] |
| CstFloat.java | 40 * @param bits the {@code float} value as {@code int} bits 42 public static CstFloat make(int bits) { 47 return new CstFloat(bits); 53 * @param bits the {@code float} value as {@code int} bits 55 private CstFloat(int bits) { 56 super(bits); 62 int bits = getIntBits(); local 63 return "float{0x" + Hex.u4(bits) + " / " [all...] |
| /ndk/sources/android/support/src/stdio/mips/ |
| _fpmath.h | 57 } bits; member in union:IEEEl2bits 70 (a)[0] = (uint32_t)(u).bits.manl; \ 71 (a)[1] = (uint32_t)((u).bits.manl >> 32); \ 72 (a)[2] = (uint32_t)(u).bits.manh; \ 73 (a)[3] = (uint32_t)((u).bits.manh >> 32); \ 80 (a)[0] = (uint32_t)(u).bits.manl; \ 81 (a)[1] = (uint32_t)(u).bits.manh; \
|
| /bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
| strtorQ.c | 54 ULtoQ(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; 56 ULtoQ(ULong *L, ULong *bits, Long exp, int k) 67 L[_3] = bits[0]; 68 L[_2] = bits[1]; 69 L[_1] = bits[2]; 70 L[_0] = (bits[3] & ~0x10000) | ((exp + 0x3fff + 112) << 16); 74 L[_3] = bits[0]; 75 L[_2] = bits[1]; 76 L[_1] = bits[2] 107 ULong bits[4]; local [all...] |
| strtord.c | 36 ULtod(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; 38 ULtod(ULong *L, ULong *bits, Long exp, int k) 48 L[_1] = bits[0]; 49 L[_0] = bits[1]; 54 L[_1] = bits[0]; 55 L[_0] = (bits[1] & ~0x100000) | ((exp + 0x3ff + 52) << 20); 83 ULong bits[2]; local 93 k = strtodg(s, sp, fpi, &exp, bits); 94 ULtod((ULong*)d, bits, exp, k) [all...] |
| /external/lldb/source/Plugins/Process/Utility/ |
| InstructionUtils.h | 20 Bits64 (const uint64_t bits, const uint32_t msbit, const uint32_t lsbit) 23 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1); 29 Bits32 (const uint32_t bits, const uint32_t msbit, const uint32_t lsbit) 32 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1); 37 Bit32 (const uint32_t bits, const uint32_t bit) 39 return (bits >> bit) & 1u; 43 Bit64 (const uint64_t bits, const uint32_t bit) 45 return (bits >> bit) & 1ull; 51 SetBits32(uint32_t &bits, const uint32_t msbit, const uint32_t lsbit, const uint32_t val) 55 bits &= ~(mask << lsbit) [all...] |
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
| h264bsd_vlc.c | 84 of 65, i.e. 32 '0' bits, a '1' bit, and either 0 or 1 represented 85 by 32 bits. 108 u32 bits, numZeros; local 115 bits = h264bsdShowBits32(pStrmData); 118 if (bits >= 0x80000000) 125 else if (bits >= 0x40000000) 129 *codeNum = 1 + ((bits >> 29) & 0x1); 133 else if (bits >= 0x20000000) 137 *codeNum = 3 + ((bits >> 27) & 0x3); 141 else if (bits >= 0x10000000 [all...] |
| /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
| BitSet.java | 43 * 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 62 protected final static int MOD_MASK = BITS - 1; 64 /** The actual data bits */ 65 protected long bits[]; field in class:BitSet 67 /** Construct a bitset of size one word (64 bits) */ 69 this(BITS); [all...] |
| /bionic/libm/upstream-freebsd/lib/msun/src/ |
| s_remquol.c | 55 * Return the IEEE remainder and set *quo to the last n bits of the 57 * we wind up computing all the integer bits of the quotient anyway as 59 * method. In practice, this is far more bits than are needed to use 65 * for an explicit integer bit in front of the fractional bits. 78 sx = ux.bits.sign; 79 sxy = sx ^ uy.bits.sign; 80 ux.bits.sign = 0; /* |x| */ 81 uy.bits.sign = 0; /* |y| */ 85 if((uy.bits.exp|uy.bits.manh|uy.bits.manl)==0 || /* y=0 * [all...] |
| /external/guava/guava/src/com/google/common/math/ |
| DoubleUtils.java | 42 long bits = Double.doubleToRawLongBits(x); local 44 bits--; 46 bits++; 48 return Double.longBitsToDouble(bits); 79 long bits = Double.doubleToRawLongBits(d); local 80 int exponent = (int) ((bits & EXPONENT_MASK) >> SIGNIFICAND_BITS); 100 long bits = Double.doubleToRawLongBits(d); local 101 bits &= ~EXPONENT_MASK; 102 bits |= ((long) (newExponent + EXPONENT_BIAS)) << SIGNIFICAND_BITS; 103 return Double.longBitsToDouble(bits); 112 long bits = Double.doubleToRawLongBits(d); local 168 long bits = (long) ((exponent + EXPONENT_BIAS)) << SIGNIFICAND_BITS; local [all...] |
| /libcore/luni/src/main/java/java/util/ |
| BitSet.java | 40 * The bits. Access bit n thus: 42 * boolean bit = (bits[n / 64] | (1 << n)) != 0; 49 private long[] bits; field in class:BitSet 52 * The number of elements of 'bits' that are actually in use (non-zero). Amongst other 58 * Updates 'longCount' by inspecting 'bits'. Assumes that the new longCount is <= the current 67 while (i >= 0 && bits[i] == 0) { 74 * Creates a new {@code BitSet} with size equal to 64 bits. 90 this.bits = arrayForBits(bitCount); 94 private BitSet(long[] bits) { 95 this.bits = bits [all...] |
| /external/aac/libMpegTPEnc/src/ |
| tpenc_adif.cpp | 160 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/ |
| oi_bitstream.h | 47 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/ |
| hash.h | 27 #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) 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) 63 /* High bits are more random, so use them. * [all...] |
| /external/vixl/src/ |
| utils-vixl.cc | 33 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) { 48 memcpy(&value, &bits, 4); 53 double rawbits_to_double(uint64_t bits) { 55 memcpy(&value, &bits, 8) [all...] |
| /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
| BitSet.pm | 14 # number of bits / long 15 Readonly my $BITS => 64; 16 sub BITS { return $BITS } 26 Readonly my $MOD_MASK => BITS - 1; 30 has 'bits' => ( 46 my $bits; 48 # Construct a bitset of size one word (64 bits) 49 $bits = '0' x BITS; [all...] |
| /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
| BitSet.js | 10 * @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 = [] [all...] |
| /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
| ret.asm | 0 [bits 16] 11 [bits 32] 21 [bits 64]
|
| /external/speex/libspeex/ |
| quant_lsp.h | 56 /* 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);
|