Searched defs:source (Results 1 - 25 of 83) sorted by relevance

1234

/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/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/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 DMembershipRegistry.java52 InetAddress source)
61 if (source == null) {
67 // already have source-specific membership so return key
70 throw new IllegalStateException("Already have source-specific membership");
71 if (source.equals(key.sourceAddress()))
51 checkMembership(InetAddress group, NetworkInterface interf, InetAddress source) argument
/libcore/support/src/test/java/tests/support/
H A DStreams.java36 public static byte[] streamToBytes(InputStream source) throws IOException { argument
40 while ((count = source.read(buffer)) != -1) {
/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
H A DXPath.java255 * <p>If <code>expression</code>, <code>source</code> or <code>returnType</code> is <code>null</code>,
259 * @param source The input source of the document to evaluate over.
266 * @throws NullPointerException If <code>expression</code>, <code>source</code> or <code>returnType</code>
271 InputSource source,
279 * <p>This method calls {@link #evaluate(String expression, InputSource source, QName returnType)} with a
285 * <p>If <code>expression</code> or <code>source</code> is <code>null</code>,
289 * @param source The <code>InputSource</code> of the document to evaluate over.
295 * @throws NullPointerException If <code>expression</code> or <code>source</code> is <code>null</code>.
297 public String evaluate(String expression, InputSource source) argument
269 evaluate( String expression, InputSource source, QName returnType) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DMulticastChannel.java45 * It may optionally support source filtering as specified by <a
59 * underlying platform supports source filtering then the {@link MembershipKey#block
61 * unblock multicast datagrams from particular source addresses.
64 * is used to begin receiving datagrams sent to a group whose source address matches
65 * a given source address. This method throws {@link UnsupportedOperationException}
66 * if the underlying platform does not support source filtering. Membership is
68 * and interface to allow receiving datagrams from other source addresses. The
70 * datagrams from the given source address. Invoking the key's {@link
72 * source address can no longer be received.
149 * is not {@link MembershipKey#sourceAddress source
228 join(InetAddress group, NetworkInterface interf, InetAddress source) argument
[all...]
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...]
H A DPipe.java36 * Pipe.SinkChannel sink} channel and a readable {@link Pipe.SourceChannel source}
38 * from source channel in exactlyAthe order in which they were written.
43 * buffer up to a certain number of bytes between the sink and source channels,
77 * <p> Pipe-source channels only support reading, so this method
128 * Returns this pipe's source channel.
130 * @return This pipe's source channel
132 public abstract SourceChannel source(); method in class:Pipe
/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);
H A DCopyMoveHelper.java33 * Helper class to support copying or moving files when the source and target
97 * Simple copy for use when source and target are associated with different
100 static void copyToForeignTarget(Path source, Path target, argument
108 // attributes of source file
109 BasicFileAttributes attrs = Files.readAttributes(source,
125 try (InputStream in = Files.newInputStream(source)) {
151 * Simple move implements as copy+delete for use when source and target are
154 static void moveToForeignTarget(Path source, Path target, argument
157 copyToForeignTarget(source, target, convertMoveToCopyOptions(options));
158 Files.delete(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...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockResolver.java34 public void addEntity(String publicId, String systemId, InputSource source) { argument
35 entities.put("[" + publicId + ":" + systemId + "]", source);
H A DDoNothingParser.java34 public void parse(InputSource source) { argument
H A DNoAccessParser.java34 public void parse(InputSource source) { argument
H A DNoSubclassParser.java33 public void parse(InputSource source) { argument
/libcore/luni/src/main/java/libcore/icu/
H A DCollationKeyICU.java24 public CollationKeyICU(String source, android.icu.text.CollationKey key) { argument
25 super(source);
/libcore/luni/src/main/java/org/xml/sax/
H A DParser.java16 * <em>This module, both source code and documentation, is in the
35 * may reuse a parser object (possibly with a different input source)
157 * source (a character stream, a byte stream, or a URI).</p>
163 * different input source.</p>
165 * @param source The input source for the top-level of the
179 public abstract void parse (InputSource source) argument
/libcore/luni/src/test/java/libcore/java/text/
H A DOldFormatTest.java39 public Object parseObject(String source, ParsePosition pos) { argument
/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/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/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...]

Completed in 544 milliseconds

1234