Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 9 of 9) sorted by relevance

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_ast.py105 expr = Integer(0)
106 self.assertFalse(bool(expr))
107 self.assertEqual(0, int(expr))
108 self.assertEqual(0, int(expr.eval({})))
110 expr = Integer(1)
111 self.assertTrue(bool(expr))
112 self.assertEqual(1, int(expr))
113 self.assertEqual(1, int(expr.eval({})))
115 expr = Integer(2)
116 self.assertTrue(bool(expr))
[all …]
/development/tools/bugreport/
Dbugreport22 newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23 if expr "x${newProg}" : 'x/' >/dev/null; then
73 while expr "x$1" : 'x-J' >/dev/null; do
74 opt=`expr "x$1" : 'x-J\(.*\)'`
76 if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
/development/tools/rmtypedefs/etc/
Drmtypedefs22 newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
41 opt=`expr "$1" : '-J\(.*\)'`
/development/tools/apkcheck/etc/
Dapkcheck22 newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23 if expr "x${newProg}" : 'x/' >/dev/null; then
40 while expr "x$1" : 'x-J' >/dev/null; do
41 opt=`expr "$1" : '-J\(.*\)'`
/development/samples/training/testingfun/
Dgradlew56 link=`expr "$ls" : '.*-> \(.*\)$'`
57 if expr "$link" : '/.*' > /dev/null; then
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew56 link=`expr "$ls" : '.*-> \(.*\)$'`
57 if expr "$link" : '/.*' > /dev/null; then
/development/tools/checkcolor/
Dgradlew56 link=`expr "$ls" : '.*-> \(.*\)$'`
57 if expr "$link" : '/.*' > /dev/null; then
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py696 expr = self.parse_operand()
699 expr = Concat(expr, self.parse_operand())
700 return expr
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDeviceAdminSample.java1137 long expr = dpm.getPasswordExpiration( in onPasswordExpiring() local
1139 long delta = expr - System.currentTimeMillis(); in onPasswordExpiring()