Home
last modified time | relevance | path

Searched refs:DoubleBuffer (Results 1 – 24 of 24) sorted by relevance

/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
DDoubleBuffer.java32 public abstract class DoubleBuffer extends Buffer implements Comparable<DoubleBuffer> { class
40 public static DoubleBuffer allocate (int capacity) { in allocate()
55 public static DoubleBuffer wrap (double[] array) { in wrap()
70 public static DoubleBuffer wrap (double[] array, int start, int len) { in wrap()
76 DoubleBuffer buf = BufferFactory.newDoubleBuffer(array); in wrap()
86 DoubleBuffer (int capacity) { in DoubleBuffer() method in DoubleBuffer
125 public abstract DoubleBuffer asReadOnlyBuffer (); in asReadOnlyBuffer()
136 public abstract DoubleBuffer compact (); in compact()
145 public int compareTo (DoubleBuffer otherBuffer) { in compareTo()
178 public abstract DoubleBuffer duplicate (); in duplicate()
[all …]
DReadOnlyDoubleArrayBuffer.java42 public DoubleBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
46 public DoubleBuffer compact () { in compact()
50 public DoubleBuffer duplicate () { in duplicate()
70 public DoubleBuffer put (double c) { in put()
74 public DoubleBuffer put (int index, double c) { in put()
78 public final DoubleBuffer put (double[] src, int off, int len) { in put()
82 public final DoubleBuffer put (DoubleBuffer buf) { in put()
86 public DoubleBuffer slice () { in slice()
DDoubleToByteBufferAdapter.java32 final class DoubleToByteBufferAdapter extends DoubleBuffer {
35 static DoubleBuffer wrap (ByteBuffer byteBuffer) { in wrap()
96 public DoubleBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
105 public DoubleBuffer compact () { in compact()
120 public DoubleBuffer duplicate () { in duplicate()
175 public DoubleBuffer put (double c) { in put()
184 public DoubleBuffer put (int index, double c) { in put()
193 public DoubleBuffer slice () { in slice()
196 DoubleBuffer result = new DoubleToByteBufferAdapter(byteBuffer.slice()); in slice()
DReadWriteDoubleArrayBuffer.java50 public DoubleBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
54 public DoubleBuffer compact () { in compact()
62 public DoubleBuffer duplicate () { in duplicate()
82 public DoubleBuffer put (double c) { in put()
90 public DoubleBuffer put (int index, double c) { in put()
98 public DoubleBuffer put (double[] src, int off, int len) { in put()
111 public DoubleBuffer slice () { in slice()
DDoubleArrayBuffer.java28 abstract class DoubleArrayBuffer extends DoubleBuffer {
62 public final DoubleBuffer get (double[] dest, int off, int len) { in get()
DBufferFactory.java79 public static DoubleBuffer newDoubleBuffer (double array[]) { in newDoubleBuffer()
87 public static DoubleBuffer newDoubleBuffer (int capacity) { in newDoubleBuffer()
DBaseByteBuffer.java32 public DoubleBuffer asDoubleBuffer () { in asDoubleBuffer()
DByteBuffer.java158 public abstract DoubleBuffer asDoubleBuffer (); in asDoubleBuffer()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
DBufferUtils.java23 import java.nio.DoubleBuffer;
195 DoubleBuffer buffer = null; in copy()
198 else if (dst instanceof DoubleBuffer) buffer = (DoubleBuffer)dst; in copy()
291 DoubleBuffer buffer = null; in copy()
294 else if (dst instanceof DoubleBuffer) buffer = (DoubleBuffer)dst; in copy()
330 else if ((srcIsByte || src instanceof DoubleBuffer) && (dstIsByte || dst instanceof DoubleBuffer)) in copy()
331 …teBuffer)dst).asDoubleBuffer() : (DoubleBuffer)dst).put((srcIsByte ? ((ByteBuffer)src).asDoubleBuf… in copy()
479 public static DoubleBuffer newDoubleBuffer (int numDoubles) { in newDoubleBuffer()
485 return DoubleBuffer.wrap(new double[numDoubles]); in newDoubleBuffer()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3GL20.java22 import java.nio.DoubleBuffer;
121 else if (data instanceof DoubleBuffer) in glBufferData()
122 GL15.glBufferData(target, (DoubleBuffer)data, usage); in glBufferData()
136 else if (data instanceof DoubleBuffer) in glBufferSubData()
137 GL15.glBufferSubData(target, offset, (DoubleBuffer)data); in glBufferSubData()
601 else if (pixels instanceof DoubleBuffer) in glTexImage2D()
602 …xImage2D(target, level, internalformat, width, height, border, format, type, (DoubleBuffer)pixels); in glTexImage2D()
634 else if (pixels instanceof DoubleBuffer) in glTexSubImage2D()
635 …GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, (DoubleBuffer)p… in glTexSubImage2D()
DLwjgl3GL30.java21 import java.nio.DoubleBuffer;
74 else if (pixels instanceof DoubleBuffer) in glTexImage3D()
75 …D(target, level, internalformat, width, height, depth, border, format, type, (DoubleBuffer)pixels); in glTexImage3D()
98 else if (pixels instanceof DoubleBuffer) in glTexSubImage3D()
99 …arget, level, xoffset, yoffset, zoffset, width, height, depth, format, type, (DoubleBuffer)pixels); in glTexSubImage3D()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglGL20.java22 import java.nio.DoubleBuffer;
125 else if (data instanceof DoubleBuffer) in glBufferData()
126 GL15.glBufferData(target, (DoubleBuffer)data, usage); in glBufferData()
140 else if (data instanceof DoubleBuffer) in glBufferSubData()
141 GL15.glBufferSubData(target, offset, (DoubleBuffer)data); in glBufferSubData()
607 else if (pixels instanceof DoubleBuffer) in glTexImage2D()
608 …xImage2D(target, level, internalformat, width, height, border, format, type, (DoubleBuffer)pixels); in glTexImage2D()
640 else if (pixels instanceof DoubleBuffer) in glTexSubImage2D()
641 …GL11.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, (DoubleBuffer)p… in glTexSubImage2D()
DLwjglGL30.java21 import java.nio.DoubleBuffer;
74 else if (pixels instanceof DoubleBuffer) in glTexImage3D()
75 …D(target, level, internalformat, width, height, depth, border, format, type, (DoubleBuffer)pixels); in glTexImage3D()
98 else if (pixels instanceof DoubleBuffer) in glTexSubImage3D()
99 …arget, level, xoffset, yoffset, zoffset, width, height, depth, format, type, (DoubleBuffer)pixels); in glTexSubImage3D()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DBufferUtils.java23 import java.nio.DoubleBuffer;
410 else if (dst instanceof DoubleBuffer) in positionInBytes()
429 else if (dst instanceof DoubleBuffer) in bytesToElements()
448 else if (dst instanceof DoubleBuffer) in elementsToBytes()
460 public static DoubleBuffer newDoubleBuffer (int numDoubles) { in newDoubleBuffer()
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/
DJavaMethodParser.java66 …"jobject"), FloatBuffer("jobject"), DoubleBuffer("jobject"), BooleanArray("jbooleanArray"), ByteAr… enumConstant
105 if (this == DoubleBuffer) return "double*"; in getBufferCType()
DRobustJavaMethodParser.java73 bufferTypes.put("DoubleBuffer", ArgumentType.DoubleBuffer);
/external/libgdx/extensions/gdx-bullet/jni/swig/common/
DgdxEnableBuffers.i12 ENABLE_NIO_BUFFER_TYPEMAP(double, java.nio.DoubleBuffer);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBufferUtilsTest.java21 import java.nio.DoubleBuffer;
49 DoubleBuffer db = BufferUtils.newDoubleBuffer(8); in create()
354 DoubleBuffer db = BufferUtils.newDoubleBuffer(1024 * 1024 / 8); in benchDouble()
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java105 import java.nio.DoubleBuffer;
230 .put(DoubleBuffer.class, DoubleBuffer.allocate(0))
DFreshValueGenerator.java93 import java.nio.DoubleBuffer;
799 @Generates private DoubleBuffer freshDoubleBuffer() {
800 return DoubleBuffer.allocate(freshInt());
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/
DbtConvexHullComputer.java166 …public float compute(java.nio.DoubleBuffer coords, int stride, int count, float shrink, float shri… in compute()
DLinearMathJNI.java445 …ter_compute__SWIG_1(long jarg1, btConvexHullComputer jarg1_, java.nio.DoubleBuffer jarg2, int jarg… in btConvexHullComputer_compute__SWIG_1()
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java86 import java.nio.DoubleBuffer;
327 assertEquals(0, ArbitraryInstances.get(DoubleBuffer.class).capacity()); in testGet_io()
DFreshValueGeneratorTest.java84 import java.nio.DoubleBuffer;
150 FloatBuffer.class, DoubleBuffer.class, in testFreshInstance()