Home
last modified time | relevance | path

Searched refs:eval (Results 1 – 7 of 7) sorted by relevance

/development/vndk/tools/sourcedr/sourcedr/blueprint/tests/
Dtest_ast.py37 Expr().eval({})
52 self.assertFalse(false_expr.eval({}))
56 self.assertTrue(true_expr.eval({}))
108 self.assertEqual(0, int(expr.eval({})))
113 self.assertEqual(1, int(expr.eval({})))
118 self.assertEqual(2, int(expr.eval({})))
164 self.assertEqual('test', expr.eval({}))
180 self.assertEqual('b', expr.eval({}))
186 self.assertEqual('1', expr.eval({'a': String('2')}))
192 self.assertEqual('2', expr.eval({'a': String('2')}))
[all …]
/development/vndk/tools/definition-tool/templates/
Dvndk.txt49 $(eval $(call define-vndk-lib,$(lib),vndk-sp-gen,vndk-sp,)))
51 $(eval $(call define-vndk-lib,$(lib),vndk-sp-ext-gen,vndk-sp,true)))
53 $(eval $(call define-vndk-lib,$(lib),vndk-ext-gen,,true)))
/development/vndk/tools/sourcedr/sourcedr/blueprint/
Dblueprint.py384 def eval(self, env): member in Expr
392 def eval(self, env): member in String
430 def eval(self, env): member in Bool
473 def eval(self, env): member in Integer
493 def eval(self, env): member in VarRef
496 return env[self.name].eval(env)
497 return self.value.eval(env)
503 def eval(self, env): member in List
505 return List(item.eval(env) for item in self)
517 def eval(self, env): member in Dict
[all …]
/development/vndk/tools/definition-tool/tests/
Dtest_elf.py63 self.assertEqual(elf, eval(repr(elf)))
68 self.assertEqual(elf, eval(repr(elf)))
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew.bat52 if "%@eval[2+2]" == "4" goto 4NT_args
/development/samples/training/testingfun/
Dgradlew.bat52 if "%@eval[2+2]" == "4" goto 4NT_args
/development/tools/checkcolor/
Dgradlew.bat52 if "%@eval[2+2]" == "4" goto 4NT_args