/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | BitInputStreamTest.java | 25 import java.nio.ByteOrder; 33 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN)) { in shouldNotAllowReadingOfANegativeAmountOfBits() 40 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN)) { in shouldNotAllowReadingOfMoreThan63BitsAtATime() 47 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN)) { in testReading24BitsInLittleEndian() 54 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.BIG_ENDIAN)) { in testReading24BitsInBigEndian() 61 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN)) { in testReading17BitsInLittleEndian() 68 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.BIG_ENDIAN)) { in testReading17BitsInBigEndian() 76 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN)) { in testReading30BitsInLittleEndian() 83 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.BIG_ENDIAN)) { in testReading30BitsInBigEndian() 91 try (final BitInputStream bis = new BitInputStream(getStream(), ByteOrder.LITTLE_ENDIAN)) { in testReading31BitsInLittleEndian() [all …]
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | ValidationTestUtilTest.java | 18 import java.nio.ByteOrder; 54 expected.order(ByteOrder.LITTLE_ENDIAN); in testCorrectMessageParsing() 62 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 70 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 84 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 96 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 107 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 117 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 129 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing() 145 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
|
D | ValidationTestUtil.java | 11 import java.nio.ByteOrder; 61 copiedData.order(ByteOrder.LITTLE_ENDIAN); in buildData()
|
/external/webrtc/webrtc/base/ |
D | bytebuffer.h | 25 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_;
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | BitInputStream.java | 24 import java.nio.ByteOrder; 42 private final ByteOrder byteOrder; 52 public BitInputStream(final InputStream in, final ByteOrder byteOrder) { in BitInputStream() 152 if (byteOrder == ByteOrder.LITTLE_ENDIAN) { in processBitsGreater57() 170 if (byteOrder == ByteOrder.LITTLE_ENDIAN) { in readCachedBits() 192 if (byteOrder == ByteOrder.LITTLE_ENDIAN) { in ensureCache()
|
/external/opencensus-java/api/src/test/java/io/opencensus/common/ |
D | ServerStatsEncodingTest.java | 22 import java.nio.ByteOrder; 70 bb.order(ByteOrder.LITTLE_ENDIAN); in skipUnknownFieldTest() 91 bb.order(ByteOrder.LITTLE_ENDIAN); in negativeLbLatencyValueTest() 112 bb.order(ByteOrder.LITTLE_ENDIAN); in negativeServerLatencyValueTest() 125 bb.order(ByteOrder.LITTLE_ENDIAN); in emptySerializedBuffer() 136 bb.order(ByteOrder.LITTLE_ENDIAN); in invalidNegativeVersion() 147 bb.order(ByteOrder.LITTLE_ENDIAN); in invalidCompatibleVersion()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | AltsFramingTest.java | 23 import java.nio.ByteOrder; 38 buffer.order(ByteOrder.LITTLE_ENDIAN); in parserFrameLengthNegativeFails() 56 buffer.order(ByteOrder.LITTLE_ENDIAN); in parserFrameLengthSmallerMessageTypeFails() 74 buffer.order(ByteOrder.LITTLE_ENDIAN); in parserFrameLengthTooLargeFails() 95 buffer.order(ByteOrder.LITTLE_ENDIAN); in parserFrameLengthMaxOk() 115 buffer.order(ByteOrder.LITTLE_ENDIAN); in parserFrameLengthZeroOk()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMemoryMappedFile.java | 10 import java.nio.ByteOrder; 71 return getHeapBufferIterator(ByteOrder.BIG_ENDIAN); in bigEndianIterator() 76 return getHeapBufferIterator(ByteOrder.LITTLE_ENDIAN); in littleEndianIterator() 79 private BufferIterator getHeapBufferIterator(ByteOrder endianness) { in getHeapBufferIterator() 92 public RoboBufferIterator(byte[] buffer, ByteOrder order) { in RoboBufferIterator()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | ImageHeaderParser.java | 15 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/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 26 import java.nio.ByteOrder; 76 ByteBuffer buf = ByteBuffer.allocateDirect(8 * doubles.length).order(ByteOrder.nativeOrder()); in createWithByteBuffer() 99 ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN in createFromBufferWithNonNativeByteOrder() 100 ? ByteOrder.BIG_ENDIAN in createFromBufferWithNonNativeByteOrder() 101 : ByteOrder.LITTLE_ENDIAN) in createFromBufferWithNonNativeByteOrder() 181 ByteBuffer bbuf = ByteBuffer.allocate(1024).order(ByteOrder.nativeOrder()); in writeTo() 214 .order(ByteOrder.nativeOrder()) in writeTo() 253 ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN in writeTo() 254 ? ByteOrder.BIG_ENDIAN in writeTo() 255 : ByteOrder.LITTLE_ENDIAN) in writeTo()
|
/external/turbine/java/com/google/turbine/zip/ |
D | Zip.java | 28 import java.nio.ByteOrder; 167 eocd.order(ByteOrder.LITTLE_ENDIAN); in ZipIterable() 174 eocd.order(ByteOrder.LITTLE_ENDIAN); in ZipIterable() 200 zip64eocd.order(ByteOrder.LITTLE_ENDIAN); in ZipIterable() 210 cd.order(ByteOrder.LITTLE_ENDIAN); in ZipIterable() 294 fc.order(ByteOrder.LITTLE_ENDIAN); in getBytes() 301 fc.order(ByteOrder.LITTLE_ENDIAN); in getBytes()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TensorTest.java | 22 import java.nio.ByteOrder; 94 ByteBuffer.allocateDirect(2 * 8 * 8 * 3 * 4).order(ByteOrder.nativeOrder()); in testCopyToByteBuffer() 106 ByteBuffer parsedOutput = ByteBuffer.allocateDirect(3 * 4).order(ByteOrder.nativeOrder()); in testCopyToInvalidByteBuffer() 150 ByteBuffer.allocateDirect(2 * 8 * 8 * 3 * 4).order(ByteOrder.nativeOrder()); in testSetTo() 175 ByteBuffer input = ByteBuffer.allocateDirect(3 * 4).order(ByteOrder.nativeOrder()); in testSetToInvalidByteBuffer() 186 ByteBuffer bytBufferInput = ByteBuffer.allocateDirect(3 * 4).order(ByteOrder.nativeOrder()); in testGetInputShapeIfDifferent()
|
/external/opencensus-java/api/src/main/java/io/opencensus/common/ |
D | ServerStatsEncoding.java | 20 import java.nio.ByteOrder; 57 bb.order(ByteOrder.LITTLE_ENDIAN); in toBytes() 84 bb.order(ByteOrder.LITTLE_ENDIAN); in parseBytes()
|
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | BackgroundRenderer.java | 29 import java.nio.ByteOrder; 89 bbVertices.order(ByteOrder.nativeOrder()); in createOnGlThread() 96 bbTexCoords.order(ByteOrder.nativeOrder()); in createOnGlThread() 103 bbTexCoordsTransformed.order(ByteOrder.nativeOrder()); in createOnGlThread()
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | BackgroundRenderer.java | 29 import java.nio.ByteOrder; 89 bbVertices.order(ByteOrder.nativeOrder()); in createOnGlThread() 96 bbTexCoords.order(ByteOrder.nativeOrder()); in createOnGlThread() 103 bbTexCoordsTransformed.order(ByteOrder.nativeOrder()); in createOnGlThread()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | AltsFraming.java | 21 import java.nio.ByteOrder; 176 buffer.order(ByteOrder.LITTLE_ENDIAN); in flush() 283 bufferAlias.order(ByteOrder.LITTLE_ENDIAN); in readBytes() 292 buffer.order(ByteOrder.LITTLE_ENDIAN); in readBytes()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 21 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/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | Util.java | 3 import java.nio.ByteOrder; 13 private static boolean littleEndian = ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN;
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | BitStream.java | 25 import java.nio.ByteOrder; 36 super(in, ByteOrder.LITTLE_ENDIAN); in BitStream()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/ |
D | TestUtils.java | 8 import java.nio.ByteOrder; 25 data.order(ByteOrder.LITTLE_ENDIAN); in newRandomBuffer()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
D | UUIDConverter.java | 19 import java.nio.ByteOrder; 45 b.order(ByteOrder.BIG_ENDIAN); in convert()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/ |
D | GzipCompressorOutputStream.java | 24 import java.nio.ByteOrder; 93 buffer.order(ByteOrder.LITTLE_ENDIAN); in writeHeader() 126 buffer.order(ByteOrder.LITTLE_ENDIAN); in writeTrailer()
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | ServiceMessage.java | 8 import java.nio.ByteOrder; 60 truncatedBuffer.order(ByteOrder.LITTLE_ENDIAN); in getPayload()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | GlUtil.java | 33 import java.nio.ByteOrder; 53 bb.order(ByteOrder.nativeOrder()); in createFloatBuffer()
|
/external/guava/guava/src/com/google/common/hash/ |
D | AbstractStreamingHashFunction.java | 22 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()
|