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

1234

/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DNumberFormatTest.java1433 public Number parse(String source, ParsePosition parsePosition) { argument
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/
H A DTransformerFactoryImpl.java234 * given document specified in the source param,
245 * @param source The XML source that is to be searched.
256 Source source, String media, String title, String charset)
265 if (source instanceof DOMSource)
267 DOMSource dsource = (DOMSource) source;
274 isource = SAXSource.sourceToInputSource(source);
364 * of the source to the result.
482 * keep track of line and column numbers for the input source
484 * information is available from the source
255 getAssociatedStylesheet( Source source, String media, String title, String charset) argument
771 newTransformer(Source source) argument
840 newTemplates(Source source) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/
H A DDTMManager.java161 * specified source. If the unique flag is true, a new instance will
169 * @param source the specification of the source object, which may be null,
183 public abstract DTM getDTM(javax.xml.transform.Source source, argument
294 * keep track of line and column numbers for the input source
324 * keep track of line and column numbers for the input source
326 * @return source location boolean
336 * keep track of line and column numbers for the input source
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMDefaultBaseTraversers.java47 * @param source The object that is used to specify the construction source.
55 public DTMDefaultBaseTraversers(DTMManager mgr, Source source, argument
61 super(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory,
69 * @param source The object that is used to specify the construction source.
80 public DTMDefaultBaseTraversers(DTMManager mgr, Source source, argument
89 super(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory,
H A DDTMManagerDefault.java212 * specified source. If the unique flag is true, a new instance will
217 * A bit of magic in this implementation: If the source is null, unique is true,
224 * @param source the specification of the source object.
236 synchronized public DTM getDTM(Source source, boolean unique, argument
241 if(DEBUG && null != source)
244 " source: "+source.getSystemId()
251 if ((null != source) && source instanceo
[all...]
H A DDTMDefaultBaseIterators.java42 * @param source The object that is used to specify the construction source.
50 public DTMDefaultBaseIterators(DTMManager mgr, Source source, argument
56 super(mgr, source, dtmIdentity, whiteSpaceFilter,
64 * @param source The object that is used to specify the construction source.
75 public DTMDefaultBaseIterators(DTMManager mgr, Source source, argument
84 super(mgr, source, dtmIdentity, whiteSpaceFilter,
H A DIncrementalSAXSource_Filter.java44 * standard SAX2 event source as its input and parcelling out those
104 * SAX event source.
421 // as our event source. It's unclear whether this is a Xerces bug
425 // event source make sure this method is invoked if the event stream
546 * coming from another source, we can't do that because its caller may
603 public void startParse(InputSource source) throws SAXException argument
610 fXMLReaderInputSource=source;
762 InputSource source = new InputSource(args[arg]);
770 filter.startParse(source);
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DFastStringBuffer.java731 // data. We have to work through the source in bite-sized chunks.
1256 * Encapsulation c'tor. After this is called, the source FastStringBuffer
1259 * EXCEPT WHEN source.length()==1<<(source.m_chunkBits+source.m_rebundleBits)
1261 * NEEDSDOC @param source
1263 private FastStringBuffer(FastStringBuffer source) argument
1267 m_chunkBits = source.m_chunkBits;
1268 m_maxChunkBits = source.m_maxChunkBits;
1269 m_rebundleBits = source
[all...]
H A DUnImplNode.java1118 * NEEDSDOC @param source
1124 public Node adoptNode(Node source) throws DOMException argument
/dalvik/libcore/xml/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...]
/dalvik/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);
/dalvik/dx/src/com/android/dx/ssa/
H A DSsaBasicBlock.java545 * is the source in question, then the move is placed at the beginning of
549 * @param source move source
551 public void addMoveToEnd(RegisterSpec result, RegisterSpec source) { argument
553 if (result.getReg() == source.getReg()) {
567 * The final insn in this block has a source or result
583 succ.addMoveToBeginning(result, source);
591 RegisterSpecList sources = RegisterSpecList.make(source);
606 * @param source move source
608 addMoveToBeginning(RegisterSpec result, RegisterSpec source) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DInetAddress.java938 private boolean isReachableByTCP(InetAddress dest, InetAddress source, argument
946 if (null != source) {
947 NETIMPL.bind(fd, source, 0);
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
H A DSelectorImpl.java132 * picked up in source by the selecting thread.
135 private Pipe.SourceChannel source; field in class:SelectorImpl
143 source = mockSelector.source();
144 sourcefd = ((FileDescriptorHandler) source).getFD();
145 source.configureBlocking(false);
334 while (source.read(readbuf) > 0) {
H A DSocketChannelImpl.java483 public int write(ByteBuffer source) throws IOException { argument
484 if (null == source) {
488 if (!source.hasRemaining()) {
491 return writeImpl(source);
512 ByteBuffer source = sources[val];
513 int oldPosition = source.position();
514 writeBuf.put(source);
515 source.position(oldPosition);
522 ByteBuffer source = sources[val];
523 int gap = Math.min(result, source
543 writeImpl(ByteBuffer source) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentImpl.java511 * Calls {@link UserDataHandler#handle} on each of the source node's
514 * <p>If the source node comes from another DOM implementation, user data
519 short operation, Node source, NodeImpl destination) {
520 if (!(source instanceof NodeImpl)) {
524 NodeImpl srcImpl = (NodeImpl) source;
534 operation, entry.getKey(), userData.value, source, destination);
518 notifyUserDataHandlers( short operation, Node source, NodeImpl destination) argument
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
H A DDOM2DTM.java110 * @param domSource the DOM source that this DTM will wrap.
232 // don't want to alter the source DOM (and may not be able to do
1488 * @param source The IncrementalSAXSource that we want to recieve events from
1491 public void setIncrementalSAXSource(IncrementalSAXSource source) argument
1753 * No source information is available for DOM2DTM, so return
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/
H A DTransformerIdentityImpl.java119 * @param systemID Base URI for the source tree.
318 * Process the source tree to the output result.
319 * @param source The input for the source tree.
326 public void transform(Source source, Result outputTarget) argument
340 if ((source instanceof StreamSource && source.getSystemId()==null &&
341 ((StreamSource)source).getInputStream()==null &&
342 ((StreamSource)source).getReader()==null)||
343 (source instanceo
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
H A DSAX2DTM.java57 * be able to tell the source when to send us more data.
189 * Describes whether information about document source location
210 * @param source the JAXP 1.1 Source object for this DTM.
218 public SAX2DTM(DTMManager mgr, Source source, int dtmIdentity, argument
224 this(mgr, source, dtmIdentity, whiteSpaceFilter,
233 * @param source the JAXP 1.1 Source object for this DTM.
244 public SAX2DTM(DTMManager mgr, Source source, int dtmIdentity, argument
253 super(mgr, source, dtmIdentity, whiteSpaceFilter,
294 * Set whether information about document source location
362 * know what source i
[all...]
H A DSAX2DTM2.java1845 public SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, argument
1851 this(mgr, source, dtmIdentity, whiteSpaceFilter,
1858 public SAX2DTM2(DTMManager mgr, Source source, int dtmIdentity, argument
1868 super(mgr, source, dtmIdentity, whiteSpaceFilter,
/dalvik/libcore/xml/src/main/java/org/apache/xpath/
H A DXPathContext.java134 * specified source. If the unique flag is true, a new instance will
141 * @param source the specification of the source object, which may be null,
153 public DTM getDTM(javax.xml.transform.Source source, boolean unique, argument
158 return m_dtmManager.getDTM(source, unique, wsfilter,
500 /** The source tree manager, which associates Source objects to source
580 * function to source tree nodes. */
606 /** The reader of the primary source tree. */
612 * @return The reader of the primary source tre
[all...]
/dalvik/libcore/icu/src/main/native/
H A DNativeConverter.cpp194 * @param source buffer of Unicode chars to convert
195 * @param sourceEnd limit of the source buffer
199 * @param flush boolean that specifies end of source input
201 static jint convertCharToByte(JNIEnv *env, jclass jClass, jlong handle, jcharArray source, jint sourceEnd, jbyteArray target, jint targetEnd, jintArray data, jboolean flush) { argument
210 const jchar* uSource =(jchar*) env->GetPrimitiveArrayCritical(source, NULL);
226 env->ReleasePrimitiveArrayCritical(source,(jchar*)uSource,0);
237 env->ReleasePrimitiveArrayCritical(source,(jchar*)uSource,0);
248 static jint encode(JNIEnv *env, jclass jClass, jlong handle, jcharArray source, jint sourceEnd, jbyteArray target, jint targetEnd, jintArray data, jboolean flush) { argument
250 UErrorCode ec = UErrorCode(convertCharToByte(env, jClass,handle,source,sourceEnd, target,targetEnd,data,flush));
278 * @param source buffe
285 convertByteToChar(JNIEnv *env, jclass jClass, jlong handle, jbyteArray source, jint sourceEnd, jcharArray target, jint targetEnd, jintArray data, jboolean flush) argument
333 decode(JNIEnv *env, jclass jClass, jlong handle, jbyteArray source, jint sourceEnd, jcharArray target, jint targetEnd, jintArray data, jboolean flush) argument
444 jbyte source ='\\0'; local
484 jchar source = '\\0'; local
655 UChar source[3]; local
676 canDecode(JNIEnv *env, jclass jClass, jlong handle, jbyteArray source) argument
1238 UConverter* source = reinterpret_cast<UConverter*>(static_cast<uintptr_t>(address)); local
[all...]
/dalvik/libcore/luni/src/main/java/java/util/
H A DCollections.java1583 * Copies the elements from the source list to the destination list. At the
1585 * destination array is larger than the source list, the elements in the
1586 * destination list with {@code index >= source.size()} will be unchanged.
1589 * the list whose elements are set from the source list.
1590 * @param source
1593 * when the destination list is smaller than the source list.
1599 List<? extends T> source) {
1600 if (destination.size() < source.size()) {
1602 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0032", source.size())); //$NON-NLS-1$
1604 Iterator<? extends T> srcIt = source
1598 copy(List<? super T> destination, List<? extends T> source) argument
[all...]
H A DFormatter.java1591 private CharSequence padding(CharSequence source, int startIndex) { argument
1592 boolean sourceIsStringBuilder = (source instanceof StringBuilder);
1598 int length = source.length();
1602 ((StringBuilder) source).setLength(length);
1604 source = source.subSequence(0, length);
1608 width = Math.max(source.length(), width);
1611 return source;
1629 StringBuilder result = toStringBuilder(source);
1760 String source
[all...]
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSocketChannelTest.java4352 public int write(ByteBuffer source) throws IOException { argument

Completed in 437 milliseconds

1234