Home
last modified time | relevance | path

Searched refs:Leaf (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
Dtest_pytree.py37 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 …]
Dtest_util.py10 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/
Dfixer_util.py8 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 …]
Dpytree.py158 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):
Dbtm_utils.py149 if (isinstance(node.children[0], pytree.Leaf) and
153 if ((isinstance(node.children[0], pytree.Leaf) and
Dbtm_matcher.py107 if isinstance(child, pytree.Leaf) and child.value == u";":
Dpatcomp.py201 return pytree.Leaf(type, value, context=context)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_metaclass.py23 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 …]
Dfix_ws_comma.py20 COMMA = pytree.Leaf(token.COMMA, u",")
21 COLON = pytree.Leaf(token.COLON, u":")
Dfix_set_literal.py38 literal = [pytree.Leaf(token.LBRACE, u"{")]
40 literal.append(pytree.Leaf(token.RBRACE, u"}"))
Dfix_apply.py50 l_newargs = [pytree.Leaf(token.STAR, u"*"), args]
53 pytree.Leaf(token.DOUBLESTAR, u"**"),
Dfix_print.py58 if args and args[0] == pytree.Leaf(token.RIGHTSHIFT, u">>"):
82 pytree.Leaf(token.EQUAL, u"="),
Dfix_ne.py22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
Dfix_tuple_params.py62 end = pytree.Leaf(token.INDENT, u"")
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/Observable/
DObservable.c190 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/
DObservable.h187 OBS_LEAF* Leaf;
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
DOhciUrb.c217 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()