/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
H A D | Main.java | 66 public static void parse(File source) throws Exception argument 76 if (source.isDirectory()) 78 System.out.println("Directory: " + source.getAbsolutePath()); 79 String files[] = source.list(); 83 parse(new File(source, files[i])); 93 String sourceFile = source.getName(); 103 parseSource(source.getAbsolutePath()); 116 public static void parseSource(String source) throws Exception argument 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF [all...] |
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/ |
H A D | FlexAntTasks.jar | META-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ... |
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3convertutf.c | 6 * This source code is provided as is by Unicode, Inc. No claims are 31 source sequences, enhanced error detection, added casts 56 const UTF32* source = *sourceStart; local 58 while (source < sourceEnd) { 63 ch = *source++; 68 --source; /* return to the illegal value itself */ 86 --source; /* Back up source pointer! */ 94 *sourceStart = source; 105 const UTF16* source local 209 const UTF16* source = *sourceStart; local 287 isLegalUTF8(const UTF8 *source, int length) argument 319 isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) argument 333 const UTF8* source = *sourceStart; local 406 const UTF32* source = *sourceStart; local 459 const UTF8* source = *sourceStart; local [all...] |
H A D | antlr3tokenstream.c | 12 // Redistribution and use in source and binary forms, with or without 15 // 1. Redistributions of source code must retain the above copyright 206 antlr3CommonTokenDebugStreamSourceNew(ANTLR3_UINT32 hint, pANTLR3_TOKEN_SOURCE source, pANTLR3_DEBUG_EVENT_LISTENER debugger) argument 212 stream = antlr3CommonTokenStreamSourceNew(hint, source); 235 antlr3CommonTokenStreamSourceNew(ANTLR3_UINT32 hint, pANTLR3_TOKEN_SOURCE source) argument 247 stream->tstream->setTokenSource(stream->tstream, source); 960 /* Pick out the next token from the token source 1075 /// Return a string that represents the name assoicated with the input source 1085 // Slightly convoluted as we must trace back to the lexer's input source 1086 // via the token source [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
H A D | Check.cs | 39 public static void Source (object source) argument 41 if (source == null) 42 throw new ArgumentNullException ("source"); 53 public static void SourceAndFuncAndSelector ( object source, object func, object selector) argument 55 if (source == null) 56 throw new ArgumentNullException ("source"); 64 public static void SourceAndFunc (object source, object func) argument 66 if (source == null) 67 throw new ArgumentNullException ("source"); 72 public static void SourceAndSelector (object source, objec argument 80 SourceAndPredicate(object source, object predicate) argument 96 SourceAndKeySelector(object source, object keySelector) argument 104 SourceAndKeyElementSelectors(object source, object keySelector, object elementSelector) argument 113 SourceAndKeyResultSelectors(object source, object keySelector, object resultSelector) argument 123 SourceAndCollectionSelectorAndResultSelector(object source, object collectionSelector, object resultSelector) argument 133 SourceAndCollectionSelectors(object source, object collectionSelector, object selector) argument 157 GroupBySelectors(object source, object keySelector, object elementSelector, object resultSelector) argument [all...] |
H A D | EnumerableExtensions.cs | 52 public static double Average(IEnumerable<int> source) { argument 53 return Average<int, long, double>(source, delegate(long a, int b) { return a + b; }, delegate(long a, long b) { return (double)a / (double)b; }); 56 static TResult Average<TElement, TAggregate, TResult>(IEnumerable<TElement> source, 61 Check.Source(source); 65 foreach (var element in source) { 76 public static double Average(IEnumerable<double> source) { argument 77 return Average<double, double, double>(source, delegate(double a, double b) { return a + b; }, delegate(double a, long b) { return a / b; }); 84 public static bool Contains<TSource>(IEnumerable<TSource> source, TSource value) { argument 85 var collection = source as ICollection<TSource>; 89 return Contains<TSource>(source, valu 92 Contains(IEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer) argument 108 DefaultIfEmpty(IEnumerable<TSource> source) argument 112 DefaultIfEmpty(IEnumerable<TSource> source, TSource defaultValue) argument 118 CreateDefaultIfEmptyIterator(IEnumerable<TSource> source, TSource defaultValue) argument 133 Max(IEnumerable<int> source) argument 139 Iterate(IEnumerable<T> source, U initValue, Func<T, U, U> selector) argument 156 Min(IEnumerable<int> source) argument 166 Select(IEnumerable<TSource> source, Func<TSource, TResult> selector) argument 172 CreateSelectIterator(IEnumerable<TSource> source, Func<TSource, TResult> selector) argument 177 Select(IEnumerable<TSource> source, Func<TSource, int, TResult> selector) argument 183 CreateSelectIterator(IEnumerable<TSource> source, Func<TSource, int, TResult> selector) argument 195 SelectMany(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> selector) argument 202 SelectMany(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TResult>> selector) argument 208 CreateSelectManyIterator(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> selector) argument 216 CreateSelectManyIterator(IEnumerable<TSource> source, Func<TSource, int, IEnumerable<TResult>> selector) argument 229 Sum(IEnumerable<int> source) argument 235 Sum(IEnumerable<TA> source, Func<TR, TA, TR> selector) argument 248 Take(IEnumerable<TSource> source, int count) argument 254 CreateTakeIterator(IEnumerable<TSource> source, int count) argument 271 ToArray(IEnumerable<TSource> source) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
H A D | SubList.cs | 16 public SubList( IList source, int startIndex, int endIndex ) argument 18 if ( source == null ) 19 throw new ArgumentNullException( "source" ); 22 if ( startIndex > endIndex || endIndex >= source.Count ) 25 _source = source; 177 public SubList( IList<T> source, int startIndex, int endIndex ) argument 179 if ( source == null ) 180 throw new ArgumentNullException( "source" ); 183 if ( startIndex > endIndex || endIndex >= source.Count ) 186 _source = source; [all...] |
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/mock/ |
H A D | MockPropertyChangeEvent.java | 33 * @param source 35 public MockPropertyChangeEvent(Object source) { argument 36 super(source);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Streams.java | 36 public static byte[] streamToBytes(InputStream source) throws IOException { argument 40 while ((count = source.read(buffer)) != -1) {
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
H A D | ProcessorInclude.java | 198 Source source = null; 212 source = handler.peekSourceFromURIResolver(); 214 if (null != source && source instanceof DOMSource) 216 Node node = ((DOMSource)source).getNode(); 221 // from either the source.getSystemId(), if non-null 247 if(null == source) 252 source = new StreamSource(absURL); 256 source = processSource(handler, source); 338 processSource(StylesheetHandler handler, Source source) argument [all...] |
H A D | TransformerFactoryImpl.java | 234 * 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...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
H A D | TransformerIdentityImpl.java | 119 * @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...] |
H A D | TransformerImpl.java | 122 /** The base URL of the source tree. */ 135 * The content handler for the source input tree. 179 // * the main thread from the transform thread in {@link #transform(Source source)} 311 * method to obtain the root of the source tree to be transformed. 517 * Process the source tree to SAX parse events. 518 * @param source The input for the source tree. 522 public void transform(Source source) throws TransformerException argument 524 transform(source, true); 528 * Process the source tre 534 transform(Source source, boolean shouldRelease) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
H A D | DTMManager.java | 161 * 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
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | DTMDefaultBase.java | 159 * @param source The object that is used to specify the construction source. 167 public DTMDefaultBase(DTMManager mgr, Source source, int dtmIdentity, argument 171 this(mgr, source, dtmIdentity, whiteSpaceFilter, xstringfactory, 179 * @param source The object that is used to specify the construction source. 190 public DTMDefaultBase(DTMManager mgr, Source source, int dtmIdentity, argument 225 m_documentBaseURI = (null != source) ? source.getSystemId() : null;
|
H A D | DTMDefaultBaseIterators.java | 42 * @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 D | DTMDefaultBaseTraversers.java | 47 * @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 D | DTMDocumentImpl.java | 102 * be able to tell the source when to send us more data. 173 * know what source it's reading from, what thread that source will run in, 176 * @param source The IncrementalSAXSource that we want to recieve events from 179 public void setIncrementalSAXSource(IncrementalSAXSource source) argument 181 m_incrSAXSource=source; 184 source.setContentHandler(this); 185 source.setLexicalHandler(this); 189 //source.setErrorHandler(this); 190 //source [all...] |
H A D | DTMManagerDefault.java | 212 * 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 D | DTMNodeProxy.java | 1280 // source document versus from the DTD. Treat them all as having 1326 * NEEDSDOC @param source 1332 public Node adoptNode(Node source) throws DOMException argument
|
H A D | IncrementalSAXSource.java | 87 public void startParse(InputSource source) throws SAXException; argument
|
H A D | IncrementalSAXSource_Filter.java | 44 * 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);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
H A D | DOM2DTM.java | 110 * @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
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/ |
H A D | SAX2DTM.java | 57 * 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...] |