Searched refs:mask (Results 101 - 125 of 374) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DBinaryAttribute.java58 public static BinaryAttribute load(DataInputStream in, BinaryConstantPool cpool, int mask) throws IOException { argument
68 if (id.equals(idCode) && ((mask & ATT_CODE) == 0)) {
/openjdk7/jdk/test/javax/swing/JLayer/6872503/
H A Dbug6872503.java70 throw new RuntimeException("Wrong mask for AWTEventListener");
104 static boolean layerEventControllerMaskEquals(long mask) { argument
107 for (AWTEventListener listener : toolkit.getAWTEventListeners(mask)) {
121 System.out.println("LayerEventController with the correct mask found");
123 System.out.println("No LayerEventController with the correct mask");
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DBerEncoder.java227 int mask = 0xff800000;
230 while( (((i & mask) == 0) || ((i & mask) == mask)) && (intsize > 1) ) {
256 int mask = 0xff000000;
259 buf[offset++] = (byte) ((i & mask) >> 24);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/
H A DInvoker.java99 List<String> mask = new ArrayList<String>(Arrays.asList(maskedPackages));
103 cl = new MaskingClassLoader(cl,mask);
176 List<String> mask = new ArrayList<String>(Arrays.asList(maskedPackages));
178 // we need to load 2.1 API from side. so add them to the mask
179 mask.add("javax.xml.bind.");
180 mask.add("javax.xml.ws.");
185 cl = new MaskingClassLoader(cl,mask);
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_IntArgb.c156 mlib_s32 i, i0, j, x, mask; local
182 mask = vis_fcmplt32(dd, dzero);
183 vis_pst_32(dd, dst + i, mask);
206 mlib_s32 j, x, mask; local
232 mask = vis_fcmplt32(dd, dzero);
233 vis_pst_32(dd, dst, mask);
256 mlib_s32 j, x, mask; local
283 mask = (((-*(mlib_u8*)pp0) >> 31) & 2) |
286 vis_pst_32(dd, dst, mask);
310 mlib_s32 j, x, mask; local
371 mlib_s32 pix, mask; local
[all...]
H A Dvis_IntBgr.c425 mlib_s32 i, i0, j, mask, x; local
449 mask = (((-*(mlib_u8*)(src + i)) >> 31) & 2) |
451 vis_pst_32(dd, dst + i, mask);
473 mlib_s32 j, mask; local
497 mask = (((-*(mlib_u8*)pp0) >> 31) & 2) |
499 vis_pst_32(dd, dst, mask);
522 mlib_s32 i, i0, j, mask; local
550 mask = (((-*(mlib_u8*)(src + i)) >> 31) & 2) |
553 vis_pst_32(dd, dst + i, mask);
665 mlib_s32 i, i0, j, x, mask; local
715 mlib_s32 j, x, mask; local
765 mlib_s32 j, x, mask; local
827 mlib_s32 pix, mask, mask_z; local
[all...]
H A Dvis_ByteGray.c723 mlib_s32 i, j, x0, x1, mask, res; local
774 mask = res >> 16;
775 *dst++ = (res & mask) | (*dst &~ mask);
784 mask = res >> 16;
785 ((mlib_u16*)dst)[0] = (res & mask) | (((mlib_u16*)dst)[0] &~ mask);
792 mask = res >> 16;
793 *dst = (res & mask) | (*dst &~ mask);
891 mlib_s32 i, j, x0, x1, mask, res; local
[all...]
H A Dvis_IntRgb.c46 mlib_d64 dd, mask; local
54 mask = vis_to_double_dup(0xFF000000);
63 dst[i] = vis_fors(src[i], vis_read_hi(mask));
71 *(mlib_d64*)(dst + i) = vis_for(dd, mask);
75 dst[i] = vis_fors(src[i], vis_read_hi(mask));
89 mlib_d64 dd, mask; local
92 mask = vis_to_double_dup(0xFF000000);
103 *dst++ = vis_fors(src[tmpsxloc >> shift], vis_read_hi(mask));
111 *(mlib_d64*)dst = vis_for(dd, mask);
116 *dst++ = vis_fors(src[tmpsxloc >> shift], vis_read_hi(mask));
451 mlib_s32 i, i0, j, mask; local
498 mlib_s32 i, i0, j, mask; local
555 mlib_s32 pix, mask, mask_z; local
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DSinglePixelPackedSampleModel.java94 * its corresponding bit mask. Each bit mask must be contiguous and
123 * its corresponding bit mask. Each bit mask must be contiguous and
135 * @throws IllegalArgumentException if any mask in
162 int bitOffset = 0, bitSize = 0, mask;
164 mask = this.bitMasks[i];
165 if (mask != 0) {
166 while ((mask & 1) == 0) {
167 mask
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DbitMap.inline.hpp56 const idx_t mask = bit_mask(bit);
60 const idx_t new_val = old_val | mask;
77 const idx_t mask = ~bit_mask(bit);
81 const idx_t new_val = old_val & mask;
307 // Returns a bit mask for a range of bits [beg, end) within a single word. Each
308 // bit in the mask is 0 if the bit is in the range, 1 if not in the range. The
309 // returned mask can be used directly to clear the range, or inverted to set the
316 bm_word_t mask = bit_mask(beg) - 1; // low (right) bits
318 mask |= ~(bit_mask(end) - 1); // high (left) bits
320 return mask;
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DImageOutputStreamImpl.java419 int mask = -1 >>> (32 - numBits);
420 partialByte &= ~(mask << shift); // Clear out old bits
421 partialByte |= ((bits & mask) << shift); // Or in new ones
429 int mask = -1 >>> (32 - num);
430 partialByte &= ~mask; // Clear out bits
431 partialByte |= ((bits >> (numBits - num)) & mask);
470 int mask = -1 >>> (32 - numBits);
471 partialByte &= ~(mask << shift);
472 partialByte |= (bits & mask) << shift;
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DAdaptiveCoding.java142 int mask = KB_MAX << (KX * KX_LG2BASE);
145 if (((K1 - unit) & ~mask) == 0) {
152 K1 |= (mask & ~mask2);
163 int mask = KB_MAX << (KX * KX_LG2BASE);
164 return ((K - unit) & ~mask) == 0;
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dinftrees.c76 unsigned mask; /* mask for low root bits */ local
233 mask = used - 1; /* mask for comparing low */
284 if (len > root && (huff & mask) != low) {
308 low = huff & mask;
327 if (drop != 0 && (huff & mask) != low) {
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DMaskBlit.java40 * alpha coverage mask
41 * 4) the mask may be null in which case it should be treated
76 System.out.println("mask blit loop not found for:");
109 byte[] mask, int maskoff, int maskscan);
174 byte mask[], int offset, int scan)
221 mask, offset, scan);
256 byte[] mask, int maskoff, int maskscan)
261 mask, maskoff, maskscan);
104 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument
167 MaskBlit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte mask[], int offset, int scan) argument
252 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument
H A DMaskFill.java47 * alpha coverage mask
48 * 4) the mask may be null in which case it should be treated
129 byte[] mask, int maskoff, int maskscan);
189 byte mask[], int offset, int scan)
208 mask, offset, scan);
243 byte[] mask, int maskoff, int maskscan)
247 mask, maskoff, maskscan);
126 MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, int x, int y, int w, int h, byte[] mask, int maskoff, int maskscan) argument
185 MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, int x, int y, int w, int h, byte mask[], int offset, int scan) argument
240 MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, int x, int y, int w, int h, byte[] mask, int maskoff, int maskscan) argument
/openjdk7/jdk/src/share/sample/nio/file/
H A DChmod.java154 String mask = (expr.length() == pos) ? "" : expr.substring(pos);
164 if (assign && mask.length() == 0) {
167 mask = "rwx";
174 for (int i=0; i<mask.length(); i++) {
175 switch (mask.charAt(i)) {
/openjdk7/jdk/src/share/classes/java/util/
H A DRandom.java82 private static final long mask = (1L << 48) - 1; field in class:Random
131 return (seed ^ multiplier) & mask;
188 nextseed = (oldseed * multiplier + addend) & mask;
/openjdk7/hotspot/src/share/vm/classfile/
H A DvmSymbols.cpp459 int shift = 2*vmSymbols::log2_SID_LIMIT + log2_FLAG_LIMIT, mask = right_n_bits(vmSymbols::log2_SID_LIMIT); local
460 assert(((ID4(1021,1022,1023,15) >> shift) & mask) == 1021, "");
461 return vmSymbols::SID( (info >> shift) & mask );
466 int shift = vmSymbols::log2_SID_LIMIT + log2_FLAG_LIMIT, mask = right_n_bits(vmSymbols::log2_SID_LIMIT); local
467 assert(((ID4(1021,1022,1023,15) >> shift) & mask) == 1022, "");
468 return vmSymbols::SID( (info >> shift) & mask );
473 int shift = log2_FLAG_LIMIT, mask = right_n_bits(vmSymbols::log2_SID_LIMIT); local
474 assert(((ID4(1021,1022,1023,15) >> shift) & mask) == 1023, "");
475 return vmSymbols::SID( (info >> shift) & mask );
480 int shift = 0, mask local
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DLinuxWatchService.c61 arr[1] = (jint)offsetof(struct inotify_event, mask);
84 (JNIEnv* env, jclass clazz, jint fd, jlong address, jint mask)
89 wfd = inotify_add_watch((int)fd, path, mask);
83 Java_sun_nio_fs_LinuxWatchService_inotifyAddWatch(JNIEnv* env, jclass clazz, jint fd, jlong address, jint mask) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRMaskFill.java94 int maskoff, int maskscan, int masklen, byte[] mask);
98 final byte[] mask, final int maskoff, final int maskscan) {
108 int maskPict = maskBuffer.getMaskBuffer().uploadMask(w, h, maskscan, maskoff, mask);
93 maskFill(long xsdo, int x, int y, int w, int h, int maskoff, int maskscan, int masklen, byte[] mask) argument
96 MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, final int x, final int y, final int w, final int h, final byte[] mask, final int maskoff, final int maskscan) argument
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEventPortWrapper.java215 void setInterest(int fd, int mask) { argument
218 setUpdate(fd, (byte)mask);
219 assert getUpdate(fd) == mask;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdAddress.java262 public Address andWithMask(long mask) throws UnsupportedOperationException { argument
263 long value = addr & mask;
270 public Address orWithMask(long mask) throws UnsupportedOperationException { argument
271 long value = addr | mask;
278 public Address xorWithMask(long mask) throws UnsupportedOperationException { argument
279 long value = addr ^ mask;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/dummy/
H A DDummyAddress.java250 public Address andWithMask(long mask) throws UnsupportedOperationException { argument
251 long value = addr & mask;
258 public Address orWithMask(long mask) throws UnsupportedOperationException { argument
259 long value = addr | mask;
266 public Address xorWithMask(long mask) throws UnsupportedOperationException { argument
267 long value = addr ^ mask;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/linux/
H A DLinuxAddress.java262 public Address andWithMask(long mask) throws UnsupportedOperationException { argument
263 long value = addr & mask;
270 public Address orWithMask(long mask) throws UnsupportedOperationException { argument
271 long value = addr | mask;
278 public Address xorWithMask(long mask) throws UnsupportedOperationException { argument
279 long value = addr ^ mask;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/proc/
H A DProcAddress.java258 public Address andWithMask(long mask) throws UnsupportedOperationException { argument
259 long value = addr & mask;
266 public Address orWithMask(long mask) throws UnsupportedOperationException { argument
267 long value = addr | mask;
274 public Address xorWithMask(long mask) throws UnsupportedOperationException { argument
275 long value = addr ^ mask;

Completed in 141 milliseconds

1234567891011>>