OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ByteOrder
(Results
1 - 25
of
59
) sorted by null
1
2
3
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
ByteOrderTest.java
20
import java.nio.
ByteOrder
;
25
* Test java.nio.
ByteOrder
31
assertEquals(
ByteOrder
.BIG_ENDIAN.toString(), "BIG_ENDIAN");
32
assertEquals(
ByteOrder
.LITTLE_ENDIAN.toString(), "LITTLE_ENDIAN");
36
ByteOrder
o =
ByteOrder
.nativeOrder();
37
assertTrue(o ==
ByteOrder
.BIG_ENDIAN || o ==
ByteOrder
.LITTLE_ENDIAN);
/libcore/luni/src/main/java/java/nio/
ByteOrder.java
22
public final class
ByteOrder
{
23
private static final
ByteOrder
NATIVE_ORDER;
28
public static final
ByteOrder
BIG_ENDIAN;
33
public static final
ByteOrder
LITTLE_ENDIAN;
39
BIG_ENDIAN = new
ByteOrder
("BIG_ENDIAN", isLittleEndian);
40
LITTLE_ENDIAN = new
ByteOrder
("LITTLE_ENDIAN", !isLittleEndian);
47
* This is the only thing that
ByteOrder
is really used for: to know whether we need to swap
54
private
ByteOrder
(String name, boolean needsSwap) {
65
public static
ByteOrder
nativeOrder() {
72
* @return "BIG_ENDIAN" for {@link #BIG_ENDIAN
ByteOrder
.BIG_ENDIAN
[
all
...]
/libcore/luni/src/test/java/libcore/java/nio/
OldDirectIntBufferTest.java
19
import java.nio.
ByteOrder
;
30
byteBuffer.order(
ByteOrder
.nativeOrder());
OldDirectShortBufferTest.java
19
import java.nio.
ByteOrder
;
30
byteBuffer.order(
ByteOrder
.nativeOrder());
/cts/tests/tests/opengl/src/android/opengl/cts/
RendererTwoShaderTest.java
21
import java.nio.
ByteOrder
;
57
byteBuffer.order(
ByteOrder
.nativeOrder());
RendererOneShaderTest.java
19
import java.nio.
ByteOrder
;
81
byteBuffer.order(
ByteOrder
.nativeOrder());
RendererThreeShaderTest.java
19
import java.nio.
ByteOrder
;
84
byteBuffer.order(
ByteOrder
.nativeOrder());
RendererOneColorBufferTest.java
21
import java.nio.
ByteOrder
;
67
.order(
ByteOrder
.nativeOrder()).asFloatBuffer();
71
ibb.order(
ByteOrder
.nativeOrder());
77
order(
ByteOrder
.nativeOrder()).asFloatBuffer();
85
.order(
ByteOrder
.nativeOrder()).asFloatBuffer();
89
ibb.order(
ByteOrder
.nativeOrder());
95
order(
ByteOrder
.nativeOrder()).asFloatBuffer();
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
Cube.java
20
import java.nio.
ByteOrder
;
73
vbb.order(
ByteOrder
.nativeOrder());
79
cbb.order(
ByteOrder
.nativeOrder());
StaticTriangleRenderer.java
24
import java.nio.
ByteOrder
;
219
vbb.order(
ByteOrder
.nativeOrder());
223
tbb.order(
ByteOrder
.nativeOrder());
227
ibb.order(
ByteOrder
.nativeOrder());
TriangleRenderer.java
22
import java.nio.
ByteOrder
;
187
vbb.order(
ByteOrder
.nativeOrder());
191
tbb.order(
ByteOrder
.nativeOrder());
195
ibb.order(
ByteOrder
.nativeOrder());
/external/chromium_org/third_party/libjingle/source/talk/base/
bytebuffer.h
41
enum
ByteOrder
{
48
explicit ByteBuffer(
ByteOrder
byte_order);
50
ByteBuffer(const char* bytes, size_t len,
ByteOrder
byte_order);
60
ByteOrder
Order() const { return byte_order_; }
120
void Construct(const char* bytes, size_t size,
ByteOrder
byte_order);
127
ByteOrder
byte_order_;
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
Cube.java
20
import java.nio.
ByteOrder
;
73
vbb.order(
ByteOrder
.nativeOrder());
79
cbb.order(
ByteOrder
.nativeOrder());
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ColorfulnessFilter.java
32
import java.nio.
ByteOrder
;
59
byteBuffer.order(
ByteOrder
.nativeOrder());
NewChromaHistogramFilter.java
31
import java.nio.
ByteOrder
;
97
histogramBuffer.order(
ByteOrder
.nativeOrder());
/art/test/070-nio-buffer/src/
Main.java
19
import java.nio.
ByteOrder
;
91
direct.order(
ByteOrder
.nativeOrder());
110
directBuf.order(
ByteOrder
.BIG_ENDIAN);
117
directBuf.order(
ByteOrder
.LITTLE_ENDIAN);
/dalvik/tests/070-nio-buffer/src/
Main.java
19
import java.nio.
ByteOrder
;
91
direct.order(
ByteOrder
.nativeOrder());
110
directBuf.order(
ByteOrder
.BIG_ENDIAN);
117
directBuf.order(
ByteOrder
.LITTLE_ENDIAN);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLWorld.java
20
import java.nio.
ByteOrder
;
37
bb.order(
ByteOrder
.nativeOrder());
41
bb.order(
ByteOrder
.nativeOrder());
45
bb.order(
ByteOrder
.nativeOrder());
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DXTFlipper.java
38
import java.nio.
ByteOrder
;
50
bb.order(
ByteOrder
.LITTLE_ENDIAN);
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
TriangleRenderer.java
20
import java.nio.
ByteOrder
;
122
vbb.order(
ByteOrder
.nativeOrder());
126
tbb.order(
ByteOrder
.nativeOrder());
129
ibb.order(
ByteOrder
.nativeOrder());
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java
22
import java.nio.
ByteOrder
;
71
vbb.order(
ByteOrder
.nativeOrder());
75
tbb.order(
ByteOrder
.nativeOrder());
79
ibb.order(
ByteOrder
.nativeOrder());
/cts/tests/src/android/opengl/cts/
EglConfigGLSurfaceView.java
25
import java.nio.
ByteOrder
;
90
byteBuffer.order(
ByteOrder
.nativeOrder());
93
.order(
ByteOrder
.nativeOrder())
156
.order(
ByteOrder
.nativeOrder())
/development/samples/ApiDemos/src/com/example/android/apis/os/
RotationVectorDemo.java
20
import java.nio.
ByteOrder
;
187
vbb.order(
ByteOrder
.nativeOrder());
193
cbb.order(
ByteOrder
.nativeOrder());
/development/samples/Compass/src/com/example/android/compass/
CompassActivity.java
20
import java.nio.
ByteOrder
;
189
vbb.order(
ByteOrder
.nativeOrder());
195
vbb.order(
ByteOrder
.nativeOrder());
/frameworks/base/core/java/android/util/
EventLog.java
25
import java.nio.
ByteOrder
;
79
mBuffer.order(
ByteOrder
.nativeOrder());
Completed in 795 milliseconds
1
2
3