Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libjingle/source/talk/base/
Dbytebuffer.h41 enum ByteOrder { enum
48 explicit ByteBuffer(ByteOrder byte_order);
50 ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order);
60 ByteOrder Order() const { return byte_order_; } in Order()
120 void Construct(const char* bytes, size_t size, ByteOrder byte_order);
127 ByteOrder byte_order_;
Dbytebuffer.cc45 ByteBuffer::ByteBuffer(ByteOrder byte_order) { in ByteBuffer()
53 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) { in ByteBuffer()
62 ByteOrder byte_order) { in Construct()
Dbytebuffer_unittest.cc132 ByteBuffer::ByteOrder orders[2] = { ByteBuffer::ORDER_HOST, in TEST()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DPFMLoader.java44 import java.nio.ByteOrder;
101 ByteOrder order = scale < 0 ? ByteOrder.LITTLE_ENDIAN : ByteOrder.BIG_ENDIAN; in load()
102 boolean needEndienFlip = order != ByteOrder.nativeOrder(); in load()
DDXTFlipper.java38 import java.nio.ByteOrder;
50 bb.order(ByteOrder.LITTLE_ENDIAN);
/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/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/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java22 import java.nio.ByteOrder;
106 .order(ByteOrder.LITTLE_ENDIAN); in AbstractStreamingHasher()
142 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN)); in putBytes()
DMurmur3_128HashFunction.java21 import java.nio.ByteOrder;
148 ByteBuffer bb = ByteBuffer.wrap(new byte[16]).order(ByteOrder.LITTLE_ENDIAN); in makeHash()
DMessageDigestHashFunction.java26 import java.nio.ByteOrder;
69 this.scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); in MessageDigestHasher()
/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/guava/guava-tests/test/com/google/common/hash/
DAbstractStreamingHasherTest.java14 import java.nio.ByteOrder;
176 assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); in process()
186 assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order()); in processRemaining()
DHashTestUtils.java10 import java.nio.ByteOrder;
34 static byte[] toBytes(ByteOrder bo, long... longs) { in toBytes()
DMurmur3Hash128Test.java22 import static java.nio.ByteOrder.LITTLE_ENDIAN;
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java30 import java.nio.ByteOrder;
84 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt()
85 if (order == ByteOrder.BIG_ENDIAN) { in pokeInt()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DMeshCollisionShape.java45 import java.nio.ByteOrder;
126 …= ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0])).order(ByteOrder.nativeOrder()); in read()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
DBinaryImporter.java41 import java.nio.ByteOrder;
76 private static final boolean fastRead = ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN;
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DBufferUtils.java721 …DoubleBuffer buf = ByteBuffer.allocateDirect(8 * size).order(ByteOrder.nativeOrder()).asDoubleBuff… in createDoubleBuffer()
784 …FloatBuffer buf = ByteBuffer.allocateDirect(4 * size).order(ByteOrder.nativeOrder()).asFloatBuffer… in createFloatBuffer()
846 … IntBuffer buf = ByteBuffer.allocateDirect(4 * size).order(ByteOrder.nativeOrder()).asIntBuffer(); in createIntBuffer()
909 ByteBuffer buf = ByteBuffer.allocateDirect(size).order(ByteOrder.nativeOrder()); in createByteBuffer()
987 …ShortBuffer buf = ByteBuffer.allocateDirect(2 * size).order(ByteOrder.nativeOrder()).asShortBuffer… in createShortBuffer()
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/
DJniInterface.java28 import java.nio.ByteOrder;
391 buffer.order(ByteOrder.LITTLE_ENDIAN); in updateCursorShape()
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
DVideoStreamsView.java40 import java.nio.ByteOrder;
216 ByteOrder.nativeOrder()).asFloatBuffer(); in directNativeFloatBuffer()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedBytes.java29 import java.nio.ByteOrder;
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
DShaderUtils.java39 import java.nio.ByteOrder;
270 byteBuffer.order(ByteOrder.LITTLE_ENDIAN); in getImageDataFromImage()
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java43 import java.nio.ByteOrder;
383 buf.order(ByteOrder.LITTLE_ENDIAN); in convert()
/external/chromium_org/third_party/WebKit/Source/wtf/
Dwtf.gypi25 'ByteOrder.h',
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyStream.java30 import static java.nio.ByteOrder.BIG_ENDIAN;

12