Searched defs:src (Results 1 - 25 of 94) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/nio/channels/
H A DWritableByteChannel.java57 * <tt>src.remaining()</tt>, at the moment this method is invoked.
79 * @param src
103 public int write(ByteBuffer src) throws IOException; argument
H A DAsynchronousByteChannel.java149 * {@code src.remaining()} at the time that the write is attempted. Where
173 * @param src
187 <A> void write(ByteBuffer src, argument
203 * @param src
212 Future<Integer> write(ByteBuffer src); argument
H A DSeekableByteChannel.java80 int write(ByteBuffer src) throws IOException; argument
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DArrayDecoder.java34 int decode(byte[] src, int off, int len, char[] dst); argument
H A DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); argument
/libcore/dom/src/test/java/org/w3c/domts/
H A DUserDataMonitor.java45 * @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
H A DUserDataNotification.java25 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 DDOMErrorImpl.java36 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 DDOMLocatorImpl.java30 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();
/libcore/luni/src/main/java/javax/xml/transform/sax/
H A DSAXTransformerFactory.java52 * the {@link #newXMLFilter(Source src)}
68 * @param src The Source of the transformation instructions.
75 public abstract TransformerHandler newTransformerHandler(Source src) argument
124 * @param src The Source of the transformation instructions.
131 public abstract XMLFilter newXMLFilter(Source src) argument
/libcore/luni/src/main/java/org/w3c/dom/
H A DUserDataHandler.java61 * @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/ojluni/src/main/java/java/nio/file/attribute/
H A DUserDefinedFileAttributeView.java173 * {@code src.remaining()}. The sequence of bytes is transferred from the
199 * @param src
213 int write(String name, ByteBuffer src) throws IOException; argument
/libcore/ojluni/src/main/java/java/text/
H A DNormalizer.java155 * @param src The sequence of char values to normalize.
162 * @throws NullPointerException If <code>src</code> or <code>form</code>
165 public static String normalize(CharSequence src, Form form) { argument
166 return android.icu.text.Normalizer.normalize(src.toString(), form.icuMode);
172 * @param src The sequence of char values to be checked.
180 * @throws NullPointerException If <code>src</code> or <code>form</code>
183 public static boolean isNormalized(CharSequence src, Form form) { argument
184 return android.icu.text.Normalizer.isNormalized(src.toString(), form.icuMode, 0);
/libcore/ojluni/src/main/java/javax/crypto/spec/
H A DGCMParameterSpec.java77 * @param src the IV source buffer. The contents of the buffer are
81 * or {@code src} is null.
83 public GCMParameterSpec(int tLen, byte[] src) { argument
84 if (src == null) {
85 throw new IllegalArgumentException("src array is null");
88 init(tLen, src, 0, src.length);
97 * @param src the IV source buffer. The contents of the
99 * @param offset the offset in {@code src} where the IV starts
103 * {@code src} i
107 GCMParameterSpec(int tLen, byte[] src, int offset, int len) argument
114 init(int tLen, byte[] src, int offset, int len) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/util/
H A DIPAddressUtil.java37 * @param src a String representing an IPv4 address in standard format
40 public static byte[] textToNumericFormatV4(String src) argument
42 if (src.length() == 0) {
47 String[] s = src.split("\\.", -1);
133 * @param src a String representing an IPv6 address in textual format
136 public static byte[] textToNumericFormatV6(String src) argument
139 if (src.length() < 2) {
147 char[] srcb = src.toCharArray();
151 int pc = src.indexOf ("%");
199 String ia4 = src
253 isIPv4LiteralAddress(String src) argument
261 isIPv6LiteralAddress(String src) argument
[all...]
/libcore/ojluni/src/main/native/
H A DUnixCopyFile.c50 * Transfer all bytes from src to dst via user-space buffers
54 (JNIEnv* env, jclass this, jint dst, jint src, jlong cancelAddress)
61 RESTARTABLE(read((int)src, &buf, sizeof(buf)), n);
53 Java_sun_nio_fs_UnixCopyFile_transfer(JNIEnv* env, jclass this, jint dst, jint src, jlong cancelAddress) argument
/libcore/luni/src/benchmark/native/
H A Dlibcore_io_Memory_bench.cpp18 #include "luni/src/main/native/libcore_io_Memory.cpp"
26 T* src; local
35 src = reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(src_elems) + ALIGN);
41 src = src_elems;
46 memset(src, 0x12, sizeof(T) * num_elements);
49 swap_func(src, dst, num_elements);
/libcore/luni/src/test/native/
H A Dlibcore_io_Memory_test.cpp17 #include "luni/src/main/native/libcore_io_Memory.cpp"
31 uint8_t* src = nullptr; local
34 ASSERT_EQ(0, posix_memalign(reinterpret_cast<void**>(&src), ALIGNMENT,
47 T* src_aligned = reinterpret_cast<T*>(&src[src_align]);
52 << "Failed at dst align " << dst_align << " src align " << src_align;
56 free(src);
62 swap_align_test<jshort, 9> (swapShorts, [] (jshort* src, jshort* dst, uint64_t i) {
63 *src = ((2*i) << 8) | (2*(i+1));
69 swap_align_test<jint, 10> (swapInts, [] (jint* src, jint* dst, uint64_t i) {
70 *src
86 T* src = nullptr; local
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_ASimpleWriter.java55 public void write(char[] src, int offset, int count) throws IOException { argument
63 System.arraycopy(src, offset, buf, pos, count);
/libcore/ojluni/src/main/java/java/io/
H A DPipedInputStream.java101 * stream <code>src</code>. Data bytes written
102 * to <code>src</code> will then be available
105 * @param src the stream to connect to.
108 public PipedInputStream(PipedOutputStream src) throws IOException { argument
109 this(src, DEFAULT_PIPE_SIZE);
115 * <code>src</code> and uses the specified pipe size for
117 * Data bytes written to <code>src</code> will then
120 * @param src the stream to connect to.
126 public PipedInputStream(PipedOutputStream src, int pipeSize) argument
129 connect(src);
190 connect(PipedOutputStream src) argument
[all...]
H A DPipedReader.java77 * <code>src</code>. Data written to <code>src</code>
80 * @param src the stream to connect to.
83 public PipedReader(PipedWriter src) throws IOException { argument
84 this(src, DEFAULT_PIPE_SIZE);
89 * to the piped writer <code>src</code> and uses the specified
90 * pipe size for the pipe's buffer. Data written to <code>src</code>
93 * @param src the stream to connect to.
99 public PipedReader(PipedWriter src, int pipeSize) throws IOException { argument
101 connect(src);
162 connect(PipedWriter src) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/
H A DByteBufferAsDoubleBuffer.java122 public DoubleBuffer put(double[] src, int offset, int length) { argument
123 checkBounds(offset, length, src.length);
126 bb.putUnchecked(ix(position), src, offset, length);
H A DByteBufferAsFloatBuffer.java121 public FloatBuffer put(float[] src, int offset, int length) { argument
122 checkBounds(offset, length, src.length);
125 bb.putUnchecked(ix(position), src, offset, length);
H A DByteBufferAsIntBuffer.java121 public IntBuffer put(int[] src, int offset, int length) { argument
122 checkBounds(offset, length, src.length);
125 bb.putUnchecked(ix(position), src, offset, length);
H A DByteBufferAsLongBuffer.java121 public LongBuffer put(long[] src, int offset, int length) { argument
122 checkBounds(offset, length, src.length);
125 bb.putUnchecked(ix(position), src, offset, length);

Completed in 537 milliseconds

1234