/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 64 if (Msg->getNumArgs() != 1) in rewriteObjCRedundantCallWithLiteral() 183 if (Msg->getNumArgs() != 1) in rewriteToSubscriptGetCommon() 231 if (Msg->getNumArgs() != 2) in rewriteToArraySubscriptSet() 265 if (Msg->getNumArgs() != 2) in rewriteToDictionarySubscriptSet() 311 if (Msg->getNumArgs() != 2) in rewriteToObjCSubscriptSyntax() 392 if (Msg->getNumArgs() != 0) in rewriteToArrayLiteral() 399 if (Msg->getNumArgs() != 1) in rewriteToArrayLiteral() 410 if (Msg->getNumArgs() == 0) in rewriteToArrayLiteral() 412 const Expr *SentinelExpr = Msg->getArg(Msg->getNumArgs() - 1); in rewriteToArrayLiteral() 416 for (unsigned i = 0, e = Msg->getNumArgs() - 1; i != e; ++i) in rewriteToArrayLiteral() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CallEvent.h | 232 virtual unsigned getNumArgs() const = 0; 488 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 523 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 664 unsigned getNumArgs() const override { in getNumArgs() function 666 return CE->getNumArgs(); in getNumArgs() 708 unsigned getNumArgs() const override { in getNumArgs() function 709 return getOriginExpr()->getNumArgs() - 1; in getNumArgs() 754 unsigned getNumArgs() const override { return 0; } in getNumArgs() function 808 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs() function 850 unsigned getNumArgs() const override { in getNumArgs() function [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 350 if (CE->getNumArgs() < (ArgNum + 1)) in propagateFromPre() 458 for (unsigned int i = 0; i < CE->getNumArgs(); ++i) { in process() 467 if (CE->getNumArgs() < (ArgNum + 1)) in process() 486 for (unsigned int i = 0; i < CE->getNumArgs(); ++i) { in process() 505 assert(ArgNum < CE->getNumArgs()); in process() 517 assert(CE->getNumArgs() >= 2); in preFscanf() 524 for (unsigned int i = 2; i < CE->getNumArgs(); ++i) in preFscanf() 537 if (CE->getNumArgs() < 3) in postSocket() 553 if (CE->getNumArgs() < 2) in postScanf() 557 for (unsigned int i = 1; i < CE->getNumArgs(); ++i) { in postScanf() [all …]
|
D | UnixAPIChecker.cpp | 94 if (CE->getNumArgs() < 2) { in CheckOpen() 98 } else if (CE->getNumArgs() == 3) { in CheckOpen() 107 } else if (CE->getNumArgs() > 3) { in CheckOpen() 156 if (CE->getNumArgs() < 3) { in CheckOpen() 174 if (CE->getNumArgs() < 1) in CheckPthreadOnce() 261 if (CE->getNumArgs() != numArgs) in BasicAllocationCheck() 286 unsigned int nArgs = CE->getNumArgs(); in CheckCallocZero()
|
D | ExprInspectionChecker.cpp | 71 if (CE->getNumArgs() == 0) in getArgumentValueString() 147 if (CE->getNumArgs() == 0) in analyzerExplain() 157 if (CE->getNumArgs() == 0) in analyzerGetExtent() 172 if (CE->getNumArgs() == 0) in analyzerWarnOnDeadSymbol()
|
D | ObjCContainersChecker.cpp | 87 if (Name.empty() || CE->getNumArgs() < 1) in checkPostStmt() 92 if (CE->getNumArgs() < 3) in checkPostStmt() 110 if (Name.empty() || CE->getNumArgs() < 2) in checkPreStmt()
|
D | CStringChecker.cpp | 1103 if (CE->getNumArgs() < 3) in evalMemcpy() 1115 if (CE->getNumArgs() < 3) in evalMempcpy() 1127 if (CE->getNumArgs() < 3) in evalMemmove() 1139 if (CE->getNumArgs() < 3) in evalBcopy() 1148 if (CE->getNumArgs() < 3) in evalMemcmp() 1225 if (CE->getNumArgs() < 1) in evalstrLength() 1234 if (CE->getNumArgs() < 2) in evalstrnLength() 1361 if (CE->getNumArgs() < 2) in evalStrcpy() 1372 if (CE->getNumArgs() < 3) in evalStrncpy() 1383 if (CE->getNumArgs() < 2) in evalStpcpy() [all …]
|
D | ObjCContainersASTChecker.cpp | 106 if (CE->getNumArgs() != 4) in VisitCallExpr() 113 if (CE->getNumArgs() != 6) in VisitCallExpr()
|
/external/llvm/lib/Option/ |
D | Option.cpp | 81 O << " NumArgs:" << getNumArgs(); in print() 190 Index += 1 + getNumArgs(); in accept() 194 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(), in accept() 195 Args.getArgString(Index - getNumArgs())); in accept() 196 for (unsigned i = 1; i != getNumArgs(); ++i) in accept() 197 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in accept()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | CheckTraceVisitor.cpp | 56 if (call->getNumArgs() != 1) in VisitCallExpr() 167 if (call->getNumArgs() == 1 && fn_name == kTraceName) { in CheckCXXDependentScopeMemberExpr() 174 } else if (call->getNumArgs() == 1 && in CheckCXXDependentScopeMemberExpr() 187 if (call->getNumArgs() == 1 && IsTraceCallName(fn_name)) { in CheckCXXDependentScopeMemberExpr() 196 if (call->getNumArgs() == 2 && fn_name == kTraceName && in CheckCXXDependentScopeMemberExpr() 255 if (call->getNumArgs() != 1) in CheckTraceBaseCall()
|
/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 41 NumDefs = OutDI->getNumArgs(); in CGIOperandList() 52 unsigned e = InDI->getNumArgs() + OutDI->getNumArgs(); in CGIOperandList() 96 if (unsigned NumArgs = MIOpInfo->getNumArgs()) in CGIOperandList() 195 for (unsigned i = 0, e = MIOpInfo->getNumArgs(); i != e; ++i) in ParseOperandName() 570 if (MIOpInfo->getNumArgs() == 0) { in getMINumOperands() 575 return MIOpInfo->getNumArgs(); in getMINumOperands() 597 for (unsigned i = 0, e = Result->getNumArgs(); i != e; ++i) { in CodeGenInstAlias() 623 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 664 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 685 if (AliasOpNo != Result->getNumArgs()) in CodeGenInstAlias()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeGenInstruction.cpp | 41 NumDefs = OutDI->getNumArgs(); in CGIOperandList() 52 for (unsigned i = 0, e = InDI->getNumArgs()+OutDI->getNumArgs(); i != e; ++i){ in CGIOperandList() 91 if (unsigned NumArgs = MIOpInfo->getNumArgs()) in CGIOperandList() 190 for (unsigned i = 0, e = MIOpInfo->getNumArgs(); i != e; ++i) in ParseOperandName() 495 for (unsigned i = 0, e = Result->getNumArgs(); i != e; ++i) { in CodeGenInstAlias() 518 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 537 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 558 if (AliasOpNo != Result->getNumArgs()) in CodeGenInstAlias()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalInits.cpp | 77 for (SizeT i = 0; i < Signature.getNumArgs(); ++i) { in validateRegularTypeSignature() 86 if (Signature.getNumArgs() != Info->getNumArgs()) in validateIntrinsicTypeSignature() 88 for (SizeT i = 0; i < Signature.getNumArgs(); ++i) { in validateIntrinsicTypeSignature()
|
/external/clang/lib/Basic/ |
D | IdentifierTable.cpp | 374 unsigned getNumArgs() const { return ExtraKindOrNumArgs - NUM_EXTRA_KINDS; } in getNumArgs() function in clang::MultiKeywordSelector 381 return keyword_begin()+getNumArgs(); in keyword_end() 384 assert(i < getNumArgs() && "getIdentifierInfoForSlot(): illegal index"); in getIdentifierInfoForSlot() 394 Profile(ID, keyword_begin(), getNumArgs()); in Profile() 399 unsigned Selector::getNumArgs() const { in getNumArgs() function in Selector 407 return SI->getNumArgs(); in getNumArgs() 445 if (getNumArgs() == 0) in getAsString()
|
/external/clang/lib/Index/ |
D | CommentToXML.cpp | 271 if (C->getNumArgs() == 0) in visitInlineCommandComment() 281 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) { in visitInlineCommandComment() 288 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 294 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 300 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 625 if (C->getNumArgs() == 0) in visitInlineCommandComment() 635 for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) { in visitInlineCommandComment() 641 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 647 assert(C->getNumArgs() == 1); in visitInlineCommandComment() 653 assert(C->getNumArgs() == 1); in visitInlineCommandComment()
|
/external/clang/tools/libclang/ |
D | CXComment.cpp | 175 return ICC->getNumArgs(); in clang_InlineCommandComment_getNumArgs() 181 if (!ICC || ArgIdx >= ICC->getNumArgs()) in clang_InlineCommandComment_getArgText() 241 return BCC->getNumArgs(); in clang_BlockCommandComment_getNumArgs() 247 if (!BCC || ArgIdx >= BCC->getNumArgs()) in clang_BlockCommandComment_getArgText()
|
/external/clang/lib/Lex/ |
D | MacroArgs.cpp | 149 assert(Arg < MI->getNumArgs() && "Invalid argument number!"); in getPreExpArgument() 152 if (PreExpArgTokens.size() < MI->getNumArgs()) in getPreExpArgument() 153 PreExpArgTokens.resize(MI->getNumArgs()); in getPreExpArgument()
|
D | MacroInfo.cpp | 78 getNumArgs() != Other.getNumArgs() || in isIdenticalTo()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 137 virtual unsigned getNumArgs() const = 0; 211 unsigned getNumArgs() const override { return ArgKinds.size(); } 366 unsigned getNumArgs() const override { return 0; } 550 unsigned getNumArgs() const override { 551 unsigned Overload0NumArgs = Overloads[0]->getNumArgs(); 554 assert(Overload0NumArgs == O->getNumArgs()); 617 unsigned getNumArgs() const override { return 0; }
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 645 return getArgs() + getNumArgs(); in end() 650 return getArgs() + getNumArgs(); in end() 655 assert(Idx < getNumArgs() && "Template argument out of range"); in getArg() 661 assert(Idx < getNumArgs() && "Template argument out of range"); in getArg()
|
/external/v8/tools/clang/plugins/ |
D | CheckIPCVisitor.cpp | 88 if (call_expr->getNumArgs() != 2) { in ValidateWriteParamSignature() 141 for (unsigned i = 0; i != spec->getNumArgs(); ++i) { in ValidateCheckedTuple()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 57 unsigned argCount = call->getNumArgs(); in checkArgCount() 154 if (TheCall->getNumArgs() <= SizeIdx || in SemaBuiltinMemChkCall() 155 TheCall->getNumArgs() <= DstSizeIdx) in SemaBuiltinMemChkCall() 331 unsigned TotalNumArgs = TheCall->getNumArgs(); in checkOpenCLEnqueueVariadicArgs() 373 unsigned NumArgs = TheCall->getNumArgs(); in SemaOpenCLBuiltinEnqueueKernel() 566 switch (Call->getNumArgs()) { in SemaBuiltinRWPipe() 685 if (Call->getNumArgs() != 1) { in SemaOpenCLBuiltinToAddr() 742 assert(TheCall->getNumArgs() == 1 && in CheckBuiltinFunctionCall() 1199 unsigned ImmArg = TheCall->getNumArgs()-1; in CheckNeonBuiltinFunctionCall() 2157 unsigned NumArgs = TheCall->getNumArgs(); in CheckFunctionCall() [all …]
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 421 for (unsigned I = getNumArgs(); I > 0; --I) { in getLocEnd() 438 if (getNumArgs() == 1) in getSourceRangeImpl() 450 } else if (getNumArgs() == 1) { in getSourceRangeImpl() 452 } else if (getNumArgs() == 2) { in getSourceRangeImpl() 661 if (getNumArgs() == 0) in getLiteralOperatorKind() 663 if (getNumArgs() == 2) in getLiteralOperatorKind() 666 assert(getNumArgs() == 1 && "unexpected #args in literal operator call"); in getLiteralOperatorKind() 746 if (Loc.isInvalid() && getNumArgs()) in getLocEnd() 747 Loc = getArg(getNumArgs()-1)->getLocEnd(); in getLocEnd()
|
D | StmtProfile.cpp | 1015 if (S->getNumArgs() == 1) { in DecodeOperatorCall() 1024 if (S->getNumArgs() == 1) { in DecodeOperatorCall() 1033 if (S->getNumArgs() == 1) { in DecodeOperatorCall() 1054 if (S->getNumArgs() == 1) { in DecodeOperatorCall() 1159 UnaryOp = S->getNumArgs() == 1? UO_PreInc in DecodeOperatorCall() 1164 UnaryOp = S->getNumArgs() == 1? UO_PreDec in DecodeOperatorCall() 1192 for (unsigned I = 0, N = S->getNumArgs(); I != N; ++I) in VisitCXXOperatorCallExpr() 1410 ID.AddInteger(S->getNumArgs()); in VisitTypeTraitExpr() 1411 for (unsigned I = 0, N = S->getNumArgs(); I != N; ++I) in VisitTypeTraitExpr()
|
/external/llvm/lib/TableGen/ |
D | SetTheory.cpp | 152 SmallVector<RecSet, 4> Args(Expr->getNumArgs()); in apply() 154 for (unsigned i = 0, e = Expr->getNumArgs(); i != e; ++i) { in apply() 160 for (unsigned i = 0, e = Expr->getNumArgs(); i != e; ++i) in apply()
|