Home
last modified time | relevance | path

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

123

/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java12 import java.nio.ByteOrder;
44 expected.order(ByteOrder.LITTLE_ENDIAN); in testCorrectMessageParsing()
52 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
60 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
74 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
86 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
97 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
107 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
119 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
145 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
DValidationTestUtil.java11 import java.nio.ByteOrder;
62 copiedData.order(ByteOrder.LITTLE_ENDIAN); in buildData()
/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/libmojo/mojo/android/javatests/src/org/chromium/mojo/
DTestUtils.java8 import java.nio.ByteOrder;
26 data.order(ByteOrder.LITTLE_ENDIAN); in newRandomBuffer()
/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/r8/src/main/java/com/android/tools/r8/dex/
DDexFile.java14 import java.nio.ByteOrder;
132 buffer.order(ByteOrder.LITTLE_ENDIAN); in setByteOrder()
135 buffer.order(ByteOrder.BIG_ENDIAN); in setByteOrder()
DDexOutputBuffer.java11 import java.nio.ByteOrder;
39 buffer.order(ByteOrder.LITTLE_ENDIAN); in allocate()
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DServiceMessage.java8 import java.nio.ByteOrder;
60 truncatedBuffer.order(ByteOrder.LITTLE_ENDIAN); in getPayload()
/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);
/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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipeByteBuffer.java20 import java.nio.ByteOrder;
60 mByteBuffer.order(ByteOrder.LITTLE_ENDIAN); in PipeByteBuffer()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java17 import java.nio.ByteOrder;
97 ByteOrder outerByteOrder = bytes.order(); in createFromSerialized()
109 boolean isBigEndian = outerByteOrder == ByteOrder.BIG_ENDIAN; in createFromSerialized()
110 bytes.order(isBigEndian ? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN); in createFromSerialized()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java16 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()
/external/flatbuffers/java/com/google/flatbuffers/
DTable.java21 import java.nio.ByteOrder;
105 ByteBuffer src = bb.duplicate().order(ByteOrder.LITTLE_ENDIAN); in __string()
168 ByteBuffer bb = this.bb.duplicate().order(ByteOrder.LITTLE_ENDIAN); in __vector_as_bytebuffer()
DFlatBufferBuilder.java27 import java.nio.ByteOrder;
97 bb.order(ByteOrder.LITTLE_ENDIAN); in init()
118 newbb.order(ByteOrder.LITTLE_ENDIAN); in newByteBuffer()
387 ByteBuffer copy = bb.slice().order(ByteOrder.LITTLE_ENDIAN); in createUnintializedVector()
/external/noto-fonts/emoji-compat/src/java/android/support/text/emoji/flatbuffer/
DMetadataList.java24 import java.nio.ByteOrder;
36 _bb.order(ByteOrder.LITTLE_ENDIAN); in getRootAsMetadataList()
/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.java736 byteOrder = ByteOrder.nativeOrder(); in decompress()
746 if (byteOrder == ByteOrder.BIG_ENDIAN) in decompress()
752 if (byteOrder == ByteOrder.BIG_ENDIAN) in decompress()
759 if (byteOrder == ByteOrder.BIG_ENDIAN) in decompress()
908 private ByteOrder byteOrder = null;

123