Searched defs:wrap (Results 1 - 16 of 16) sorted by path

/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...
/libcore/benchmarks/src/benchmarks/
H A DDeepArrayOpsBenchmark.java129 public IntWrapper(int wrap) { argument
130 wrapped = wrap;
/libcore/json/src/main/java/org/json/
H A DJSONObject.java138 nameValuePairs.put(key, wrap(entry.getValue()));
786 public static Object wrap(Object o) { method in class:JSONObject
/libcore/luni/src/main/java/java/nio/
H A DByteBuffer.java32 * <li>{@link #wrap(byte[]) Wrap} an existing byte array to create a new
83 * {@code wrap(array, 0, array.length)}.
89 public static ByteBuffer wrap(byte[] array) { method in class:ByteBuffer
111 public static ByteBuffer wrap(byte[] array, int start, int byteCount) { method in class:ByteBuffer
H A DCharBuffer.java30 * <li>{@link #wrap(char[]) Wrap} an existing char array to create a new
32 * <li>{@link #wrap(CharSequence) Wrap} an existing char sequence to create a
61 * {@code wrap(array, 0, array.length)}.
67 public static CharBuffer wrap(char[] array) { method in class:CharBuffer
68 return wrap(array, 0, array.length);
89 public static CharBuffer wrap(char[] array, int start, int charCount) { method in class:CharBuffer
101 * {@code wrap(chseq, 0, chseq.length())}.
107 public static CharBuffer wrap(CharSequence chseq) { method in class:CharBuffer
130 public static CharBuffer wrap(CharSequence cs, int start, int end) { method in class:CharBuffer
H A DDoubleBuffer.java29 * <li>{@link #wrap(double[]) Wrap} an existing double array to create a new
59 * {@code wrap(array, 0, array.length)}.
65 public static DoubleBuffer wrap(double[] array) { method in class:DoubleBuffer
66 return wrap(array, 0, array.length);
87 public static DoubleBuffer wrap(double[] array, int start, int doubleCount) { method in class:DoubleBuffer
H A DFloatBuffer.java29 * <li>{@link #wrap(float[]) Wrap} an existing float array to create a new
58 * {@code wrap(array, 0, array.length)}.
64 public static FloatBuffer wrap(float[] array) { method in class:FloatBuffer
65 return wrap(array, 0, array.length);
88 public static FloatBuffer wrap(float[] array, int start, int floatCount) { method in class:FloatBuffer
H A DIntBuffer.java29 * <li>{@link #wrap(int[]) Wrap} an existing int array to create a new buffer;</li>
56 * {@code wrap(array, 0, array.length)}.
62 public static IntBuffer wrap(int[] array) { method in class:IntBuffer
63 return wrap(array, 0, array.length);
84 public static IntBuffer wrap(int[] array, int start, int intCount) { method in class:IntBuffer
H A DLongBuffer.java29 * <li>{@link #wrap(long[]) Wrap} an existing long array to create a new
58 * {@code wrap(array, 0, array.length)}.
64 public static LongBuffer wrap(long[] array) { method in class:LongBuffer
65 return wrap(array, 0, array.length);
86 public static LongBuffer wrap(long[] array, int start, int longCount) { method in class:LongBuffer
H A DShortBuffer.java29 * <li>{@link #wrap(short[]) Wrap} an existing short array to create a new
58 * {@code wrap(array, 0, array.length)}.
64 public static ShortBuffer wrap(short[] array) { method in class:ShortBuffer
65 return wrap(array, 0, array.length);
86 public static ShortBuffer wrap(short[] array, int start, int shortCount) { method in class:ShortBuffer
/libcore/luni/src/main/java/javax/crypto/
H A DCipher.java1500 * the key to wrap.
1506 * if this cipher instance can not wrap this key.
1510 public final byte[] wrap(Key key) throws IllegalBlockSizeException, method in class:Cipher
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLEngine.java701 * called by {@code wrap} or {@code unwrap} if the initial handshake has not
982 public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst) method in class:SSLEngine
1057 public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst) throws SSLException { method in class:SSLEngine
1061 return wrap(srcs, 0, srcs.length, dst);
1084 public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst) throws SSLException { method in class:SSLEngine
1085 return wrap(new ByteBuffer[] { src }, 0, 1, dst);
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestKeyManager.java43 public static KeyManager[] wrap(KeyManager[] keyManagers) { method in class:TestKeyManager
46 result[i] = wrap(result[i]);
51 public static KeyManager wrap(KeyManager keyManager) { method in class:TestKeyManager
H A DTestTrustManager.java41 public static TrustManager[] wrap(TrustManager[] trustManagers) { method in class:TestTrustManager
44 result[i] = wrap(result[i]);
49 public static TrustManager wrap(TrustManager trustManager) { method in class:TestTrustManager
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySSLContextSpi.java152 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, method in class:MySSLContextSpi.tmpSSLEngine
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java150 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, method in class:MySSLContextSpi.tmpSSLEngine

Completed in 552 milliseconds