/libcore/luni/src/main/java/java/text/ |
H A D | CollationKey.java | 35 * During the construction of a {@code CollationKey}, the entire source string 82 private final String source; field in class:CollationKey 84 protected CollationKey(String source) { argument 85 this.source = source; 100 * @return the source string of this collation key. 103 return source;
|
H A D | RuleBasedCollator.java | 308 * {@code CharacterIterator}. The source iterator's integrity will be 311 * @param source 312 * the source character iterator. 313 * @return a {@code CollationElementIterator} for {@code source}. 315 public CollationElementIterator getCollationElementIterator(CharacterIterator source) { argument 316 if (source == null) { 317 throw new NullPointerException("source == null"); 319 return new CollationElementIterator(icuColl.getCollationElementIterator(source)); 325 * @param source 326 * the source strin 329 getCollationElementIterator(String source) argument 387 compare(String source, String target) argument 404 getCollationKey(String source) argument [all...] |
H A D | CollationElementIterator.java | 26 * source string. 52 * beginning of the source string has been reached, and there are no more 80 * Obtains the character offset in the source string corresponding to the 83 * <li>The index of the first character in the source string that matches 94 * <li>The length of the source string, if iteration has reached the end. 98 * @return The position of the collation element in the source string that 107 * Obtains the next collation element in the source string. 117 * Obtains the previous collation element in the source string. 165 * character in the source string which is found at the supplied offset. 176 * decomposable range of source tex 196 setText(CharacterIterator source) argument 207 setText(String source) argument [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | EventObject.java | 34 protected transient Object source; field in class:EventObject 39 * @param source 42 public EventObject(Object source) { argument 43 if (source == null) { 44 throw new IllegalArgumentException("source == null"); 46 this.source = source; 53 return source; 60 return getClass().getName() + "[source=" + source [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SourceChannelTest.java | 40 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 D | PipeTest.java | 51 * @tests java.nio.channels.Pipe#source() 55 SourceChannel source = pipe.source(); 56 assertTrue(source.isBlocking());
|
/libcore/luni/src/main/java/java/beans/ |
H A D | IndexedPropertyChangeEvent.java | 34 * @param source 50 public IndexedPropertyChangeEvent(Object source, String propertyName, argument 52 super(source, propertyName, oldValue, newValue);
|
H A D | PropertyChangeEvent.java | 41 * @param source 55 public PropertyChangeEvent(Object source, String propertyName, argument 57 super(source);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | PipeTest.java | 25 p.source().configureBlocking(false); 26 assertEquals(0, p.source().read(ByteBuffer.allocate(1)));
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | EventObjectTest.java | 35 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 D | OldDirectIntBufferTest.java | 33 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 D | OldDirectShortBufferTest.java | 33 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 D | DalvikLogHandler.java | 38 * 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/libcore/icu/ |
H A D | NativeCollation.java | 24 public static native int compare(long address, String source, String target); argument 26 public static native int getCollationElementIterator(long address, String source); argument 28 public static native byte[] getSortKey(long address, String source); argument 42 public static native void setText(long address, String source); argument
|
H A D | CollationElementIteratorICU.java | 95 * @param source text containing the collation elements. 98 public void setText(String source) { argument 99 NativeCollation.setText(address, source); 102 public void setText(CharacterIterator source) { argument 103 NativeCollation.setText(address, source.toString()); 107 * Get the offset of the current source character. 110 * @return offset of the current source character. 118 * Set the offset of the current source character. 158 public static CollationElementIteratorICU getInstance(long collatorAddress, String source) { argument 159 long iteratorAddress = NativeCollation.getCollationElementIterator(collatorAddress, source); [all...] |
H A D | RuleBasedCollatorICU.java | 66 public int compare(String source, String target) { argument 67 return NativeCollation.compare(address, source, target); 94 public CollationKey getCollationKey(String source) { argument 95 if (source == null) { 98 byte[] key = NativeCollation.getSortKey(address, source); 102 return new CollationKeyICU(source, key); 109 public CollationElementIteratorICU getCollationElementIterator(String source) { argument 110 return CollationElementIteratorICU.getInstance(address, source); 130 public boolean equals(String source, String target) { argument 131 return (compare(source, targe [all...] |
/libcore/luni/src/main/java/javax/xml/xpath/ |
H A D | XPathExpression.java | 147 * <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 D | XPath.java | 255 * <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/luni/src/main/java/java/math/ |
H A D | BitLevel.java | 114 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 D | SAXSource.java | 31 * 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/luni/src/main/java/javax/net/ssl/ |
H A D | SSLSessionBindingEvent.java | 62 return (SSLSession) this.source;
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
H A D | MockResolver.java | 34 public void addEntity(String publicId, String systemId, InputSource source) { argument 35 entities.put("[" + publicId + ":" + systemId + "]", source);
|
/libcore/luni/src/main/java/org/xml/sax/ |
H A D | Parser.java | 16 * <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/main/java/javax/xml/transform/ |
H A D | TransformerFactory.java | 123 * @param source <code>Source </code> of XSLT document used to create 141 public abstract Transformer newTransformer(Source source) argument 160 * a compiled representation of the source. This Templates object 166 * @param source An object that holds a URL, input stream, etc. 174 public abstract Templates newTemplates(Source source) argument 186 * @param source The XML source document. 197 * <code>source</code>. 203 Source source, 202 getAssociatedStylesheet( Source source, String media, String title, String charset) argument
|
/libcore/luni/src/main/java/javax/xml/validation/ |
H A D | Validator.java | 86 * validate(source,null); 91 public void validate(Source source) throws SAXException, IOException { argument 92 validate(source, null); 158 * @param source 170 * (in which case <tt>source.getNode()==result.getNode()</tt>), 172 * node given by the source. 176 * or if the specified source is not a 193 * If the <tt>source</tt> parameter is null. 197 public abstract void validate(Source source, Result result) throws SAXException, IOException; argument
|