Home
last modified time | relevance | path

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

123456

/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/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/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/ojluni/src/main/java/java/lang/
DSystem.java439 public static native void arraycopy(Object src, int srcPos, in arraycopy()
458 private static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
497 private static native void arraycopyCharUnchecked(char[] src, int srcPos, in arraycopyCharUnchecked()
513 private static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
552 private static native void arraycopyByteUnchecked(byte[] src, int srcPos, in arraycopyByteUnchecked()
568 private static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
607 private static native void arraycopyShortUnchecked(short[] src, int srcPos, in arraycopyShortUnchecked()
623 private static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
662 private static native void arraycopyIntUnchecked(int[] src, int srcPos, in arraycopyIntUnchecked()
678 private static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
[all …]
/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/src/main/java/java/nio/channels/
DAsynchronousByteChannel.java187 <A> void write(ByteBuffer src, in write()
212 Future<Integer> write(ByteBuffer src); in write()
DWritableByteChannel.java103 public int write(ByteBuffer src) throws IOException; in write()
/libcore/ojluni/src/main/java/java/text/
DNormalizer.java169 public static String normalize(CharSequence src, Form form) { in normalize()
187 public static boolean isNormalized(CharSequence src, Form form) { in isNormalized()
/libcore/luni/src/main/java/libcore/io/
DMemory.java49 byte[] src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkGet()
57 Object src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkPut()
72 public static int peekInt(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekInt()
89 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong()
126 public static short peekShort(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekShort()
379 public static native void pokeByteArray(long address, byte[] src, int offset, int count); in pokeByteArray()
384 …public static native void pokeCharArray(long address, char[] src, int offset, int count, boolean s… in pokeCharArray()
389 …public static native void pokeDoubleArray(long address, double[] src, int offset, int count, boole… in pokeDoubleArray()
394 …public static native void pokeFloatArray(long address, float[] src, int offset, int count, boolean… in pokeFloatArray()
399 …public static native void pokeIntArray(long address, int[] src, int offset, int count, boolean swa… in pokeIntArray()
[all …]
/libcore/dom/src/test/java/org/w3c/domts/
DUserDataNotification.java25 private final Node src; field in UserDataNotification
35 Node src, in UserDataNotification()
/libcore/luni/src/test/native/
Dlibcore_io_Memory_test.cpp31 uint8_t* src = nullptr; in swap_align_test() local
62 swap_align_test<jshort, 9> (swapShorts, [] (jshort* src, jshort* dst, uint64_t i) { in TEST()
69 swap_align_test<jint, 10> (swapInts, [] (jint* src, jint* dst, uint64_t i) { in TEST()
76 swap_align_test<jlong, 10> (swapLongs, [] (jlong* src, jlong* dst, uint64_t i) { in TEST()
86 T* src = nullptr; in memory_peek_test() local
/libcore/ojluni/src/main/java/java/io/
DPipedReader.java83 public PipedReader(PipedWriter src) throws IOException { in PipedReader()
99 public PipedReader(PipedWriter src, int pipeSize) throws IOException { in PipedReader()
162 public void connect(PipedWriter src) throws IOException { in connect()
DPipedInputStream.java108 public PipedInputStream(PipedOutputStream src) throws IOException { in PipedInputStream()
126 public PipedInputStream(PipedOutputStream src, int pipeSize) in PipedInputStream()
190 public void connect(PipedOutputStream src) throws IOException { in connect()
/libcore/ojluni/src/main/java/java/util/
DBase64.java260 public byte[] encode(byte[] src) { in encode()
288 public int encode(byte[] src, byte[] dst) { in encode()
314 public String encodeToString(byte[] src) { in encodeToString()
391 private int encode0(byte[] src, int off, int end, byte[] dst) { in encode0()
524 public byte[] decode(byte[] src) { in decode()
548 public byte[] decode(String src) { in decode()
577 public int decode(byte[] src, byte[] dst) { in decode()
650 private int outLength(byte[] src, int sp, int sl) { in outLength()
688 private int decode0(byte[] src, int sp, int sl, byte[] dst) { in decode0()
/libcore/luni/src/main/native/
Dlibcore_io_Memory.cpp67 const jint* src = reinterpret_cast<const jint*>(srcShorts); in swapShorts() local
87 const jint* src = reinterpret_cast<const jint*>(srcLongs); in swapLongs() local
165 static void Memory_pokeByteArray(JNIEnv* env, jclass, jlong dstAddress, jbyteArray src, jint offset… in Memory_pokeByteArray()
189 static void Memory_pokeCharArray(JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOff… in Memory_pokeCharArray()
193 static void Memory_pokeDoubleArray(JNIEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint sr… in Memory_pokeDoubleArray()
197 static void Memory_pokeFloatArray(JNIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcO… in Memory_pokeFloatArray()
201 static void Memory_pokeIntArray(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffse… in Memory_pokeIntArray()
205 static void Memory_pokeLongArray(JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOff… in Memory_pokeLongArray()
209 static void Memory_pokeShortArray(JNIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcO… in Memory_pokeShortArray()
237 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
[all …]
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngine.java1135 public SSLEngineResult wrap(ByteBuffer src, in wrap()
1290 public SSLEngineResult unwrap(ByteBuffer src, in unwrap()
1327 public SSLEngineResult unwrap(ByteBuffer src, in unwrap()
1415 public abstract SSLEngineResult unwrap(ByteBuffer src, in unwrap()
/libcore/luni/src/test/java/libcore/java/text/
DNormalizerTest.java23 final String src = "\u03d3\u03D4\u1E9B"; in testNormalize() local
/libcore/ojluni/annotations/hiddenapi/java/nio/
DCharBuffer.java98 public java.nio.CharBuffer put(java.nio.CharBuffer src) { in put()
102 public java.nio.CharBuffer put(char[] src, int offset, int length) { in put()
106 public final java.nio.CharBuffer put(char[] src) { in put()
110 public java.nio.CharBuffer put(java.lang.String src, int start, int end) { in put()
114 public final java.nio.CharBuffer put(java.lang.String src) { in put()
/libcore/ojluni/src/main/java/sun/nio/cs/
DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); in encode()

123456