Searched defs:src (Results 1 - 25 of 80) 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 DSeekableByteChannel.java78 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/text/
H A DNormalizer.java159 * @param src The sequence of char values to normalize.
166 * @throws NullPointerException If <code>src</code> or <code>form</code>
169 public static String normalize(CharSequence src, Form form) { argument
170 return android.icu.text.Normalizer.normalize(src.toString(), form.icuMode);
176 * @param src The sequence of char values to be checked.
184 * @throws NullPointerException If <code>src</code> or <code>form</code>
187 public static boolean isNormalized(CharSequence src, Form form) { argument
188 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);
130 * @param src a String representing an IPv6 address in textual format
133 public static byte[] textToNumericFormatV6(String src) argument
136 if (src.length() < 2) {
144 char[] srcb = src.toCharArray();
148 int pc = src.indexOf ("%");
196 String ia4 = src
250 isIPv4LiteralAddress(String src) argument
258 isIPv6LiteralAddress(String src) argument
[all...]
/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.java104 * stream <code>src</code>. Data bytes written
105 * to <code>src</code> will then be available
108 * @param src the stream to connect to.
111 public PipedInputStream(PipedOutputStream src) throws IOException { argument
112 this(src, DEFAULT_PIPE_SIZE);
118 * <code>src</code> and uses the specified pipe size for
120 * Data bytes written to <code>src</code> will then
123 * @param src the stream to connect to.
129 public PipedInputStream(PipedOutputStream src, int pipeSize) argument
132 connect(src);
194 connect(PipedOutputStream src) argument
[all...]
H A DPipedReader.java80 * <code>src</code>. Data written to <code>src</code>
83 * @param src the stream to connect to.
86 public PipedReader(PipedWriter src) throws IOException { argument
87 this(src, DEFAULT_PIPE_SIZE);
92 * to the piped writer <code>src</code> and uses the specified
93 * pipe size for the pipe's buffer. Data written to <code>src</code>
96 * @param src the stream to connect to.
102 public PipedReader(PipedWriter src, int pipeSize) throws IOException { argument
104 connect(src);
166 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);
H A DByteBufferAsShortBuffer.java120 public ShortBuffer put(short[] src, int offset, int length) { argument
121 checkBounds(offset, length, src.length);
124 bb.putUnchecked(ix(position), src, offset, length);
H A DHeapDoubleBuffer.java150 public DoubleBuffer put(double[] src, int offset, int length) { argument
154 checkBounds(offset, length, src.length);
157 System.arraycopy(src, offset, hb, ix(position()), length);
162 public DoubleBuffer put(DoubleBuffer src) { argument
166 if (src instanceof HeapDoubleBuffer) {
167 if (src == this)
169 HeapDoubleBuffer sb = (HeapDoubleBuffer)src;
177 } else if (src.isDirect()) {
178 int n = src.remaining();
181 src
[all...]
H A DHeapFloatBuffer.java149 public FloatBuffer put(float[] src, int offset, int length) { argument
153 checkBounds(offset, length, src.length);
156 System.arraycopy(src, offset, hb, ix(position()), length);
161 public FloatBuffer put(FloatBuffer src) { argument
165 if (src instanceof HeapFloatBuffer) {
166 if (src == this)
168 HeapFloatBuffer sb = (HeapFloatBuffer) src;
176 } else if (src.isDirect()) {
177 int n = src.remaining();
180 src
[all...]

Completed in 183 milliseconds

1234