/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/swiftshader/third_party/llvm-7.0/llvm/lib/Option/ |
D | Option.cpp | 85 O << " NumArgs:" << getNumArgs(); in print() 196 Index += 1 + getNumArgs(); in accept() 200 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(), in accept() 201 Args.getArgString(Index - getNumArgs())); in accept() 202 for (unsigned i = 1; i != getNumArgs(); ++i) in accept() 203 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); in accept()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | CheckTraceVisitor.cpp | 48 if (call->getNumArgs() != 1) in VisitCallExpr() 149 if (call->getNumArgs() == 1 && fn_name == kTraceName) { in CheckCXXDependentScopeMemberExpr() 156 } else if (call->getNumArgs() == 1 && in CheckCXXDependentScopeMemberExpr() 169 if (call->getNumArgs() == 1 && IsTraceCallName(fn_name)) { in CheckCXXDependentScopeMemberExpr() 178 if (call->getNumArgs() == 2 && fn_name == kTraceName && in CheckCXXDependentScopeMemberExpr() 236 if (call->getNumArgs() != 1) in CheckTraceBaseCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 41 NumDefs = OutDI->getNumArgs(); in CGIOperandList() 52 unsigned e = InDI->getNumArgs() + OutDI->getNumArgs(); in CGIOperandList() 97 if (unsigned NumArgs = MIOpInfo->getNumArgs()) in CGIOperandList() 196 for (unsigned i = 0, e = MIOpInfo->getNumArgs(); i != e; ++i) in ParseOperandName() 442 if (i < ConstraintList->getNumArgs()) { in isOperandAPointer() 590 if (MIOpInfo->getNumArgs() == 0) { in getMINumOperands() 595 return MIOpInfo->getNumArgs(); in getMINumOperands() 615 for (unsigned i = 0, e = Result->getNumArgs(); i != e; ++i) { in CodeGenInstAlias() 647 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() 688 if (AliasOpNo >= Result->getNumArgs()) in CodeGenInstAlias() [all …]
|
D | X86FoldTablesEmitter.cpp | 368 unsigned MemOutSize = MemRec->getValueAsDag("OutOperandList")->getNumArgs(); in operator ()() 369 unsigned RegOutSize = RegRec->getValueAsDag("OutOperandList")->getNumArgs(); in operator ()() 370 unsigned MemInSize = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in operator ()() 371 unsigned RegInSize = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in operator ()() 452 unsigned MemInOpsNum = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in addEntryWithFlags() 453 unsigned RegInOpsNum = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in addEntryWithFlags() 505 unsigned MemOutSize = MemRec->getValueAsDag("OutOperandList")->getNumArgs(); in updateTables() 506 unsigned RegOutSize = RegRec->getValueAsDag("OutOperandList")->getNumArgs(); in updateTables() 507 unsigned MemInSize = MemRec->getValueAsDag("InOperandList")->getNumArgs(); in updateTables() 508 unsigned RegInSize = RegRec->getValueAsDag("InOperandList")->getNumArgs(); in updateTables()
|
D | RISCVCompressInstEmitter.cpp | 251 if (Dag->getNumArgs() == Inst.Operands.size()) in verifyDagOpCount() 259 if (Dag->getNumArgs() > Inst.Operands.size()) in verifyDagOpCount() 270 if (Dag->getNumArgs() != RealCount) in verifyDagOpCount() 293 for (unsigned i = 0; i < DestDag->getNumArgs(); ++i) { in createDagOperandMapping() 301 for (unsigned i = 0; i < SourceDag->getNumArgs(); ++i) { in createDagOperandMapping()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibFunc.h | 332 virtual unsigned getNumArgs() const = 0; 372 unsigned getNumArgs() const { return Impl->getNumArgs(); } in getNumArgs() function 416 unsigned getNumArgs() const override; 446 unsigned getNumArgs() const override;
|
D | AMDGPULibFunc.cpp | 66 unsigned getNumArgs() const; 109 static unsigned getNumArgs(ID Id) { return Table[toIndex(Id)].NumArgs; } in getNumArgs() function in __anond8268b0e0111::UnmangledFuncInfo 113 unsigned ManglingRule::getNumArgs() const { in getNumArgs() function in __anond8268b0e0111::ManglingRule 935 unsigned AMDGPUMangledLibFunc::getNumArgs() const { in getNumArgs() function in AMDGPUMangledLibFunc 936 return manglingRules[FuncId].getNumArgs(); in getNumArgs() 939 unsigned AMDGPUUnmangledLibFunc::getNumArgs() const { in getNumArgs() function in AMDGPUUnmangledLibFunc 940 return UnmangledFuncInfo::getNumArgs(FuncId); in getNumArgs() 958 && F->arg_size() == fInfo.getNumArgs()) { in getFunction() 973 && F->arg_size() == fInfo.getNumArgs()) { in getOrInsertFunction()
|
/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()
|
/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()
|