Home
last modified time | relevance | path

Searched refs:local_vars (Results 1 - 10 of 10) sorted by relevance

/third_party/mbedtls/tests/scripts/
H A Dgenerate_test_code.py318 def gen_function_wrapper(name, local_vars, args_dispatch):
324 :param local_vars: Local variables declaration code
339 locals=local_vars)
468 def parse_function_argument(arg, arg_idx, args, local_vars, args_dispatch):
475 :param local_vars: accumulator of internal variable declarations.
503 local_vars.append(' data_t data%d = {%s, %s};\n' %
530 local_vars = []
535 args, local_vars, args_dispatch)
541 return args, ''.join(local_vars), args_dispatch
544 def generate_function_code(name, code, local_vars, args_dispatc
[all...]
/third_party/python/Lib/distutils/
H A Dutil.py188 def subst_vars (s, local_vars):
191 variable is substituted by the value found in the 'local_vars'
192 dictionary, or in 'os.environ' if it's not in 'local_vars'.
195 variables not found in either 'local_vars' or 'os.environ'.
198 def _subst (match, local_vars=local_vars):
200 if var_name in local_vars:
201 return str(local_vars[var_name])
/third_party/ninja/misc/
H A Dninja_syntax_test.py183 local_vars = {'x': 'b'}
185 self.assertEqual('b', ninja_syntax.expand('$x', vars, local_vars))
H A Dninja_syntax.py220 def expand(string: str, vars: Dict[str, str], local_vars: Dict[str, str] = {}) -> str:
230 return local_vars.get(var, vars.get(var, ''))
/third_party/ninja/
H A Dconfigure.py159 local_vars = {
164 local_vars[key] = ' '.join(ninja_syntax.as_list(val))
166 self._run_command(self._expand(cmd, local_vars))
178 def _expand(self, str, local_vars={}):
180 return ninja_syntax.expand(str, self.vars, local_vars)
/third_party/python/Lib/
H A Dsysconfig.py244 def _subst_vars(s, local_vars):
246 return s.format(**local_vars)
H A Ddataclasses.py430 local_vars = ', '.join(locals.keys())
431 txt = f"def __create_fn__({local_vars}):\n{txt}\n return {name}"
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidation_state.h462 std::unordered_set<uint32_t>& local_vars() { return local_vars_; } in local_vars() function
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidation_state.h462 std::unordered_set<uint32_t>& local_vars() { return local_vars_; } in local_vars() function
/third_party/spirv-tools/source/val/
H A Dvalidation_state.h503 std::unordered_set<uint32_t>& local_vars() { return local_vars_; } in local_vars() function

Completed in 12 milliseconds