Searched refs:source (Results 1 - 25 of 112) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/util/
H A DEventObject.java32 * All Events are constructed with a reference to the object, the "source",
46 protected transient Object source; field in class:EventObject
51 * @param source The object on which the Event initially occurred.
52 * @exception IllegalArgumentException if source is null.
54 public EventObject(Object source) { argument
55 if (source == null)
56 throw new IllegalArgumentException("null source");
58 this.source = source;
67 return source;
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DCollationKey.java30 * The original version of this source code and documentation is copyrighted
116 * @return the source string of this CollationKey
119 return source;
137 * @param source the source string
138 * @exception NullPointerException if {@code source} is null
141 protected CollationKey(String source) { argument
142 if (source==null){
145 this.source = source;
148 final private String source; field in class:CollationKey
[all...]
H A DRuleBasedCollator.java31 * The original version of this source code and documentation is copyrighted
325 * @param source the string to be collated
329 public CollationElementIterator getCollationElementIterator(String source) { argument
331 if (source == null) {
332 throw new NullPointerException("source == null");
334 return new CollationElementIterator(collAsICU().getCollationElementIterator(source));
340 * @param source the character iterator to be collated
346 CharacterIterator source) {
348 if (source == null) {
349 throw new NullPointerException("source
345 getCollationElementIterator( CharacterIterator source) argument
362 compare(String source, String target) argument
376 getCollationKey(String source) argument
[all...]
H A DCollationElementIterator.java31 * The original version of this source code and documentation is copyrighted
269 * @param source the new source text
272 public void setText(String source) argument
275 icuIterator.setText(source);
281 * @param source the new source text.
284 public void setText(CharacterIterator source) argument
287 icuIterator.setText(source);
/libcore/ojluni/src/main/java/javax/sql/
H A DRowSetEvent.java39 * the source of the event.
50 * @param source the <code>RowSet</code> object whose data has changed or
52 * @throws IllegalArgumentException if <code>source</code> is null.
54 public RowSetEvent(RowSet source) argument
55 { super(source); }
/libcore/ojluni/src/main/java/java/nio/file/
H A DAtomicMoveNotSupportedException.java43 * @param source
44 * a string identifying the source file or {@code null} if not known
50 public AtomicMoveNotSupportedException(String source, argument
54 super(source, target, reason);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSourceChannelTest.java40 private Pipe.SourceChannel source; field in class:SourceChannelTest
50 source = pipe.source();
60 assertEquals(SelectionKey.OP_READ, source.validOps());
69 int count = source.read(ByteBuffer.allocate(10));
79 source.read(nullBuf);
93 long count = source.read(readBuf);
96 count = source.read(readBuf);
100 count = source.read(readBuf);
109 source
[all...]
H A DPipeTest.java51 * @tests java.nio.channels.Pipe#source()
55 SourceChannel source = pipe.source();
56 assertTrue(source.isBlocking());
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DPipeImpl.java38 private final SourceChannel source; field in class:PipeImpl
47 source = new SourceChannelImpl(sp, sourcefd);
53 public SourceChannel source() { method in class:PipeImpl
54 return source;
H A DMembershipKeyImpl.java44 private final InetAddress source; field in class:MembershipKeyImpl
52 // set of source addresses that are blocked
58 InetAddress source)
63 this.source = source;
77 InetAddress source,
82 super(ch, group, interf, source);
96 int source() { method in class:MembershipKeyImpl.Type4
112 InetAddress source,
117 super(ch, group, interf, source);
55 MembershipKeyImpl(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source) argument
74 Type4(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source, int groupAddress, int interfAddress, int sourceAddress) argument
109 Type6(MulticastChannel ch, InetAddress group, NetworkInterface interf, InetAddress source, byte[] groupAddress, int index, byte[] sourceAddress) argument
131 byte[] source() { method in class:MembershipKeyImpl.Type6
[all...]
H A DPollArrayWrapper.java82 * Writes the pollfd entry from the source wrapper at the source index
83 * over the entry in the target wrapper at the target index. The source
84 * array remains unchanged unless the source array and the target are
87 static void replaceEntry(PollArrayWrapper source, int sindex, argument
89 target.putDescriptor(tindex, source.getDescriptor(sindex));
90 target.putEventOps(tindex, source.getEventOps(sindex));
91 target.putReventOps(tindex, source.getReventOps(sindex));
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DPipeTest.java25 p.source().configureBlocking(false);
26 assertEquals(0, p.source().read(ByteBuffer.allocate(1)));
/libcore/ojluni/src/main/java/java/beans/
H A DIndexedPropertyChangeEvent.java36 * An event source may send a null object as the name to indicate that an
51 * @param source The bean that fired the event.
58 public IndexedPropertyChangeEvent(Object source, String propertyName, argument
61 super (source, propertyName, oldValue, newValue);
/libcore/luni/src/test/java/libcore/java/util/
H A DEventObjectTest.java35 Object source = new Object();
36 assertSame(source, new EventObject(source).getSource());
40 assertEquals("java.util.EventObject[source=x]", new EventObject("x").toString());
46 Object source = new Object();
47 EventObject eventObject = new EventObject(source);
/libcore/luni/src/test/java/libcore/java/nio/
H A DOldDirectIntBufferTest.java33 int[] source = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
35 intBuffer.put(source, 2, 2);
36 intBuffer.put(source, 4, 2);
H A DOldDirectShortBufferTest.java33 short[] source = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
35 shortBuffer.put(source, 2, 2);
36 shortBuffer.put(source, 4, 2);
/libcore/dalvik/src/main/java/dalvik/system/
H A DDalvikLogHandler.java38 * with additional fields (parameters, source methods, etc.) will flow
44 void publish(Logger source, String tag, Level level, String message); argument
/libcore/luni/src/main/java/javax/xml/xpath/
H A DXPathExpression.java147 * <p>If <code>source</code> or <code>returnType</code> is <code>null</code>,
150 * @param source The <code>InputSource</code> of the document to evaluate over.
158 * @throws NullPointerException If <code>source</code> or <code>returnType</code> is <code>null</code>.
160 public Object evaluate(InputSource source, QName returnType) argument
167 * <p>This method calls {@link #evaluate(InputSource source, QName returnType)} with a <code>returnType</code> of
173 * <p>If <code>source</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p>
175 * @param source The <code>InputSource</code> of the document to evaluate over.
181 * @throws NullPointerException If <code>source</code> is <code>null</code>.
183 public String evaluate(InputSource source) argument
/libcore/ojluni/src/main/java/java/nio/channels/
H A DMembershipKey.java37 * to the group, or it may be <em>source-specific</em>, meaning that it
38 * represents a membership that receives only datagrams from a specific source
39 * address. Whether or not a membership key is source-specific may be determined
47 * <p> Where a membership key is not source-specific and the underlying operation
48 * system supports source filtering, then the {@link #block block} and {@link
50 * from particular source addresses.
81 * datagrams sent to the group. If the membership key is source-specific
83 * that source address.
99 * Block multicast datagrams from the given source address.
101 * <p> If this membership key is not source
125 block(InetAddress source) argument
140 unblock(InetAddress source) argument
[all...]
/libcore/luni/src/main/java/java/math/
H A DBitLevel.java114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { argument
117 int val = source[i];
126 static BigInteger shiftLeftOneBit(BigInteger source) { argument
127 source.prepareJavaRepresentation();
128 int srcLen = source.numberLength;
131 shiftLeftOneBit(resDigits, source.digits, srcLen);
132 return new BigInteger(source.sign, resLen, resDigits);
136 static BigInteger shiftRight(BigInteger source, int count) { argument
137 source.prepareJavaRepresentation();
140 if (intCount >= source
185 shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) argument
[all...]
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
H A DSliceSpliteratorTest.java44 Collection<T> source; field in class:SliceSpliteratorTest.UnorderedContentAsserter
46 UnorderedContentAsserter(Collection<T> source) { argument
47 this.source = source;
57 assertTrue(source.containsAll(actual));
74 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList());
77 Spliterator<Integer> s = Arrays.spliterator(source.stream().toArray(Integer[]::new));
87 final Collection<Integer> source = IntStream.range(0, size).boxed().collect(toList());
90 Spliterator.OfInt s = Arrays.spliterator(source.stream().mapToInt(i->i).toArray());
100 final Collection<Long> source
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixCopyFile.java126 // copy directory from source to target
127 private static void copyDirectory(UnixPath source, argument
179 sfd = open(source, O_RDONLY, 0);
182 x.rethrowAsIOException(source);
185 source.getFileSystem().copyNonPosixAttributes(sfd, dfd);
218 // copy regular file from source to target
219 private static void copyFile(UnixPath source, argument
228 fi = open(source, O_RDONLY, 0);
230 x.rethrowAsIOException(source);
253 x.rethrowAsIOException(source, targe
303 copyLink(UnixPath source, UnixFileAttributes attrs, UnixPath target, Flags flags) argument
331 copySpecial(UnixPath source, UnixFileAttributes attrs, UnixPath target, Flags flags) argument
372 move(UnixPath source, UnixPath target, CopyOption... options) argument
505 copy(final UnixPath source, final UnixPath target, CopyOption... options) argument
[all...]
/libcore/luni/src/main/java/javax/xml/transform/sax/
H A DSAXSource.java31 * input source that is not
51 * no SAX source is set using
54 * create an empty source {@link org.xml.sax.InputSource} using
69 * @param inputSource A SAX input source reference that must be non-null
86 * @param inputSource An input source reference that must be non-null
130 * Set the system identifier for this Source. If an input source
132 * input source, otherwise it will create a new input source.
168 * The XMLReader to be used for the source tree input. May be null.
173 * <p>The SAX InputSource to be used for the source tre
186 sourceToInputSource(Source source) argument
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DSimpleFormatter.java74 * {@link String#format String.format}(format, date, source, logger, level, message, thrown);
84 * <li>{@code source} - a string representing the caller, if available;
112 * the timestamp ({@code 1$}) and the source ({@code 2$});
142 String source;
144 source = record.getSourceClassName();
146 source += " " + record.getSourceMethodName();
149 source = record.getLoggerName();
163 source,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DRuleBasedCollatorTest.java35 String source = null;
38 CollationKey ck = rbc.getCollationKey(source);
84 String source = "abc";
85 CollationKey key1 = coll.getCollationKey(source);
86 assertEquals(source, key1.getSourceString());
91 assertTrue(coll.compare(source, source2) > 0);
104 String source = "cha";
105 CollationElementIterator iterator = coll.getCollationElementIterator(source);
110 while (offset != source.length()) {
121 String source
[all...]

Completed in 727 milliseconds

12345