/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | DeviceTables.cpp | 54 le_uint16 bits = fieldBits[format]; local 55 le_uint16 count = 16 / bits; 58 le_uint16 shift = 16 - (bits * (fieldIndex + 1));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/algorithm/ |
H A D | IntEncodingAlgorithm.java | 150 final int bits = idata[i]; 151 s.write((bits >>> 24) & 0xFF); 152 s.write((bits >>> 16) & 0xFF); 153 s.write((bits >>> 8) & 0xFF); 154 s.write(bits & 0xFF); 165 final int bits = idata[i]; 166 b[start++] = (byte)((bits >>> 24) & 0xFF); 167 b[start++] = (byte)((bits >>> 16) & 0xFF); 168 b[start++] = (byte)((bits >>> 8) & 0xFF); 169 b[start++] = (byte)(bits [all...] |
H A D | ShortEncodingAlgorithm.java | 151 final int bits = idata[i]; 152 s.write((bits >>> 8) & 0xFF); 153 s.write(bits & 0xFF); 164 final short bits = sdata[i]; 165 b[start++] = (byte)((bits >>> 8) & 0xFF); 166 b[start++] = (byte)(bits & 0xFF);
|
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | inftrees.c | 47 whose indices are 0..2^bits-1. work is a writable array of at least 51 on return points to the next available entry's address. bits is the 52 requested root table index bits, and on return it is the actual root 53 table index bits. It will differ if the request is greater than the 56 int inflate_table(type, lens, codes, table, bits, work) 61 unsigned FAR *bits; 64 unsigned len; /* a code's length in bits */ 67 unsigned root; /* number of index bits for root table */ 68 unsigned curr; /* number of index bits for current table */ 69 unsigned drop; /* code bits t [all...] |
H A D | trees.c | 71 /* Bit length codes must not exceed MAX_BL_BITS bits */ 77 /* repeat previous bit length 3-6 times (2 bits of repeat count) */ 80 /* repeat a zero length 3-10 times (3 bits of repeat count) */ 83 /* repeat a zero length 11-138 times (7 bits of repeat count) */ 85 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 88 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 91 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 101 /* Number of bits used within bi_buf. (bi_buf might be implemented on 102 * more than 16 bits on some systems.) 123 * 5 bits 267 int bits; /* bit counter */ local 526 int bits; /* bit length */ local 608 int bits; /* bit index */ local [all...] |
H A D | inflate.h | 56 TYPE, /* i: waiting for type bits, including last-flag bit */ 64 LENEXT, /* i: waiting for length extra bits */ 66 DISTEXT, /* i: waiting for distance extra bits */ 119 unsigned bits; /* number of bits in "in" */ member in struct:inflate_state 124 unsigned extra; /* extra bits needed */ 128 unsigned lenbits; /* index bits for lencode */ 129 unsigned distbits; /* index bits for distcode */
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixFileAttributes.java | 196 int bits = (st_mode & UnixConstants.S_IAMB); 199 if ((bits & UnixConstants.S_IRUSR) > 0) 201 if ((bits & UnixConstants.S_IWUSR) > 0) 203 if ((bits & UnixConstants.S_IXUSR) > 0) 206 if ((bits & UnixConstants.S_IRGRP) > 0) 208 if ((bits & UnixConstants.S_IWGRP) > 0) 210 if ((bits & UnixConstants.S_IXGRP) > 0) 213 if ((bits & UnixConstants.S_IROTH) > 0) 215 if ((bits & UnixConstants.S_IWOTH) > 0) 217 if ((bits [all...] |
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Ellipse2D.java | 431 long bits = java.lang.Double.doubleToLongBits(getX()); 432 bits += java.lang.Double.doubleToLongBits(getY()) * 37; 433 bits += java.lang.Double.doubleToLongBits(getWidth()) * 43; 434 bits += java.lang.Double.doubleToLongBits(getHeight()) * 47; 435 return (((int) bits) ^ ((int) (bits >> 32)));
|
H A D | Point2D.java | 405 long bits = java.lang.Double.doubleToLongBits(getX()); 406 bits ^= java.lang.Double.doubleToLongBits(getY()) * 31; 407 return (((int) bits) ^ ((int) (bits >> 32)));
|
H A D | RoundRectangle2D.java | 643 long bits = java.lang.Double.doubleToLongBits(getX()); 644 bits += java.lang.Double.doubleToLongBits(getY()) * 37; 645 bits += java.lang.Double.doubleToLongBits(getWidth()) * 43; 646 bits += java.lang.Double.doubleToLongBits(getHeight()) * 47; 647 bits += java.lang.Double.doubleToLongBits(getArcWidth()) * 53; 648 bits += java.lang.Double.doubleToLongBits(getArcHeight()) * 59; 649 return (((int) bits) ^ ((int) (bits >> 32)));
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Random.java | 49 * up to 32 pseudorandomly generated bits. 147 * happens to use only 48 bits of the given seed. In general, however, 148 * an overriding method may use all 64 bits of the {@code long} 163 * {@code int} value and if the argument {@code bits} is between 165 * bits of the returned value will be (approximately) independently 171 * <pre>{@code (int)(seed >>> (48 - bits))}.</pre> 178 * @param bits random bits 183 protected int next(int bits) { argument 190 return (int)(nextseed >>> (48 - bits)); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | BitArray.java | 49 private static int position(int idx) { // bits big-endian in each unit 93 2. zero out extra bits in the last byte 103 * Create a BitArray whose bits are those of the given array 106 public BitArray(boolean[] bits) { argument 107 length = bits.length; 111 set(i, bits[i]); 165 * will be contain zeros in any bits that do not have corresponding 166 * bits in the BitArray. (This matters only if the BitArray's size 191 boolean[] bits = new boolean[length]; 194 bits[ [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XAtomList.java | 129 Integer bits = iter.next(); 130 if ( (mask & bits.intValue()) == bits.intValue() ) { 131 XAtom atom = mapping.get(bits);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | bitMap.hpp | 53 idx_t _size; // Size of bitmap (in bits) 61 // bitmap words are 32 bits, return a number 0 <= n <= 31). 86 // Utilities for ranges of bits. Ranges are half-open [beg, end). 134 // Zeros any newly-addressable bits. 178 // Update a range of bits. Ranges are half-open [beg, end). 188 // Update a range of bits, using a hint about the size. Currently only 231 // Returns the number of bits set in the bitmap. 235 void set_union(BitMap bits); 236 void set_difference(BitMap bits); 237 void set_intersection(BitMap bits); [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/ |
H A D | GenerateCharacter.java | 86 The integers must sum to 16 (the number of bits in a character). 87 The first table is indexed by the k1 high-order bits of the character code. 88 The result is concatenated to the next k2 bits of the character code to index 89 the second table, and so on. Eventually the kn low-order bits of the character 91 32-bit integer entries and B contains 16-bit short entries. The 48 bits that 107 /* The character properties are currently encoded into A (32 bits)and B (16 bits) 110 A: the low 32 bits are defined in the following manner: 113 4 bits Bidirectional category (see below) (unused if -nobidi switch specified) 114 9 bits 1057 addInitializer(String name, String type, int entriesPerChar, int bits, int size) argument 1131 genTable(StringBuffer result, String name, long[] table, int extract, int bits, int size, boolean preshifted, int shift, boolean hexFormat, boolean properties, boolean hexComment) argument 1560 genAccess(String tbl, String var, int bits) argument [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | regmask.hpp | 87 // Array of Register Mask bits. This array is large enough to cover 104 // SlotsPerLong is 2, since slots are 32 bits and longs are 64 bits. 154 // indefinitely with ONE bits. Returns TRUE if mask is infinite or 177 int base, bits; 178 # define BODY(I) if( (bits = _A[I]) != 0 ) base = I<<_LogWordBits; else 181 { base = OptoReg::Bad; bits = 1<<0; } 182 return OptoReg::Name(base + find_lowest_bit(bits)); 186 int base, bits; 187 # define BODY(I) if( (bits [all...] |
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiEventController.inline.hpp | 46 assert(_init_guard == JEE_INIT_GUARD, "enable bits uninitialized or corrupted"); 50 inline void JvmtiEventEnabled::set_bits(jlong bits) { argument 51 assert(_init_guard == JEE_INIT_GUARD, "enable bits uninitialized or corrupted on set"); 52 _enabled_bits = bits;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | RegisterMap.java | 102 long bits = (!getUpdateMap()) ? 0 : map.locationValid[i]; 103 locationValid[i] = bits; 104 // for whichever bits are set, pull in the corresponding map->_location 106 while (bits != 0) { 107 if ((bits & 1) != 0) { 113 bits >>>= 1;
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Double.java | 119 * The number of bits used to represent a {@code double} value. 299 // Isolate significand bits and OR in a high-order bit 726 long bits = doubleToLongBits(value); 727 return (int)(bits ^ (bits >>> 32)); 783 * 62-52 (the bits that are selected by the mask 785 * (the bits that are selected by the mask 805 * @return the bits that represent the floating-point number. 826 * 62-52 (the bits that are selected by the mask 828 * (the bits tha 917 longBitsToDouble(long bits) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jchuff.c | 35 int put_bits; /* # of bits now in it */ 216 i = (int) htbl->bits[l]; 237 * it must still fit in si bits, since no code is allowed to be all ones. 296 /* Outputting bits to the file */ 298 /* Only the right 24 bits of put_buffer are used; the valid bits are 299 * left-justified in this part. At most 16 bits can be passed to emit_bits 300 * in one call, and we never retain more than 7 bits in put_buffer 301 * between calls, so 24 bits are sufficient. 307 /* Emit some bits; retur 712 UINT8 bits[MAX_CLEN+1]; /* bits[k] = # of symbols with code length k */ local [all...] |
H A D | jdmarker.c | 430 UINT8 bits[17]; local 444 bits[0] = 0; 447 INPUT_BYTE(cinfo, bits[i], return FALSE); 448 count += bits[i]; 454 bits[1], bits[2], bits[3], bits[4], 455 bits[5], bits[ [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftMixingMixer.java | 107 for (int bits = 16; bits < 32; bits += 8) { 109 AudioSystem.NOT_SPECIFIED, bits, channels, channels 110 * bits / 8, AudioSystem.NOT_SPECIFIED, false)); 112 AudioSystem.NOT_SPECIFIED, bits, channels, channels 113 * bits / 8, AudioSystem.NOT_SPECIFIED, false)); 115 AudioSystem.NOT_SPECIFIED, bits, channels, channels 116 * bits / 8, AudioSystem.NOT_SPECIFIED, true)); 118 AudioSystem.NOT_SPECIFIED, bits, channel [all...] |
H A D | AudioFloatFormatConverter.java | 483 int bits = format.getSampleSizeInBits(); 486 bits = 32; 487 AudioFormat targetFormat = new AudioFormat(encoding, samplerate, bits, 488 channels, channels * bits / 8, samplerate, bigendian); 556 for (int bits = 16; bits < 32; bits += 8) { 559 AudioSystem.NOT_SPECIFIED, bits, channels, channels 560 * bits / 8, AudioSystem.NOT_SPECIFIED, false)); 562 AudioSystem.NOT_SPECIFIED, bits, channel [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | PackedColorModel.java | 44 * in bits indicated by bit masks. Each bit mask must be contiguous and 94 * which specifies which bits in an <code>int</code> pixel representation 98 * the <code>ColorSpace</code>. All of the bits in each mask 100 * bits of an <code>int</code> pixel representation. If the 110 * @param bits the number of bits in the pixel values 112 * the bits of the pixel values that represent the color 115 * the bits of the pixel values that represent the alpha 122 * @throws IllegalArgumentException if <code>bits</code> is less than 125 public PackedColorModel (ColorSpace space, int bits, argument 193 PackedColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int trans, int transferType) argument [all...] |
/openjdk7/jdk/src/macosx/classes/apple/laf/ |
H A D | JRSUIState.java | 186 final long bits = Double.doubleToRawLongBits(value); 187 return super.hashCode() ^ (int)bits ^ (int)(bits >>> 32); 260 final long bits = Double.doubleToRawLongBits(thumbProportion) ^ Double.doubleToRawLongBits(thumbStart); 261 return super.hashCode() ^ (int)bits ^ (int)(bits >>> 32);
|