Searched refs:LiteralExpression (Results 1 – 8 of 8) sorted by relevance
/system/tools/aidl/ |
D | ast_cpp_unittest.cpp | 162 args.emplace_back(new LiteralExpression("foo()")); in TEST_F() 168 Statement s(new LiteralExpression("foo")); in TEST_F() 174 new LiteralExpression("lhs"), "&&", new LiteralExpression("rhs")); in TEST_F() 213 IfStatement s(new LiteralExpression("foo")); in TEST_F() 218 IfStatement s2(new LiteralExpression("bar")); in TEST_F()
|
D | type_java.cpp | 55 return new LiteralExpression("0"); in BuildWriteToParcelFlags() 61 return new LiteralExpression("0"); in BuildWriteToParcelFlags() 313 NULL_VALUE = new LiteralExpression("null"); in Init() 314 THIS_VALUE = new LiteralExpression("this"); in Init() 315 SUPER_VALUE = new LiteralExpression("super"); in Init() 316 TRUE_VALUE = new LiteralExpression("true"); in Init() 317 FALSE_VALUE = new LiteralExpression("false"); in Init()
|
D | generate_java_binder.cpp | 138 new LiteralExpression("DESCRIPTOR")); in StubClass() 233 return new LiteralExpression("DESCRIPTOR"); in get_transact_descriptor() 239 return new LiteralExpression("DESCRIPTOR"); in get_transact_descriptor() 250 new LiteralExpression("DESCRIPTOR"))); in get_transact_descriptor() 278 queryLocalInterface->arguments.push_back(new LiteralExpression("DESCRIPTOR")); in make_as_interface() 293 new LiteralExpression(interfaceType->JavaType())); in make_as_interface() 363 lencheck->expression = new Comparison(len, "<", new LiteralExpression("0")); in generate_new_array() 477 new LiteralExpression("android.os.Trace"), "traceBegin", 2, in generate_stub_code() 478 new LiteralExpression("android.os.Trace.TRACE_TAG_AIDL"), in generate_stub_code() 483 new LiteralExpression("android.os.Trace"), "traceEnd", 1, in generate_stub_code() [all …]
|
D | ast_cpp.cpp | 127 arguments_.emplace_back(new LiteralExpression(s)); in ArgList() 243 new LiteralExpression(expression_str))); in AddLiteral() 340 : Assignment(left, new LiteralExpression{right}) {} in Assignment() 388 : expression_(new LiteralExpression(expression)) {} in Statement() 408 LiteralExpression::LiteralExpression(const std::string& expression) in LiteralExpression() function in android::aidl::cpp::LiteralExpression 411 void LiteralExpression::Write(CodeWriter* to) const { in Write()
|
D | ast_cpp.h | 364 class LiteralExpression : public AstNode { 366 explicit LiteralExpression(const std::string& expression); 367 ~LiteralExpression() = default; 373 DISALLOW_COPY_AND_ASSIGN(LiteralExpression);
|
D | ast_java.h | 72 struct LiteralExpression : public Expression { struct 75 explicit LiteralExpression(const std::string& value); argument 76 virtual ~LiteralExpression() = default;
|
D | generate_cpp.cpp | 74 new LiteralExpression(kAndroidStatusVarName), "!=", in BreakOnStatusNotOk() 75 new LiteralExpression(kAndroidStatusOk))); in BreakOnStatusNotOk() 82 new LiteralExpression(kAndroidStatusVarName), "!=", in GotoErrorOnBadStatus() 83 new LiteralExpression(kAndroidStatusOk))); in GotoErrorOnBadStatus() 89 IfStatement* ret = new IfStatement(new Comparison(new LiteralExpression(kAndroidStatusVarName), in ReturnOnStatusNotOk() 90 "!=", new LiteralExpression(kAndroidStatusOk))); in ReturnOnStatusNotOk() 340 new LiteralExpression(StringPrintf("!%s.isOk()", kStatusVarName))); in DefineClientTransaction() 578 new LiteralExpression(StringPrintf("!%s.isOk()", kStatusVarName))); in HandleServerTransaction() 686 new LiteralExpression(string(kAndroidStatusVarName) + in BuildServerSource()
|
D | ast_java.cpp | 96 LiteralExpression::LiteralExpression(const string& v) : value(v) {} in LiteralExpression() function in android::aidl::java::LiteralExpression 98 void LiteralExpression::Write(CodeWriter* to) const { in Write()
|