Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 116) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementInclude.py77 def default_loader(href, parse, encoding=None): argument
79 if parse == "xml":
80 data = ElementTree.parse(file).getroot()
108 parse = e.get("parse", "xml")
109 if parse == "xml":
110 node = loader(href, parse)
113 "cannot load %r as %r" % (href, parse)
119 elif parse == "text":
120 text = loader(href, parse, e.get("encoding"))
123 "cannot load %r as %r" % (href, parse)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementInclude.py77 def default_loader(href, parse, encoding=None): argument
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)
114 "cannot load %r as %r" % (href, parse)
120 elif parse == "text":
121 text = loader(href, parse, e.get("encoding"))
124 "cannot load %r as %r" % (href, parse)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dparser.py56 def parse(self, fp, headersonly=False): member in Parser
82 return self.parse(StringIO(text), headersonly=headersonly)
87 def parse(self, fp, headersonly=True): member in HeaderParser
88 return Parser.parse(self, fp, True)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_ast.py154 slc = ast.parse("x[::]").body[0].value.slice
161 im = ast.parse("from . import y").body[0]
211 a = ast.parse('foo(1 + 1)')
216 node = ast.parse('spam(eggs, "and cheese")')
235 src = ast.parse('1 + 1', mode='eval')
244 src = ast.parse('write("spam")')
260 src = ast.parse('1 + 1', mode='eval')
268 src = ast.parse('1 + 1', mode='eval')
277 node = ast.parse('foo()', mode='eval')
284 node = ast.parse("spam(23, 42, eggs='leek')", mode='eval')
[all …]
Dtest_sax.py312 parser.parse(test_xml)
383 parser.parse(open(TEST_XMLFILE))
512 parser.parse(TEST_XMLFILE)
522 parser.parse(InputSource(TEST_XMLFILE))
534 parser.parse(inpsrc)
594 parser.parse(TEST_XMLFILE)
615 parser.parse(source)
623 self.assertRaises(SAXParseException, parser.parse, StringIO("<foo>"))
741 self.assertRaises(SAXParseException, parser.parse, sio)
Dtest_transformer.py19 a = transformer.parse(s)
Dtest_compiler.py75 self.assertRaises(SyntaxError, compiler.parse, "foo(a=1, b)")
76 self.assertRaises(SyntaxError, compiler.parse, "foo(1, *args, 3)")
88 self.assertRaises(SyntaxError, compiler.parse, "def foo(a=1, b): pass")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
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('bar()')
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dversion.py40 self.parse(vstring)
104 def parse (self, vstring): member in StrictVersion
265 self.parse(vstring)
268 def parse (self, vstring): member in LooseVersion
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/
D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()): function
33 parser.parse(source)
49 parser.parse(inpsrc)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/
D__init__.py29 def parse(source, handler, errorHandler=ErrorHandler()): function
33 parser.parse(source)
49 parser.parse(inpsrc)
Dexpatreader.py100 def parse(self, source): member in ExpatParser
107 xmlreader.IncrementalParser.parse(self, source)
388 xmlreader.IncrementalParser.parse(self, source)
414 p.parse("http://www.ibiblio.org/xml/examples/shakespeare/hamlet.xml")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
Dmakelocalealias.py14 def parse(filename): function
68 data.update(parse(LOCALE_ALIAS))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dparseentities.py20 def parse(text,pos=0,endpos=None): function
63 defs = parse(text)
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/
DDxeHttpLib.uni4 // This library instance provides the helper routines to parse the HTTP message byte stream.
21 … #language en-US "This library instance provides the helper routines to parse the HTTP message b…
/device/google/wahoo/lisa/targetdev/
Dpowerhint.py21 tree = ET.parse(tmp.name)
74 tree = ET.parse(tmp.name)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Ddriver.py26 from . import grammar, parse, token, tokenize, pgen
41 p = parse.Parser(self.grammar, self.convert)
82 raise parse.ParseError("incomplete input",
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
D__init__.py29 from compiler.transformer import parse, parseFile
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Ddemo.py32 ast = compiler.parse(buf)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/world/
Dworld141 def parse(file, normalize):
246 parse(parsefile, normalize)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/xml/
Delem_count.py42 parser.parse(sys.argv[1])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/
DREADME9 cgi2.py -- A Python script showing how to parse a form
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dstructparse.py16 def parse(s): function
Dstruct.py22 def parse(s): function
/device/linaro/hikey/uefi-tools/
Duefi-build.sh308 if test -d .git && head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
309 FIRMWARE_VER=`git rev-parse --short HEAD`

12345