Searched refs:mask (Results 26 - 50 of 374) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmplogic.c117 mp_digit mask; local
129 mask = (mp_digit)1 << bitNum;
131 MP_DIGIT(a,ix) |= mask;
133 MP_DIGIT(a,ix) &= ~mask;
173 mp_digit mask = ((1 << numBits) - 1); local
175 ARGCHK(numBits < CHAR_BIT * sizeof mask, MP_BADARG);
180 mask &= (digit[0] >> rshift);
182 mask &= ((digit[0] >> rshift) | (digit[1] << (MP_DIGIT_BIT - rshift)));
184 return (mp_err)mask;
H A Dec_naf.c65 int i, twowm1, mask; local
68 mask = 2 * twowm1 - 1;
77 out[i] = MP_DIGIT(&k, 0) & mask;
/openjdk7/hotspot/src/share/vm/opto/
H A Dregmask.cpp51 int find_lowest_bit( uint32 mask ) {
53 if( (mask & 0xffff) == 0 ) {
54 mask >>= 16;
57 if( (mask & 0xff) == 0 ) {
58 mask >>= 8;
61 if( (mask & 0xf) == 0 ) {
62 mask >>= 4;
65 if( (mask & 0x3) == 0 ) {
66 mask >>= 2;
69 if( (mask
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DJDMNetMask.java34 protected String mask = null; field in class:JDMNetMask
56 return new NetMaskImpl(address.toString(), Integer.parseInt(mask));
H A DJDMNetMaskV6.java44 return new NetMaskImpl(address.toString(), Integer.parseInt(mask));
H A DGroupImpl.java42 * This class is used to represent a subnet mask (a group of hosts
44 * IP mask).
59 * Constructs a group using the specified subnet mask.
61 * @param mask The subnet mask to use to build the group.
62 * @exception UnknownHostException if the subnet mask cann't be built.
64 public GroupImpl (String mask) throws UnknownHostException { argument
65 super(mask);
77 // subnet mask
90 * @return true if the object passed in matches the subnet mask,
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DFilePermission.java136 // the actions mask
137 private transient int mask; field in class:FilePermission
159 // static Strings used by init(int mask)
169 sb.append("mask = "+mask+"\n");
184 * @param mask the actions mask to use.
187 private void init(int mask) argument
190 if ((mask & ALL) != mask)
300 FilePermission(String path, int mask) argument
569 getActions(int mask) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisAclFileAttributeView.java145 int mask = 0;
147 mask |= ACE_READ_DATA;
149 mask |= ACE_WRITE_DATA;
151 mask |= ACE_APPEND_DATA;
153 mask |= ACE_READ_NAMED_ATTRS;
155 mask |= ACE_WRITE_NAMED_ATTRS;
157 mask |= ACE_EXECUTE;
159 mask |= ACE_DELETE_CHILD;
161 mask |= ACE_READ_ATTRIBUTES;
163 mask |
[all...]
H A DLinuxWatchService.java147 * uint32_t mask;
211 int mask = 0;
214 mask |= IN_CREATE | IN_MOVED_TO;
218 mask |= IN_DELETE | IN_MOVED_FROM;
222 mask |= IN_MODIFY | IN_ATTRIB;
249 // register with inotify (replaces existing mask if already registered)
255 wd = inotifyAddWatch(ifd, buffer.address(), mask);
340 int mask = unsafe.getInt(event + OFFSETOF_MASK);
365 processEvent(wd, mask, name);
379 private WatchEvent.Kind<?> maskToEventKind(int mask) { argument
398 processEvent(int wd, int mask, final UnixPath name) argument
443 inotifyAddWatch(int fd, long pathAddress, int mask) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageCopy_f.c130 mlib_s32 emask; /* edge mask */
133 mlib_u8 src, mask; local
138 mask = mask0 << (8 - size);
139 mask >>= offset;
141 da[0] = (src & (~mask)) | (sa[0] & mask);
145 mask = mask0 >> offset;
147 da[0] = (src & (~mask)) | (sa[0] & mask);
160 /* generate edge mask fo
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/
H A Ddither.h72 #define ACTIVATE(code, mask, delta, state, index) do { \
73 if (((rgb & mask) + delta) <= mask) { \
78 if ((rgb & mask) >= delta) { \
/openjdk7/jdk/test/javax/swing/SwingUtilities/7170657/
H A Dbug7170657.java44 final int mask = InputEvent.META_DOWN_MASK | InputEvent.CTRL_MASK;
48 MouseEvent mwe = new MouseWheelEvent(f, 1, 1, mask, 1, 1, 1, 1, 1, true,
50 MouseEvent mdme = new MenuDragMouseEvent(f, 1, 1, mask, 1, 1, 1, 1, 1,
52 MouseEvent me = new MouseEvent(f, 1, 1, mask, 1, 1, 1, 1, 1, true,
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DDefaultControlTest.java183 for (int mask = 0; mask < (1 << NARGS)-1; mask++) {
184 Object[] data = getNpeArgs(NARGS, mask);
213 for (int mask = 0; mask < (1 << NARGS)-1; mask++) {
214 Object[] data = getNpeArgs(NARGS, mask);
280 for (int mask = 0; mask < (
416 getNpeArgs(int length, int mask) argument
[all...]
/openjdk7/hotspot/src/share/vm/libadt/
H A Dvectset.hpp123 uint32 mask = 1L << (elem & 31); // Get bit mask
124 uint32 datum = data[word] & mask;// Get bit
125 data[word] |= mask; // Set bit
137 uint32 mask = 1L << (elem & 31); // Get bit mask
138 return data[word] & mask; // Get bit
147 uint32 mask = 1L << (elem & 31); // Get bit mask local
148 data[word] |= mask; // Se
167 uint32 mask; member in class:VectorSetI
[all...]
H A Dvectset.cpp109 register uint32 mask = 1L << (elem & 31); // Get bit mask local
113 data[word] |= mask; // Set new bit
124 register uint32 mask = 1L << (elem & 31); // Get bit mask
125 data[word] &= ~mask; // Clear bit
296 register uint32 mask = 1L << (elem & 31); // Get bit mask
297 return ((data[word] & mask))!=0; // Return the sense of the bit
375 mask
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/
H A DOopMapCacheEntry.java60 // compute bit mask size
79 mask.atPut(entryIdx, true);
83 // verify bit mask
85 Assert.that(verifyMask(vars, stack, maxLocals, stackTop), "mask could not be verified");
92 private Method method; // the method for which the mask is valid
93 private int bci; // the bci for which the mask is valid
94 private int maskSize; // the required mask size in bits
95 private BitMap mask; // may be null if mask is empty field in class:OopMapCacheEntry
101 return mask
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DNotifierArgs.java52 int mask; field in class:NotifierArgs
73 mask |= ADDED_MASK|REMOVED_MASK|RENAMED_MASK;
76 mask |= CHANGED_MASK;
84 return mask == target.mask &&
128 sum = mask + name.hashCode() + filter.hashCode() + controlsCode();
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DMaskFill.cpp38 * w,h - width/height of the mask tile
41 * sx1,sy1 - upper left corner of the mask tile source region
42 * sx2,sy2 - lower left corner of the mask tile source region
43 * sx,sy - "current" upper left corner of the mask tile region of interest
101 unsigned char *mask; local
106 mask = (unsigned char *)
109 mask = NULL;
114 maskoff, maskscan, masklen, mask);
121 if (mask != NULL) {
122 env->ReleasePrimitiveArrayCritical(maskArray, mask, JNI_ABOR
[all...]
H A DD3DRenderQueue.h52 #define EXTRACT_VAL(packedval, offset, mask) \
53 (((packedval) >> (offset)) & (mask))
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLMaskFill.c42 * the mask texture tile. In picture form, this process looks like:
52 * Cx = coverage value from mask tile
60 * with the coverage values from the mask texture tile (provided on texture
73 * Cx = coverage value from mask tile
79 * w,h - width/height of the mask tile
82 * sx1,sy1 - upper left corner of the mask tile source region
83 * sx2,sy2 - lower left corner of the mask tile source region
84 * sx,sy - "current" upper left corner of the mask tile region of interest
137 unsigned char *mask; local
142 mask
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DImageScalingHelper.java41 * Painting type indicating the image should be centered in the space provided. When used the <code>mask</code>
48 * <code>mask</code> is ignored.
98 * @param mask Specifies portion of image to render, if <code>PAINT_ALL</code> is specified, any other regions
104 Insets dInsets, PaintType paintType, int mask) {
165 if ((mask & PAINT_ALL) != 0) {
166 mask = (PAINT_ALL - 1) & ~mask;
169 if ((mask & PAINT_LEFT) != 0) {
173 if ((mask & PAINT_TOP_LEFT) != 0) {
177 if ((mask
102 paint(Graphics g, int x, int y, int w, int h, Image image, Insets sInsets, Insets dInsets, PaintType paintType, int mask) argument
[all...]
/openjdk7/hotspot/test/compiler/5091921/
H A DTest6935022.java55 private void loop(int endingRow, int mask) throws Exception { argument
61 if (rows == mask)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/tools/
H A DMaskingClassLoader.java62 for (String mask : masks) {
63 if(name.startsWith(mask))
/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DMetaMessage.java230 private final static long mask = 0x7F; field in class:MetaMessage
233 int shift=63; // number of bitwise left-shifts of mask
235 while ((shift > 0) && ((value & (mask << shift)) == 0)) shift-=7;
238 data[off++]=(byte) (((value & (mask << shift)) >> shift) | 0x80);
241 data[off] = (byte) (value & mask);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dimg_util_md.h62 #define SetOpaqueBit(mask, bit) ((mask) &= ~(bit))
63 #define SetTransparentBit(mask, bit) ((mask) |= (bit))

Completed in 212 milliseconds

1234567891011>>