Searched refs:mask (Results 151 - 175 of 374) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCreate.c135 mlib_s32 mask; /* mask for check of stride */ local
176 mask = 7;
184 mask = 3;
192 mask = 1;
196 mask = 0;
203 mask = 0;
209 if (stride & mask) {
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAlawCodec.java369 short mask;
391 mask = 0xD5;
393 mask = 0x55;
402 enc = (byte) (0x7F ^ mask);
410 enc ^= mask;
H A DUlawCodec.java349 short mask;
370 mask = 0x7F;
373 mask = 0xFF;
382 enc = (byte) (0x7F ^ mask);
385 enc ^= mask;
H A DStandardMidiFileWriter.java310 private final static long mask = 0x7F; field in class:StandardMidiFileWriter
314 int shift=63; // number of bitwise left-shifts of mask
316 while ((shift > 0) && ((value & (mask << shift)) == 0)) shift-=7;
319 tddos.writeByte((int) (((value & (mask << shift)) >> shift) | 0x80));
323 tddos.writeByte((int) (value & mask));
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DIPAddressName.java94 * optional 4 bytes of 4 bytes of mask, or 16 bytes of address
95 * and optional 16 bytes of mask.
112 * byte values 0-255 and m1 - m4 are decimal mask values
120 * this subnet. Internally, a mask value is created using the prefix length.
153 * @param name IPv4 address with optional mask values
165 // parse mask
166 byte[] mask = InetAddress.getByName
174 System.arraycopy(mask, 0, address, 4, 4);
198 // append a mask corresponding to the num of prefix bits specified
211 // copy mask byte
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageAffine_BC.c471 mlib_s32 cols, i, mask, off; local
493 mask = vis_edge8(dstPixelPtr, dstLineEnd);
519 vis_pst_8(res, dp++, mask);
520 vis_pst_8(res, dp, ~mask);
530 vis_pst_8(res, dp++, mask);
531 vis_pst_8(res, dp, ~mask);
536 vis_pst_8(res, dp++, mask);
537 vis_pst_8(res, dp, ~mask);
1054 mlib_s32 mask, emask, gsrd; local
1074 mask
[all...]
H A Dmlib_v_ImageAffine_BC_S16.c513 mlib_s32 cols, i, mask, emask; local
540 mask = vis_edge16(dstPixelPtr, dstLineEnd);
562 vis_pst_16(res, dp++, mask);
563 vis_pst_16(res, dp, ~mask);
571 vis_pst_16(res, dp++, mask);
572 vis_pst_16(res, dp, ~mask);
577 vis_pst_16(res, dp++, mask);
578 vis_pst_16(res, dp, ~mask);
588 vis_pst_16(res, dp++, mask);
589 vis_pst_16(res, dp, ~mask);
1321 mlib_s32 cols, i, mask, gsrd; local
[all...]
H A Dmlib_v_ImageAffine_BC_U16.c498 mlib_s32 cols, i, mask, emask; local
526 mask = vis_edge16(dstPixelPtr, dstLineEnd);
548 vis_pst_16(res, dp++, mask);
549 vis_pst_16(res, dp, ~mask);
557 vis_pst_16(res, dp++, mask);
558 vis_pst_16(res, dp, ~mask);
563 vis_pst_16(res, dp++, mask);
564 vis_pst_16(res, dp, ~mask);
574 vis_pst_16(res, dp++, mask);
575 vis_pst_16(res, dp, ~mask);
1308 mlib_s32 cols, i, mask, gsrd; local
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A DREADME115 Specifies the base type for transparency mask manipulation.
120 Create a transparency mask buffer and return a handle to it.
124 mask. The buffer should be initialized to opacity values
129 Return the size of a single scan line in the output mask buffer
130 in MaskBits sized units. If the mask data is being buffered a
142 the mask location for the indicated x coordinate. This is
145 void SetOpaqueBit(mask, bit);
146 Perform the necessary logical operation on the accumulator "mask"
149 as (mask |= bit). Note that SetOpaqueBit must be implemented as
150 a macro since the first argument, the mask accumulato
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DAWTWindow.m155 // creates a new NSWindow style mask based on the _STYLE_PROP_BITMASK bits
178 - (void) setPropertiesForStyleBits:(jint)bits mask:(jint)mask {
179 if (IS(mask, RESIZABLE)) {
185 if (IS(mask, HAS_SHADOW)) {
189 if (IS(mask, ZOOMABLE)) {
193 if (IS(mask, ALWAYS_ON_TOP)) {
197 if (IS(mask, HIDES_ON_DEACTIVATE)) {
201 if (IS(mask, DRAGGABLE_BACKGROUND)) {
205 if (IS(mask, DOCUMENT_MODIFIE
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DBytePackedRaster.java59 /** The bit mask for extracting the pixel. */
608 int mask = 0xff >> bitpos;
613 // Prior to the this expression, 'mask' has its rightmost
617 mask &= 0xff << (bits - copybits);
622 element &= ~mask;
623 element |= (inData[inbyte] & mask);
660 int mask = (0xff00 >> copybits) & 0xff;
663 element &= ~mask;
664 element |= (inData[inbyte] & mask);
685 int mask
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dchaitin.cpp344 gather_lrg_masks( true ); // Collect intersect mask
493 // Live ranges record the highest register in their mask.
507 lrg.Remove(hi); // Yank from mask
508 int lo = lrg.mask().find_first_elem(); // Find lo
612 // Limit result register mask to acceptable registers
629 const RegMask &lrgmask = lrg.mask();
774 // Prepare register mask for each input
802 // Limit result register mask to acceptable registers.
810 // mask untrimmed by the call. This encourages more coalescing.
818 const RegMask &lrgmask = lrg.mask();
1154 int mask = lrg.num_regs()-1; local
1662 const RegMask *mask = C->matcher()->idealreg2spillmask[Op_RegI]; local
[all...]
H A Dsubnode.hpp266 enum mask { eq = 0, ne = 4, le = 5, ge = 7, lt = 3, gt = 1, illegal = 8 }; enum in struct:VALUE_OBJ_CLASS_SPEC
267 mask _test;
268 BoolTest( mask btm ) : _test(btm) {}
271 // a simple char array where each element is the ASCII version of a 'mask'
273 mask commute( ) const { return mask("038147858"[_test]-'0'); }
274 mask negate( ) const { return mask(_test^4); }
289 BoolNode( Node *cc, BoolTest::mask t): _test(t), Node(0,cc) {
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DBitArray.java81 * Set the mask for this bit array. The upper 8 bits of this mask
84 public void setMask(int mask) { argument
85 _mask = mask;
/openjdk7/hotspot/src/share/vm/libadt/
H A Dport.hpp201 int ff1( uint32 mask );
202 int fh1( uint32 mask );
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DInputEvent.java197 * A method to obtain a mask for any existing mouse button.
198 * The returned mask may be used for different purposes. Following are some of them:
219 * <b>button </b> <b>returned mask</b>
271 * The state of the modifier mask at the time the input
411 * Returns the modifier mask for this event.
418 * Returns the extended modifier mask for this event.
484 * @param modifiers a modifier mask describing the extended
515 for (int mask : InputEvent.BUTTON_DOWN_MASK){
516 if ((modifiers & mask) != 0) {
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/
H A Dvm_version_solaris_sparc.cpp44 static void do_sysinfo(int si, const char* string, int* features, int mask) { argument
59 *features |= mask;
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DDevPollArrayWrapper.c117 jint wfd, jint fd, jint mask)
123 a[0].events = mask;
116 Java_sun_nio_ch_DevPollArrayWrapper_register(JNIEnv *env, jobject this, jint wfd, jint fd, jint mask) argument
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DByteBinary1Bit.h80 #define XorByteBinary1BitPixelData(pDst, x, PREFIX, srcpixel, xorpixel, mask)\
82 srcpixel, xorpixel, mask)
H A DByteBinary2Bit.h80 #define XorByteBinary2BitPixelData(pDst, x, PREFIX, srcpixel, xorpixel, mask)\
82 srcpixel, xorpixel, mask)
H A DByteBinary4Bit.h80 #define XorByteBinary4BitPixelData(pDst, x, PREFIX, srcpixel, xorpixel, mask)\
82 srcpixel, xorpixel, mask)
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DParser.jjt271 )* "/" t= <INTEGER_LITERAL> {jjtThis.mask = t.image; }
283 "/" t= <INTEGER_LITERAL> {jjtThis.mask = t.image; }
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DUtility.java47 int mask = 0xFF00;
51 mask = 0x00FF;
58 s = (char)(ivalue|(s.charAt(0)&mask)) + s.substring(1);
61 s = s.substring(0, index) + (char)(ivalue|(s.charAt(index)&mask))
/openjdk7/jdk/make/tools/src/build/tools/hasher/
H A DHasher.java137 int mask; // Hash-code mask field in class:Hasher
141 return (w.hashCode() >> shift) & mask;
151 this.mask = n - 1;
284 + Integer.toHexString(mask) + ";");
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriter.java71 int mask = 0x80000000;
72 while(mask != 0 && (intValue & mask) == 0) {
74 mask >>>= 1;

Completed in 397 milliseconds

1234567891011>>