Home
last modified time | relevance | path

Searched refs:Ex (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/external/rust/crates/bstr/scripts/regex/
Dword.sh53 Ex="[\p{wb=Extend} \p{wb=Format} $ZWJ]"
58 AHLetterRepeat="$AHLetter $Ex* ([$MidLetter $MidNumLetQ] $Ex* $AHLetter $Ex*)*"
59 NumericRepeat="$Numeric $Ex* ([$MidNum $MidNumLetQ] $Ex* $Numeric $Ex*)*"
69 ([^$Newline $CR $LF]? $Ex* $ZWJ $ExtendPict $Ex*)+
71 ($ExtendNumLet $Ex*)* $AHLetter $Ex*
74 ($NumericRepeat | $ExtendNumLet $Ex*)*
76 [$MidLetter $MidNumLetQ] $Ex*
78 $AHLetter $Ex*
80 ($NumericRepeat | $ExtendNumLet $Ex*)*
82 ($ExtendNumLet $Ex*)* $AHLetter $Ex* ($NumericRepeat | $ExtendNumLet $Ex*)+
[all …]
Dsentence.sh107 Ex="[\p{sb=Extend}\p{sb=Format}]"
116 $ATerm $Ex*
120 [$Upper $Lower] $Ex* $ATerm $Ex*
121 $Upper $Ex*
123 ($ATerm $Ex* $Upper $Ex*)*
126 $ATerm $Ex* $Close* $Ex* $Sp* $Ex*
127 ([^$LetterSepTerm] $Ex*)* $Lower $Ex*
129 ($ATerm $Ex* $Upper $Ex*)*
132 $SATerm $Ex* $Close* $Ex* $Sp* $Ex*
136 $ATerm $Ex*
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefBranchChecker.cpp37 const Expr *FindExpr(const Expr *Ex) { in FindExpr()
38 if (!MatchesCriteria(Ex)) in FindExpr()
41 for (const Stmt *SubStmt : Ex->children()) in FindExpr()
46 return Ex; in FindExpr()
49 bool MatchesCriteria(const Expr *Ex) { in MatchesCriteria()
50 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria()
87 const Expr *Ex = cast<Expr>(Condition); in checkBranchCondition() local
93 if (PS->getStmt() == Ex) in checkBranchCondition()
97 Ex = FindIt.FindExpr(Ex); in checkBranchCondition()
101 bugreporter::trackNullOrUndefValue(N, Ex, *R); in checkBranchCondition()
[all …]
DUndefResultChecker.cpp63 const Expr *Ex = nullptr; in checkPostStmt() local
67 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
71 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
75 if (Ex) { in checkPostStmt()
88 if (Ex) { in checkPostStmt()
89 report->addRange(Ex->getSourceRange()); in checkPostStmt()
90 bugreporter::trackNullOrUndefValue(N, Ex, *report); in checkPostStmt()
DObjCAtSyncChecker.cpp40 const Expr *Ex = S->getSynchExpr(); in checkPreStmt() local
42 SVal V = state->getSVal(Ex, C.getLocationContext()); in checkPreStmt()
52 bugreporter::trackNullOrUndefValue(N, Ex, *report); in checkPreStmt()
76 bugreporter::trackNullOrUndefValue(N, Ex, *report); in checkPreStmt()
DDereferenceChecker.cpp46 const Expr *Ex, const ProgramState *state,
55 const Expr *Ex, in AddDerefSource() argument
59 Ex = Ex->IgnoreParenLValueCasts(); in AddDerefSource()
60 switch (Ex->getStmtClass()) { in AddDerefSource()
64 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); in AddDerefSource()
73 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource()
81 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); in AddDerefSource()
DDeadStoresChecker.cpp103 LookThroughTransitiveAssignmentsAndCommaOperators(const Expr *Ex) { in LookThroughTransitiveAssignmentsAndCommaOperators() argument
104 while (Ex) { in LookThroughTransitiveAssignmentsAndCommaOperators()
106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); in LookThroughTransitiveAssignmentsAndCommaOperators()
110 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators()
114 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators()
119 return Ex; in LookThroughTransitiveAssignmentsAndCommaOperators()
208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl() argument
224 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl()
310 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt() local
312 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUndefBranchChecker.cpp38 const Expr *FindExpr(const Expr *Ex) { in FindExpr()
39 if (!MatchesCriteria(Ex)) in FindExpr()
42 for (const Stmt *SubStmt : Ex->children()) in FindExpr()
47 return Ex; in FindExpr()
50 bool MatchesCriteria(const Expr *Ex) { in MatchesCriteria()
51 return St->getSVal(Ex, LCtx).isUndef(); in MatchesCriteria()
91 const Expr *Ex = cast<Expr>(Condition); in checkBranchCondition() local
97 if (PS->getStmt() == Ex) in checkBranchCondition()
101 Ex = FindIt.FindExpr(Ex); in checkBranchCondition()
106 bugreporter::trackExpressionValue(N, Ex, *R); in checkBranchCondition()
[all …]
DUndefResultChecker.cpp38 static bool isArrayIndexOutOfBounds(CheckerContext &C, const Expr *Ex) { in isArrayIndexOutOfBounds() argument
41 if (!isa<ArraySubscriptExpr>(Ex)) in isArrayIndexOutOfBounds()
44 SVal Loc = C.getSVal(Ex); in isArrayIndexOutOfBounds()
99 const Expr *Ex = nullptr; in checkPostStmt() local
103 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
107 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
111 if (Ex) { in checkPostStmt()
115 if (isArrayIndexOutOfBounds(C, Ex)) in checkPostStmt()
126 Ex = B->getRHS(); in checkPostStmt()
135 Ex = B->getRHS(); in checkPostStmt()
[all …]
DObjCAtSyncChecker.cpp39 const Expr *Ex = S->getSynchExpr(); in checkPreStmt() local
41 SVal V = C.getSVal(Ex); in checkPreStmt()
51 bugreporter::trackExpressionValue(N, Ex, *report); in checkPreStmt()
75 bugreporter::trackExpressionValue(N, Ex, *report); in checkPreStmt()
DDereferenceChecker.cpp49 const Expr *Ex, const ProgramState *state,
58 const Expr *Ex, in AddDerefSource() argument
62 Ex = Ex->IgnoreParenLValueCasts(); in AddDerefSource()
63 switch (Ex->getStmtClass()) { in AddDerefSource()
67 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); in AddDerefSource()
76 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource()
84 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); in AddDerefSource()
DDeadStoresChecker.cpp103 LookThroughTransitiveAssignmentsAndCommaOperators(const Expr *Ex) { in LookThroughTransitiveAssignmentsAndCommaOperators() argument
104 while (Ex) { in LookThroughTransitiveAssignmentsAndCommaOperators()
106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); in LookThroughTransitiveAssignmentsAndCommaOperators()
110 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators()
114 Ex = BO->getRHS(); in LookThroughTransitiveAssignmentsAndCommaOperators()
119 return Ex; in LookThroughTransitiveAssignmentsAndCommaOperators()
267 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl() argument
283 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl()
369 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt() local
371 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt()
/external/rust/crates/futures-util/src/compat/
Dexecutor.rs46 impl<Ex> Executor01CompatExt for Ex implementation
48 Ex: Executor01<Executor01Future> + Clone + Send + 'static,
58 pub struct Executor01As03<Ex> {
59 executor01: Ex,
62 impl<Ex> Spawn03 for Executor01As03<Ex>
64 Ex: Executor01<Executor01Future> + Clone + Send + 'static,
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp260 ProgramStateRef state, const Expr* Ex, const LocationContext* LCtx, in handleLValueBitCast() argument
271 SVal OrigV = state->getSVal(Ex, LCtx); in handleLValueBitCast()
301 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, in VisitCast() argument
313 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx)); in VisitCast()
320 QualType ExTy = Ex->getType(); in VisitCast()
359 SVal V = state->getSVal(Ex, LCtx); in VisitCast()
366 SVal V = state->getSVal(Ex, LCtx); in VisitCast()
377 handleLValueBitCast(state, Ex, LCtx, T, ExTy, CastE, Bldr, Pred); in VisitCast()
388 SVal V = state->getSVal(Ex, LCtx); in VisitCast()
396 handleLValueBitCast(state, Ex, LCtx, T, ExTy, CastE, Bldr, Pred); in VisitCast()
[all …]
DExplodedGraph.cpp50 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) { in isInterestingLValueExpr() argument
51 if (!Ex->isLValue()) in isInterestingLValueExpr()
53 return isa<DeclRefExpr>(Ex) || isa<MemberExpr>(Ex) || in isInterestingLValueExpr()
54 isa<ObjCIvarRefExpr>(Ex) || isa<ArraySubscriptExpr>(Ex); in isInterestingLValueExpr()
123 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); in shouldCollect() local
124 if (!Ex) in shouldCollect()
130 if (isInterestingLValueExpr(Ex)) in shouldCollect()
138 if (!PM.isConsumedExpr(Ex)) in shouldCollect()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp249 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, in VisitCast() argument
261 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx)); in VisitCast()
268 QualType ExTy = Ex->getType(); in VisitCast()
307 SVal V = state->getSVal(Ex, LCtx); in VisitCast()
346 SVal V = state->getSVal(Ex, LCtx); in VisitCast()
357 SVal V = state->getSVal(Ex, LCtx); in VisitCast()
366 SVal val = state->getSVal(Ex, LCtx); in VisitCast()
374 SVal val = state->getSVal(Ex, LCtx); in VisitCast()
670 void ExprEngine::VisitGuardedExpr(const Expr *Ex, in VisitGuardedExpr() argument
723 V = svalBuilder.conjureSymbolVal(nullptr, Ex, LCtx, in VisitGuardedExpr()
[all …]
DExplodedGraph.cpp59 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) { in isInterestingLValueExpr() argument
60 if (!Ex->isLValue()) in isInterestingLValueExpr()
62 return isa<DeclRefExpr>(Ex) || in isInterestingLValueExpr()
63 isa<MemberExpr>(Ex) || in isInterestingLValueExpr()
64 isa<ObjCIvarRefExpr>(Ex); in isInterestingLValueExpr()
133 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); in shouldCollect() local
134 if (!Ex) in shouldCollect()
140 if (isInterestingLValueExpr(Ex)) in shouldCollect()
148 if (!PM.isConsumedExpr(Ex)) in shouldCollect()
DBugReporterVisitors.cpp907 static const Expr *peelOffOuterExpr(const Expr *Ex, in peelOffOuterExpr() argument
909 Ex = Ex->IgnoreParenCasts(); in peelOffOuterExpr()
910 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex)) in peelOffOuterExpr()
912 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Ex)) in peelOffOuterExpr()
914 if (auto *POE = dyn_cast<PseudoObjectExpr>(Ex)) { in peelOffOuterExpr()
925 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(Ex)) { in peelOffOuterExpr()
946 return Ex; in peelOffOuterExpr()
956 if (const Expr *Ex = dyn_cast<Expr>(S)) { in trackNullOrUndefValue() local
957 Ex = Ex->IgnoreParenCasts(); in trackNullOrUndefValue()
958 const Expr *PeeledEx = peelOffOuterExpr(Ex, N); in trackNullOrUndefValue()
[all …]
DExprEngineObjC.cpp22 void ExprEngine::VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *Ex, in VisitLvalObjCIvarRefExpr() argument
27 SVal baseVal = state->getSVal(Ex->getBase(), LCtx); in VisitLvalObjCIvarRefExpr()
28 SVal location = state->getLValue(Ex->getDecl(), baseVal); in VisitLvalObjCIvarRefExpr()
32 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, location)); in VisitLvalObjCIvarRefExpr()
36 getCheckerManager().runCheckersForPostStmt(Dst, dstIvar, Ex, *this); in VisitLvalObjCIvarRefExpr()
/external/llvm-project/clang/lib/Analysis/
DReachableCode.cpp34 static bool isEnumConstant(const Expr *Ex) { in isEnumConstant() argument
35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); in isEnumConstant()
41 static bool isTrivialExpression(const Expr *Ex) { in isTrivialExpression() argument
42 Ex = Ex->IgnoreParenCasts(); in isTrivialExpression()
43 return isa<IntegerLiteral>(Ex) || isa<StringLiteral>(Ex) || in isTrivialExpression()
44 isa<CXXBoolLiteralExpr>(Ex) || isa<ObjCBoolLiteralExpr>(Ex) || in isTrivialExpression()
45 isa<CharacterLiteral>(Ex) || in isTrivialExpression()
46 isEnumConstant(Ex); in isTrivialExpression()
196 if (const auto *Ex = dyn_cast<Expr>(S)) in isConfigurationValue() local
197 S = Ex->IgnoreImplicit(); in isConfigurationValue()
[all …]
/external/clang/lib/Analysis/
DReachableCode.cpp34 static bool isEnumConstant(const Expr *Ex) { in isEnumConstant() argument
35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); in isEnumConstant()
41 static bool isTrivialExpression(const Expr *Ex) { in isTrivialExpression() argument
42 Ex = Ex->IgnoreParenCasts(); in isTrivialExpression()
43 return isa<IntegerLiteral>(Ex) || isa<StringLiteral>(Ex) || in isTrivialExpression()
44 isa<CXXBoolLiteralExpr>(Ex) || isa<ObjCBoolLiteralExpr>(Ex) || in isTrivialExpression()
45 isa<CharacterLiteral>(Ex) || in isTrivialExpression()
46 isEnumConstant(Ex); in isTrivialExpression()
167 if (const Expr *Ex = dyn_cast<Expr>(S)) in isConfigurationValue() local
168 S = Ex->IgnoreCasts(); in isConfigurationValue()
[all …]
/external/antlr/runtime/Cpp/include/
Dantlr3exception.inl173 template<class ImplTraits, ExceptionType Ex, class StreamType>
175 ANTLR_Exception<ImplTraits, Ex, StreamType>::ANTLR_Exception(BaseRecognizerType* recognizer, const …
185 template<class ImplTraits, ExceptionType Ex, class StreamType>
186 ANTLR_UINT32 ANTLR_Exception<ImplTraits, Ex, StreamType>::getType() const
188 return static_cast<ANTLR_UINT32>(Ex);
191 template<class ImplTraits, ExceptionType Ex, class StreamType>
192 void ANTLR_Exception<ImplTraits, Ex, StreamType>::print() const
200 fprintf(stderr, "ANTLR3_EXCEPTION number %d (%08X).\n", Ex, Ex);
208 template<class ImplTraits, ExceptionType Ex, class StreamType>
209 typename ANTLR_Exception<ImplTraits, Ex, StreamType>::StringType
[all …]
/external/rnnoise/src/
Ddenoise.c295 static void frame_analysis(DenoiseState *st, kiss_fft_cpx *X, float *Ex, const float *in) { in frame_analysis() argument
307 compute_band_energy(Ex, X); in frame_analysis()
311 … float *Ex, float *Ep, float *Exp, float *features, const float *in) { in compute_frame_features() argument
324 frame_analysis(st, X, Ex, in); in compute_frame_features()
343 for (i=0;i<NB_BANDS;i++) Exp[i] = Exp[i]/sqrt(.001+Ex[i]*Ep[i]); in compute_frame_features()
352 Ly[i] = log10(1e-2+Ex[i]); in compute_frame_features()
356 E += Ex[i]; in compute_frame_features()
422 void pitch_filter(kiss_fft_cpx *X, const kiss_fft_cpx *P, const float *Ex, const float *Ep, in pitch_filter() argument
437 r[i] *= sqrt(Ex[i]/(1e-8+Ep[i])); in pitch_filter()
449 norm[i] = sqrt(Ex[i]/(1e-8+newE[i])); in pitch_filter()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp301 bool operator==(const ExtExpr &Ex) const { in operator ==()
302 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; in operator ==()
304 bool operator!=(const ExtExpr &Ex) const { in operator !=()
305 return !operator==(Ex); in operator !=()
307 bool operator<(const ExtExpr &Ex) const { in operator <()
308 if (Rs != Ex.Rs) in operator <()
309 return Rs < Ex.Rs; in operator <()
310 if (S != Ex.S) in operator <()
311 return S < Ex.S; in operator <()
312 return !Neg && Ex.Neg; in operator <()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp303 bool operator==(const ExtExpr &Ex) const { in operator ==()
304 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; in operator ==()
306 bool operator!=(const ExtExpr &Ex) const { in operator !=()
307 return !operator==(Ex); in operator !=()
309 bool operator<(const ExtExpr &Ex) const { in operator <()
310 if (Rs != Ex.Rs) in operator <()
311 return Rs < Ex.Rs; in operator <()
312 if (S != Ex.S) in operator <()
313 return S < Ex.S; in operator <()
314 return !Neg && Ex.Neg; in operator <()
[all …]

12345678910>>...16