/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_filter.py | 58 new = ListComp(results.get("fp").clone(), 59 results.get("fp").clone(), 60 results.get("it").clone(), 61 results.get("xp").clone()) 66 results["seq"].clone(), 72 new = node.clone()
|
D | fix_intern.py | 30 obj = results["obj"].clone() 32 newarglist = obj.clone() 34 newarglist = pytree.Node(syms.arglist, [obj.clone()]) 37 after = [n.clone() for n in after] 41 [results["lpar"].clone(), 43 results["rpar"].clone()])] + after)
|
D | fix_map.py | 65 new = node.clone() 69 new = ListComp(results["xp"].clone(), 70 results["fp"].clone(), 71 results["it"].clone()) 74 new = results["arg"].clone() 87 new = node.clone()
|
D | fix_execfile.py | 32 execfile_paren = node.children[-1].children[-1].clone() 34 open_args = ArgList([filename.clone()], rparen=execfile_paren) 41 filename_arg = filename.clone() 49 args.extend([Comma(), globals.clone()]) 51 args.extend([Comma(), locals.clone()])
|
D | fix_raise.py | 41 exc = results["exc"].clone() 57 exc = exc.children[1].children[0].clone() 66 val = results["val"].clone() 68 args = [c.clone() for c in val.children[1:-1]] 74 tb = results["tb"].clone()
|
D | fix_throw.py | 29 exc = results["exc"].clone() 39 val = val.clone() 41 args = [c.clone() for c in val.children[1:-1]] 49 tb = results["tb"].clone()
|
D | fix_except.py | 50 tail = [n.clone() for n in results["tail"]] 52 try_cleanup = [ch.clone() for ch in results["cleanup"]] 61 target = N.clone() 64 new_N = new_N.clone() 92 children = [c.clone() for c in node.children[:3]] + try_cleanup + tail
|
D | fix_tuple_params.py | 69 arg = tuple_arg.clone() 71 stmt = Assign(arg, n.clone()) 76 [stmt, end.clone()])) 117 inner = inner.clone() 127 args.replace(new_param.clone()) 130 subscripts = [c.clone() for c in to_index[n.value]] 132 [new_param.clone()] + subscripts)
|
D | fix_exec.py | 33 args = [a.clone()] 36 args.extend([Comma(), b.clone()]) 38 args.extend([Comma(), c.clone()])
|
D | fix_apply.py | 38 func = func.clone() 45 args = args.clone() 48 kwds = kwds.clone()
|
D | fix_unicode.py | 18 new = node.clone() 23 new = node.clone()
|
D | fix_has_key.py | 83 before = [n.clone() for n in results["before"]] 84 arg = results["arg"].clone() 87 after = [n.clone() for n in after]
|
D | fix_dict.py | 66 head = [n.clone() for n in head] 67 tail = [n.clone() for n in tail] 73 results["parens"].clone()]
|
D | fix_idioms.py | 101 x = results["x"].clone() # The thing inside of type() 102 T = results["T"].clone() # The type being compared against 125 new = simple_expr.clone()
|
D | fix_set_literal.py | 31 fake = pytree.Node(syms.listmaker, [single.clone()]) 39 literal.extend(n.clone() for n in items.children)
|
D | fix_print.py | 60 file = args[1].clone() 63 l_args = [arg.clone() for arg in args]
|
D | fix_operator.py | 53 args = [obj.clone(), String(u", "), String(u"'__call__'")] 84 args = [obj.clone(), String(u", " + u".".join([module, abc]))]
|
D | fix_metaclass.py | 65 suite.append_child(move_node.clone()) 87 new_expr.append_child(move_node.clone()) 174 parent = node.children[3].clone()
|
D | fix_xreadlines.py | 25 node.replace([x.clone() for x in results["call"]])
|
D | fix_repr.py | 19 expr = results["expr"].clone()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_minidom.py | 561 clone = root.cloneNode(deep) 563 root, clone, "testCloneElement" + (deep and "Deep" or "Shallow")) 568 return dom, clone 571 dom, clone = self._setupCloneElement(0) 572 self.confirm(len(clone.childNodes) == 0 573 and clone.childNodes.length == 0 574 and clone.parentNode is None 575 and clone.toxml() == '<doc attr="value"/>' 580 dom, clone = self._setupCloneElement(1) 581 self.confirm(len(clone.childNodes) == 1 [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
D | minidom.py | 1254 clone = DocumentType(None) 1255 clone.name = self.name 1256 clone.nodeName = self.name 1259 clone.entities._seq = [] 1260 clone.notations._seq = [] 1263 clone.notations._seq.append(notation) 1271 clone.entities._seq.append(entity) 1273 self._call_user_data_handler(operation, self, clone) 1274 return clone 1577 clone = self.implementation.createDocument(None, None, None) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
D | minidom.py | 1258 clone = DocumentType(None) 1259 clone.name = self.name 1260 clone.nodeName = self.name 1263 clone.entities._seq = [] 1264 clone.notations._seq = [] 1267 clone.notations._seq.append(notation) 1275 clone.entities._seq.append(entity) 1277 self._call_user_data_handler(operation, self, clone) 1278 return clone 1581 clone = self.implementation.createDocument(None, None, None) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Scripts/ |
D | ConvertMasmToNasm.py | 46 def __init__(self, clone=None): argument 47 if clone is None: 50 (self.Opt, self.Args) = (clone.Opt, clone.Args) 63 if clone is None: 67 self.rootdir = clone.rootdir 68 self.gitdir = clone.gitdir 69 self.gitemail = clone.gitemail 208 def __init__(self, src, dst, clone): argument 209 CommonUtils.__init__(self, clone) 732 def __init__(self, inf, clone): argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | generator.py | 85 def clone(self, fp): member in Generator 202 g = self.clone(s) 253 g = self.clone(s) 269 g = self.clone(s)
|