Searched defs:source (Results 51 - 75 of 83) sorted by relevance

1234

/libcore/luni/src/main/java/org/w3c/dom/
H A DDocument.java203 * or removing the source node from the original document; this method
204 * creates a new copy of the source node. The returned node has no
207 * importing document, with attribute values identical to the source
211 * <code>cloneNode</code> operation, the source node is not altered.
218 * a fragment of XML or HTML source was copied from one document to
227 * descendants of the source <code>Attr</code> are recursively imported
234 * was set to <code>true</code>, the descendants of the source
247 * <dd><em>Specified</em> attribute nodes of the source element are imported, and the generated
252 * <code>true</code>, the descendants of the source element are
263 * of the the source <cod
698 adoptNode(Node source) argument
[all...]
/libcore/luni/src/test/java/libcore/java/text/
H A DOldNumberFormatTest.java819 public Number parse(String source, ParsePosition parsePosition) { argument
H A DSimpleDateFormatTest.java731 private void assertDayPeriodParseFailure(String pattern, String source) { argument
734 Date d = simpleDateFormat.parse(source, parsePosition);
/libcore/ojluni/src/main/java/java/nio/file/spi/
H A DFileSystemProvider.java777 * except that both the source and target paths must be associated with
780 * @param source
802 * method is invoked to check read access to the source file, the
808 public abstract void copy(Path source, Path target, CopyOption... options) argument
814 * source and target paths must be associated with this provider.
816 * @param source
841 * method is invoked to check write access to both the source and
844 public abstract void move(Path source, Path target, CopyOption... options) argument
/libcore/ojluni/src/main/java/java/util/stream/
H A DAbstractPipeline.java38 * pipeline, encapsulating a stream source and zero or more intermediate
41 * source or an intermediate operation.
64 * segment. In all cases, the source data is not consumed until a terminal
76 private static final String MSG_CONSUMED = "source already consumed or closed";
79 * Backlink to the head of the pipeline chain (self if this is the source
86 * The "upstream" pipeline, or null if this is the source stage.
106 * and the stream source if sequential, or the previous stateful if parallel.
112 * The combined source and operation flags for the source and all operations
119 * The source spliterato
160 AbstractPipeline(Supplier<? extends Spliterator<?>> source, int sourceFlags, boolean parallel) argument
181 AbstractPipeline(Spliterator<?> source, int sourceFlags, boolean parallel) argument
[all...]
H A DDoublePipeline.java47 * Abstract base class for an intermediate pipeline stage or pipeline source
50 * @param <E_IN> type of elements in the upstream source
62 * @param source {@code Supplier<Spliterator>} describing the stream source
63 * @param sourceFlags the source flags for the stream source, described in
66 DoublePipeline(Supplier<? extends Spliterator<Double>> source, argument
68 super(source, sourceFlags, parallel);
74 * @param source {@code Spliterator} describing the stream source
78 DoublePipeline(Spliterator<Double> source, int sourceFlags, boolean parallel) argument
529 Head(Supplier<? extends Spliterator<Double>> source, int sourceFlags, boolean parallel) argument
542 Head(Spliterator<Double> source, int sourceFlags, boolean parallel) argument
[all...]
H A DIntPipeline.java47 * Abstract base class for an intermediate pipeline stage or pipeline source
50 * @param <E_IN> type of elements in the upstream source
61 * @param source {@code Supplier<Spliterator>} describing the stream source
62 * @param sourceFlags The source flags for the stream source, described in
66 IntPipeline(Supplier<? extends Spliterator<Integer>> source, argument
68 super(source, sourceFlags, parallel);
74 * @param source {@code Spliterator} describing the stream source
79 IntPipeline(Spliterator<Integer> source, int sourceFlags, boolean parallel) argument
526 Head(Supplier<? extends Spliterator<Integer>> source, int sourceFlags, boolean parallel) argument
539 Head(Spliterator<Integer> source, int sourceFlags, boolean parallel) argument
[all...]
H A DLongPipeline.java48 * Abstract base class for an intermediate pipeline stage or pipeline source
51 * @param <E_IN> type of elements in the upstream source
62 * @param source {@code Supplier<Spliterator>} describing the stream source
63 * @param sourceFlags the source flags for the stream source, described in
67 LongPipeline(Supplier<? extends Spliterator<Long>> source, argument
69 super(source, sourceFlags, parallel);
75 * @param source {@code Spliterator} describing the stream source
80 LongPipeline(Spliterator<Long> source, int sourceFlags, boolean parallel) argument
509 Head(Supplier<? extends Spliterator<Long>> source, int sourceFlags, boolean parallel) argument
522 Head(Spliterator<Long> source, int sourceFlags, boolean parallel) argument
[all...]
H A DReferencePipeline.java49 * Abstract base class for an intermediate pipeline stage or pipeline source
52 * @param <P_IN> type of elements in the upstream source
65 * @param source {@code Supplier<Spliterator>} describing the stream source
66 * @param sourceFlags the source flags for the stream source, described in
70 ReferencePipeline(Supplier<? extends Spliterator<?>> source, argument
72 super(source, sourceFlags, parallel);
78 * @param source {@code Spliterator} describing the stream source
83 ReferencePipeline(Spliterator<?> source, int sourceFlags, boolean parallel) argument
551 Head(Supplier<? extends Spliterator<?>> source, int sourceFlags, boolean parallel) argument
563 Head(Spliterator<?> source, int sourceFlags, boolean parallel) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixFileSystemProvider.java250 public void copy(Path source, Path target, CopyOption... options) argument
253 UnixCopyFile.copy(UnixPath.toUnixPath(source),
259 public void move(Path source, Path target, CopyOption... options) argument
262 UnixCopyFile.move(UnixPath.toUnixPath(source),
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DMatchOpTest.java98 private <T> void assertPredicates(List<T> source, Kind kind, Predicate<T>[] predicates, boolean... answers) { argument
101 boolean match = this.<T>kinds().get(kind).apply(predicates[i]).apply(source.stream());
135 final Supplier<Iterator<Integer>> source;
138 CycleIterator(Supplier<Iterator<Integer>> source) {
139 this.source = source;
145 i = source.get();
153 i = source.get();
159 Supplier<Iterator<Integer>> source = () -> Arrays.asList(1, 2, 3, 4).iterator();
160 Supplier<Stream<Integer>> s = () -> StreamSupport.stream(Spliterators.spliteratorUnknownSize(new CycleIterator(source),
183 assertIntPredicates(Supplier<IntStream> source, Kind kind, IntPredicate[] predicates, boolean... answers) argument
268 assertLongPredicates(Supplier<LongStream> source, Kind kind, LongPredicate[] predicates, boolean... answers) argument
353 assertDoublePredicates(Supplier<DoubleStream> source, Kind kind, DoublePredicate[] predicates, boolean... answers) argument
[all...]
H A DTabulatorsTest.java77 Supplier<Stream<T>> source,
96 Supplier<Stream<T>> source,
100 assertContentsUnordered(map.keySet(), source.get().map(classifier).collect(toSet()));
104 () -> source.get().filter(e -> classifier.apply(e).equals(key)),
127 void assertValue(M map, Supplier<Stream<T>> source, boolean ordered) throws ReflectiveOperationException { argument
128 Set<K> uniqueKeys = source.get().map(keyFn).collect(toSet());
131 source.get().forEach(t -> {
133 V v = source.get()
154 Supplier<Stream<T>> source,
159 downstream.assertValue(map.get(true), () -> source
76 assertValue(U value, Supplier<Stream<T>> source, boolean ordered) argument
95 assertValue(M map, Supplier<Stream<T>> source, boolean ordered) argument
153 assertValue(Map<Boolean, D> map, Supplier<Stream<T>> source, boolean ordered) argument
167 assertValue(List<T> value, Supplier<Stream<T>> source, boolean ordered) argument
193 assertValue(Collection<T> value, Supplier<Stream<T>> source, boolean ordered) argument
220 assertValue(U value, Supplier<Stream<T>> source, boolean ordered) argument
[all...]
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
H A DDriver.java270 public void parse(InputSource source) throws SAXException, IOException argument
273 systemId = source.getSystemId();
276 final Reader reader = source.getCharacterStream();
279 InputStream stream = source.getByteStream();
280 final String encoding = source.getEncoding();
283 systemId = source.getSystemId();
286 "null source systemId" , this);
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentImpl.java521 * Calls {@link UserDataHandler#handle} on each of the source node's
524 * <p>If the source node comes from another DOM implementation, user data
529 short operation, Node source, NodeImpl destination) {
530 if (!(source instanceof NodeImpl)) {
534 NodeImpl srcImpl = (NodeImpl) source;
544 operation, entry.getKey(), userData.value, source, destination);
528 notifyUserDataHandlers( short operation, Node source, NodeImpl destination) argument
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java393 public int write(ByteBuffer source) throws IOException { argument
/libcore/ojluni/src/main/java/java/text/
H A DMessageFormat.java31 * The original version of this source code and documentation is copyrighted
134 * bundle source files) which strings will be processed by {@code MessageFormat}.
950 * If the source is null, return an empty array.
952 * @param source the string to parse
956 public Object[] parse(String source, ParsePosition pos) { argument
957 if (source == null) {
977 source, sourceOffset, len)) {
994 next = source.length();
996 next = source.indexOf(pattern.substring(patternOffset, tempLength),
1004 String strValue= source
1045 parse(String source) argument
1078 parseObject(String source, ParsePosition pos) argument
1555 copyAndFixQuotes(String source, int start, int end, StringBuilder target) argument
[all...]
H A DNumberFormat.java31 * The original version of this source code and documentation is copyrighted
267 * @param source A <code>String</code>, part of which should be parsed.
275 public final Object parseObject(String source, ParsePosition pos) { argument
276 return parse(source, pos);
351 * @param source the String to parse
357 public abstract Number parse(String source, ParsePosition parsePosition); argument
366 * @param source A <code>String</code> whose beginning should be parsed.
371 public Number parse(String source) throws ParseException { argument
373 Number result = parse(source, parsePosition);
375 throw new ParseException("Unparseable number: \"" + source
[all...]
H A DDateFormat.java31 * The original version of this source code and documentation is copyrighted
352 * @param source A <code>String</code> whose beginning should be parsed.
357 public Date parse(String source) throws ParseException argument
360 Date result = parse(source, pos);
362 throw new ParseException("Unparseable date: \"" + source + "\"" ,
385 * @param source The date/time string to be parsed
393 public abstract Date parse(String source, ParsePosition pos); argument
412 * @param source A <code>String</code>, part of which should be parsed.
419 public Object parseObject(String source, ParsePosition pos) { argument
420 return parse(source, po
[all...]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DOpTestCase.java449 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { argument
450 return terminalF.apply(source);
460 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
461 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
462 return terminalF.apply(source);
472 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
473 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
474 return terminalF.apply(source);
[all...]
/libcore/ojluni/src/main/java/java/nio/file/
H A DFiles.java1176 * except if the source and target are the {@link #isSameFile same} file, in
1203 * copied to the target file if supported by both the source and target
1222 * of its file attributes have not been copied from the source file. When
1230 * name as the source file:
1232 * Path source = ...
1234 * Files.copy(source, newdir.resolve(source.getFileName());
1237 * @param source
1241 * provider to the source path)
1262 * method is invoked to check read access to the source fil
1268 copy(Path source, Path target, CopyOption... options) argument
1389 move(Path source, Path target, CopyOption... options) argument
2902 copy(InputStream source, OutputStream sink) argument
3064 copy(Path source, OutputStream out) argument
3097 read(InputStream source, int initialSize) argument
[all...]
/libcore/ojluni/src/main/java/sun/invoke/util/
H A DWrapper.java142 public boolean isConvertibleFrom(Wrapper source) { argument
143 if (this == source) return true;
144 if (this.compareTo(source) < 0) {
150 boolean floatOrSigned = (((this.format & source.format) & Format.SIGNED) != 0);
154 if (source.format == Format.CHAR) return true;
160 assert(source.isFloating() || source.isSigned());
470 Wrapper source = findWrapperType(sourceType);
471 if (source == null || !this.isConvertibleFrom(source)) {
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DDatagramChannelImpl.java847 * optional source address.
851 InetAddress source)
868 // check source address
869 if (source != null) {
870 if (source.isAnyLocalAddress())
872 if (source.isMulticastAddress())
874 if (source.getClass() != group.getClass())
891 MembershipKey key = registry.checkMembership(group, interf, source);
904 // need multicast and source address as byte arrays
906 byte[] sourceAddress = (source
849 innerJoin(InetAddress group, NetworkInterface interf, InetAddress source) argument
950 join(InetAddress group, NetworkInterface interf, InetAddress source) argument
992 block(MembershipKeyImpl key, InetAddress source) argument
1030 unblock(MembershipKeyImpl key, InetAddress source) argument
[all...]
H A DNet.java523 static int join4(FileDescriptor fd, int group, int interf, int source) argument
526 return joinOrDrop4(true, fd, group, interf, source);
532 static void drop4(FileDescriptor fd, int group, int interf, int source) argument
535 joinOrDrop4(false, fd, group, interf, source);
538 private static native int joinOrDrop4(boolean join, FileDescriptor fd, int group, int interf, int source) argument
542 * Block IPv4 source
544 static int block4(FileDescriptor fd, int group, int interf, int source) argument
547 return blockOrUnblock4(true, fd, group, interf, source);
551 * Unblock IPv6 source
553 static void unblock4(FileDescriptor fd, int group, int interf, int source) argument
559 blockOrUnblock4(boolean block, FileDescriptor fd, int group, int interf, int source) argument
566 join6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
575 drop6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
581 joinOrDrop6(boolean join, FileDescriptor fd, byte[] group, int index, byte[] source) argument
587 block6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
596 unblock6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
602 blockOrUnblock6(boolean block, FileDescriptor fd, byte[] group, int index, byte[] source) argument
[all...]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DOpTestCase.java450 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { argument
451 return terminalF.apply(source);
461 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
462 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
463 return terminalF.apply(source);
473 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
474 source = (BaseStream) chain(source, new ShortCircuitOp(shape));
475 return terminalF.apply(source);
[all...]
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeConverter.cpp212 jcharArray source, jint sourceEnd, jbyteArray target, jint targetEnd,
220 ScopedCharArrayRO uSource(env, source);
268 jbyteArray source, jint sourceEnd, jcharArray target, jint targetEnd,
276 ScopedByteArrayRO uSource(env, source);
211 NativeConverter_encode(JNIEnv* env, jclass, jlong address, jcharArray source, jint sourceEnd, jbyteArray target, jint targetEnd, jintArray data, jboolean flush) argument
267 NativeConverter_decode(JNIEnv* env, jclass, jlong address, jbyteArray source, jint sourceEnd, jcharArray target, jint targetEnd, jintArray data, jboolean flush) argument

Completed in 748 milliseconds

1234