Home
last modified time | relevance | path

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

/bionic/libc/kernel/tools/
Dcpp.py1439 def test_cpp_expr(expr, expected): function
1471 test_cpp_expr( "0", "(int 0)" )
1472 test_cpp_expr( "1", "(int 1)" )
1473 test_cpp_expr( "1 && 1", "(&& (int 1) (int 1))" )
1474 test_cpp_expr( "1 && 0", "(&& (int 1) (int 0))" )
1475 test_cpp_expr( "EXAMPLE", "(ident EXAMPLE)" )
1476 test_cpp_expr( "EXAMPLE - 3", "(- (ident EXAMPLE) (int 3))" )
1477 test_cpp_expr( "defined(EXAMPLE)", "(defined EXAMPLE)" )
1478 test_cpp_expr( "!defined(EXAMPLE)", "(! (defined EXAMPLE))" )
1479 test_cpp_expr( "defined(ABC) || defined(BINGO)", "(|| (defined ABC) (defined BINGO))" )
[all …]