/external/llvm/utils/ |
sort_includes.py | 79 parser = argparse.ArgumentParser(description=__doc__) 80 parser.add_argument('files', nargs='+', type=argparse.FileType('r+'), 82 args = parser.parse_args()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
Field.java | 57 private static final DefaultFieldParser parser = new DefaultFieldParser();
field in class:Field 106 return parser.parse(name, body, raw);
110 * Gets the default parser used to parse fields.
111 * @return the default field parser
114 return parser;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
expatbuilder.py | 1 """Facility to use the Expat parser to load a minidom instance 22 # parser. This also gives us the advantage that we don't need a 152 """Create a new parser object.""" 156 """Return the parser object, creating a new one if needed.""" 174 def install(self, parser): 175 """Install the callbacks needed to build the DOM into the parser.""" 177 parser.StartDoctypeDeclHandler = self.start_doctype_decl_handler 178 parser.StartElementHandler = self.first_element_handler 179 parser.EndElementHandler = self.end_element_handler 180 parser.ProcessingInstructionHandler = self.pi_handle [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
expatbuilder.py | 1 """Facility to use the Expat parser to load a minidom instance 22 # parser. This also gives us the advantage that we don't need a 152 """Create a new parser object.""" 156 """Return the parser object, creating a new one if needed.""" 174 def install(self, parser): 175 """Install the callbacks needed to build the DOM into the parser.""" 177 parser.StartDoctypeDeclHandler = self.start_doctype_decl_handler 178 parser.StartElementHandler = self.first_element_handler 179 parser.EndElementHandler = self.end_element_handler 180 parser.ProcessingInstructionHandler = self.pi_handle [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 100 final XmlPullParser parser = mContext.getResources().getXml(R.drawable.colordrawable_test); local 105 eventType = parser.next(); 113 final AttributeSet attrs = Xml.asAttributeSet(parser); 114 colorDrawable.inflate(mContext.getResources(), parser, attrs); local 118 fail("XML parser didn't find the start element of the specified xml file.");
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
LatinKeyboard.java | 42 XmlResourceParser parser) { 43 Key key = new LatinKey(res, parent, x, y, parser); 96 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) { 97 super(res, parent, x, y, parser);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
ITreeNodeStream.cs | 58 * for both parser and tree grammars. :) 75 * parser. Optional unless you use tree parser rule text attribute 116 #region REWRITING TREES (used by tree parser)
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
ITreeNodeStream.cs | 61 * for both parser and tree grammars. :) 79 * parser. Optional unless you use tree parser rule text attribute 123 #region REWRITING TREES (used by tree parser)
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/ |
ITreeNodeStream`1.cs | 60 * for both parser and tree grammars. :) 78 * parser. Optional unless you use tree parser rule text attribute 122 #region REWRITING TREES (used by tree parser)
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t047treeparser.py | 56 parser = self.getParser(tStream) 57 r = parser.program() 110 parser = self.getParser(tStream) 111 r = parser.variable()
|
/external/chromium/chrome/browser/net/ |
metadata_url_request.cc | 84 scoped_ptr<MetadataParser> parser(manager->GetParserForFile(path)); 85 if (parser != NULL) { 87 parser->Parse(); 88 MetadataPropertyIterator *iter = parser->GetPropertyIterator();
|
/external/chromium-trace/ |
update.py | 13 parser = optparse.OptionParser() variable 14 parser.add_option('--local', dest='local_dir', metavar='DIR', 16 parser.add_option('--no-min', dest='no_min', default=False, action='store_true', 18 options, args = parser.parse_args()
|
/external/chromium_org/chrome/installer/linux/sysroot_scripts/ |
install-debian.wheezy.sysroot.py | 112 parser = optparse.OptionParser('usage: %prog [OPTIONS]') variable 113 parser.add_option('', '--linux-only', dest='linux_only', action='store_true', 116 parser.add_option('', '--arch', dest='arch', 118 options, args = parser.parse_args()
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
update_sdktools.py | 110 parser = optparse.OptionParser() 111 parser.add_option('-r', '--revision', 113 options, args = parser.parse_args(args[1:]) 115 parser.error('Unexpected args: %s' % ', '.join(args))
|
/external/chromium_org/third_party/WebKit/Source/core/scripts/ |
in_generator.py | 111 parser = optparse.OptionParser() 112 parser.add_option("--defines") 113 parser.add_option("--output_dir", default=os.getcwd()) 114 (options, args) = parser.parse_args()
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketExtensionDispatcher.cpp | 110 WebSocketExtensionParser parser(headerValueData.data(), headerValueData.data() + headerValueData.length()); 111 while (!parser.finished()) { 114 if (!parser.parseExtension(extensionToken, extensionParameters)) { 137 return parser.parsedSuccessfully();
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
objfmt.h | 125 const char *parser); 183 * \param name symbol name (not including any parser-specific prefix) 184 * \param parser parser keyword 188 (yasm_object *object, const char *name, const char *parser); 210 #define yasm_objfmt_get_special_sym(object, name, parser) \ 212 (object, name, parser)
|
/external/chromium_org/tools/android/ |
find_unused_resources.py | 83 parser = optparse.OptionParser(usage=usage) 84 parser.add_option('-v', help='Show verbose output', action='store_true') 85 options, args = parser.parse_args(args=args) 87 parser.error('must provide APK_PATH and SOURCE_PATH arguments')
|
/external/chromium_org/tools/usb_ids/ |
usb_ids.py | 82 parser = optparse.OptionParser( variable 84 parser.add_option("-i", "--input", help="Path to usb.ids") 85 parser.add_option("-o", "--output", help="Output file path") 87 (opts, args) = parser.parse_args()
|
/external/clang/tools/clang-format/ |
clang-format-diff.py | 84 parser = argparse.ArgumentParser(description= 86 parser.add_argument('-p', default=0, 88 parser.add_argument('-style', 90 args = parser.parse_args()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/ |
TestVersionTracker.java | 28 private SAXParser parser; field in class:TestVersionTracker 40 // Create a Xerces SAX Parser 41 parser = new SAXParser(); 44 parser.setContentHandler (this); 61 parser.parse(this.xmlFile);
|
/external/emma/core/java12/com/vladium/emma/report/ |
reportCommand.java | 52 final IOptsParser parser = getOptParser (loader); local 53 final IOptsParser.IOpts parsedopts = parser.parse (m_args); 61 usageexit (parser, usageRequestLevel, null); 71 usageexit (parser, IOptsParser.SHORT_USAGE, null);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
SyntaxTreeBuilder.java | 26 import com.google.clearsilver.jsilver.syntax.parser.Parser; 27 import com.google.clearsilver.jsilver.syntax.parser.ParserException; 96 // AutoEscaper contains per-AST context like HTML parser object. 111 Parser parser = new Parser(lexer); local 112 Start root = parser.parse();
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
Makefile | 25 $(PROJ_SRC_DIR)/parser.ml \
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
Makefile | 25 $(PROJ_SRC_DIR)/parser.ml \
|