/external/clang/lib/AST/ |
H A D | Mangle.cpp | 59 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) 60 return FD->isExternC(); 75 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND); local 76 if (!FD) 78 QualType T = FD->getType(); 153 const FunctionDecl *FD = cast<FunctionDecl>(D); local 154 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); 163 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
|
H A D | APValue.cpp | 521 if (const FieldDecl *FD = getUnionField()) { 522 Out << "." << *FD << " = "; local 523 getUnionValue().printPretty(Out, Ctx, FD->getType());
|
H A D | DeclPrinter.cpp | 506 FieldDecl *FD = BMInitializer->getAnyMember(); local 507 Out << *FD; local 604 else if (FunctionDecl *FD = 607 VisitFunctionDecl(FD);
|
/external/clang/lib/Frontend/ |
H A D | ASTConsumers.cpp | 253 const FunctionDecl* FD = cast<FunctionDecl>(DC); local 254 if (FD->doesThisDeclarationHaveABody()) 258 Out << *FD; local 262 for (auto I : FD->params()) { 410 FieldDecl *FD = cast<FieldDecl>(I); local 411 Out << "<field> " << *FD << '\n'; local
|
H A D | MultiplexConsumer.cpp | 101 void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) override; 151 void MultiplexASTMutationListener::DeducedReturnType(const FunctionDecl *FD, argument 154 Listeners[i]->DeducedReturnType(FD, ReturnType);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 243 const FunctionDecl *FD = TheCall->getDirectCallee(); local 245 if (!FD) 249 IdentifierInfo *FnInfo = FD->getIdentifier();
|
H A D | MallocSizeofChecker.cpp | 94 const FunctionDecl *FD = E->getDirectCallee(); local 95 if (FD) { 96 IdentifierInfo *II = FD->getIdentifier();
|
H A D | UnixAPIChecker.cpp | 328 const FunctionDecl *FD = C.getCalleeDecl(CE); local 329 if (!FD || FD->getKind() != Decl::Function) 332 StringRef FName = C.getCalleeName(FD);
|
H A D | VirtualCallChecker.cpp | 71 const FunctionDecl *FD = WLUnit->getDirectCallee(); local 72 if (!FD || !FD->getBody()) 74 Kind &K = VisitedFunctions[FD]; 90 const FunctionDecl *FD = WLUnit->getDirectCallee(); local 91 assert(FD && FD->getBody()); 93 if (VisitedFunctions[FD] == PreVisited) { 97 Visit(FD->getBody()); 101 VisitedFunctions[FD] 177 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); local 180 os << " <-- " << *FD; local [all...] |
H A D | StreamChecker.cpp | 109 const FunctionDecl *FD = C.getCalleeDecl(CE); local 110 if (!FD || FD->getKind() != Decl::Function) 143 if (FD->getIdentifier() == II_fopen) { 147 if (FD->getIdentifier() == II_tmpfile) { 151 if (FD->getIdentifier() == II_fclose) { 155 if (FD->getIdentifier() == II_fread) { 159 if (FD->getIdentifier() == II_fwrite) { 163 if (FD->getIdentifier() == II_fseek) { 167 if (FD [all...] |
/external/clang/tools/libclang/ |
H A D | IndexDecl.cpp | 44 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 45 for (auto PI : FD->params()) { 297 FunctionDecl *FD = D->getTemplatedDecl(); local 298 handleDeclarator(FD, D); 299 if (FD->isThisDeclarationADefinition()) { 300 const Stmt *Body = FD->getBody(); 302 IndexCtx.indexBody(Body, D, FD);
|
H A D | CXType.cpp | 310 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) { 311 if (FD->isBitField()) 312 return FD->getBitWidthValue(getCursorContext(C)); 501 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) 502 return (unsigned)FD->isVariadic(); 515 if (const FunctionType *FD = T->getAs<FunctionType>()) { 517 switch (FD->getCallConv()) { 541 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { 542 return FD->getNumParams(); 557 if (const FunctionProtoType *FD 823 const FunctionProtoType *FD = QT->getAs<FunctionProtoType>(); local 840 const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(cxcursor::getCursorDecl(C)); local [all...] |
/external/clang/unittests/Tooling/ |
H A D | RefactoringTest.cpp | 229 int FD; local 230 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); 234 llvm::raw_fd_ostream OutStream(FD, true);
|
/external/llvm/include/llvm/Support/ |
H A D | GraphWriter.h | 322 std::string createGraphFilename(const Twine &Name, int &FD); 327 int FD; local 331 std::string Filename = createGraphFilename(N, FD); 332 raw_fd_ostream O(FD, /*shouldClose=*/ true); 334 if (FD == -1) {
|
H A D | raw_ostream.h | 316 int FD; member in class:llvm::raw_fd_ostream 357 /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If
|
/external/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 187 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, argument 189 : MFR(FD, false, sys::fs::mapped_file_region::readonly, 209 getMemoryBufferForStream(int FD, StringRef BufferName) { argument 216 ReadBytes = read(FD, Buffer.end(), ChunkSize); 244 getOpenFileImpl(int FD, const char *Filename, uint64_t FileSize, 251 int FD; local 252 std::error_code EC = sys::fs::openFileForRead(Filename, FD); 257 getOpenFileImpl(FD, Filename, FileSize, FileSize, 0, 259 close(FD); 263 static bool shouldUseMmap(int FD, argument 312 getOpenFileImpl(int FD, const char *Filename, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize) argument 390 getOpenFile(int FD, const char *Filename, uint64_t FileSize, bool RequiresNullTerminator, bool IsVolatileSize) argument 397 getOpenFileSlice(int FD, const char *Filename, uint64_t MapSize, int64_t Offset, bool IsVolatileSize) argument [all...] |
/external/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 368 int FD; local 370 OutputPrefix + "-extractblocks%%%%%%%", FD, Filename); 379 tool_output_file BlocksToNotExtractFile(Filename.c_str(), FD);
|
/external/protobuf/src/google/protobuf/ |
H A D | dynamic_message.cc | 95 typedef FieldDescriptor FD; // avoid line wrapping typedef 96 if (field->label() == FD::LABEL_REPEATED) { 98 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >); 99 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >); 100 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >); 101 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >); 102 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >); 103 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >); 104 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >); 105 case FD [all...] |
/external/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 118 FunctionDecl *FD = FnD->getAsFunction(); local 119 Actions.CheckForFunctionRedefinition(FD); 120 Actions.MarkAsLateParsedTemplate(FD, FnD, Toks); 170 FunctionDecl *FD = FnD->getAsFunction(); local 171 Actions.CheckForFunctionRedefinition(FD); 172 FD->setLateTemplateParsed(true);
|
/external/clang/lib/Rewrite/Core/ |
H A D | Rewriter.cpp | 442 int FD; local 443 if (llvm::sys::fs::createUniqueFile(TempFilename.str(), FD, TempFilename)) { 448 FileStream.reset(new llvm::raw_fd_ostream(FD, /*shouldClose=*/true));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 380 FunctionDecl *FD = CNE->getOperatorNew(); local 383 if (FD && !isa<CXXMethodDecl>(FD) && !FD->isVariadic()) { 384 if (FD->getNumParams() == 2) { 385 QualType T = FD->getParamDecl(1)->getType(); 392 IsStandardGlobalOpNewFunction = (FD->getNumParams() == 1); 423 if (FD) { 424 QualType Ty = FD->getType(); 450 if (FD [all...] |
/external/clang/test/SemaTemplate/ |
H A D | default-expr-arguments.cpp | 35 struct FD : F<int> { }; struct in inherits:F 39 FD fd;
|
/external/llvm/lib/LTO/ |
H A D | LTOCodeGenerator.cpp | 194 int FD; local 196 sys::fs::createTemporaryFile("lto-llvm", "o", FD, Filename); 203 tool_output_file objFile(Filename.c_str(), FD);
|
/external/clang/lib/CodeGen/ |
H A D | CGRecordLayoutBuilder.cpp | 83 const FieldDecl *FD; member in union:__anon17851::CGRecordLowering::MemberInfo::__anon17852 87 const FieldDecl *FD = nullptr) 88 : Offset(Offset), Kind(Kind), Data(Data), FD(FD) {} 120 llvm::Type *getStorageType(const FieldDecl *FD) { argument 121 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); 122 return useMSABI() || !FD->isBitField() ? Type : 123 getIntNType(std::min(FD->getBitWidthValue(Context), 139 bool isZeroInitializable(const FieldDecl *FD) { argument 140 const Type *Type = FD 154 getFieldBitOffset(const FieldDecl *FD) argument 213 setBitFieldInfo( const FieldDecl *FD, CharUnits StartOffset, llvm::Type *StorageType) argument 603 MakeInfo(CodeGenTypes &Types, const FieldDecl *FD, uint64_t Offset, uint64_t Size, uint64_t StorageSize, uint64_t StorageAlignment) argument 715 const FieldDecl *FD = *it; local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 480 void Sema::AddRangeBasedOptnone(FunctionDecl *FD) { argument 484 AddOptnoneAttributeIfNoConflicts(FD, OptimizeOffPragmaLocation); 487 void Sema::AddOptnoneAttributeIfNoConflicts(FunctionDecl *FD, argument 490 if (FD->hasAttr<MinSizeAttr>() || FD->hasAttr<AlwaysInlineAttr>()) 495 if (!FD->hasAttr<OptimizeNoneAttr>()) 496 FD->addAttr(OptimizeNoneAttr::CreateImplicit(Context, Loc)); 497 if (!FD->hasAttr<NoInlineAttr>()) 498 FD->addAttr(NoInlineAttr::CreateImplicit(Context, Loc));
|