Searched refs:parse (Results 1 - 25 of 714) sorted by relevance

1234567891011>>

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/etree/
H A DElementInclude.py69 # @param parse Parse mode. Either "xml" or "text".
71 # @return The expanded resource. If the parse mode is "xml", this
72 # is an ElementTree instance. If the parse mode is "text", this
77 def default_loader(href, parse, encoding=None):
79 if parse == "xml":
80 data = ElementTree.parse(file).getroot()
109 parse = e.get("parse", "xml")
110 if parse == "xml":
111 node = loader(href, parse)
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/etree/
H A DElementInclude.py69 # @param parse Parse mode. Either "xml" or "text".
71 # @return The expanded resource. If the parse mode is "xml", this
72 # is an ElementTree instance. If the parse mode is "text", this
77 def default_loader(href, parse, encoding=None):
79 if parse == "xml":
80 data = ElementTree.parse(file).getroot()
109 parse = e.get("parse", "xml")
110 if parse == "xml":
111 node = loader(href, parse)
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/compiler/
H A D__init__.py6 parse(buf, mode="exec") -> AST
11 The same as parse(open(path))
29 from compiler.transformer import parse, parseFile namespace
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/compiler/
H A D__init__.py6 parse(buf, mode="exec") -> AST
11 The same as parse(open(path))
29 from compiler.transformer import parse, parseFile namespace
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
H A Dparser.py57 def parse(self, fp, headersonly=False):
83 return self.parse(StringIO(text), headersonly=headersonly)
89 def parse(self, fp, headersonly=True):
90 return Parser.parse(self, fp, True)
56 def parse(self, fp, headersonly=False): member in class:Parser
87 def parse(self, fp, headersonly=True): member in class:HeaderParser
H A D__init__.py62 """Read a file and parse its contents into a Message object model.
67 return Parser(*args, **kws).parse(fp)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
H A Dparser.py57 def parse(self, fp, headersonly=False):
83 return self.parse(StringIO(text), headersonly=headersonly)
89 def parse(self, fp, headersonly=True):
90 return Parser.parse(self, fp, True)
56 def parse(self, fp, headersonly=False): member in class:Parser
87 def parse(self, fp, headersonly=True): member in class:HeaderParser
H A D__init__.py62 """Read a file and parse its contents into a Message object model.
67 return Parser(*args, **kws).parse(fp)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/sax/
H A D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()): function
33 parser.parse(source)
49 parser.parse(inpsrc)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/sax/
H A D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()): function
33 parser.parse(source)
49 parser.parse(inpsrc)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
H A Dversion.py15 * the 'parse' method takes a string and parses it to some internal
17 'parse' raises a ValueError exception
19 if supplied, is passed to 'parse'
20 * __str__ reconstructs the string that was passed to 'parse' (or
40 self.parse(vstring)
49 # __init__ (string) - create and take same action as 'parse'
51 # parse (string) - convert a string representation to whatever
55 # (if not identical to) the string supplied to parse
104 def parse (self, vstring): member in class:StrictVersion
265 self.parse(vstrin
268 def parse (self, vstring): member in class:LooseVersion
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
H A Dversion.py15 * the 'parse' method takes a string and parses it to some internal
17 'parse' raises a ValueError exception
19 if supplied, is passed to 'parse'
20 * __str__ reconstructs the string that was passed to 'parse' (or
40 self.parse(vstring)
49 # __init__ (string) - create and take same action as 'parse'
51 # parse (string) - convert a string representation to whatever
55 # (if not identical to) the string supplied to parse
104 def parse (self, vstring): member in class:StrictVersion
265 self.parse(vstrin
268 def parse (self, vstring): member in class:LooseVersion
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_transformer.py19 a = transformer.parse(s)
H A Dtest_ast.py224 slc = ast.parse("x[::]").body[0].value.slice
231 im = ast.parse("from . import y").body[0]
235 mod = ast.parse("from __future__ import division")
389 a = ast.parse('foo(1 + 1)')
394 node = ast.parse('spam(eggs, "and cheese")')
413 src = ast.parse('1 + 1', mode='eval')
422 src = ast.parse('write("spam")')
438 src = ast.parse('1 + 1', mode='eval')
446 src = ast.parse('1 + 1', mode='eval')
455 node = ast.parse('fo
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_transformer.py19 a = transformer.parse(s)
H A Dtest_ast.py224 slc = ast.parse("x[::]").body[0].value.slice
231 im = ast.parse("from . import y").body[0]
235 mod = ast.parse("from __future__ import division")
389 a = ast.parse('foo(1 + 1)')
394 node = ast.parse('spam(eggs, "and cheese")')
413 src = ast.parse('1 + 1', mode='eval')
422 src = ast.parse('write("spam")')
438 src = ast.parse('1 + 1', mode='eval')
446 src = ast.parse('1 + 1', mode='eval')
455 node = ast.parse('fo
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A Dtest_util.py15 def parse(code, strip_levels=0): function
33 return fixer_util.is_tuple(parse(string, strip_levels=2))
49 return fixer_util.is_list(parse(string, strip_levels=2))
64 call = parse("foo()", strip_levels=2)
117 node = parse(string)
152 return fixer_util.find_binding(name, parse(string), package)
555 node = parse('"""foo"""\nbar()')
560 node = parse('"""foo"""\nimport bar\nbar()')
565 node = parse('bar()')
570 node = parse('ba
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A Dtest_util.py15 def parse(code, strip_levels=0): function
33 return fixer_util.is_tuple(parse(string, strip_levels=2))
49 return fixer_util.is_list(parse(string, strip_levels=2))
64 call = parse("foo()", strip_levels=2)
117 node = parse(string)
152 return fixer_util.find_binding(name, parse(string), package)
555 node = parse('"""foo"""\nbar()')
560 node = parse('"""foo"""\nimport bar\nbar()')
565 node = parse('bar()')
570 node = parse('ba
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
H A Ddriver.py10 This provides a high-level interface to parse a file into a syntax tree.
26 from . import grammar, parse, token, tokenize, pgen namespace
41 p = parse.Parser(self.grammar, self.convert)
82 raise parse.ParseError("incomplete input",
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
H A Ddriver.py10 This provides a high-level interface to parse a file into a syntax tree.
26 from . import grammar, parse, token, tokenize, pgen namespace
41 p = parse.Parser(self.grammar, self.convert)
82 raise parse.ParseError("incomplete input",
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
H A Dcfmfile.py79 self.parse(data)
83 def parse(self, data): member in class:CfrgResource
109 self.parse(data)
111 def parse(self, data): member in class:FragmentDescriptor
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
H A Dclassperms.py114 result = yacc.parse(txt)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/sepolgen/
H A Dclassperms.py114 result = yacc.parse(txt)
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/mingw/include/
H A Dsql_1.h60 int parse();
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
H A Dsql_1.h60 int parse();

Completed in 1542 milliseconds

1234567891011>>