HomeSort by relevance Sort by last modified time
    Searched refs:byteOrder (Results 1 - 25 of 160) sorted by null

1 2 3 4 5 6 7

  /libcore/benchmarks/src/benchmarks/regression/
ByteBufferBenchmark.java 24 import java.nio.ByteOrder;
35 BIG(ByteOrder.BIG_ENDIAN), LITTLE(ByteOrder.LITTLE_ENDIAN);
36 final ByteOrder byteOrder;
37 MyByteOrder(ByteOrder byteOrder) {
38 this.byteOrder = byteOrder;
42 @Param private MyByteOrder byteOrder;
    [all...]
ByteBufferScalarVersusVectorBenchmark.java 23 @Param private ByteBufferBenchmark.MyByteOrder byteOrder;
28 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
29 ByteBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
  /libcore/ojluni/src/main/java/java/nio/
ByteOrder.java 37 public final class ByteOrder {
41 private ByteOrder(String name) {
49 public static final ByteOrder BIG_ENDIAN
50 = new ByteOrder("BIG_ENDIAN");
56 public static final ByteOrder LITTLE_ENDIAN
57 = new ByteOrder("LITTLE_ENDIAN");
70 public static ByteOrder nativeOrder() {
71 return Bits.byteOrder();
ByteBuffer.java 118 * ByteOrder} class. The initial order of a byte buffer is always {@link
119 * ByteOrder#BIG_ENDIAN BIG_ENDIAN}.
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
NativeObject.java 31 import java.nio.ByteOrder;
365 private static ByteOrder byteOrder = null;
370 * @return An instance of {@link java.nio.ByteOrder}
372 static ByteOrder byteOrder() {
373 if (byteOrder != null)
374 return byteOrder;
380 case 0x01: byteOrder = ByteOrder.BIG_ENDIAN; break
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ByteBufferReader.java 23 import java.nio.ByteOrder;
40 * @param byteOrder Byte order of the buffer
46 public static long readInteger(ByteBuffer payload, ByteOrder byteOrder, int size) {
57 if (byteOrder == ByteOrder.LITTLE_ENDIAN) {
  /prebuilts/sdk/current/support/exifinterface/
android-support-exifinterface.jar 
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
ImageHeaderParser.java 15 import java.nio.ByteOrder;
200 final ByteOrder byteOrder;
202 byteOrder = ByteOrder.BIG_ENDIAN;
204 byteOrder = ByteOrder.LITTLE_ENDIAN;
209 byteOrder = ByteOrder.BIG_ENDIAN;
212 segmentData.order(byteOrder);
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/objfile/
disasm.go 32 byteOrder binary.ByteOrder // byte order for goarch
54 byteOrder := byteOrders[goarch]
55 if disasm == nil || byteOrder == nil {
78 byteOrder: byteOrder,
152 fmt.Fprintf(tw, "%08x", d.byteOrder.Uint32(code[i+j:]))
174 text, size := d.disasm(code[i:], pc, lookup, d.byteOrder)
193 type disasmFunc func(code []byte, pc uint64, lookup lookupFunc, ord binary.ByteOrder) (text string, size int)
195 func disasm_386(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder) (string, int)
    [all...]
  /prebuilts/go/linux-x86/src/cmd/internal/objfile/
disasm.go 32 byteOrder binary.ByteOrder // byte order for goarch
54 byteOrder := byteOrders[goarch]
55 if disasm == nil || byteOrder == nil {
78 byteOrder: byteOrder,
152 fmt.Fprintf(tw, "%08x", d.byteOrder.Uint32(code[i+j:]))
174 text, size := d.disasm(code[i:], pc, lookup, d.byteOrder)
193 type disasmFunc func(code []byte, pc uint64, lookup lookupFunc, ord binary.ByteOrder) (text string, size int)
195 func disasm_386(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder) (string, int)
    [all...]
  /frameworks/base/services/net/java/android/net/netlink/
StructNlAttr.java 24 import java.nio.ByteOrder;
57 final ByteOrder originalOrder = byteBuffer.order();
58 byteBuffer.order(ByteOrder.nativeOrder());
99 private ByteOrder mByteOrder = ByteOrder.nativeOrder();
103 public StructNlAttr(ByteOrder byteOrder) {
104 mByteOrder = byteOrder;
114 this(type, value, ByteOrder.nativeOrder());
117 public StructNlAttr(short type, short value, ByteOrder order)
    [all...]
  /device/generic/goldfish/camera/
Exif.cpp 98 ExifByteOrder byteOrder = exif_data_get_byte_order(exifData);
108 exif_set_rational(&entry->data[i * rationalSize], byteOrder, rational);
185 ExifByteOrder byteOrder = exif_data_get_byte_order(exifData);
188 exif_set_long(entry->data, byteOrder, value);
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJCompressor.java 209 if (byteOrder == null)
210 byteOrder = ByteOrder.nativeOrder();
220 if (byteOrder == ByteOrder.BIG_ENDIAN)
228 if (byteOrder == ByteOrder.BIG_ENDIAN)
657 private ByteOrder byteOrder = null;
TJDecompressor.java     [all...]
  /frameworks/base/media/java/android/media/
ExifInterface.java 45 import java.nio.ByteOrder;
592 public static ExifAttribute createUShort(int[] values, ByteOrder byteOrder) {
595 buffer.order(byteOrder);
602 public static ExifAttribute createUShort(int value, ByteOrder byteOrder) {
603 return createUShort(new int[] {value}, byteOrder);
606 public static ExifAttribute createULong(long[] values, ByteOrder byteOrder) {
609 buffer.order(byteOrder);
    [all...]
  /frameworks/support/exifinterface/src/android/support/media/
ExifInterface.java 45 import java.nio.ByteOrder;
    [all...]
  /frameworks/wilhelm/tests/sandbox/
playbq.cpp 45 SLuint32 byteOrder; // desired to use for PCM buffers
74 if (byteOrder != nativeByteOrder) {
184 byteOrder = nativeByteOrder;
201 byteOrder = SL_BYTEORDER_BIGENDIAN;
203 byteOrder = SL_BYTEORDER_LITTLEENDIAN;
400 format_pcm.endianness = byteOrder;
  /libcore/ojluni/src/main/java/java/net/
URLConnection.java     [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
ExifParser.java 23 import java.nio.ByteOrder;
738 short byteOrder = mTiffStream.readShort();
739 if (LITTLE_ENDIAN_TAG == byteOrder) {
740 mTiffStream.setByteOrder(ByteOrder.LITTLE_ENDIAN);
741 } else if (BIG_ENDIAN_TAG == byteOrder) {
742 mTiffStream.setByteOrder(ByteOrder.BIG_ENDIAN);
    [all...]
  /libcore/luni/src/test/java/libcore/io/
MemoryMappedFileTest.java 27 import java.nio.ByteOrder;
355 checkReadIntArray(MemoryMappedFile::bigEndianIterator, ByteOrder.BIG_ENDIAN);
356 checkReadIntArray(MemoryMappedFile::littleEndianIterator, ByteOrder.LITTLE_ENDIAN);
361 ByteOrder byteOrdering) throws Exception {
565 BufferIterator iterator, byte[] underlyingData, ByteOrder byteOrder, int intCount) {
577 IntBuffer expectedIntsBuffer = byteBuffer.slice().order(byteOrder).asIntBuffer();
578 assertEquals(byteOrder, expectedIntsBuffer.order());
  /packages/apps/Camera2/src/com/android/camera/exif/
ExifParser.java 23 import java.nio.ByteOrder;
738 short byteOrder = mTiffStream.readShort();
739 if (LITTLE_ENDIAN_TAG == byteOrder) {
740 mTiffStream.setByteOrder(ByteOrder.LITTLE_ENDIAN);
741 } else if (BIG_ENDIAN_TAG == byteOrder) {
742 mTiffStream.setByteOrder(ByteOrder.BIG_ENDIAN);
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
ExifParser.java 23 import java.nio.ByteOrder;
705 short byteOrder = mTiffStream.readShort();
706 if (LITTLE_ENDIAN_TAG == byteOrder) {
707 mTiffStream.setByteOrder(ByteOrder.LITTLE_ENDIAN);
708 } else if (BIG_ENDIAN_TAG == byteOrder) {
709 mTiffStream.setByteOrder(ByteOrder.BIG_ENDIAN);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifParser.java 23 import java.nio.ByteOrder;
738 short byteOrder = mTiffStream.readShort();
739 if (LITTLE_ENDIAN_TAG == byteOrder) {
740 mTiffStream.setByteOrder(ByteOrder.LITTLE_ENDIAN);
741 } else if (BIG_ENDIAN_TAG == byteOrder) {
742 mTiffStream.setByteOrder(ByteOrder.BIG_ENDIAN);
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/exif/
ExifParser.java 24 import java.nio.ByteOrder;
740 short byteOrder = mTiffStream.readShort();
741 if (LITTLE_ENDIAN_TAG == byteOrder) {
742 mTiffStream.setByteOrder(ByteOrder.LITTLE_ENDIAN);
743 } else if (BIG_ENDIAN_TAG == byteOrder) {
744 mTiffStream.setByteOrder(ByteOrder.BIG_ENDIAN);
    [all...]
  /external/esd/include/
audiofile.h 463 void afInitByteOrder (AFfilesetup, int track, int byteOrder);
465 int afSetVirtualByteOrder (AFfilehandle, int track, int byteOrder);

Completed in 545 milliseconds

1 2 3 4 5 6 7