Searched refs:LiteralExpression (Results 1 – 8 of 8) sorted by relevance
/system/tools/aidl/ |
D | ast_cpp_unittest.cpp | 161 args.emplace_back(new LiteralExpression("foo()")); in TEST_F() 167 Statement s(new LiteralExpression("foo")); in TEST_F() 173 new LiteralExpression("lhs"), "&&", new LiteralExpression("rhs")); in TEST_F() 212 IfStatement s(new LiteralExpression("foo")); in TEST_F() 217 IfStatement s2(new LiteralExpression("bar")); in TEST_F()
|
D | type_java.cpp | 65 addTo->Add(new LiteralExpression("/* WriteToParcel error " + m_javaType + in WriteToParcel() 73 addTo->Add(new LiteralExpression("/* CreateFromParcel error " + in CreateFromParcel() 81 addTo->Add(new LiteralExpression("/* ReadFromParcel error " + in ReadFromParcel() 87 return new LiteralExpression("0"); in BuildWriteToParcelFlags() 93 return new LiteralExpression("0"); in BuildWriteToParcelFlags() 195 new Ternary(v, new LiteralExpression("1"), new LiteralExpression("0")))); in WriteToParcel() 201 new Assignment(v, new Comparison(new LiteralExpression("0"), "!=", in CreateFromParcel() 326 new MethodCall(parcel, "writeInt", 1, new LiteralExpression("0"))); in WriteToParcel() 331 new MethodCall(parcel, "writeInt", 1, new LiteralExpression("1"))); in WriteToParcel() 350 ifpart->expression = new Comparison(new LiteralExpression("0"), "!=", in CreateFromParcel() [all …]
|
D | generate_java_binder.cpp | 81 new LiteralExpression("DESCRIPTOR")); in StubClass() 145 queryLocalInterface->arguments.push_back(new LiteralExpression("DESCRIPTOR")); in make_as_interface() 161 new LiteralExpression(interfaceType->JavaType())); in make_as_interface() 229 lencheck->expression = new Comparison(len, "<", new LiteralExpression("0")); in generate_new_array() 308 new LiteralExpression("DESCRIPTOR"))); in generate_method() 426 _data, "writeInterfaceToken", 1, new LiteralExpression("DESCRIPTOR"))); in generate_method() 438 new MethodCall(_data, "writeInt", 1, new LiteralExpression("-1"))); in generate_method() 453 new LiteralExpression("Stub." + transactCodeName), _data, in generate_method() 455 new LiteralExpression(oneway ? "android.os.IBinder.FLAG_ONEWAY" : "0")); in generate_method() 495 new LiteralExpression("DESCRIPTOR"))); in generate_interface_descriptors() [all …]
|
D | ast_cpp.cpp | 109 arguments_.emplace_back(new LiteralExpression(s)); in ArgList() 225 new LiteralExpression(expression_str))); in AddLiteral() 320 : Assignment(left, new LiteralExpression{right}) {} in Assignment() 368 : expression_(new LiteralExpression(expression)) {} in Statement() 388 LiteralExpression::LiteralExpression(const std::string& expression) in LiteralExpression() function in android::aidl::cpp::LiteralExpression 391 void LiteralExpression::Write(CodeWriter* to) const { in Write()
|
D | generate_cpp.cpp | 68 new LiteralExpression(kAndroidStatusVarName), "!=", in BreakOnStatusNotOk() 69 new LiteralExpression(kAndroidStatusOk))); in BreakOnStatusNotOk() 76 new LiteralExpression(kAndroidStatusVarName), "!=", in GotoErrorOnBadStatus() 77 new LiteralExpression(kAndroidStatusOk))); in GotoErrorOnBadStatus() 85 new LiteralExpression(kAndroidStatusVarName), "!=", in ReturnOnStatusNotOk() 86 new LiteralExpression(kAndroidStatusOk))); in ReturnOnStatusNotOk() 336 new LiteralExpression(StringPrintf("!%s.isOk()", kStatusVarName))); in DefineClientTransaction() 488 new LiteralExpression(StringPrintf("!%s.isOk()", kStatusVarName))); in HandleServerTransaction() 567 new LiteralExpression(string(kAndroidStatusVarName) + in BuildServerSource()
|
D | ast_cpp.h | 350 class LiteralExpression : public AstNode { 352 explicit LiteralExpression(const std::string& expression); 353 ~LiteralExpression() = default; 359 DISALLOW_COPY_AND_ASSIGN(LiteralExpression);
|
D | ast_java.h | 69 struct LiteralExpression : public Expression { struct 72 explicit LiteralExpression(const std::string& value); argument 73 virtual ~LiteralExpression() = default;
|
D | ast_java.cpp | 82 LiteralExpression::LiteralExpression(const string& v) : value(v) {} in LiteralExpression() function in android::aidl::java::LiteralExpression 84 void LiteralExpression::Write(CodeWriter* to) const { in Write()
|