Searched refs:shift (Results 151 - 175 of 233) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DBerEncoder.java140 // For larger sequences we'll need to shift the data to the right
185 * Positive shift value means shift to the right.
187 private void shiftSeqData(int start, int len, int shift) { argument
188 if (shift > 0) {
189 ensureFreeBytes(shift);
191 System.arraycopy(buf, start, buf, start + shift, len);
192 offset += shift;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DBase64.java250 int shift = 0; // # of excess bits stored in accum
261 shift += 6;
262 if ( shift >= 8 ) {
263 shift -= 8;
264 sb.append( (char) ((acc >> shift) & 0xff));
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_IntRgb.c100 PTR_ADD(src, (syloc >> shift) * srcScan);
103 *dst++ = vis_fors(src[tmpsxloc >> shift], vis_read_hi(mask));
109 dd = vis_freg_pair(src[tmpsxloc >> shift],
110 src[(tmpsxloc + sxinc) >> shift]);
116 *dst++ = vis_fors(src[tmpsxloc >> shift], vis_read_hi(mask));
244 PTR_ADD(src, (syloc >> shift) * srcScan);
247 i = tmpsxloc >> shift;
268 PTR_ADD(src, (syloc >> shift) * srcScan);
271 i = tmpsxloc >> shift;
279 i0 = tmpsxloc >> shift;
[all...]
H A Dvis_IntArgbBm.c164 PTR_ADD(src, (syloc >> shift) * srcScan);
167 x = src[tmpsxloc >> shift];
174 mlib_u8 *pp0 = (mlib_u8*)(src + (tmpsxloc >> shift));
175 mlib_u8 *pp1 = (mlib_u8*)(src + ((tmpsxloc + sxinc) >> shift));
189 x = src[tmpsxloc >> shift];
271 PTR_ADD(src, (syloc >> shift) * srcScan);
274 x = pixLut[src[tmpsxloc >> shift]];
281 mlib_u8 *pp0 = (void*)(pixLut + src[tmpsxloc >> shift]);
282 mlib_u8 *pp1 = (void*)(pixLut + src[(tmpsxloc + sxinc) >> shift]);
296 x = pixLut[src[tmpsxloc >> shift]];
[all...]
H A Dvis_ByteGray_FromRgb.c227 PTR_ADD(src, (syloc >> shift) * srcScan);
232 i = tmpsxloc >> shift;
244 s02 = vis_fpmerge(src[(tmpsxloc ) >> shift],
245 src[(tmpsxloc + 2*sxinc) >> shift]);
246 s13 = vis_fpmerge(src[(tmpsxloc + sxinc) >> shift],
247 src[(tmpsxloc + 3*sxinc) >> shift]);
256 i = tmpsxloc >> shift;
288 PTR_ADD(src, (syloc >> shift) * srcScan);
293 i0 = 3*(tmpsxloc >> shift);
305 i0 = 3*(tmpsxloc >> shift);
[all...]
H A Djava2d_Mlib.c356 jint shift, \
376 PTR_ADD(pSrc, (syloc >> shift) * srcScan); \
378 jint i = (tmpsxloc >> shift); \
393 if (shift <= MLIB_SHIFT /* 16 */) { \
394 jint dshift = MLIB_SHIFT - shift; \
400 jint dshift = shift - MLIB_SHIFT; \
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx_impl.h62 /* converts a single i'th component to the specific format defined by format->shift[i] and format->mask[i] */
64 (LSHIFT((quad),(format)->shift[i])&(format)->mask[i])
66 /* extracts the component defined by format->shift[i] and format->mask[i] from a specific-format value */
68 (RSHIFT((value)&(format)->mask[i],(format)->shift[i]))
294 /* find the shift for specified mask, also verify the mask is valid */
298 int shift = 0, numBits = 0; local
303 /* calculate the shift */
305 ++shift;
316 *pShift = shift;
H A Dsplashscreen_gfx_impl.c292 int i, shift, numBits; local
304 getMaskShift(format->mask[i], &shift, &numBits);
305 format->shift[i] = shift + numBits - i * 8 - 8;
320 printf("mask[%d]=%08x shift[%d]=%d\n", i, (unsigned) format->mask[i], i,
321 format->shift[i]);
/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/
H A DSimpleEUCEncoder.java50 protected int shift; field in class:SimpleEUCEncoder
69 index = index1[((ch & mask1) >> shift)] + (ch & mask2);
130 index = index1[((inputChar & mask1) >> shift)] + (inputChar & mask2);
210 index = index1[((inputChar & mask1) >> shift)] + (inputChar & mask2);
273 return (byte)index2.charAt(index1[(inputChar & mask1) >> shift] +
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicReferenceArray.java56 private static final int shift; field in class:AtomicReferenceArray
73 shift = 31 - Integer.numberOfLeadingZeros(scale);
84 return ((long) i << shift) + base;
/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 local
[all...]
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DDBCS_IBM_ASCII_Decoder.java53 protected int shift; field in class:DBCS_IBM_ASCII_Decoder
96 outputChar = index2.charAt(index1[((v & mask1) >> shift)]
141 outputChar = index2.charAt(index1[((v & mask1) >> shift)]
H A DDBCS_IBM_EBCDIC_Decoder.java54 protected int shift; field in class:DBCS_IBM_EBCDIC_Decoder
131 outputChar = index2.charAt(index1[((v & mask1) >> shift)]
201 outputChar = index2.charAt(index1[((v & mask1) >> shift)]
H A DDBCS_IBM_EBCDIC_Encoder.java56 protected int shift; field in class:DBCS_IBM_EBCDIC_Encoder
94 index = index1[((ch & mask1) >> shift)] + (ch & mask2);
133 index = index1[((c & mask1) >> shift)]
198 index = index1[((c & mask1) >> shift)]
H A DIBM1383_OLD.java1232 super.shift = 5;
H A DIBM949_OLD.java107 super.shift = 5;
1511 private int shift; field in class:IBM949_OLD.Encoder
1519 shift = 3;
1526 shift = 3;
1541 index = index1[((ch & mask1) >> shift)] + (ch & mask2);
1935 index = index1[((unicode & mask1) >> shift)] + (unicode & mask2);
H A DIBM970_OLD.java1245 private int mask1 , mask2, shift; field in class:IBM970_OLD.Encoder
1253 shift = 3;
1269 index = index1[((ch & mask1) >> shift)] + (ch & mask2);
1658 index = index1[((unicode & mask1) >> shift)] + (unicode & mask2);
/openjdk7/jdk/test/java/awt/TextArea/UsingWithMouse/
H A DSelectionAutoscrollTest.java144 void moveMouseBelowTextArea( boolean shift ) {
149 if( shift ) y+=15;
/openjdk7/jdk/make/tools/src/build/tools/hasher/
H A DHasher.java138 int shift; // Hash-code shift size field in class:Hasher
141 return (w.hashCode() >> shift) & mask;
149 this.shift = s;
179 // Iterate through possible shift sizes
190 + ", shift " + shift
282 + shift + ";");
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Canonicalizer.cpp306 int shift = t2->as_IntConstant()->value() & 31; local
307 jint mask = ~(~0 << (32 - shift));
308 if (shift == 0) mask = ~0;
310 case Bytecodes::_ishl: set_constant(value << shift); return;
311 case Bytecodes::_ishr: set_constant(value >> shift); return;
312 case Bytecodes::_iushr: set_constant((value >> shift) & mask); return;
316 int shift = t2->as_IntConstant()->value() & 63; local
317 jlong mask = ~(~jlong_cast(0) << (64 - shift));
318 if (shift == 0) mask = ~jlong_cast(0);
320 case Bytecodes::_lshl: set_constant(value << shift); retur
821 ShiftOp* shift = instr->as_ShiftOp(); local
[all...]
/openjdk7/jdk/test/java/util/Arrays/
H A DBig.java40 final int shift = intArg(args, 0, 10); // "30" is real test
42 final int n = (1<<shift) + 47;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DPaletteBuilder.java356 int shift = MAXLEVEL - aLevel;
357 int red_index = 0x1 & ((0xff & aColor.getRed()) >> shift);
358 int green_index = 0x1 & ((0xff & aColor.getGreen()) >> shift);
359 int blue_index = 0x1 & ((0xff & aColor.getBlue()) >> shift);
/openjdk7/jdk/src/share/classes/sun/io/
H A DCharToByteSingleByte.java68 protected int shift; field in class:CharToByteSingleByte
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DByteIndexed.c200 jint sxinc, jint syinc, jint shift,
219 sxloc, syloc, sxinc, syinc, shift,
225 sxloc, syloc, sxinc, syinc, shift,
H A DIndex12Gray.c188 jint sxinc, jint syinc, jint shift,
207 sxloc, syloc, sxinc, syinc, shift,
215 sxloc, syloc, sxinc, syinc, shift,

Completed in 163 milliseconds

12345678910