Home
last modified time | relevance | path

Searched defs:src (Results 1 – 25 of 158) sorted by relevance

1234567

/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBenchmark.java85 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte() local
95 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray() local
106 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte_indexed() local
116 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar() local
126 … CharBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_getCharArray() local
137 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar_indexed() local
147 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getDouble() local
157 … DoubleBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer(); in timeDoubleBuffer_getDoubleArray() local
168 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getFloat() local
178 … FloatBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asFloatBuffer(); in timeFloatBuffer_getFloatArray() local
[all …]
DByteBufferScalarVersusVectorBenchmark.java28 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy() local
40 ByteBuffer src = ByteBuffer.allocate(aligned ? 8192 : 8192 + 1); in timeByteBufferBulkGet() local
49 ByteBuffer src = ByteBuffer.allocateDirect(aligned ? 8192 : 8192 + 1); in timeDirectByteBufferBulkGet() local
/libcore/benchmarks/src/benchmarks/
DArrayCopyBenchmark.java23 char[] src = new char[8192]; in timeManualArrayCopy() local
33 char[] src = new char[8192]; in time_System_arrayCopy() local
41 char[] src = new char[8192]; in time_Arrays_copyOf() local
48 char[] src = new char[8192]; in time_Arrays_copyOfRange() local
DSystemArrayCopyBenchmark.java30 char[] src = new char[len]; in timeSystemCharArrayCopy() local
48 short[] src = new short[len]; in timeSystemShortArrayCopy() local
57 int[] src = new int[len]; in timeSystemIntArrayCopy() local
66 long[] src = new long[len]; in timeSystemLongArrayCopy() local
75 float[] src = new float[len]; in timeSystemFloatArrayCopy() local
84 double[] src = new double[len]; in timeSystemDoubleArrayCopy() local
/libcore/ojluni/annotations/hiddenapi/sun/net/util/
DIPAddressUtil.java35 public static byte[] textToNumericFormatV4(java.lang.String src) { in textToNumericFormatV4()
39 public static byte[] textToNumericFormatV6(java.lang.String src) { in textToNumericFormatV6()
44 public static boolean isIPv4LiteralAddress(java.lang.String src) { in isIPv4LiteralAddress()
49 public static boolean isIPv6LiteralAddress(java.lang.String src) { in isIPv6LiteralAddress()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DGCMParameterSpec.java83 public GCMParameterSpec(int tLen, byte[] src) { in GCMParameterSpec()
107 public GCMParameterSpec(int tLen, byte[] src, int offset, int len) { in GCMParameterSpec()
114 private void init(int tLen, byte[] src, int offset, int len) { in init()
/libcore/ojluni/src/main/java/sun/net/util/
DIPAddressUtil.java41 public static byte[] textToNumericFormatV4(String src) in textToNumericFormatV4()
131 public static byte[] textToNumericFormatV6(String src) in textToNumericFormatV6()
248 public static boolean isIPv4LiteralAddress(String src) { in isIPv4LiteralAddress()
256 public static boolean isIPv6LiteralAddress(String src) { in isIPv6LiteralAddress()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DSystem.java78 java.lang.Object src, int srcPos, java.lang.Object dest, int destPos, int length); in arraycopy()
81 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
86 char[] src, int srcPos, char[] dst, int dstPos, int length); in arraycopyCharUnchecked()
89 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
94 byte[] src, int srcPos, byte[] dst, int dstPos, int length); in arraycopyByteUnchecked()
97 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
102 short[] src, int srcPos, short[] dst, int dstPos, int length); in arraycopyShortUnchecked()
105 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
110 int[] src, int srcPos, int[] dst, int dstPos, int length); in arraycopyIntUnchecked()
113 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNormalizerTest.java80 String src = "\u00c1"; in test_isNormalized() local
134 String src = "\u00c1"; in test_normalize() local
/libcore/luni/src/main/java/javax/xml/transform/sax/
DSAXTransformerFactory.java75 public abstract TransformerHandler newTransformerHandler(Source src) in newTransformerHandler()
131 public abstract XMLFilter newXMLFilter(Source src) in newXMLFilter()
/libcore/ojluni/annotations/flagged_api/java/nio/
DCharBuffer.annotated.java76 public java.nio.CharBuffer put(java.nio.CharBuffer src) { throw new RuntimeException("Stub!"); } in put()
79 public java.nio.CharBuffer put(int index, java.nio.CharBuffer src, int offset, int length) { throw … in put()
81 public java.nio.CharBuffer put(char[] src, int offset, int length) { throw new RuntimeException("St… in put()
83 public final java.nio.CharBuffer put(char[] src) { throw new RuntimeException("Stub!"); } in put()
86 public java.nio.CharBuffer put(int index, char[] src, int offset, int length) { throw new RuntimeEx… in put()
89 public java.nio.CharBuffer put(int index, char[] src) { throw new RuntimeException("Stub!"); } in put()
91 public java.nio.CharBuffer put(java.lang.String src, int start, int end) { throw new RuntimeExcepti… in put()
93 public final java.nio.CharBuffer put(java.lang.String src) { throw new RuntimeException("Stub!"); } in put()
DFloatBuffer.annotated.java70 public java.nio.FloatBuffer put(java.nio.FloatBuffer src) { throw new RuntimeException("Stub!"); } in put()
73 public java.nio.FloatBuffer put(int index, java.nio.FloatBuffer src, int offset, int length) { thro… in put()
75 public java.nio.FloatBuffer put(float[] src, int offset, int length) { throw new RuntimeException("… in put()
77 public final java.nio.FloatBuffer put(float[] src) { throw new RuntimeException("Stub!"); } in put()
80 public java.nio.FloatBuffer put(int index, float[] src, int offset, int length) { throw new Runtime… in put()
83 public java.nio.FloatBuffer put(int index, float[] src) { throw new RuntimeException("Stub!"); } in put()
DIntBuffer.annotated.java70 public java.nio.IntBuffer put(java.nio.IntBuffer src) { throw new RuntimeException("Stub!"); } in put()
73 public java.nio.IntBuffer put(int index, java.nio.IntBuffer src, int offset, int length) { throw ne… in put()
75 public java.nio.IntBuffer put(int[] src, int offset, int length) { throw new RuntimeException("Stub… in put()
77 public final java.nio.IntBuffer put(int[] src) { throw new RuntimeException("Stub!"); } in put()
80 public java.nio.IntBuffer put(int index, int[] src, int offset, int length) { throw new RuntimeExce… in put()
83 public java.nio.IntBuffer put(int index, int[] src) { throw new RuntimeException("Stub!"); } in put()
DShortBuffer.annotated.java70 public java.nio.ShortBuffer put(java.nio.ShortBuffer src) { throw new RuntimeException("Stub!"); } in put()
73 public java.nio.ShortBuffer put(int index, java.nio.ShortBuffer src, int offset, int length) { thro… in put()
75 public java.nio.ShortBuffer put(short[] src, int offset, int length) { throw new RuntimeException("… in put()
77 public final java.nio.ShortBuffer put(short[] src) { throw new RuntimeException("Stub!"); } in put()
80 public java.nio.ShortBuffer put(int index, short[] src, int offset, int length) { throw new Runtime… in put()
83 public java.nio.ShortBuffer put(int index, short[] src) { throw new RuntimeException("Stub!"); } in put()
DDoubleBuffer.annotated.java70 public java.nio.DoubleBuffer put(java.nio.DoubleBuffer src) { throw new RuntimeException("Stub!"); } in put()
73 public java.nio.DoubleBuffer put(int index, java.nio.DoubleBuffer src, int offset, int length) { th… in put()
75 public java.nio.DoubleBuffer put(double[] src, int offset, int length) { throw new RuntimeException… in put()
77 public final java.nio.DoubleBuffer put(double[] src) { throw new RuntimeException("Stub!"); } in put()
80 public java.nio.DoubleBuffer put(int index, double[] src, int offset, int length) { throw new Runti… in put()
83 public java.nio.DoubleBuffer put(int index, double[] src) { throw new RuntimeException("Stub!"); } in put()
DLongBuffer.annotated.java70 public java.nio.LongBuffer put(java.nio.LongBuffer src) { throw new RuntimeException("Stub!"); } in put()
73 public java.nio.LongBuffer put(int index, java.nio.LongBuffer src, int offset, int length) { throw … in put()
75 public java.nio.LongBuffer put(long[] src, int offset, int length) { throw new RuntimeException("St… in put()
77 public final java.nio.LongBuffer put(long[] src) { throw new RuntimeException("Stub!"); } in put()
80 public java.nio.LongBuffer put(int index, long[] src, int offset, int length) { throw new RuntimeEx… in put()
83 public java.nio.LongBuffer put(int index, long[] src) { throw new RuntimeException("Stub!"); } in put()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousByteChannel.java187 <A> void write(ByteBuffer src, in write()
212 Future<Integer> write(ByteBuffer src); in write()
/libcore/ojluni/src/main/java/java/lang/
DSystem.java448 public static native void arraycopy(Object src, int srcPos, in arraycopy()
467 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
506 private static native void arraycopyCharUnchecked(char[] src, int srcPos, in arraycopyCharUnchecked()
522 private static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
561 private static native void arraycopyByteUnchecked(byte[] src, int srcPos, in arraycopyByteUnchecked()
577 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
616 private static native void arraycopyShortUnchecked(short[] src, int srcPos, in arraycopyShortUnchecked()
632 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
671 private static native void arraycopyIntUnchecked(int[] src, int srcPos, in arraycopyIntUnchecked()
687 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
[all …]
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp63 const jint* src = reinterpret_cast<const jint*>(srcShorts); in swapShorts() local
83 const jint* src = reinterpret_cast<const jint*>(srcLongs); in swapLongs() local
112 static void Memory_pokeByteArray(JNIEnv* env, jclass, jlong dstAddress, jbyteArray src, jint offset… in Memory_pokeByteArray()
136 static void Memory_pokeCharArray(JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOff… in Memory_pokeCharArray()
140 static void Memory_pokeDoubleArray(JNIEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint sr… in Memory_pokeDoubleArray()
144 static void Memory_pokeFloatArray(JNIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcO… in Memory_pokeFloatArray()
148 static void Memory_pokeIntArray(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffse… in Memory_pokeIntArray()
152 static void Memory_pokeLongArray(JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOff… in Memory_pokeLongArray()
156 static void Memory_pokeShortArray(JNIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcO… in Memory_pokeShortArray()
184 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
[all …]
/libcore/luni/src/main/java/libcore/io/
DMemory.java47 byte[] src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkGet()
55 Object src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkPut()
69 public static int peekInt(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekInt()
86 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong()
122 public static short peekShort(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekShort()
378 public static native void pokeByteArray(long address, byte[] src, int offset, int count); in pokeByteArray()
383 …public static native void pokeCharArray(long address, char[] src, int offset, int count, boolean s… in pokeCharArray()
388 …public static native void pokeDoubleArray(long address, double[] src, int offset, int count, boole… in pokeDoubleArray()
393 …public static native void pokeFloatArray(long address, float[] src, int offset, int count, boolean… in pokeFloatArray()
398 …public static native void pokeIntArray(long address, int[] src, int offset, int count, boolean swa… in pokeIntArray()
[all …]
/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsLongBuffer.java242 public LongBuffer put(long[] src, int off, int length) { in put()
247 bb.putUnchecked(ix(position), src, off, length); in put() local
253 public LongBuffer put(int index, long[] src, int off, int length) { in put()
261 private void putUnchecked(int index, long[] src, int off, int length) { in putUnchecked()
262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() local
266 void putBuffer(int pos, LongBuffer src, int srcPos, int n) { in putBuffer()
DByteBufferAsShortBuffer.java242 public ShortBuffer put(short[] src, int off, int length) { in put()
247 bb.putUnchecked(ix(position), src, off, length); in put() local
253 public ShortBuffer put(int index, short[] src, int off, int length) { in put()
261 private void putUnchecked(int index, short[] src, int off, int length) { in putUnchecked()
262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() local
266 void putBuffer(int pos, ShortBuffer src, int srcPos, int n) { in putBuffer()
DByteBufferAsDoubleBuffer.java242 public DoubleBuffer put(double[] src, int off, int length) { in put()
247 bb.putUnchecked(ix(position), src, off, length); in put() local
253 public DoubleBuffer put(int index, double[] src, int off, int length) { in put()
261 private void putUnchecked(int index, double[] src, int off, int length) { in putUnchecked()
262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() local
266 void putBuffer(int pos, DoubleBuffer src, int srcPos, int n) { in putBuffer()
DByteBufferAsIntBuffer.java242 public IntBuffer put(int[] src, int off, int length) { in put()
247 bb.putUnchecked(ix(position), src, off, length); in put() local
253 public IntBuffer put(int index, int[] src, int off, int length) { in put()
261 private void putUnchecked(int index, int[] src, int off, int length) { in putUnchecked()
262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() local
266 void putBuffer(int pos, IntBuffer src, int srcPos, int n) { in putBuffer()
DByteBufferAsFloatBuffer.java242 public FloatBuffer put(float[] src, int off, int length) { in put()
247 bb.putUnchecked(ix(position), src, off, length); in put() local
253 public FloatBuffer put(int index, float[] src, int off, int length) { in put()
261 private void putUnchecked(int index, float[] src, int off, int length) { in putUnchecked()
262 bb.putUnchecked(ix(index), src, off, length); in putUnchecked() local
266 void putBuffer(int pos, FloatBuffer src, int srcPos, int n) { in putBuffer()

1234567