Searched refs:byteOrder (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/io/
H A DCharToByteUnicodeBig.java39 byteOrder = BIG;
H A DCharToByteUnicodeBigUnmarked.java40 byteOrder = BIG;
H A DCharToByteUnicodeLittle.java39 byteOrder = LITTLE;
H A DCharToByteUnicodeLittleUnmarked.java40 byteOrder = LITTLE;
H A DCharToByteUnicode.java46 protected int byteOrder = UNKNOWN; field in class:CharToByteUnicode
53 byteOrder = BIG;
55 byteOrder = LITTLE;
57 byteOrder = BIG;
60 public CharToByteUnicode(int byteOrder, boolean usesMark) { argument
61 this.byteOrder = byteOrder;
71 switch (byteOrder) {
98 if (byteOrder == BIG) {
109 if (byteOrder
[all...]
H A DByteToCharUnicode.java60 int byteOrder; /* Byte order in use */ field in class:ByteToCharUnicode
70 originalByteOrder = byteOrder = AUTO;
79 originalByteOrder = byteOrder = bo;
134 if (byteOrder == AUTO) {
140 byteOrder = bo;
150 else if (byteOrder == bo) {
172 if (byteOrder == BIG)
206 byteOrder = originalByteOrder;
/openjdk7/jdk/test/java/io/
H A DUnicode.java63 static void encode(String enc, int byteOrder, boolean markExpected) argument
73 if (byteOrder == BIG) {
76 } else if (byteOrder == LITTLE) {
89 if (byteOrder == BIG) {
92 } else if (byteOrder == LITTLE) {
104 static void decode(String enc, int byteOrder, boolean markit) argument
110 if (byteOrder == BIG) {
113 } else if (byteOrder == LITTLE) {
120 if (byteOrder == BIG) {
123 } else if (byteOrder
[all...]
/openjdk7/jdk/src/share/classes/java/nio/
H A DByteOrder.java73 return Bits.byteOrder();
H A DBits.java565 private static final ByteOrder byteOrder; field in class:Bits
567 static ByteOrder byteOrder() { method in class:Bits
568 if (byteOrder == null)
570 return byteOrder;
579 case 0x01: byteOrder = ByteOrder.BIG_ENDIAN; break;
580 case 0x08: byteOrder = ByteOrder.LITTLE_ENDIAN; break;
583 byteOrder = null;
H A DX-Buffer.java.template1406 = (Bits.byteOrder() == ByteOrder.BIG_ENDIAN);
1435 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN));
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DNativeObject.java365 private static ByteOrder byteOrder = null; field in class:NativeObject
372 static ByteOrder byteOrder() { method in class:NativeObject
373 if (byteOrder != null)
374 return byteOrder;
380 case 0x01: byteOrder = ByteOrder.BIG_ENDIAN; break;
381 case 0x08: byteOrder = ByteOrder.LITTLE_ENDIAN; break;
388 return byteOrder;
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DUTF_32Coder.java119 private int byteOrder; field in class:UTF_32Coder.Encoder
122 if (byteOrder==BIG) {
135 protected Encoder(Charset cs, int byteOrder, boolean doBOM) { argument
138 (byteOrder==BIG)?new byte[]{(byte)0, (byte)0, (byte)0xff, (byte)0xfd}
140 this.byteOrder = byteOrder;
H A DUnicodeEncoder.java42 private int byteOrder; /* Byte order in use */ field in class:UnicodeEncoder
55 byteOrder = bo;
59 if (byteOrder == BIG) {
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DImageOutputStreamImpl.java65 if (byteOrder == ByteOrder.BIG_ENDIAN) {
80 if (byteOrder == ByteOrder.BIG_ENDIAN) {
95 if (byteOrder == ByteOrder.BIG_ENDIAN) {
142 if (byteOrder == ByteOrder.BIG_ENDIAN) {
210 if (byteOrder == ByteOrder.BIG_ENDIAN) {
236 if (byteOrder == ByteOrder.BIG_ENDIAN) {
262 if (byteOrder == ByteOrder.BIG_ENDIAN) {
292 if (byteOrder == ByteOrder.BIG_ENDIAN) {
330 if (byteOrder == ByteOrder.BIG_ENDIAN) {
360 if (byteOrder
[all...]
H A DImageInputStreamImpl.java72 protected ByteOrder byteOrder = ByteOrder.BIG_ENDIAN; field in class:ImageInputStreamImpl
114 public void setByteOrder(ByteOrder byteOrder) { argument
115 this.byteOrder = byteOrder;
119 return byteOrder;
232 if (byteOrder == ByteOrder.BIG_ENDIAN) {
254 if (byteOrder == ByteOrder.BIG_ENDIAN) {
276 if (byteOrder == ByteOrder.BIG_ENDIAN) {
462 if (byteOrder == ByteOrder.BIG_ENDIAN) {
481 if (byteOrder
[all...]
H A DImageInputStream.java67 * @param byteOrder one of <code>ByteOrder.BIG_ENDIAN</code> or
76 void setByteOrder(ByteOrder byteOrder); argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DPerfDataPrologue.java75 public byte byteOrder() { method in class:PerfDataPrologue
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx_impl.c294 format->byteOrder = BYTE_ORDER_NATIVE;
317 format->byteOrder, (unsigned) format->colorMap, format->depthBytes,
331 if (platformByteOrder() == format->byteOrder && format->depthBytes != 3) {
332 format->byteOrder = BYTE_ORDER_NATIVE;
H A Dsplashscreen_gfx.h63 int byteOrder; // see BYTE_ORDER_LSBFIRST, BYTE_ORDER_MSBFIRST or BYTE_ORDER_NATIVE member in struct:ImageFormat
H A Dsplashscreen_gfx_impl.h152 switch (format->byteOrder) {
216 switch (format->byteOrder) {
H A Dsplashscreen_png.c157 srcFormat.byteOrder = BYTE_ORDER_MSBFIRST;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DMotifDnDConstants.java307 ByteOrder byteOrder = ByteOrder.nativeOrder();
309 byteOrder = (byteOrder == ByteOrder.LITTLE_ENDIAN) ?
327 if (byteOrder == ByteOrder.LITTLE_ENDIAN) {
H A DMotifDnDDragSourceProtocol.java111 byte byteOrder = unsafe.getByte(data + 1);
112 boolean swapNeeded = byteOrder != MotifDnDConstants.getByteOrderByte();
/openjdk7/jdk/src/solaris/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c312 ByteOrderToX(int byteOrder) { argument
313 if (byteOrder == BYTE_ORDER_NATIVE)
314 byteOrder = platformByteOrder();
315 switch (byteOrder) {
340 ximage->byte_order = ByteOrderToX(splash->screenFormat.byteOrder);
444 splash->screenFormat.byteOrder =
500 splash->screenFormat.byteOrder = BYTE_ORDER_NATIVE;
/openjdk7/jdk/src/share/classes/java/net/
H A DURLConnection.java1632 int byteOrder = c[0];
1641 if(byteOrder == 0xFE) {
1665 if(byteOrder == 0xFE) {
1717 if (byteOrder == 0xFE &&

Completed in 129 milliseconds

12