/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | DirectColorModel.java | 49 * element of the array in bits indicated by bit masks. Each bit mask 84 * Number of bits: 32 130 * that indicate which bits in an <code>int</code> pixel representation 133 * means that alpha = 1.0. All of the bits 135 * of least significant bits of an <code>int</code> pixel representation. 140 * @param bits the number of bits in the pixel values; for example, 141 * the sum of the number of bits in the masks. 142 * @param rmask specifies a mask indicating which bits in an 144 * @param gmask specifies a mask indicating which bits i 150 DirectColorModel(int bits, int rmask, int gmask, int bmask) argument 180 DirectColorModel(int bits, int rmask, int gmask, int bmask, int amask) argument 230 DirectColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType) argument [all...] |
H A D | BufferedImage.java | 177 * Represents an image with 5-6-5 RGB color components (5-bits red, 178 * 6-bits green, 5-bits blue) with no alpha. This image has 190 * Represents an image with 5-5-5 RGB color components (5-bits red, 191 * 5-bits green, 5-bits blue) with no alpha. This image has 239 * <p> Images with 2 or 4 bits per pixel may be constructed via 244 * <p> Images with 8 bits per pixel should use the image types 523 * image should have 1, 2, or 4 bits per pixel. If the color model 525 * has 3 or 4 entries, the image with have 2 bits pe [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReader.java | 217 int bits; 219 bits = 1; 221 bits = 2; 223 // Bump from 3 to 4 bits 224 bits = 4; 226 // Bump to 8 bits 227 bits = 8; 229 int lutLength = 1 << bits; 255 bitsPerSample[0] = bits; 256 l.add(ImageTypeSpecifier.createIndexed(r, g, b, a, bits, [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/ |
H A D | UnionPathIterator.java | 230 * Get the analysis bits for this walker, as defined in the WalkerFactory. 235 int bits = 0; 244 bits |= bit; 248 return bits;
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | parMarkBitMap.hpp | 57 // test only the begin bits). 66 // Convert sizes from bits to HeapWords and back. An object that is n bits 68 // will take up words_to_bits(m) bits in the bitmap. 69 inline static size_t bits_to_words(idx_t bits); 158 // Clear a range of bits or the entire bitmap (both begin and end bits are 163 // Return the number of bits required to represent the specified number of 230 // Need two bits (one begin bit, one end bit) for each unit of 'object 312 ParMarkBitMap::bits_to_words(idx_t bits) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Float.java | 118 * The number of bits used to represent a {@code float} value. 689 * Bits 30-23 (the bits that are selected by the mask 691 * Bits 22-0 (the bits that are selected by the mask 710 * @return the bits that represent the floating-point number. 731 * Bits 30-23 (the bits that are selected by the mask 733 * Bits 22-0 (the bits that are selected by the mask 755 * @return the bits that represent the floating-point number. 786 * int s = ((bits >> 31) == 0) ? 1 : -1; 787 * int e = ((bits >> 23) & 0xff); 789 * (bits 819 intBitsToFloat(int bits) argument [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | compressedStream.hpp | 49 static inline juint reverse_int(juint bits); // to trim trailing float 0's
|
H A D | relocInfo.hpp | 70 // A relocInfo is represented in 16 bits: 71 // 4 bits indicating the relocation type 72 // 12 bits indicating the offset from the previous relocInfo address 90 // If the target machine needs N format bits, the offset has 12-N bits, 94 // If the type is "data_prefix_tag" then the offset bits are further encoded, 105 // to some field of the instruction (22 or 13 bits, on SPARC). 127 // [Nn Ll] both index and offset may be 32 bits if necessary 140 // into the low two bits of the offset L. 168 // [Nn Ll] both n and l may be 32 bits i 280 relocInfo(relocType type, RawBitsToken ignore, int bits) argument 1294 short bits() const { return _bits; } function in class:breakpoint_Relocation [all...] |
H A D | compressedStream.cpp | 30 // converts leading sign bits into leading zeroes with trailing sign bit 38 // 32-bit self-inverse encoding of float bits 55 // is trailing zeroes. (Compare leading sign bits on ints.) 101 assert(f == reverse_int(rf), "can re-read same bits"); 110 assert(h == reverse_int(rh), "can re-read same bits"); 111 assert(l == reverse_int(rl), "can re-read same bits"); 143 // Each high_byte contributes six bits of payload. 177 sum >>= lg_H; // extracted 6 bits 205 static jlong stretch(jint x, int bits) { argument 207 jlong h = (jlong)((x >> (16-4))) << (bits [all...] |
H A D | relocInfo.cpp | 1009 int bits = kind; local 1010 if (enabled) bits |= enabled_state; 1011 if (internal) bits |= internal_attr; 1012 if (removable) bits |= removable_attr; 1013 if (settable) bits |= settable_attr; 1015 _bits = bits | high_bit; 1048 set_bits(bits() | enabled_state); 1051 set_bits(bits() & ~enabled_state); 1066 set_bits(bits() | active_state); 1071 set_bits(bits() [all...] |
/openjdk7/jdk/src/macosx/classes/apple/laf/ |
H A D | JRSUIControl.java | 326 int bits = (int)(currentEncodedProperties ^ (currentEncodedProperties >>> 32)); 327 bits ^= nativeMap.hashCode(); 328 bits ^= changes.hashCode(); 329 return bits;
|
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_SolarisOS_PCM.c | 72 /* hardcoded bits and channels */ 73 int bits[] = {8, 16}; local 137 bits[b], /* significant bits */ 142 (bits[b] > 8)?TRUE:TRUE, /* isSigned */ 146 (bits[b] > 8)?TRUE:FALSE /* big endian */
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | FetchLocals.java | 104 long bits = Double.doubleToLongBits(d); 105 return (" (0x" + java.lang.Long.toHexString(bits) + ")"); 110 int bits = Float.floatToIntBits(f); 111 return (" (0x" + java.lang.Integer.toHexString(bits) + ")");
|
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jdhuff.c | 188 i = (int) htbl->bits[l]; 209 * it must still fit in si bits, since no code is allowed to be all ones. 221 if (htbl->bits[l]) { 226 p += htbl->bits[l]; 245 for (i = 1; i <= (int) htbl->bits[l]; i++, p++) { 306 /* Attempt to load at least MIN_GET_BITS bits into get_buffer. */ 307 /* (It is assumed that no request will be for more than that many bits.) */ 355 /* See if we need to insert some fake zero bits. */ 367 * data segment. There should be enough bits in the buffer register 380 /* Fill the buffer with zero bits */ [all...] |
H A D | jcparam.c | 56 if (temp > 32767L) temp = 32767L; /* max quantizer needed for 12 bits */ 157 JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) 166 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits)); 174 nsymbols += bits[len]; 156 add_huff_table(j_compress_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) argument
|
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ecl.c | 224 int bits; local 248 /* determine number of bits */ 249 bits = mpl_significant_bits(&irr) - 1; 250 if (bits < MP_OKAY) { 251 res = bits;
|
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/ |
H A D | README | 65 least 8 bits per component 76 <img_dir8dither.h> Compose DirectColor pixels, 8-bits/component 77 <img_dirdither.h> Compose DirectColor pixels up to 8-bits/comp 116 Some platforms may manipulate masks 8-bits at a time and others 117 may manipulate them 32-bits at a time. 147 with the indicated "bit" to indicate an opaque pixel. If bits set 155 with the indicated "bit" to indicate a transparent pixel. If bits
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | thread.cpp | 474 // The bits parameter returns information about the code path through 496 // Helper class for tracing suspend wait debug bits. 509 uint32_t * bits; member in class:TraceSuspendDebugBits 517 bits = _bits; 523 // By default, don't trace bits for is_ext_suspend_completed() calls. 536 if (bits != NULL && (*bits & DEBUG_FALSE_BITS) != 0) { 542 jt->get_thread_name(), *bits); 552 bool JavaThread::is_ext_suspend_completed(bool called_by_wait, int delay, uint32_t *bits) { argument 553 TraceSuspendDebugBits tsdb(this, false /* !is_wait */, called_by_wait, bits); 677 wait_for_ext_suspend_completion(int retries, int delay, uint32_t *bits) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | ConstantPoolGen.java | 329 int bits = Float.floatToIntBits(n); 335 if(Float.floatToIntBits(c.getBytes()) == bits) 446 long bits = Double.doubleToLongBits(n); 452 if(Double.doubleToLongBits(c.getBytes()) == bits)
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | macro.hpp | 103 Node* opt_bits_test(Node* ctrl, Node* region, int edge, Node* word, int mask, int bits, bool return_fast_path = false);
|
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/ |
H A D | zlib.h | 427 number of unused bits in the last byte taken from strm->next_in, plus 64 433 number of unused bits may in general be greater than seven, except when 434 bit 7 of data_type is set, in which case the number of unused bits will be 678 int bits, 681 deflatePrime() inserts bits in the deflate output stream. The intent 683 bits leftover from a previous deflate stream when appending to it. As such, 685 first deflate() call after a deflateInit2() or deflateReset(). bits must be 686 less than or equal to 16, and that many of the least significant bits of 824 int bits, 827 This function inserts bits i [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | AnyByteBinary.h | 67 int PREFIX ## bits = TYPE ## MaxBitOffset - \ 74 if (PREFIX ## bits < 0) { \ 77 PREFIX ## bits = TYPE ## MaxBitOffset; \ 82 PREFIX ## bits -= TYPE ## BitsPerPixel 88 ((PREFIX ## bbpix >> PREFIX ## bits) & TYPE ## PixelMask) 95 PREFIX ## bbpix &= ~(TYPE ## PixelMask << PREFIX ## bits); \ 96 PREFIX ## bbpix |= (pixel << PREFIX ## bits); \ 110 << PREFIX ## bits) 923 * the bit offset (1, 2, or 4 bits) 928 * 4 bits [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Win32GraphicsDevice.cpp | 69 * classes will inquire of this device), the bits per pixel of this 313 unsigned int bits = (masks[0] | masks[1] | masks[2]); local 314 while (bits) { 316 bits >>= 1; 327 jint bits[1]; local 342 bits[0] = 8; 347 env->SetIntArrayRegion(bitsArray, 0, 1, bits); 404 // with all 1's and then turn off the first and last 10 bits. 928 //Note: this still allows for PixelFormats with > 8 color bits
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | AffineTransform.java | 130 * combination of the appropriate flag bits for the various coordinate 147 * by other flag bits. 165 * by other flag bits. 185 * by other flag bits. 203 * This constant is a bit mask for any of the scale flag bits. 215 * system in addition to the conversions indicated by other flag bits. 238 * circulation and the flag bits could no longer be conveniently 246 * addition to the conversions indicated by other flag bits. 266 * conversions indicated by other flag bits. 285 * This constant is a bit mask for any of the rotation flag bits [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CPlatformWindow.java | 102 // window style bits 105 // corresponds to native style mask bits 142 static int SET(final int bits, final int mask, final boolean value) { argument 143 if (value) return (bits | mask); 144 return bits & ~mask; 147 static boolean IS(final int bits, final int mask) { argument 148 return (bits & mask) != 0; 265 // defaults style bits 726 setStyleBits(SHOULD_BECOME_KEY | SHOULD_BECOME_MAIN, isFocusable); // set both bits at once 1011 setStyleBits(SHOULD_BECOME_KEY | SHOULD_BECOME_MAIN, isFocusable); // set both bits a [all...] |