Home
last modified time | relevance | path

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

/system/tools/aidl/
Dast_cpp_unittest.cpp178 args.emplace_back(new LiteralExpression("foo()")); in TEST_F()
184 Statement s(new LiteralExpression("foo")); in TEST_F()
190 new LiteralExpression("lhs"), "&&", new LiteralExpression("rhs")); in TEST_F()
229 IfStatement s(new LiteralExpression("foo")); in TEST_F()
234 IfStatement s2(new LiteralExpression("bar")); in TEST_F()
Dgenerate_java_binder.cpp134 std::make_shared<LiteralExpression>("DESCRIPTOR")}); in StubClass()
230 return std::make_shared<LiteralExpression>("DESCRIPTOR"); in get_transact_descriptor()
236 return std::make_shared<LiteralExpression>("DESCRIPTOR"); in get_transact_descriptor()
246 transact_descriptor, std::make_shared<LiteralExpression>("DESCRIPTOR"))); in get_transact_descriptor()
273 queryLocalInterface->arguments.push_back(std::make_shared<LiteralExpression>("DESCRIPTOR")); in make_as_interface()
286 iin, " instanceof ", std::make_shared<LiteralExpression>(interfaceType->GetCanonicalName())); in make_as_interface()
361 std::make_shared<Comparison>(len, "<", std::make_shared<LiteralExpression>("0")); in generate_new_array()
436 std::make_shared<LiteralExpression>("android.os.Trace"), "traceBegin", in generate_stub_code()
438 std::make_shared<LiteralExpression>("android.os.Trace.TRACE_TAG_AIDL"), in generate_stub_code()
442 std::make_shared<LiteralExpression>("android.os.Trace"), "traceEnd", in generate_stub_code()
[all …]
Dast_java.cpp96 LiteralExpression::LiteralExpression(const string& v) : value(v) {} in LiteralExpression() function in android::aidl::java::LiteralExpression
98 void LiteralExpression::Write(CodeWriter* to) const { in Write()
461 std::shared_ptr<Expression> NULL_VALUE = std::make_shared<LiteralExpression>("null");
462 std::shared_ptr<Expression> THIS_VALUE = std::make_shared<LiteralExpression>("this");
463 std::shared_ptr<Expression> SUPER_VALUE = std::make_shared<LiteralExpression>("super");
464 std::shared_ptr<Expression> TRUE_VALUE = std::make_shared<LiteralExpression>("true");
465 std::shared_ptr<Expression> FALSE_VALUE = std::make_shared<LiteralExpression>("false");
Dast_cpp.cpp129 arguments_.emplace_back(new LiteralExpression(s)); in ArgList()
245 new LiteralExpression(expression_str))); in AddLiteral()
346 : Assignment(left, new LiteralExpression{right}) {} in Assignment()
394 : expression_(new LiteralExpression(expression)) {} in Statement()
414 LiteralExpression::LiteralExpression(const std::string& expression) in LiteralExpression() function in android::aidl::cpp::LiteralExpression
417 void LiteralExpression::Write(CodeWriter* to) const { in Write()
Dast_cpp.h337 class LiteralExpression : public AstNode {
339 explicit LiteralExpression(const std::string& expression);
340 ~LiteralExpression() = default;
Dast_java.h72 struct LiteralExpression : public Expression { struct
75 explicit LiteralExpression(const std::string& value); argument
76 virtual ~LiteralExpression() = default;
Dgenerate_cpp.cpp75 new LiteralExpression(kAndroidStatusVarName), "!=", in BreakOnStatusNotOk()
76 new LiteralExpression(kAndroidStatusOk))); in BreakOnStatusNotOk()
83 new LiteralExpression(kAndroidStatusVarName), "!=", in GotoErrorOnBadStatus()
84 new LiteralExpression(kAndroidStatusOk))); in GotoErrorOnBadStatus()
90 IfStatement* ret = new IfStatement(new Comparison(new LiteralExpression(kAndroidStatusVarName), in ReturnOnStatusNotOk()
91 "!=", new LiteralExpression(kAndroidStatusOk))); in ReturnOnStatusNotOk()
364 new LiteralExpression(StringPrintf("!%s.isOk()", kStatusVarName))); in DefineClientTransaction()
611 new LiteralExpression(StringPrintf("!%s.isOk()", kStatusVarName))); in HandleServerTransaction()
738 new LiteralExpression(string(kAndroidStatusVarName) + in BuildServerSource()