/external/clang/unittests/Tooling/ |
LookupTest.cpp | 19 bool VisitCallExpr(CallExpr *Expr) { 20 OnCall(Expr); 35 auto replaceCallExpr = [&](const CallExpr *Expr, 37 const auto *Callee = cast<DeclRefExpr>(Expr->getCallee()->IgnoreImplicit()); 44 Visitor.OnCall = [&](CallExpr *Expr) { 45 EXPECT_EQ("bar", replaceCallExpr(Expr, "::bar")); 50 Visitor.OnCall = [&](CallExpr *Expr) { 51 EXPECT_EQ("bar", replaceCallExpr(Expr, "::a::bar")); 56 Visitor.OnCall = [&](CallExpr *Expr) { 57 EXPECT_EQ("a::bar", replaceCallExpr(Expr, "::a::bar")) [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
Dependency.java | 14 package android.databinding.tool.expr; 17 final Expr mDependant; 18 final Expr mOther; 19 final Expr mCondition; 29 public Dependency(Expr dependant, Expr other) { 37 public Dependency(Expr dependant, Expr other, Expr condition, boolean expectedOutput) { 57 public Expr getOther() [all...] |
MathExpr.java | 17 package android.databinding.tool.expr; 28 public class MathExpr extends Expr { 32 MathExpr(Expr left, String op, Expr right) { 60 public Expr getLeft() { 64 public Expr getRight() { 83 final Expr left = getLeft(); 84 final Expr right = getRight(); 89 Expr dyn = left.isDynamic() ? left : right; 91 Expr constExpr = left.isDynamic() ? right : left [all...] |
TernaryExpr.java | 17 package android.databinding.tool.expr; 28 public class TernaryExpr extends Expr { 30 TernaryExpr(Expr pred, Expr ifTrue, Expr ifFalse) { 34 public Expr getPred() { 38 public Expr getIfTrue() { 42 public Expr getIfFalse() { 67 final Expr ifTrue = getIfTrue(); 68 final Expr ifFalse = getIfFalse() [all...] |
MethodReferenceExpr.java | 17 package android.databinding.tool.expr; 27 MethodReferenceExpr(Expr parent, String name) { 52 public Expr resolveListeners(ModelClass listener, Expr parent) { 70 public Expr generateInverse(ExprModel model, Expr value, String bindingClassName) { 76 public Expr cloneToModel(ExprModel model) { 77 final Expr clonedTarget = getTarget().cloneToModel(model);
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMCExpr.cpp | 19 ARMMCExpr::create(VariantKind Kind, const MCExpr *Expr, 21 return new (Ctx) ARMMCExpr(Kind, Expr); 31 const MCExpr *Expr = getSubExpr(); 32 if (Expr->getKind() != MCExpr::SymbolRef) 34 Expr->print(OS, MAI); 35 if (Expr->getKind() != MCExpr::SymbolRef)
|
ARMMCExpr.h | 27 const MCExpr *Expr; 29 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) 30 : Kind(Kind), Expr(Expr) {} 36 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr, 39 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) { 40 return create(VK_ARM_HI16, Expr, Ctx); 43 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) { 44 return create(VK_ARM_LO16, Expr, Ctx); 55 const MCExpr *getSubExpr() const { return Expr; } [all...] |
/external/clang/lib/AST/ |
ExprClassification.cpp | 10 // This file implements Expr::classify. 14 #include "clang/AST/Expr.h" 24 typedef Expr::Classification Cl; 26 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E); 32 const Expr *trueExpr, 33 const Expr *falseExpr); 34 static Cl::ModifiableType IsModifiable(ASTContext &Ctx, const Expr *E, 37 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const { 89 const Expr *E, 102 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
ARMMCExpr.h | 27 const MCExpr *Expr; 30 : Kind(_Kind), Expr(_Expr) {} 36 static const ARMMCExpr *Create(VariantKind Kind, const MCExpr *Expr, 39 static const ARMMCExpr *CreateUpper16(const MCExpr *Expr, MCContext &Ctx) { 40 return Create(VK_ARM_HI16, Expr, Ctx); 43 static const ARMMCExpr *CreateLower16(const MCExpr *Expr, MCContext &Ctx) { 44 return Create(VK_ARM_LO16, Expr, Ctx); 55 const MCExpr *getSubExpr() const { return Expr; }
|
/external/clang/include/clang/AST/ |
ExprOpenMP.h | 10 // This file defines the Expr interface and subclasses. 17 #include "clang/AST/Expr.h" 45 class OMPArraySectionExpr : public Expr { 52 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type, 55 : Expr( 77 : Expr(OMPArraySectionExprClass, Shell) {} 82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); [all...] |
DeclOpenMP.h | 19 #include "clang/AST/Expr.h" 41 private llvm::TrailingObjects<OMPThreadPrivateDecl, Expr *> { 52 ArrayRef<const Expr *> getVars() const { 53 return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumVars); 56 MutableArrayRef<Expr *> getVars() { 57 return MutableArrayRef<Expr *>(getTrailingObjects<Expr *>(), NumVars); 60 void setVars(ArrayRef<Expr *> VL); 65 ArrayRef<Expr *> VL); 69 typedef MutableArrayRef<Expr *>::iterator varlist_iterator [all...] |
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCMCExpr.h | 34 const MCExpr *Expr; 39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin) 40 : Kind(Kind), Expr(Expr), IsDarwin(IsDarwin) {} 46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr, 49 static const PPCMCExpr *createLo(const MCExpr *Expr, 51 return create(VK_PPC_LO, Expr, isDarwin, Ctx); 54 static const PPCMCExpr *createHi(const MCExpr *Expr, 56 return create(VK_PPC_HI, Expr, isDarwin, Ctx); 59 static const PPCMCExpr *createHa(const MCExpr *Expr, [all...] |
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCExpr.cpp | 21 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { 22 return new (Ctx) HexagonMCExpr(Expr); 28 return Expr->evaluateAsRelocatable(Res, Layout, Fixup); 32 Streamer.visitUsedExpr(*Expr); 36 return Expr->findAssociatedFragment(); 41 MCExpr const *HexagonMCExpr::getExpr() const { return Expr; } 64 HexagonMCExpr::HexagonMCExpr(MCExpr const *Expr) 65 : Expr(Expr), MustNotExtend(false), MustExtend(false), S23_2_reloc(false), 69 Expr->print(OS, MAI) [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorSyclLeafCount.h | 31 template <typename Expr> 81 template <typename Expr> 82 struct LeafCount<const TensorForcedEvalOp<Expr> > { 87 template <typename Expr> 88 struct LeafCount<TensorForcedEvalOp<Expr> >: LeafCount<const TensorForcedEvalOp<Expr> > {}; 91 template <typename Expr> 92 struct LeafCount<const TensorEvalToOp<Expr> > { 93 static const size_t Count = 1 + CategoryCount<Expr>::Count; 97 template <typename OP, typename Dim, typename Expr> [all...] |
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
LanaiMCExpr.h | 24 const MCExpr *Expr; 26 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) 27 : Kind(Kind), Expr(Expr) {} 30 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr, 37 const MCExpr *getSubExpr() const { return Expr; }
|
LanaiMCExpr.cpp | 18 const LanaiMCExpr *LanaiMCExpr::create(VariantKind Kind, const MCExpr *Expr, 20 return new (Ctx) LanaiMCExpr(Kind, Expr); 25 Expr->print(OS, MAI); 41 const MCExpr *Expr = getSubExpr(); 42 Expr->print(OS, MAI);
|
/external/clang/test/Modules/Inputs/PR24954/ |
A.h | 4 class Expr {
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/ |
ExecutionBranch.java | 18 import android.databinding.tool.expr.Expr; 28 private Expr mConditional; 35 public ExecutionBranch(@NotNull ExecutionPath path, @NotNull Expr conditional, 43 public Expr getConditional() {
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { 31 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts); 37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) { 38 if (Expr->arg_size() < 2) 40 Expr->getAsString(); 42 ST.evaluate(*Expr->arg_begin(), Add); 43 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub); 52 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts) [all...] |
/external/llvm/lib/TableGen/ |
SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, 32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); 38 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, 40 if (Expr->arg_size() < 2) 42 Expr->getAsString()); 44 ST.evaluate(*Expr->arg_begin(), Add, Loc); 45 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); 54 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts [all...] |
/external/clang/lib/Sema/ |
SemaFixItUtils.cpp | 51 bool ConversionFixItGenerator::tryToFixConversion(const Expr *FullExpr, 66 const Expr* Expr = FullExpr->IgnoreImpCasts(); 69 if (isa<ArraySubscriptExpr>(Expr) || 70 isa<CallExpr>(Expr) || 71 isa<DeclRefExpr>(Expr) || 72 isa<CastExpr>(Expr) || 73 isa<CXXNewExpr>(Expr) || 74 isa<CXXConstructExpr>(Expr) || 75 isa<CXXDeleteExpr>(Expr) || [all...] |
SemaExceptionSpec.cpp | 17 #include "clang/AST/Expr.h" 338 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr"); 803 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) { [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
Expr.java | 24 public class Expr extends ASTList implements TokenId { 33 Expr(int op, ASTree _head, ASTList _tail) { 38 Expr(int op, ASTree _head) { 43 public static Expr make(int op, ASTree oprand1, ASTree oprand2) { 44 return new Expr(op, oprand1, new ASTList(oprand2)); 47 public static Expr make(int op, ASTree oprand1) { 48 return new Expr(op, oprand1); 57 public void setOprand1(ASTree expr) { 58 setLeft(expr); 63 public void setOprand2(ASTree expr) { [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsMCExpr.h | 52 const MCExpr *Expr; 54 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) 55 : Kind(Kind), Expr(Expr) {} 58 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr, 60 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr, 67 const MCExpr *getSubExpr() const { return Expr; }
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMMCInstLower.cpp | 28 const MCExpr *Expr; 31 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 39 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 41 Expr = ARMMCExpr::CreateLower16(Expr, OutContext); 44 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 46 Expr = ARMMCExpr::CreateUpper16(Expr, OutContext); 53 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_ARM_PLT, 59 Expr = MCBinaryExpr::CreateAdd(Expr [all...] |