/external/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 135 void Sema::UpdateExceptionSpec(FunctionDecl *FD, argument 137 const FunctionProtoType *Proto = FD->getType()->castAs<FunctionProtoType>(); 145 FD->setType(Context.getFunctionType(Proto->getReturnType(), 151 Listener->ResolvedExceptionSpec(FD);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CallAndMessageChecker.cpp | 385 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D); local 386 if (FD) { 389 unsigned Params = FD->getNumParams(); 423 if(FD && i < FD->getNumParams()) 424 ParamDecl = FD->getParamDecl(i);
|
H A D | CheckSecuritySyntaxOnly.cpp | 86 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 93 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 94 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 95 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 96 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 97 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 98 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 99 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD); 100 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD); 101 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD); 118 const FunctionDecl *FD = CE->getDirectCallee(); local 306 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument 342 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument 382 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument 424 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument 507 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument 534 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument 558 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument 589 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument 612 os1 << '\\'' << *FD << "' is a poor random number generator"; local 616 os2 << "Function '" << *FD local 632 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument 660 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument 687 const FunctionDecl *FD = CE->getDirectCallee(); local 728 os1 << "Return value is not checked in call to '" << *FD << '\\''; local 733 << "' is not checked. If an error occurs in '" << *FD local [all...] |
H A D | MacOSKeychainAPIChecker.cpp | 284 const FunctionDecl *FD = C.getCalleeDecl(CE); local 285 if (!FD || FD->getKind() != Decl::Function) 288 StringRef funName = C.getCalleeName(FD); 446 const FunctionDecl *FD = C.getCalleeDecl(CE); local 447 if (!FD || FD->getKind() != Decl::Function) 450 StringRef funName = C.getCalleeName(FD);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 104 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl()); local 105 if (!FD) 108 return CheckerContext::isCLibraryFunction(FD, FunctionName); 245 if (const FunctionDecl* FD = dyn_cast<FunctionDecl>(D)) 246 return FD->getReturnType(); 275 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 276 return FD->isVariadic();
|
H A D | HTMLDiagnostics.cpp | 278 int FD; local 285 llvm::sys::fs::createUniqueFile(Model.str(), FD, ResultPath)) { 306 FD, 318 llvm::raw_fd_ostream os(FD, true);
|
H A D | ExprEngineCallAndReturn.cpp | 385 static bool IsInStdNamespace(const FunctionDecl *FD) { argument 386 const DeclContext *DC = FD->getEnclosingNamespaceContext(); 717 const FunctionDecl *FD) { 718 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) 725 static bool isCXXSharedPtrDtor(const FunctionDecl *FD) { argument 726 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); 752 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CalleeADC->getDecl())) { 755 if (FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate) 760 if (Ctx.getSourceManager().isInSystemHeader(FD->getLocation())) 761 if (IsInStdNamespace(FD)) 716 isContainerMethod(const ASTContext &Ctx, const FunctionDecl *FD) argument [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 223 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 224 return FD->isOverloadedOperator() && FD->isImplicit() && FD->isGlobal(); 398 const FunctionDecl *FD = getDecl(); variable 401 if (FD) { 404 getManager()->getContext(FD);
|
H A D | MemRegion.h | 546 const NamedDecl *FD; member in class:clang::ento::FunctionTextRegion 549 : CodeTextRegion(sreg, FunctionTextRegionKind), FD(fd) { 555 if (const FunctionDecl *D = dyn_cast<FunctionDecl>(FD)) { 559 assert(isa<ObjCMethodDecl>(FD)); 568 return FD; 575 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const NamedDecl *FD, 943 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const FieldDecl *FD, argument 945 DeclRegion::ProfileRegion(ID, FD, superRegion, FieldRegionKind); 1264 const FunctionTextRegion *getFunctionTextRegion(const NamedDecl *FD);
|
/external/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 663 FunctionTemplateSpecializationInfo::Create(ASTContext &C, FunctionDecl *FD, argument 674 return new (C) FunctionTemplateSpecializationInfo(FD, Template, TSK,
|
H A D | ItaniumMangle.cpp | 290 void mangleFunctionEncoding(const FunctionDecl *FD); 394 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 395 if (FD) { 396 LanguageLinkage L = FD->getLanguageLinkage(); 398 if (FD->hasAttr<OverloadableAttr>()) 402 if (FD->isMain()) 407 if (!FD->getDeclName().isIdentifier() || L == CXXLanguageLinkage) 444 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 445 mangleFunctionEncoding(FD); 454 void CXXNameMangler::mangleFunctionEncoding(const FunctionDecl *FD) { argument 1115 const FieldDecl *FD = FindFirstNamedDataMember(RD); local [all...] |
H A D | MicrosoftMangle.cpp | 224 void mangleFunctionEncoding(const FunctionDecl *FD); 274 void mangleFunctionClass(const FunctionDecl *FD); 287 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 288 LanguageLinkage L = FD->getLanguageLinkage(); 290 if (FD->hasAttr<OverloadableAttr>()) 302 if (FD->isMSVCRTEntryPoint()) 307 if (!FD->getDeclName().isIdentifier() || L == CXXLanguageLinkage) 356 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 357 mangleFunctionEncoding(FD); 370 void MicrosoftCXXNameMangler::mangleFunctionEncoding(const FunctionDecl *FD) { argument 1606 mangleFunctionClass(const FunctionDecl *FD) argument [all...] |
H A D | RecordLayoutBuilder.cpp | 88 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset); 115 bool CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, 138 bool CanPlaceFieldAtOffset(const FieldDecl *FD, CharUnits Offset); 386 EmptySubobjectMap::CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, argument 393 QualType T = FD->getType(); 426 EmptySubobjectMap::CanPlaceFieldAtOffset(const FieldDecl *FD, argument 428 if (!CanPlaceFieldSubobjectAtOffset(FD, Offset)) 433 UpdateEmptyFieldSubobjects(FD, Offset); 486 void EmptySubobjectMap::UpdateEmptyFieldSubobjects(const FieldDecl *FD, argument 488 QualType T = FD 2265 getAdjustedElementInfo( const FieldDecl *FD) argument 2466 layoutField(const FieldDecl *FD) argument 2484 layoutBitField(const FieldDecl *FD) argument 2521 layoutZeroWidthBitField(const FieldDecl *FD) argument 2902 getFieldOffset(const ASTContext &C, const FieldDecl *FD) argument [all...] |
/external/clang/lib/Analysis/ |
H A D | ThreadSafetyCommon.cpp | 171 const FunctionDecl *FD = local 175 if (Ctx && Ctx->FunArgs && FD == Ctx->AttrDecl->getCanonicalDecl()) { 182 VD = FD->getParamDecl(I);
|
/external/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 134 void AddFunctionDefinition(const FunctionDecl *FD) { argument 135 assert(FD->doesThisDeclarationHaveABody()); 136 if (auto *CD = dyn_cast<CXXConstructorDecl>(FD)) 139 Writer.AddStmt(FD->getBody()); 157 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 158 Record.push_back(FD->doesThisDeclarationHaveABody()); 159 if (FD->doesThisDeclarationHaveABody()) 160 Writer.AddStmt(FD->getBody()); 1924 void ASTWriter::AddFunctionDefinition(const FunctionDecl *FD, 1928 ASTDeclWriter W(*this, FD [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 344 bool VisitFunctionDecl(FunctionDecl *FD) { argument 345 IdentifierInfo *II = FD->getIdentifier(); 351 if (FD->isThisDeclarationADefinition() && 352 !FD->isDependentContext()) { 354 HandleCode(FD, RecVisitorMode); 726 int FD; local 727 llvm::sys::fs::createTemporaryFile("llvm_ubi", "", FD, P); 731 Stream.reset(new llvm::raw_fd_ostream(FD, true));
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | evlist.c | 27 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y)) macro 262 ioctl(FD(pos, cpu, thread), 280 ioctl(FD(pos, cpu, thread), 296 err = ioctl(FD(evsel, cpu, thread), 315 err = ioctl(FD(evsel, cpu, thread), 618 int fd = FD(evsel, cpu, thread); 656 int fd = FD(evsel, 0, thread);
|
/external/llvm/tools/llvm-ar/ |
H A D | llvm-ar.cpp | 325 int FD; local 327 sys::fs::openFileForWrite(Storage.c_str(), FD, sys::fs::F_None, Mode), 331 raw_fd_ostream file(FD, false); 344 sys::fs::setLastModificationAndAccessTime(FD, I->getLastModified())); 346 if (close(FD)) 771 int FD = Member.getFD(); local 774 MemoryBuffer::getOpenFile(FD, Filename, Status.getSize(), false);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_unittest.cc | 1576 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef 1578 EXPECT_STREQ("double" , GetTypeNameForFieldType(FD::TYPE_DOUBLE )); 1579 EXPECT_STREQ("float" , GetTypeNameForFieldType(FD::TYPE_FLOAT )); 1580 EXPECT_STREQ("int64" , GetTypeNameForFieldType(FD::TYPE_INT64 )); 1581 EXPECT_STREQ("uint64" , GetTypeNameForFieldType(FD::TYPE_UINT64 )); 1582 EXPECT_STREQ("int32" , GetTypeNameForFieldType(FD::TYPE_INT32 )); 1583 EXPECT_STREQ("fixed64" , GetTypeNameForFieldType(FD::TYPE_FIXED64 )); 1584 EXPECT_STREQ("fixed32" , GetTypeNameForFieldType(FD::TYPE_FIXED32 )); 1585 EXPECT_STREQ("bool" , GetTypeNameForFieldType(FD::TYPE_BOOL )); 1586 EXPECT_STREQ("string" , GetTypeNameForFieldType(FD 1601 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef 1626 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef 1659 typedef FieldDescriptorProto FD; // avoid ugly line wrapping typedef [all...] |
/external/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 290 FunctionTemplateSpecializationInfo(FunctionDecl *FD, argument 296 : Function(FD), 304 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, 2191 CXXMethodDecl *FD, bool Args, 2194 Specialization(FD), HasExplicitTemplateArgs(Args), 2212 CXXMethodDecl *FD, 2216 DC, Loc, FD, HasExplicitTemplateArgs, TemplateArgs); 2190 ClassScopeFunctionSpecializationDecl(DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool Args, TemplateArgumentListInfo TemplArgs) argument 2209 Create(ASTContext &C, DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool HasExplicitTemplateArgs, TemplateArgumentListInfo TemplateArgs) argument
|
/external/clang/include/clang/Analysis/ |
H A D | CFG.h | 675 void appendMemberDtor(FieldDecl *FD, BumpVectorContext &C) { argument 676 Elements.push_back(CFGMemberDtor(FD), C);
|
/external/clang/lib/Basic/ |
H A D | VirtualFileSystem.cpp | 89 int FD; member in class:__anon17800::RealFile 92 RealFile(int FD) : FD(FD) { argument 93 assert(FD >= 0 && "Invalid or inactive file descriptor"); 111 assert(FD != -1 && "cannot stat closed file"); 114 if (std::error_code EC = sys::fs::status(FD, RealStatus)) 128 assert(FD != -1 && "cannot get buffer for closed file"); 130 MemoryBuffer::getOpenFile(FD, Name.str().c_str(), FileSize, 149 if (::close(FD)) 181 int FD; local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1302 FunctionDecl *FD = FunctionDecl::Create(C, local 1311 StartFunction(FD, C.VoidTy, Fn, FI, args); 1475 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(), local 1482 StartFunction(FD, C.VoidTy, Fn, FI, args); 1766 FunctionDecl *FD = FunctionDecl::Create(Context, local 1773 CGF.StartFunction(FD, R, Fn, FI, args); 1837 FunctionDecl *FD = FunctionDecl::Create(Context, local 1843 CGF.StartFunction(FD, R, Fn, FI, args);
|
H A D | CGDecl.cpp | 165 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(CGF.CurFuncDecl)) 166 ContextName = CGM.getMangledName(FD); 1290 const FunctionDecl *FD = CA->getFunctionDecl(); local 1292 llvm::Constant *F = CGM.GetAddrOfFunction(FD); 1295 const CGFunctionInfo &Info = CGM.getTypes().arrangeFunctionDeclaration(FD);
|
H A D | CGException.cpp | 479 const FunctionDecl* FD = dyn_cast_or_null<FunctionDecl>(D); local 480 if (!FD) { 488 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); 553 const FunctionDecl* FD = dyn_cast_or_null<FunctionDecl>(D); local 554 if (!FD) { 562 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>();
|