Home
last modified time | relevance | path

Searched refs:eval_string (Results 1 – 2 of 2) sorted by relevance

/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py29 self.assertEqual('', ninja.eval_string(s, ninja.EvalEnv()))
34 self.assertEqual('a', ninja.eval_string(s, ninja.EvalEnv()))
43 self.assertEqual('ab', ninja.eval_string(s, ninja.EvalEnv()))
54 self.assertEqual('value', ninja.eval_string(s, env))
66 self.assertEqual('ab', ninja.eval_string(s, env))
81 self.assertEqual('aabab', ninja.eval_string(s, env))
98 self.assertEqual('dddd', ninja.eval_string(s, env))
102 self.assertEqual('', ninja.eval_string(s, ninja.EvalEnv()))
111 ninja.eval_string(s, env)
123 self.assertEqual('adc', ninja.eval_string(s, env))
/development/vndk/tools/sourcedr/ninja/
Dninja.py150 def eval_string(s, env): function
179 return [intern(os.path.normpath(eval_string(s, env))) for s in strs]
651 value = eval_string(value, self._env)
831 path = eval_string(token.value, self._env) # XXX: Check lookup order