Home
last modified time | relevance | path

Searched refs:ByteOrder (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/webrtc/base/
Dbytebuffer.h25 enum ByteOrder { enum
32 explicit ByteBuffer(ByteOrder byte_order);
34 ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order);
46 ByteOrder Order() const { return byte_order_; } in Order()
106 void Construct(const char* bytes, size_t size, ByteOrder byte_order);
113 ByteOrder byte_order_;
Dbytebuffer.cc29 ByteBuffer::ByteBuffer(ByteOrder byte_order) { in ByteBuffer()
37 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) { in ByteBuffer()
50 ByteOrder byte_order) { in Construct()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java15 import java.nio.ByteOrder;
200 final ByteOrder byteOrder; in parseExifSegment()
202 byteOrder = ByteOrder.BIG_ENDIAN; in parseExifSegment()
204 byteOrder = ByteOrder.LITTLE_ENDIAN; in parseExifSegment()
209 byteOrder = ByteOrder.BIG_ENDIAN; in parseExifSegment()
299 this.data.order(ByteOrder.BIG_ENDIAN); in RandomAccessReader()
302 public void order(ByteOrder byteOrder) { in order()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java21 import java.nio.ByteOrder;
83 .order(ByteOrder.nativeOrder()).asIntBuffer(); in Grid()
85 .order(ByteOrder.nativeOrder()).asIntBuffer(); in Grid()
94 .order(ByteOrder.nativeOrder()).asFloatBuffer(); in Grid()
96 .order(ByteOrder.nativeOrder()).asFloatBuffer(); in Grid()
111 .order(ByteOrder.nativeOrder()).asCharBuffer(); in Grid()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DUUIDConverter.java19 import java.nio.ByteOrder;
45 b.order(ByteOrder.BIG_ENDIAN); in convert()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlUtil.java33 import java.nio.ByteOrder;
53 bb.order(ByteOrder.nativeOrder()); in createFloatBuffer()
/external/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java22 import java.nio.ByteOrder;
114 .order(ByteOrder.LITTLE_ENDIAN); in AbstractStreamingHasher()
150 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN)); in putBytes()
DAbstractByteHasher.java28 import java.nio.ByteOrder;
38 private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
DMurmur3_128HashFunction.java32 import java.nio.ByteOrder;
173 .order(ByteOrder.LITTLE_ENDIAN) in makeHash()
/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java27 import java.nio.ByteOrder;
62 ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN); in toHashCode()
DAbstractStreamingHasherTest.java30 import java.nio.ByteOrder;
207 assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); in process()
217 assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); in processRemaining()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DAbstractTrackEncryptionBox.java8 import java.nio.ByteOrder;
42 b.order(ByteOrder.BIG_ENDIAN); in getDefault_KID()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java14 import java.nio.ByteOrder;
93 ByteOrder outerByteOrder = bytes.order(); in createFromSerialized()
105 boolean isBigEndian = outerByteOrder == ByteOrder.BIG_ENDIAN; in createFromSerialized()
106 bytes.order(isBigEndian ? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN); in createFromSerialized()
DICUBinary.java17 import java.nio.ByteOrder;
585 bytes.order(isBigEndian != 0 ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java15 import java.nio.ByteOrder;
95 ByteOrder outerByteOrder = bytes.order(); in createFromSerialized()
107 boolean isBigEndian = outerByteOrder == ByteOrder.BIG_ENDIAN; in createFromSerialized()
108 bytes.order(isBigEndian ? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN); in createFromSerialized()
DICUBinary.java18 import java.nio.ByteOrder;
589 bytes.order(isBigEndian != 0 ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN);
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexBufferTest.java39 import java.nio.ByteOrder;
216 ByteBuffer byteBuf = ByteBuffer.allocateDirect(4).order(ByteOrder.LITTLE_ENDIAN); in testReadRandom()
250 ByteBuffer byteBuf = ByteBuffer.allocateDirect(8).order(ByteOrder.LITTLE_ENDIAN); in testReadLongRandom()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java733 byteOrder = ByteOrder.nativeOrder(); in decompress()
743 if (byteOrder == ByteOrder.BIG_ENDIAN) in decompress()
749 if (byteOrder == ByteOrder.BIG_ENDIAN) in decompress()
756 if (byteOrder == ByteOrder.BIG_ENDIAN) in decompress()
900 private ByteOrder byteOrder = null;
DTJCompressor.java208 byteOrder = ByteOrder.nativeOrder(); in setSourceImage()
218 if (byteOrder == ByteOrder.BIG_ENDIAN) in setSourceImage()
226 if (byteOrder == ByteOrder.BIG_ENDIAN) in setSourceImage()
647 private ByteOrder byteOrder = null;
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
DGifHeaderParser.java9 import java.nio.ByteOrder;
37 rawData.order(ByteOrder.LITTLE_ENDIAN); in setData()
DGifDecoder.java36 import java.nio.ByteOrder;
365 rawData.order(ByteOrder.LITTLE_ENDIAN); in setData()
402 rawData.order(ByteOrder.LITTLE_ENDIAN); in read()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIDataWrapper.java12 import java.nio.ByteOrder;
170 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN; in get()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIDataWrapper.java13 import java.nio.ByteOrder;
171 This.isBigEndian = bytes.order() == ByteOrder.BIG_ENDIAN; in get()
/external/libjpeg-turbo/java/
DTJUnitTest.java102 ByteOrder byteOrder = ByteOrder.nativeOrder(); in biTypePF()
112 if (byteOrder == ByteOrder.BIG_ENDIAN) in biTypePF()
117 if (byteOrder == ByteOrder.BIG_ENDIAN) in biTypePF()
123 if (byteOrder == ByteOrder.BIG_ENDIAN) in biTypePF()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java36 import java.nio.ByteOrder;
65 this.buffer.order(ByteOrder.LITTLE_ENDIAN); in CodedOutputByteBufferNano()

12