Searched refs:ux (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCoding.java236 private static boolean isNegativeCode(long ux, int S) { argument
238 assert(ux >= -1); // can be out of 32-bit range; who cares
240 return (((int)ux+1) & Smask) == 0;
252 private static int decodeSign32(long ux, int S) { argument
253 assert(ux == toUnsigned32((int)ux)) // must be unsigned 32-bit number
254 : (Long.toHexString(ux));
256 return (int) ux; // cast to signed int
259 if (isNegativeCode(ux, S)) {
261 sx = ~((int)ux >>>
[all...]
/openjdk7/jdk/test/sun/invoke/util/
H A DValueConversionsTest.java258 long ux = tweakSign(x); // unsign the middle field
261 if ((ux & LOW_BITS_MASK) != LOW_BITS_MASK) {
262 ++ux;
264 ux &= ~LOW_BITS_MASK;
265 long midBit = (ux & ~HIGH_BITS_MASK);
268 ux += midBit;
270 return tweakSign(ux);
/openjdk7/jdk/src/share/classes/sun/font/
H A DLayoutPathImpl.java629 double ux = dx/dl; // could cache these, but is it worth it?
634 pt.setLocation(data[seg-3] + a * ux - o * uy,
635 data[seg-2] + a * uy + o * ux);
757 final double ux, uy; // unit vector field in class:LayoutPathImpl.SegmentPath.Segment
768 this.ux = (data[ix] - data[ix-3]) / len;
799 double sx = data[ix-3] + temp.sx * ux - temp.sy * uy;
800 double sy = data[ix-2] + temp.sx * uy + temp.sy * ux;
802 double lx = data[ix-3] + temp.lx * ux - temp.ly * uy;
803 double ly = data[ix-2] + temp.lx * uy + temp.ly * ux;
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dcoding.cpp56 #define DECODE_SIGN_S1(ux) \
57 ( ((uint)(ux) >> 1) ^ -((int)(ux) & 1) )
60 int decode_sign(int S, uint ux) { // == Coding.decodeSign32 argument
62 uint sigbits = (ux >> S);
63 if (IS_NEG_CODE(S, ux))
66 return (int)(ux - sigbits);
67 // Note that (int)(ux-sigbits) can be negative, if ux is large enough.

Completed in 55 milliseconds