Home
last modified time | relevance | path

Searched refs:vars (Results 1 – 25 of 44) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
Dexample.py42 found, vars = match(DOCSTRING_STMT_PATTERN[1], tree[1])
44 found, vars = match(DOCSTRING_STMT_PATTERN, tree[3])
46 self._docstring = eval(vars['docstring'])
49 found, vars = match(COMPOUND_STMT_PATTERN, node)
51 cstmt = vars['compound']
111 found, vars = match(DOCSTRING_STMT_PATTERN, tree[1])
113 self._docstring = vars["docstring"]
116 def match(pattern, data, vars=None): argument
139 if vars is None:
140 vars = {}
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsysconfig.py152 def _expand_vars(scheme, vars): argument
154 if vars is None:
155 vars = {}
156 _extend_dict(vars, get_config_vars())
161 res[key] = os.path.normpath(_subst_vars(value, vars))
190 def _parse_makefile(filename, vars=None): argument
204 if vars is None:
205 vars = {}
272 vars.update(done)
273 return vars
[all …]
Dcollections.py185 inst_dict = vars(self).copy()
186 for k in vars(OrderedDict()):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsysconfig.py148 def _expand_vars(scheme, vars): argument
150 if vars is None:
151 vars = {}
152 _extend_dict(vars, get_config_vars())
157 res[key] = os.path.normpath(_subst_vars(value, vars))
185 def _parse_makefile(filename, vars=None): argument
199 if vars is None:
200 vars = {}
267 vars.update(done)
268 return vars
[all …]
Dcontextlib.py106 vars = []
112 vars.append(enter())
114 yield vars
Dcgitb.py83 vars, lasttoken, parent, prefix, value = [], None, None, '', __UNDEF__
90 vars.append((prefix + token, prefix, value))
93 vars.append((token, where, value))
100 return vars
137 vars = scanvars(reader, frame, locals)
154 for name, where, value in vars:
221 vars = scanvars(reader, frame, locals)
232 for name, where, value in vars:
DConfigParser.py582 def get(self, section, option, raw=False, vars=None): argument
602 if vars:
603 for key, value in vars.items():
617 def items(self, section, raw=False, vars=None): argument
636 if vars:
637 for key, value in vars.items():
649 def _interpolate(self, section, option, rawval, vars): argument
658 value = value % vars
680 def _interpolate(self, section, option, rawval, vars): argument
683 self._interpolate_some(option, L, rawval, section, vars, 1)
Dimputil.py33 def install(self, namespace=vars(__builtin__)):
37 namespace = vars(namespace)
Dcollections.py183 inst_dict = vars(self).copy()
184 for k in vars(OrderedDict()):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dwinmakemakefile.py45 def makemakefile(outfp, vars, files, target): argument
49 realwork(vars, files, target)
53 def realwork(vars, moddefns, target): argument
58 print 'pythonhome = %s' % vars['prefix']
86 if subsystem_details[vars['subsystem']][2]:
125 for addn in vars['addn_link']: print '"%s"' % (addn),
Dcheckextensions.py20 (mods, vars), liba = edict[e]
32 files = files + select(e, mods, vars,
35 files = files + select(e, mods, vars, mod, 0)
39 def select(e, mods, vars, mod, skipofiles): argument
45 w = expandvars(w, vars)
72 def expandvars(str, vars): argument
87 if vars.has_key(var):
88 str = str[:k] + vars[var] + str[i:]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dbases.py28 def dump_methoddef(self, f, functions, vars): argument
29 def p(templ, vars=vars): # helper function to generate output argument
30 print >> f, templ % vars
37 p(template.methoddef_def_doc, func.vars)
39 p(template.methoddef_def, func.vars)
79 def p(templ, vars=self.__vars): # helper function to generate output argument
80 print >> f, templ % vars
113 def p(templ, vars=self.__vars): argument
114 print >> f, templ % vars
187 def p(templ, vars=self.__vars): argument
[all …]
Dfunction.py135 def p(templ, vars=None): # helper function to generate output argument
136 if vars is None:
137 vars = self.vars
138 print >> f, templ % vars
143 d = {"name" : self.vars["CName"],
160 v = self.vars = {}
Dmember.py50 v = self.vars = {}
71 print >> f, template.memberdef_def % self.vars
73 print >> f, template.memberdef_def_doc % self.vars
/device/google/contexthub/firmware/build/
Dconfig.mk171 define nano-user-vars-reset-final
176 define nano-user-vars-load-all
180 define nano-user-vars-save-all
196 $(call nano-user-vars-save-all) \
199 $(call nano-user-vars-load-all,$(2)) \
207 $(call nano-user-vars-reset-final) \
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.cpp98 VarsArray & evars = e->vars(); in genProcTypes()
114 VarsArray & evars = e->vars(); in genProcTypes()
273 for (size_t j=0; j<e->vars().size(); j++) { in genEntryPoints()
274 if (e->vars()[j].paramCheckExpression() != "") in genEntryPoints()
275 fprintf(fp, "\t%s\n", e->vars()[j].paramCheckExpression().c_str()); in genEntryPoints()
282 size_t nvars = e->vars().size(); in genEntryPoints()
285 if (!e->vars()[j].isVoid()) { in genEntryPoints()
288 e->vars()[j].name().c_str()); in genEntryPoints()
583 VarsArray & evars = e->vars(); in genEncoderImpl()
1035 for (size_t i = 0; i < e->vars().size(); i++) { in genDecoderImpl()
[all …]
DEntryPoint.h40 VarsArray & vars() { return m_vars; } in vars() function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dredemo.py74 self.vars = []
92 self.vars.append(var)
96 for var in self.vars:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dextension.py146 vars = parse_makefile(filename)
168 line = expand_makefile_vars(line, vars)
Dsysconfig.py331 def expand_makefile_vars(s, vars): argument
350 s = s[0:beg] + vars.get(m.group(1)) + s[end:]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_optparse.py64 optdict = vars(options)
409 self.assertEqual(vars(values), {})
416 self.assertEqual(vars(values), dict)
715 self.assertEqual(vars(defaults), vars(options))
1104 self.assertEqual(vars(parser_.values), {'filename': None})
1112 self.assertEqual(vars(parser_.values), {'filename': None, 'x': 42})
Dtest_with.py66 vars = []
69 vars.append(mgr.__enter__())
74 return vars
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Dast.txt23 With: expr, vars&, body
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dast.py1379 def __init__(self, expr, vars, body, lineno=None): argument
1381 self.vars = vars
1388 children.append(self.vars)
1395 if self.vars is not None:
1396 nodelist.append(self.vars)
1401 return "With(%s, %s, %s)" % (repr(self.expr), repr(self.vars), repr(self.body))
/device/amlogic/yukawa/bt-wifi-firmware/
Dnvram.txt199 # --- number of rows in the array vars below ---

12