| /external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/ |
| import.rb | 18 parser grammar DIDRSlave; 41 parser = DIDRMaster::Parser.new( tokens ) 42 parser.s 43 parser.output.should == 'S.a' 48 parser grammar Slave2; 72 parser = Master2::Parser.new( tokens ) 73 parser.s 74 parser.output.should == 'S.a1000 [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
| DocumentBuilderFactoryTest.java | 322 // Expected, since Android doesn't have a validating parser. 377 DocumentBuilder parser = null; local 380 parser = dbf.newDocumentBuilder(); 382 parser.setErrorHandler(errorHandler); 384 Document document = parser.parse(getClass().getResourceAsStream( 395 parser.setErrorHandler(null); 408 parser = dbf.newDocumentBuilder(); 410 parser.setErrorHandler(errorHandler); 412 Document document = parser.parse(getClass().getResourceAsStream( 425 parser.setErrorHandler(null) 440 DocumentBuilder parser = null; local 543 DocumentBuilder parser = dbf.newDocumentBuilder(); local 566 DocumentBuilder parser = dbf.newDocumentBuilder(); local 592 DocumentBuilder parser = dbf.newDocumentBuilder(); local 611 DocumentBuilder parser = dbf.newDocumentBuilder(); local 635 DocumentBuilder parser = dbf.newDocumentBuilder(); local 654 DocumentBuilder parser = dbf.newDocumentBuilder(); local [all...] |
| /packages/apps/Exchange/src/com/android/exchange/adapter/ |
| ProvisionParser.java | 44 public class ProvisionParser extends Parser { 406 XmlPullParser parser = factory.newPullParser(); local 407 parser.setInput(new ByteArrayInputStream(doc.getBytes()), "UTF-8"); 408 int type = parser.getEventType(); 410 type = parser.next(); 412 String tagName = parser.getName(); 414 parseWapProvisioningDoc(parser, policy); 428 private static boolean parseSecurityPolicy(XmlPullParser parser) 432 int type = parser.nextTag(); 433 if (type == XmlPullParser.END_TAG && parser.getName().equals("characteristic")) [all...] |
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/tree_construction/ |
| location_info_mixin.js | 44 function patchOpenElementsStack(stack, parser) { 45 var treeAdapter = parser.treeAdapter; 48 setEndLocation(this.current, parser.currentToken, treeAdapter); 54 setEndLocation(this.items[i], parser.currentToken, treeAdapter); 60 setEndLocation(element, parser.currentToken, treeAdapter); 65 exports.assign = function (parser) { 66 //NOTE: obtain Parser proto this way to avoid module circular references 67 var parserProto = Object.getPrototypeOf(parser), 68 treeAdapter = parser.treeAdapter; 72 parser._reset = function (html, document, fragmentContext) [all...] |
| /frameworks/base/services/core/java/com/android/server/input/ |
| PersistentDataStore.java | 215 XmlPullParser parser; local 217 parser = Xml.newPullParser(); 218 parser.setInput(new BufferedInputStream(is), StandardCharsets.UTF_8.name()); 219 loadFromXml(parser); 254 private void loadFromXml(XmlPullParser parser) 256 XmlUtils.beginDocument(parser, "input-manager-state"); 257 final int outerDepth = parser.getDepth(); 258 while (XmlUtils.nextElementWithin(parser, outerDepth)) { 259 if (parser.getName().equals("input-devices")) { 260 loadInputDevicesFromXml(parser); [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_parser.py | 1 import parser namespace 11 # of the parser module. 20 st2 = parser.sequence2st(t) 21 except parser.ParserError, why: 28 self.roundtrip(parser.expr, s) 33 suite = parser.suite("from __future__ import unicode_literals; x = ''") 40 self.roundtrip(parser.suite, s) 264 st1 = parser.suite(code) 307 parser.sequence2st(tree) 308 except parser.ParserError [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_parser.py | 1 import parser namespace 11 # of the parser module. 20 st2 = parser.sequence2st(t) 21 except parser.ParserError, why: 28 self.roundtrip(parser.expr, s) 33 suite = parser.suite("from __future__ import unicode_literals; x = ''") 40 self.roundtrip(parser.suite, s) 264 st1 = parser.suite(code) 307 parser.sequence2st(tree) 308 except parser.ParserError [all...] |
| /external/lzma/CPP/7zip/UI/Common/ |
| ArchiveCommandLine.cpp | 619 const CParser &parser,
641 if (parser[NKey::kUpdate].ThereIs)
642 ParseUpdateCommandString(options, parser[NKey::kUpdate].PostStrings,
644 if (parser[NKey::kWorkingDir].ThereIs)
646 const UString &postString = parser[NKey::kWorkingDir].PostStrings[0];
652 options.SfxMode = parser[NKey::kSfx].ThereIs;
654 options.SfxModule = parser[NKey::kSfx].PostStrings[0];
656 if (parser[NKey::kVolume].ThereIs)
658 const UStringVector &sv = parser[NKey::kVolume].PostStrings;
669 static void SetMethodOptions(const CParser &parser, CObjectVector<CProperty> &properties) [all...] |
| /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
| FusedPrintersProvider.java | 565 XmlPullParser parser = Xml.newPullParser(); local 566 parser.setInput(in, StandardCharsets.UTF_8.name()); 567 parseState(parser, printers); 585 private void parseState(XmlPullParser parser, List<PrinterInfo> outPrinters) 587 parser.next(); 588 skipEmptyTextTags(parser); 589 expect(parser, XmlPullParser.START_TAG, TAG_PRINTERS); 590 parser.next(); 592 while (parsePrinter(parser, outPrinters)) { 597 parser.next() [all...] |
| /external/apache-http/src/org/apache/http/message/ |
| BasicHeaderValueParser.java | 90 * Parses elements with the given parser. 93 * @param parser the parser to use, or <code>null</code> for default 99 HeaderValueParser parser) 107 if (parser == null) 108 parser = BasicHeaderValueParser.DEFAULT; 113 return parser.parseElements(buffer, cursor); 125 throw new IllegalArgumentException("Parser cursor may not be null"); 141 * Parses an element with the given parser. 144 * @param parser the parser to use, or <code>null</code> for defaul [all...] |
| /external/chromium-trace/trace-viewer/tracing/ |
| run_d8_tests | 37 parser = argparse.ArgumentParser( variable 39 parser.add_argument( 41 parser.set_defaults(install_hooks=True) 42 args = parser.parse_args()
|
| /external/clang/include/clang/Driver/ |
| Makefile | 10 $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
|
| /external/compiler-rt/lib/ubsan/ |
| ubsan_flags.h | 36 void RegisterUbsanFlags(FlagParser *parser, Flags *f);
|
| /external/deqp/scripts/src_util/ |
| check_whitespace.py | 51 parser = ArgumentParser() variable 52 parser.add_argument("-e", "--only-errors", action="store_true", dest="onlyErrors", default=False, help="Print only on error") 53 parser.add_argument("-i", "--only-changed", action="store_true", dest="useGitIndex", default=False, help="Check only modified files. Uses git.") 55 args = parser.parse_args()
|
| /external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/ |
| ParserException.java | 3 package com.google.clearsilver.jsilver.syntax.parser;
|
| State.java | 3 package com.google.clearsilver.jsilver.syntax.parser;
|
| /external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
| Marshal.java | 33 * This methods reads an instance from the given parser. For implementation, 38 * @param parser 39 * the xml parser 44 public Object readInstance(XmlPullParser parser, String namespace, String name,
|
| /external/libxml2/doc/examples/ |
| parse1.c | 13 #include <libxml/parser.h>
|
| parse3.c | 13 #include <libxml/parser.h>
|
| /external/llvm/include/llvm/Support/ |
| PluginLoader.h | 31 static cl::opt<PluginLoader, false, cl::parser<std::string> >
|
| /external/nist-sip/java/gov/nist/javax/sip/parser/ |
| ParseExceptionListener.java | 29 package gov.nist.javax.sip.parser; 36 * parser and is called back from the parser handle parse errors. 42 * This gets called from the parser when a parse error is generated.
|
| /external/nist-sip/java/gov/nist/javax/sip/parser/extensions/ |
| ReferencesParser.java | 1 package gov.nist.javax.sip.parser.extensions; 8 import gov.nist.javax.sip.parser.Lexer; 9 import gov.nist.javax.sip.parser.ParametersParser; 10 import gov.nist.javax.sip.parser.TokenTypes;
|
| /external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
| PAssertedIdentityParser.java | 30 package gov.nist.javax.sip.parser.ims; 32 import gov.nist.javax.sip.parser.Lexer; 33 import gov.nist.javax.sip.parser.TokenTypes; 42 import gov.nist.javax.sip.parser.AddressParametersParser;
|
| PChargingVectorParser.java | 30 package gov.nist.javax.sip.parser.ims; 36 import gov.nist.javax.sip.parser.Lexer; 37 import gov.nist.javax.sip.parser.ParametersParser; 38 import gov.nist.javax.sip.parser.TokenTypes; 43 * P-Charging-Vector header parser.
|
| PMediaAuthorizationParser.java | 30 package gov.nist.javax.sip.parser.ims; 41 import gov.nist.javax.sip.parser.HeaderParser; 42 import gov.nist.javax.sip.parser.Lexer; 43 import gov.nist.javax.sip.parser.TokenTypes; 47 * P-Media-Authorization header parser.
|