/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
D | test_pytree.py | 37 l = pytree.Leaf(100, "foo") 57 l1 = pytree.Leaf(100, "foo") 62 l1 = pytree.Leaf(100, "foo") 66 l1 = pytree.Leaf(100, "foo") 68 l2 = pytree.Leaf(100, "foo", context=(" ", (10, 1))) 74 l1 = pytree.Leaf(2, 5) 79 l1 = pytree.Leaf(100, "foo") 80 l2 = pytree.Leaf(100, "foo", context=(" ", (1, 0))) 82 l3 = pytree.Leaf(101, "foo") 83 l4 = pytree.Leaf(100, "bar") [all …]
|
D | test_util.py | 10 from lib2to3.pytree import Node, Leaf 94 [Leaf(token.NUMBER, 1), Leaf(token.NUMBER, 2), 95 Leaf(token.NUMBER, 3)], 96 [Leaf(token.NUMBER, 1), Leaf(token.NUMBER, 3), 97 Leaf(token.NUMBER, 2), Leaf(token.NUMBER, 4)], 98 [Leaf(token.STRING, "b"), Leaf(token.STRING, "j", prefix=" ")]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
D | fixer_util.py | 8 from .pytree import Leaf, Node 19 [keyword, Leaf(token.EQUAL, u"="), value]) 22 return Leaf(token.LPAR, u"(") 25 return Leaf(token.RPAR, u")") 36 target + [Leaf(token.EQUAL, u"=", prefix=u" ")] + source) 40 return Leaf(token.NAME, name, prefix=prefix) 48 return Leaf(token.COMMA, u",") 52 return Leaf(token.DOT, u".") 70 return Leaf(token.NEWLINE, u"\n") 74 return Leaf(token.NEWLINE, u"") [all …]
|
D | pytree.py | 158 while not isinstance(node, Leaf): 351 class Leaf(Base): class 402 return Leaf(self.type, self.value, 445 return Leaf(type, value, context=context) 558 if not isinstance(node, Leaf):
|
D | btm_utils.py | 149 if (isinstance(node.children[0], pytree.Leaf) and 153 if ((isinstance(node.children[0], pytree.Leaf) and
|
D | btm_matcher.py | 107 if isinstance(child, pytree.Leaf) and child.value == u";":
|
D | patcomp.py | 201 return pytree.Leaf(type, value, context=context)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_metaclass.py | 23 from ..fixer_util import Name, syms, Node, Leaf 39 if isinstance(left_side, Leaf) and \ 115 if isinstance(left_node, Leaf) and \ 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 186 node.insert_child(2, Leaf(token.RPAR, u')')) 188 node.insert_child(2, Leaf(token.LPAR, u'(')) 198 arglist.append_child(Leaf(token.COMMA, u',')) 217 pass_leaf = Leaf(text_type, u'pass') 220 node.append_child(Leaf(token.NEWLINE, u'\n')) 226 pass_leaf = Leaf(text_type, u'pass') [all …]
|
D | fix_ws_comma.py | 20 COMMA = pytree.Leaf(token.COMMA, u",") 21 COLON = pytree.Leaf(token.COLON, u":")
|
D | fix_set_literal.py | 38 literal = [pytree.Leaf(token.LBRACE, u"{")] 40 literal.append(pytree.Leaf(token.RBRACE, u"}"))
|
D | fix_apply.py | 50 l_newargs = [pytree.Leaf(token.STAR, u"*"), args] 53 pytree.Leaf(token.DOUBLESTAR, u"**"),
|
D | fix_print.py | 58 if args and args[0] == pytree.Leaf(token.RIGHTSHIFT, u">>"): 82 pytree.Leaf(token.EQUAL, u"="),
|
D | fix_ne.py | 22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
|
D | fix_tuple_params.py | 62 end = pytree.Leaf(token.INDENT, u"")
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/Observable/ |
D | Observable.c | 190 Head->Leaf = DeleteAllSubscribers(Head->Leaf); in DeleteAllObservables() 223 Head->Leaf = DeleteAllSubscribers(Head->Leaf); in FindAndDeleteObservable() 298 Head->Leaf = _FindAndDeleteSubscriber(Head->Leaf, CallbackInterface); in FindAndDeleteSubscriber() 379 if (TempTree->Leaf != NULL) { in Subscribe() 384 TempLeaf = TempTree->Leaf; in Subscribe() 414 TempTree->Leaf = NewLeaf; in Subscribe() 484 for (TempLeaf = TempTree->Leaf; TempLeaf != NULL; TempLeaf = TempLeaf->Next) { in Publish() 553 NewTree->Leaf = NULL; in AddObservable() 567 NewTree->Leaf = NULL; in AddObservable()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Protocol/ |
D | Observable.h | 187 OBS_LEAF* Leaf;
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | OhciUrb.c | 217 static UINT32 Leaf[32] = {0, 16, 8, 24, 4, 20, 12, 28, 2, 18, 10, 26, 6, 22, 14, 30, 1, 17, in OhciInitializeInterruptList() local 236 Ohc->IntervalList[0][Index] = (ED_DESCRIPTOR *)(UINTN)HccaInterruptTable[Leaf[Index]]; in OhciInitializeInterruptList() 857 static UINT32 Leaf[] = {32,16,8,4,2,1}; in OhciFreeFixedIntMemory() local 862 for (Index = 0; Index < Leaf[Level]; Index++) { in OhciFreeFixedIntMemory()
|