Home
last modified time | relevance | path

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

/frameworks/base/tools/aidl/
DType.cpp602 IfStatement* ifpart = new IfStatement; in WriteToParcel() local
603 ifpart->expression = new Comparison(v, "!=", NULL_VALUE); in WriteToParcel()
604 ifpart->elseif = elsepart; in WriteToParcel()
605 ifpart->statements->Add(new MethodCall(parcel, "writeInt", 1, in WriteToParcel()
607 ifpart->statements->Add(new MethodCall(TEXT_UTILS_TYPE, "writeToParcel", in WriteToParcel()
610 addTo->Add(ifpart); in WriteToParcel()
625 IfStatement* ifpart = new IfStatement(); in CreateFromParcel() local
626 ifpart->expression = new Comparison(new LiteralExpression("0"), "!=", in CreateFromParcel()
628 ifpart->elseif = elsepart; in CreateFromParcel()
629 ifpart->statements->Add(new Assignment(v, in CreateFromParcel()
[all …]
DAST.h209 Expression* ifpart; member
213 Ternary(Expression* condition, Expression* ifpart, Expression* elsepart);
DAST.cpp446 ifpart(NULL), in Ternary()
453 ifpart(b), in Ternary()
468 this->ifpart->Write(to); in Write()