Home
last modified time | relevance | path

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

123

/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBenchmark.java81 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte() local
91 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray() local
102 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte_indexed() local
112 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar() local
122 … CharBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_getCharArray() local
133 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar_indexed() local
143 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getDouble() local
153 … DoubleBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer(); in timeDoubleBuffer_getDoubleArray() local
164 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getFloat() local
174 … FloatBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asFloatBuffer(); in timeFloatBuffer_getFloatArray() local
[all …]
DByteBufferScalarVersusVectorBenchmark.java35 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy() local
47 ByteBuffer src = ByteBuffer.allocate(aligned ? 8192 : 8192 + 1); in timeByteBufferBulkGet() local
56 ByteBuffer src = ByteBuffer.allocateDirect(aligned ? 8192 : 8192 + 1); in timeDirectByteBufferBulkGet() local
/libcore/luni/src/main/java/libcore/icu/
DNativeNormalizer.java22 public static boolean isNormalized(CharSequence src, Form form) { in isNormalized()
26 public static String normalize(CharSequence src, Form form) { in normalize()
42 private static native String normalizeImpl(String src, int form); in normalizeImpl()
44 private static native boolean isNormalizedImpl(String src, int form); in isNormalizedImpl()
/libcore/benchmarks/src/benchmarks/
DArrayCopyBenchmark.java27 char[] src = new char[8192]; in timeManualArrayCopy() local
37 char[] src = new char[8192]; in time_System_arrayCopy() local
45 char[] src = new char[8192]; in time_Arrays_copyOf() local
52 char[] src = new char[8192]; in time_Arrays_copyOfRange() local
DSystemArrayCopyBenchmark.java31 char[] src = new char[len]; in timeSystemCharArrayCopy() local
49 short[] src = new short[len]; in timeSystemShortArrayCopy() local
58 int[] src = new int[len]; in timeSystemIntArrayCopy() local
67 long[] src = new long[len]; in timeSystemLongArrayCopy() local
76 float[] src = new float[len]; in timeSystemFloatArrayCopy() local
85 double[] src = new double[len]; in timeSystemDoubleArrayCopy() local
/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/java/text/
DNormalizer.java65 public static boolean isNormalized(CharSequence src, Form form) { in isNormalized()
77 public static String normalize(CharSequence src, Form form) { in normalize()
/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/luni/src/main/java/java/lang/
DSystem.java205 public static native void arraycopy(Object src, int srcPos, in arraycopy()
220 public static void arraycopy(char[] src, int srcPos, char[] dst, int dstPos, int length) { in arraycopy()
258 private static native void arraycopyCharUnchecked(char[] src, int srcPos, in arraycopyCharUnchecked()
273 public static void arraycopy(byte[] src, int srcPos, byte[] dst, int dstPos, int length) { in arraycopy()
311 private static native void arraycopyByteUnchecked(byte[] src, int srcPos, in arraycopyByteUnchecked()
326 public static void arraycopy(short[] src, int srcPos, short[] dst, int dstPos, int length) { in arraycopy()
364 private static native void arraycopyShortUnchecked(short[] src, int srcPos, in arraycopyShortUnchecked()
379 public static void arraycopy(int[] src, int srcPos, int[] dst, int dstPos, int length) { in arraycopy()
417 private static native void arraycopyIntUnchecked(int[] src, int srcPos, in arraycopyIntUnchecked()
432 public static void arraycopy(long[] src, int srcPos, long[] dst, int dstPos, int length) { in arraycopy()
[all …]
/libcore/dom/src/test/java/org/w3c/domts/
DUserDataNotification.java25 private final Node src; field in UserDataNotification
35 Node src, in UserDataNotification()
DUserDataMonitor.java54 Node src, in handle()
/libcore/luni/src/main/java/libcore/io/
DMemory.java36 byte[] src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkGet()
43 Object src, int srcOffset, int sizeofElements, boolean swap); in unsafeBulkPut()
45 public static int peekInt(byte[] src, int offset, ByteOrder order) { in peekInt()
59 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong()
83 public static short peekShort(byte[] src, int offset, ByteOrder order) { in peekShort()
216 public static native void pokeByteArray(long address, byte[] src, int offset, int count); in pokeByteArray()
217 …public static native void pokeCharArray(long address, char[] src, int offset, int count, boolean s… in pokeCharArray()
218 …public static native void pokeDoubleArray(long address, double[] src, int offset, int count, boole… in pokeDoubleArray()
219 …public static native void pokeFloatArray(long address, float[] src, int offset, int count, boolean… in pokeFloatArray()
220 …public static native void pokeIntArray(long address, int[] src, int offset, int count, boolean swa… in pokeIntArray()
[all …]
/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/luni/src/main/native/
Dlibcore_icu_NativeNormalizer.cpp27 ScopedJavaUnicodeString src(env, s); in NativeNormalizer_normalizeImpl() local
40 ScopedJavaUnicodeString src(env, s); in NativeNormalizer_isNormalizedImpl() local
Dlibcore_io_Memory.cpp64 const jint* src = reinterpret_cast<const jint*>(srcShorts); in swapShorts() local
84 const jint* src = reinterpret_cast<const jint*>(srcLongs); in swapLongs() local
162 static void Memory_pokeByteArray(JNIEnv* env, jclass, jlong dstAddress, jbyteArray src, jint offset… in Memory_pokeByteArray()
186 static void Memory_pokeCharArray(JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOff… in Memory_pokeCharArray()
190 static void Memory_pokeDoubleArray(JNIEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint sr… in Memory_pokeDoubleArray()
194 static void Memory_pokeFloatArray(JNIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcO… in Memory_pokeFloatArray()
198 static void Memory_pokeIntArray(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffse… in Memory_pokeIntArray()
202 static void Memory_pokeLongArray(JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOff… in Memory_pokeLongArray()
206 static void Memory_pokeShortArray(JNIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcO… in Memory_pokeShortArray()
234 static void unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, in unsafeBulkCopy()
[all …]
/libcore/luni/src/test/java/libcore/java/text/
DNormalizerTest.java23 final String src = "\u03d3\u03D4\u1E9B"; in testNormalize() local
/libcore/luni/src/main/java/javax/net/ssl/
DSSLEngine.java956 public abstract SSLEngineResult unwrap(ByteBuffer src, in unwrap()
1013 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst) throws SSLException { in unwrap()
1038 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts) throws SSLException { in unwrap()
1092 public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst) throws SSLException { in wrap()
/libcore/luni/src/main/java/java/nio/
DMemoryBlock.java173 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { in pokeByteArray()
177 …public final void pokeCharArray(int offset, char[] src, int srcOffset, int charCount, boolean swap… in pokeCharArray()
181 …public final void pokeDoubleArray(int offset, double[] src, int srcOffset, int doubleCount, boolea… in pokeDoubleArray()
185 …public final void pokeFloatArray(int offset, float[] src, int srcOffset, int floatCount, boolean s… in pokeFloatArray()
189 … public final void pokeIntArray(int offset, int[] src, int srcOffset, int intCount, boolean swap) { in pokeIntArray()
193 …public final void pokeLongArray(int offset, long[] src, int srcOffset, int longCount, boolean swap… in pokeLongArray()
197 …public final void pokeShortArray(int offset, short[] src, int srcOffset, int shortCount, boolean s… in pokeShortArray()
DIntBuffer.java370 public final IntBuffer put(int[] src) { in put()
395 public IntBuffer put(int[] src, int srcOffset, int intCount) { in put()
425 public IntBuffer put(IntBuffer src) { in put()
DFloatBuffer.java384 public final FloatBuffer put(float[] src) { in put()
409 public FloatBuffer put(float[] src, int srcOffset, int floatCount) { in put()
436 public FloatBuffer put(FloatBuffer src) { in put()
DShortBuffer.java373 public final ShortBuffer put(short[] src) { in put()
398 public ShortBuffer put(short[] src, int srcOffset, int shortCount) { in put()
425 public ShortBuffer put(ShortBuffer src) { in put()
DDoubleBuffer.java385 public final DoubleBuffer put(double[] src) { in put()
410 public DoubleBuffer put(double[] src, int srcOffset, int doubleCount) { in put()
437 public DoubleBuffer put(DoubleBuffer src) { in put()
DLongBuffer.java374 public final LongBuffer put(long[] src) { in put()
399 public LongBuffer put(long[] src, int srcOffset, int longCount) { in put()
426 public LongBuffer put(LongBuffer src) { in put()
DByteArrayBuffer.java262 @Override public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { in put()
272 final void put(char[] src, int srcOffset, int charCount) { in put()
278 final void put(double[] src, int srcOffset, int doubleCount) { in put()
284 final void put(float[] src, int srcOffset, int floatCount) { in put()
290 final void put(int[] src, int srcOffset, int intCount) { in put()
296 final void put(long[] src, int srcOffset, int longCount) { in put()
302 final void put(short[] src, int srcOffset, int shortCount) { in put()
/libcore/luni/src/main/java/org/w3c/dom/
DUserDataHandler.java69 Node src, in handle()

123