Searched refs:shift (Results 126 - 150 of 233) sorted by relevance

12345678910

/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_IntBgr.c128 PTR_ADD(src, (syloc >> shift) * srcScan);
131 x = src[tmpsxloc >> shift];
138 ARGB2ABGR_FL2(dd, ((mlib_f32*)src)[tmpsxloc >> shift],
139 ((mlib_f32*)src)[(tmpsxloc + sxinc) >> shift]);
145 x = src[tmpsxloc >> shift];
212 PTR_ADD(src, (syloc >> shift) * srcScan);
215 x = src[tmpsxloc >> shift];
222 ARGB_to_GBGR_FL2(dd, ((mlib_f32*)src)[tmpsxloc >> shift],
223 ((mlib_f32*)src)[(tmpsxloc + sxinc) >> shift]);
229 x = src[tmpsxloc >> shift];
[all...]
H A Dvis_IntRgbx.c102 PTR_ADD(src, (syloc >> shift) * srcScan);
105 *dst++ = 0xff000000 | (src[tmpsxloc >> shift] >> 8);
111 dd = vis_freg_pair(((mlib_f32*)src)[tmpsxloc >> shift],
112 ((mlib_f32*)src)[(tmpsxloc + sxinc) >> shift]);
119 *dst++ = 0xff000000 | (src[tmpsxloc >> shift] >> 8);
190 PTR_ADD(src, (syloc >> shift) * srcScan);
193 *dst++ = src[tmpsxloc >> shift] << 8;
199 dd = vis_freg_pair(((mlib_f32*)src)[tmpsxloc >> shift],
200 ((mlib_f32*)src)[(tmpsxloc + sxinc) >> shift]);
207 *dst++ = src[tmpsxloc >> shift] <<
[all...]
H A Dvis_ThreeByteBgr.c154 PTR_ADD(src, (syloc >> shift) * srcScan);
157 i = tmpsxloc >> shift;
178 PTR_ADD(src, (syloc >> shift) * srcScan);
181 i = tmpsxloc >> shift;
189 i0 = tmpsxloc >> shift;
190 i1 = (tmpsxloc + sxinc) >> shift;
206 i = tmpsxloc >> shift;
H A Dvis_UshortGray.c209 PTR_ADD(src, (syloc >> shift) * srcScan);
212 x = src[tmpsxloc >> shift] >> 8;
231 PTR_ADD(src, (syloc >> shift) * srcScan);
237 LOAD_NEXT_U8(dd, src + ((tmpsxloc + 3*sxinc) >> shift));
238 LOAD_NEXT_U8(dd, src + ((tmpsxloc + 2*sxinc) >> shift));
239 LOAD_NEXT_U8(dd, src + ((tmpsxloc + sxinc) >> shift));
240 LOAD_NEXT_U8(dd, src + ((tmpsxloc ) >> shift));
254 x = src[tmpsxloc >> shift] >> 8;
279 PTR_ADD(src, (syloc >> shift) * srcScan);
282 x = src[tmpsxloc >> shift];
[all...]
H A Dvis_FourByteAbgr.c612 mlib_u8 *sp = pSrc - 1 + 3*(tmpsxloc >> shift); \
622 mlib_u8 *sp = pSrc + 3*(tmpsxloc >> shift); \
649 PTR_ADD(pSrc, (syloc >> shift) * srcScan);
653 mlib_u8 *pp = pSrc + 3*(tmpsxloc >> shift);
676 PTR_ADD(pSrc, (syloc >> shift) * srcScan);
689 mlib_u8 *pp = pSrc + 3*(tmpsxloc >> shift);
701 mlib_u8 *pp = pSrc + 3*(tmpsxloc >> shift);
710 mlib_u8 *pp = pSrc + 3*(tmpsxloc >> shift);
939 PTR_ADD(src, (syloc >> shift) * srcScan);
942 x = src[tmpsxloc >> shift];
[all...]
H A Dvis_IntArgb.c123 PTR_ADD(src, (syloc >> shift) * srcScan);
126 *dst++ = pixLut[src[tmpsxloc >> shift]];
133 src[tmpsxloc >> shift],
134 src[(tmpsxloc + sxinc) >> shift]);
139 *dst = pixLut[src[tmpsxloc >> shift]];
216 PTR_ADD(src, (syloc >> shift) * srcScan);
219 x = pixLut[src[tmpsxloc >> shift]];
229 dd = LOAD_2F32(pixLut, src[tmpsxloc >> shift],
230 src[(tmpsxloc + sxinc) >> shift]);
237 x = pixLut[src[tmpsxloc >> shift]];
[all...]
H A Dvis_IntArgbPre.c116 PTR_ADD(src, (syloc >> shift) * srcScan);
119 mlib_u32 argb = src[tmpsxloc >> shift];
146 PTR_ADD(src, (syloc >> shift) * srcScan);
151 ind0 = tmpsxloc >> shift;
163 ind0 = tmpsxloc >> shift;
165 ind1 = tmpsxloc >> shift;
181 ind0 = tmpsxloc >> shift;
277 PTR_ADD(src, (syloc >> shift) * srcScan);
280 mlib_u32 argb = src[tmpsxloc >> shift];
306 PTR_ADD(src, (syloc >> shift) * srcSca
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DDeviceTables.cpp58 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
59 le_uint16 field = (word >> shift) & fieldMasks[format];
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DIBM948_OLD.java88 super.shift = 6;
2427 super.shift = 6;
H A DIBM950_OLD.java86 super.shift = 5;
2496 super.shift = 6;
H A DDBCS_ONLY_IBM_EBCDIC_Decoder.java53 protected int shift; field in class:DBCS_ONLY_IBM_EBCDIC_Decoder
88 char outputChar = index2.charAt(index1[((v & mask1) >> shift)]
116 char outputChar = index2.charAt(index1[((v & mask1) >> shift)]
H A DDBCS_IBM_ASCII_Encoder.java57 protected int shift; field in class:DBCS_IBM_ASCII_Encoder
73 index = index1[((ch & mask1) >> shift)] + (ch & mask2);
110 index = index1[((c & mask1) >> shift)]
160 index = index1[((c & mask1) >> shift)]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DBytePackedRaster.java259 int shift = shiftOffset - (bitnum & 7);
260 outData[0] = (byte)((element >> shift) & bitMask);
339 int shift = shiftOffset - (bitnum & 7);
341 (byte)(bitMask & (data[index + (bitnum >> 3)] >> shift));
414 int shift = shiftOffset - (bitnum & 7);
416 (byte)(bitMask & (data[index + (bitnum >> 3)] >> shift));
482 int shift = shiftOffset - (bitnum & 7);
484 (byte) (bitMask & (data[index + (bitnum >> 3)] >> shift));
515 int shift = shiftOffset - (bitnum & 7);
518 element &= ~(bitMask << shift);
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicIntegerArray.java53 private static final int shift; field in class:AtomicIntegerArray
60 shift = 31 - Integer.numberOfLeadingZeros(scale);
71 return ((long) i << shift) + base;
H A DAtomicLongArray.java52 private static final int shift; field in class:AtomicLongArray
59 shift = 31 - Integer.numberOfLeadingZeros(scale);
70 return ((long) i << shift) + base;
/openjdk7/jdk/src/share/classes/sun/io/
H A DCharToByteEUC.java40 protected int shift; field in class:CharToByteEUC
137 index = index1[((inputChar & mask1) >> shift)] + (inputChar & mask2);
227 index = index1[((ch & mask1) >> shift)] + (ch & mask2);
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrtran.c2245 &(png_ptr->shift));
2339 png_uint_32 shift = 7 - (int)((row_width + 7) & 0x07); local
2342 *dp = (png_byte)((*sp >> shift) & 0x01);
2344 if (shift == 7)
2346 shift = 0;
2351 shift++;
2363 png_uint_32 shift = (int)((3 - ((row_width + 3) & 0x03)) << 1); local
2366 *dp = (png_byte)((*sp >> shift) & 0x03);
2368 if (shift == 6)
2370 shift
2386 png_uint_32 shift = (int)((1 - ((row_width + 1) & 0x01)) << 2); local
2430 int shift[4]; local
2494 *bp >>= shift[0]; local
2508 *bp++ >>= shift[i%channels]; local
2523 value >>= shift[i%channels]; local
3451 int shift; local
4417 int shift, value; local
4570 int shift, value; local
[all...]
H A Dpng.c1199 * be increased. Note that the arithmetic shift
1626 * required shift is 31.
1982 * integer bits (the top 4) simply determine a shift.
2032 * is determined by the above table and the shift. Notice that the values
2169 * 'num' 256 entry subtables, where 'num' is determined by 'shift' - the amount
2170 * to shift the input values right (or 16-number_of_signifiant_bits).
2178 PNG_CONST unsigned int shift, PNG_CONST png_fixed_point gamma_val)
2180 /* Various values derived from 'shift': */
2181 PNG_CONST unsigned int num = 1U << (8U - shift);
2182 PNG_CONST unsigned int max = (1U << (16U - shift))
2177 png_build_16bit_table(png_structp png_ptr, png_uint_16pp *ptable, PNG_CONST unsigned int shift, PNG_CONST png_fixed_point gamma_val) argument
2245 png_build_16to8_table(png_structp png_ptr, png_uint_16pp *ptable, PNG_CONST unsigned int shift, PNG_CONST png_fixed_point gamma_val) argument
2357 png_byte shift, sig_bit; local
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DDoubleDV.java219 int shift = dp - edp;
222 chars[len++] = (char)(shift + '0');
245 int shift = nzp - edp;
248 chars[len++] = (char)(shift + '0');
H A DFloatDV.java199 int shift = dp - edp;
202 chars[len++] = (char)(shift + '0');
225 int shift = nzp - edp;
228 chars[len++] = (char)(shift + '0');
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DStandardMidiFileWriter.java314 int shift=63; // number of bitwise left-shifts of mask
316 while ((shift > 0) && ((value & (mask << shift)) == 0)) shift-=7;
318 while (shift > 0) {
319 tddos.writeByte((int) (((value & (mask << shift)) >> shift) | 0x80));
320 shift-=7;
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageLookUpS32S16Func.c172 mlib_u32 shift = 2147483648u; local
173 const mlib_s16 *tab = &table[0][shift];
213 mlib_u32 shift = 2147483648u; local
225 const mlib_s16 *tab0 = &table[0][shift];
226 const mlib_s16 *tab1 = &table[1][shift];
266 mlib_u32 shift = 2147483648u; local
277 const mlib_s16 *tab0 = &table[0][shift];
278 const mlib_s16 *tab1 = &table[1][shift];
279 const mlib_s16 *tab2 = &table[2][shift];
280 const mlib_s16 *tab3 = &table[3][shift];
459 mlib_u32 shift = 2147483648u; local
[all...]
H A Dmlib_v_ImageLookUpS32U16Func.c173 mlib_u32 shift = 2147483648u; local
174 const mlib_u16 *tab = &table[0][shift];
215 mlib_u32 shift = 2147483648u; local
227 const mlib_u16 *tab0 = &table[0][shift];
228 const mlib_u16 *tab1 = &table[1][shift];
269 mlib_u32 shift = 2147483648u; local
280 const mlib_u16 *tab0 = &table[0][shift];
281 const mlib_u16 *tab1 = &table[1][shift];
282 const mlib_u16 *tab2 = &table[2][shift];
283 const mlib_u16 *tab3 = &table[3][shift];
463 mlib_u32 shift = 2147483648u; local
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DImageOutputStreamImpl.java418 int shift = 8 - (offset+numBits);
420 partialByte &= ~(mask << shift); // Clear out old bits
421 partialByte |= ((bits & mask) << shift); // Or in new ones
443 int shift = (numBytes-1)*8+extra;
444 int value = (int) ((shift == 0)
446 : (bits>>shift) & 0xFF);
469 int shift = 8 - numBits;
471 partialByte &= ~(mask << shift);
472 partialByte |= (bits & mask) << shift;
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableModel.java396 private static void rotate(Vector v, int a, int b, int shift) { argument
398 int r = size - shift;
440 int shift = to - start;
442 if (shift < 0) {
450 rotate(dataVector, first, last + 1, shift);

Completed in 172 milliseconds

12345678910