/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | Appendable.java | 29 * @param src the source data to be appended. 31 public void append(byte[] src); argument
|
/libcore/luni/src/main/java/java/text/ |
H A D | Normalizer.java | 58 * Check whether the given character sequence <code>src</code> is normalized 61 * @param src character sequence to check 65 public static boolean isNormalized(CharSequence src, Form form) { argument 66 return NativeNormalizer.isNormalized(src, form); 70 * Normalize the character sequence <code>src</code> according to the 73 * @param src character sequence to read for normalization 77 public static String normalize(CharSequence src, Form form) { argument 78 return NativeNormalizer.normalize(src, form);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMLocatorImpl.java | 30 public DOMLocatorImpl(DOMLocator src) { argument 31 this.lineNumber = src.getLineNumber(); 32 this.columnNumber = src.getColumnNumber(); 33 this.byteOffset = src.getByteOffset(); 34 this.utf16Offset = src.getUtf16Offset(); 35 this.relatedNode = src.getRelatedNode(); 36 this.uri = src.getUri();
|
H A D | UserDataNotification.java | 25 private final Node src; field in class:UserDataNotification 35 Node src, 40 this.src = src; 72 * Gets value of src parameter 74 * @return value of src parameter 77 return src; 32 UserDataNotification(short operation, String key, Object data, Node src, Node dst) argument
|
H A D | DOMErrorImpl.java | 36 public DOMErrorImpl(DOMError src) { argument 37 this.severity = src.getSeverity(); 38 this.message = src.getMessage(); 39 this.type = src.getType(); 40 this.relatedException = src.getRelatedException(); 41 this.relatedData = src.getRelatedData(); 42 this.location = new DOMLocatorImpl(src.getLocation());
|
H A D | UserDataMonitor.java | 45 * @param src 54 Node src, 57 new UserDataNotification(operation, key, data, src, dst)); 50 handle( short operation, String key, Object data, Node src, Node dst) argument
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeNormalizer.java | 22 public static boolean isNormalized(CharSequence src, Form form) { argument 23 return isNormalizedImpl(src.toString(), toUNormalizationMode(form)); 26 public static String normalize(CharSequence src, Form form) { argument 27 return normalizeImpl(src.toString(), toUNormalizationMode(form)); 42 private static native String normalizeImpl(String src, int form); argument 44 private static native boolean isNormalizedImpl(String src, int form); argument
|
/libcore/benchmarks/src/benchmarks/ |
H A D | ArrayCopyBenchmark.java | 27 char[] src = new char[8192]; 31 dst[i] = src[i]; 37 char[] src = new char[8192]; 40 System.arraycopy(src, 0, dst, 0, 8192); 45 char[] src = new char[8192]; 47 char[] dst = Arrays.copyOf(src, 8192); 52 char[] src = new char[8192]; 54 char[] dst = Arrays.copyOfRange(src, 0, 8192);
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | ByteBufferBenchmark.java | 81 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); 83 src.position(aligned ? 0 : 1); 85 src.get(); 91 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); 95 src.position(aligned ? 0 : 1); 96 src.get(dst); 102 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); 104 src.position(aligned ? 0 : 1); 106 src.get(i); 112 ByteBuffer src [all...] |
H A D | ByteBufferScalarVersusVectorBenchmark.java | 35 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); 38 src.position(0); 41 dst.put(src.get()); 47 ByteBuffer src = ByteBuffer.allocate(aligned ? 8192 : 8192 + 1); 50 src.position(aligned ? 0 : 1); 51 src.get(dst, 0, dst.length); 56 ByteBuffer src = ByteBuffer.allocateDirect(aligned ? 8192 : 8192 + 1); 59 src.position(aligned ? 0 : 1); 60 src.get(dst, 0, dst.length);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Memory.java | 36 byte[] src, int srcOffset, int sizeofElements, boolean swap); 39 * Used to optimize nio heap buffer bulk put operations. 'src' must be a primitive array. 43 Object src, int srcOffset, int sizeofElements, boolean swap); 45 public static int peekInt(byte[] src, int offset, ByteOrder order) { argument 47 return (((src[offset++] & 0xff) << 24) | 48 ((src[offset++] & 0xff) << 16) | 49 ((src[offset++] & 0xff) << 8) | 50 ((src[offset ] & 0xff) << 0)); 52 return (((src[offset++] & 0xff) << 0) | 53 ((src[offse 35 unsafeBulkGet(Object dst, int dstOffset, int byteCount, byte[] src, int srcOffset, int sizeofElements, boolean swap) argument 42 unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, Object src, int srcOffset, int sizeofElements, boolean swap) argument 59 peekLong(byte[] src, int offset, ByteOrder order) argument 83 peekShort(byte[] src, int offset, ByteOrder order) argument 171 pokeByteArray(long address, byte[] src, int offset, int count) argument 172 pokeCharArray(long address, char[] src, int offset, int count, boolean swap) argument 173 pokeDoubleArray(long address, double[] src, int offset, int count, boolean swap) argument 174 pokeFloatArray(long address, float[] src, int offset, int count, boolean swap) argument 175 pokeIntArray(long address, int[] src, int offset, int count, boolean swap) argument 176 pokeLongArray(long address, long[] src, int offset, int count, boolean swap) argument 177 pokeShortArray(long address, short[] src, int offset, int count, boolean swap) argument [all...] |
/libcore/ |
H A D | Docs.mk | 19 dalvik/src/main/java/dalvik/system/ -maxdepth 1) \ 21 dalvik/src/main/java/dalvik/annotation \ 22 dalvik/src/main/java/dalvik/bytecode \ 23 json/src/main/java \ 24 libdvm/src/main/java/dalvik \ 25 libdvm/src/main/java/java \ 26 luni/src/main/java/java \ 27 luni/src/main/java/javax \ 28 luni/src/main/java/org/xml/sax \ 29 luni/src/mai [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | ArrayStoreExceptionTest.java | 63 String[] src = new String[] { null, null, null, null, "hello", "goodbye" }; 66 System.arraycopy(src, 1, dest, 0, 5); 76 String[] src = new String[1]; 79 System.arraycopy(src, 0, dest, 0, 1); 87 float[] src = new float[1]; 90 System.arraycopy(src, 0, dest, 0, 1); 98 boolean[] src = new boolean[1]; 101 System.arraycopy(src, 0, dest, 0, 1); 109 String src = "blort"; 112 System.arraycopy(src, [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | UserDataHandler.java | 61 * @param src Specifies the node being cloned, adopted, imported, or 69 Node src, 66 handle(short operation, String key, Object data, Node src, Node dst) argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_NativeIDN.cpp | 36 ScopedStringChars src(env, javaSrc); 37 if (src.get() == NULL) { 43 ? uidna_IDNToASCII(src.get(), src.size(), &dst[0], sizeof(dst), flags, NULL, &status) 44 : uidna_IDNToUnicode(src.get(), src.size(), &dst[0], sizeof(dst), flags, NULL, &status);
|
H A D | libcore_icu_NativeNormalizer.cpp | 27 ScopedJavaUnicodeString src(env, s); 28 if (!src.valid()) { 34 Normalizer::normalize(src.unicodeString(), mode, 0, dst, status); 40 ScopedJavaUnicodeString src(env, s); 41 if (!src.valid()) { 46 UBool result = Normalizer::isNormalized(src.unicodeString(), mode, status);
|
H A D | libcore_io_Memory.cpp | 84 const jint* src = reinterpret_cast<const jint*>(srcShorts); local 87 (reinterpret_cast<uintptr_t>(src) & INT_ALIGNMENT_MASK) == 0) { 89 jint v = *src++; 94 jshort v = *reinterpret_cast<const jshort*>(src); 99 jint v = get_unaligned<jint>(src++); 103 jshort v = get_unaligned<jshort>(reinterpret_cast<const jshort*>(src)); 126 const jint* src = reinterpret_cast<const jint*>(srcLongs); local 130 jint v1 = *src++; 131 jint v2 = *src++; 137 jint v1 = get_unaligned<jint>(src 214 Memory_pokeByteArray(JNIEnv* env, jclass, jlong dstAddress, jbyteArray src, jint offset, jint length) argument 238 Memory_pokeCharArray(JNIEnv* env, jclass, jlong dstAddress, jcharArray src, jint srcOffset, jint count, jboolean swap) argument 242 Memory_pokeDoubleArray(JNIEnv* env, jclass, jlong dstAddress, jdoubleArray src, jint srcOffset, jint count, jboolean swap) argument 246 Memory_pokeFloatArray(JNIEnv* env, jclass, jlong dstAddress, jfloatArray src, jint srcOffset, jint count, jboolean swap) argument 250 Memory_pokeIntArray(JNIEnv* env, jclass, jlong dstAddress, jintArray src, jint srcOffset, jint count, jboolean swap) argument 254 Memory_pokeLongArray(JNIEnv* env, jclass, jlong dstAddress, jlongArray src, jint srcOffset, jint count, jboolean swap) argument 258 Memory_pokeShortArray(JNIEnv* env, jclass, jlong dstAddress, jshortArray src, jint srcOffset, jint count, jboolean swap) argument 294 const jlong* src = cast<const jlong*>(srcAddress); local 318 unsafeBulkCopy(jbyte* dst, const jbyte* src, jint byteCount, jint sizeofElement, jboolean swap) argument 352 const jbyte* src = srcBytes.get() + srcOffset; local 369 const jbyte* src = srcBytes + srcOffset*sizeofElement; local [all...] |
/libcore/luni/src/main/java/java/nio/ |
H A D | DoubleBuffer.java | 375 * {@code put(src, 0, src.length)}. 377 * @param src 381 * if {@code remaining()} is less than {@code src.length}. 385 public final DoubleBuffer put(double[] src) { argument 386 return put(src, 0, src.length); 394 * @param src 398 * greater than {@code src.length}. 401 * not greater than {@code src 410 put(double[] src, int srcOffset, int doubleCount) argument 437 put(DoubleBuffer src) argument [all...] |
H A D | FloatBuffer.java | 374 * {@code put(src, 0, src.length)}. 376 * @param src 380 * if {@code remaining()} is less than {@code src.length}. 384 public final FloatBuffer put(float[] src) { argument 385 return put(src, 0, src.length); 393 * @param src 397 * greater than {@code src.length}. 400 * no greater than {@code src 409 put(float[] src, int srcOffset, int floatCount) argument 436 put(FloatBuffer src) argument [all...] |
H A D | IntBuffer.java | 360 * {@code put(src, 0, src.length)}. 362 * @param src 366 * if {@code remaining()} is less than {@code src.length}. 370 public final IntBuffer put(int[] src) { argument 371 return put(src, 0, src.length); 379 * @param src 383 * than {@code src.length}. 386 * greater than {@code src 395 put(int[] src, int srcOffset, int intCount) argument 425 put(IntBuffer src) argument [all...] |
H A D | LongBuffer.java | 364 * {@code put(src, 0, src.length)}. 366 * @param src 370 * if {@code remaining()} is less than {@code src.length}. 374 public final LongBuffer put(long[] src) { argument 375 return put(src, 0, src.length); 383 * @param src 387 * than {@code src.length}. 390 * not greater than {@code src 399 put(long[] src, int srcOffset, int longCount) argument 426 put(LongBuffer src) argument [all...] |
H A D | ShortBuffer.java | 363 * {@code put(src, 0, src.length)}. 365 * @param src 369 * if {@code remaining()} is less than {@code src.length}. 373 public final ShortBuffer put(short[] src) { argument 374 return put(src, 0, src.length); 382 * @param src 386 * greater than {@code src.length}. 389 * not greater than {@code src 398 put(short[] src, int srcOffset, int shortCount) argument 425 put(ShortBuffer src) argument [all...] |
H A D | ByteBuffer.java | 682 * {@code put(src, 0, src.length)}. 684 * @param src 688 * if {@code remaining()} is less than {@code src.length}. 692 public final ByteBuffer put(byte[] src) { argument 693 return put(src, 0, src.length); 701 * @param src 705 * than {@code src.length}. 708 * greater than {@code src 717 put(byte[] src, int srcOffset, int byteCount) argument 744 put(ByteBuffer src) argument [all...] |
H A D | MemoryBlock.java | 151 public final void pokeByteArray(int offset, byte[] src, int srcOffset, int byteCount) { argument 152 Memory.pokeByteArray(address + offset, src, srcOffset, byteCount); 155 public final void pokeCharArray(int offset, char[] src, int srcOffset, int charCount, boolean swap) { argument 156 Memory.pokeCharArray(address + offset, src, srcOffset, charCount, swap); 159 public final void pokeDoubleArray(int offset, double[] src, int srcOffset, int doubleCount, boolean swap) { argument 160 Memory.pokeDoubleArray(address + offset, src, srcOffset, doubleCount, swap); 163 public final void pokeFloatArray(int offset, float[] src, int srcOffset, int floatCount, boolean swap) { argument 164 Memory.pokeFloatArray(address + offset, src, srcOffset, floatCount, swap); 167 public final void pokeIntArray(int offset, int[] src, int srcOffset, int intCount, boolean swap) { argument 168 Memory.pokeIntArray(address + offset, src, srcOffse 171 pokeLongArray(int offset, long[] src, int srcOffset, int longCount, boolean swap) argument 175 pokeShortArray(int offset, short[] src, int srcOffset, int shortCount, boolean swap) argument [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | SSLEngine.java | 300 * @param src 319 * if {@code src}, {@code dsts}, or one of the entries in 325 public abstract SSLEngineResult unwrap(ByteBuffer src, argument 367 * @param src 377 * if {@code src} or {@code dst} is {@code null}. 382 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst) throws SSLException { argument 383 return unwrap(src, new ByteBuffer[] { dst }, 0, 1); 391 * @param src 402 * if {@code src} or {@code dsts} is {@code null}. 407 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffe argument 461 wrap(ByteBuffer src, ByteBuffer dst) argument [all...] |