Home
last modified time | relevance | path

Searched defs:FD (Results 1 – 25 of 262) sorted by relevance

1234567891011

/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DRetainSummaryManager.cpp192 static bool isRetain(const FunctionDecl *FD, StringRef FName) { in isRetain()
197 static bool isRelease(const FunctionDecl *FD, StringRef FName) { in isRelease()
202 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { in isAutorelease()
243 RetainSummaryManager::getSummaryForOSObject(const FunctionDecl *FD, in getSummaryForOSObject()
294 const FunctionDecl *FD, in getSummaryForObjCOrCFObject()
501 RetainSummaryManager::generateSummary(const FunctionDecl *FD, in generateSummary()
540 RetainSummaryManager::getFunctionSummary(const FunctionDecl *FD) { in getFunctionSummary()
710 RetainSummaryManager::getCFCreateGetRuleSummary(const FunctionDecl *FD) { in getCFCreateGetRuleSummary()
718 const Decl *FD) { in isTrustedReferenceCountImplementation()
723 RetainSummaryManager::canEval(const CallExpr *CE, const FunctionDecl *FD, in canEval()
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/libio/
H A Dstdfiles.c37 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ argument
45 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ argument
53 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ argument
60 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ argument
H A Dfileops.c54 # define close(FD) __close (FD) argument
55 # define lseek(FD, Offset, Whence) __lseek (FD, Offset, Whence) argument
56 # define read(FD, Buf, NBytes) __read (FD, Buf, NBytes) argument
57 # define write(FD, Buf, NBytes) __write (FD, Buf, NBytes) argument
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp134 const FunctionDecl *FD = CE->getDirectCallee(); in VisitCallExpr() local
349 void WalkAST::checkCall_bcmp(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_bcmp()
391 void WalkAST::checkCall_bcopy(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_bcopy()
434 void WalkAST::checkCall_bzero(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_bzero()
476 void WalkAST::checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_gets()
512 void WalkAST::checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_getpw()
552 void WalkAST::checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_mktemp()
593 void WalkAST::checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_mkstemp()
678 void WalkAST::checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_strcpy()
717 void WalkAST::checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) { in checkCall_strcat()
[all …]
H A DPaddingChecker.cpp173 auto IsTrickyField = [](const FieldDecl *FD) -> bool { in shouldSkipDecl()
195 for (const FieldDecl *FD : RD->fields()) { in calculateBaselinePad() local
252 auto GatherSizesAndAlignments = [](const FieldDecl *FD) { in calculateOptimalPad()
337 for (const auto *FD : OptimalFieldsOrder) in reportRecord() local
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAutoConvert.cpp20 std::error_code llvm::disableAutoConversion(int FD) { in disableAutoConversion()
31 std::error_code llvm::enableAutoConversion(int FD) { in enableAutoConversion()
53 std::error_code llvm::setFileTag(int FD, int CCSID, bool Text) { in setFileTag()
H A DMemoryBuffer.cpp211 MemoryBufferMMapFile(bool RequiresNullTerminator, sys::fs::file_t FD, uint64_t Len, in MemoryBufferMMapFile()
240 getMemoryBufferForStream(sys::fs::file_t FD, const Twine &BufferName) { in getMemoryBufferForStream()
271 sys::fs::file_t FD = *FDOrErr; in getFileAux() local
338 static bool shouldUseMmap(sys::fs::file_t FD, in shouldUseMmap()
400 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile() local
448 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, in getOpenFileImpl()
519 MemoryBuffer::getOpenFile(sys::fs::file_t FD, const Twine &Filename, in getOpenFile()
528 sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize, int64_t Offset, in getOpenFileSlice()
551 sys::fs::file_t FD = *FDOrErr; in getFileAsStream() local
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp388 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) { in clang_getFieldDeclBitWidth() local
654 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) in clang_isFunctionTypeVariadic() local
668 if (const FunctionType *FD = T->getAs<FunctionType>()) { in clang_getFunctionTypeCallingConv() local
705 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { in clang_getNumArgTypes() local
721 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { in clang_getArgType() local
737 if (const FunctionType *FD = T->getAs<FunctionType>()) in clang_getResultType() local
790 if (const auto *FD = T->getAs<FunctionProtoType>()) in clang_getExceptionSpecificationType() local
1056 if (const FieldDecl *FD = dyn_cast<FieldDecl>(Res.front())) in clang_Type_getOffsetOf() local
1089 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) in clang_Cursor_getOffsetOfField() local
1101 const FunctionProtoType *FD = QT->getAs<FunctionProtoType>(); in clang_Type_getCXXRefQualifier() local
[all …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp67 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in WriteNamedDecl() local
86 if (const auto *FD = in WriteNamedDecl() local
123 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) in WriteNamedDecl() local
246 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) in HandleTranslationUnit() local
275 for (const auto *FD : v.LateParsedDecls) { in HandleTranslationUnit() local
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSema.cpp602 FunctionDecl *FD = getCurFunctionDecl(); in diagnoseZeroToNullptrConversion() local
727 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldRemoveFromUnused() local
782 if (auto *FD = dyn_cast<FunctionDecl>(ND)) in isFunctionOrVarDeclExternC() local
821 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in getUndefinedButUsed() local
898 } else if (auto *FD = dyn_cast<FunctionDecl>(VD)) { in checkUndefinedButUsed() local
995 if (const FunctionDecl *FD = in IsRecordFullyDefined() local
1261 if (auto *FD = dyn_cast<FunctionDecl>(D)) { in ActOnEndOfTranslationUnit() local
1347 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in ActOnEndOfTranslationUnit() local
1599 auto *FD = dyn_cast<FunctionDecl>(CurContext); in hasUncompilableErrorOccurred() local
1614 static void emitCallStackNotes(Sema &S, FunctionDecl *FD) { in emitCallStackNotes()
[all …]
H A DSemaSYCL.cpp25 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); in SYCLDiagIfDeviceCode() local
76 if (auto *FD = dyn_cast<FieldDecl>(D)) in deepTypeCheckForSYCLDevice() local
H A DSemaDecl.cpp1473 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext() local
1897 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldWarnIfUnusedFileScopedDecl() local
1952 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in MarkUnusedFileScopedDecl() local
2265 if (const auto *FD = dyn_cast<FieldDecl>(ShadowI->second)) { in ActOnPopScope() local
2983 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in getDefinition() local
3013 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(New)) { in checkNewAttributesAfterDef() local
3462 if (const auto *FD = dyn_cast<FunctionDecl>(Old)) { in getNoteDiagForInvalidRedeclaration() local
3476 static bool canRedefineFunction(const FunctionDecl *FD, in canRedefineFunction()
3600 if (auto *FD = dyn_cast<FunctionDecl>(NewD)) in adjustDeclContextForDeclaratorDecl() local
4921 if (auto *FD = dyn_cast<FieldDecl>(D)) { in getNonCLikeKindForAnonymousStruct() local
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallDescription.cpp62 const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); in matches() local
70 const auto *FD = dyn_cast_or_null<FunctionDecl>(CE.getCalleeDecl()); in matchesAsWritten() local
80 const auto *FD = Callee; in matchesImpl() local
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DFileSystem.h418 inline std::error_code resize_file_before_mapping_readwrite(int FD, in resize_file_before_mapping_readwrite()
532 inline bool is_local(int FD) { in is_local()
710 inline std::error_code setLastAccessAndModificationTime(int FD, in setLastAccessAndModificationTime()
867 int FD = -1; variable
993 inline file_t convertFDToNativeFile(int FD) { return FD; } in convertFDToNativeFile()
1227 int FD; ///< Locked file handle. variable
1228 FileLocker(int FD) : FD(FD) {} in FileLocker()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp614 if (auto *FD = dyn_cast<FunctionDecl>(D)) in Release() local
1440 const auto *FD = dyn_cast<FunctionDecl>(ND); in getMangledNameImpl() local
1467 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) in getMangledNameImpl() local
1501 const FunctionDecl *FD, in UpdateMultiVersionNames()
1792 const FunctionDecl *FD, in GenKernelArgMetadata()
2082 if (auto *FD = dyn_cast<FunctionDecl>(D)) { in SetLLVMFunctionAttributesForDefinition() local
2084 auto CheckForInline = [](const FunctionDecl *FD) { in SetLLVMFunctionAttributesForDefinition()
2143 if (auto *FD = dyn_cast<FunctionDecl>(D)) { in SetLLVMFunctionAttributesForDefinition() local
2200 const auto *FD = dyn_cast_or_null<FunctionDecl>(GD.getDecl()); in GetCPUAndFeaturesAttributes() local
2334 void CodeGenModule::CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD, in CreateFunctionTypeMetadataForIcall()
[all …]
H A DCGRecordLayout.h197 unsigned getLLVMFieldNo(const FieldDecl *FD) const { in getLLVMFieldNo()
222 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { in getBitFieldInfo()
H A DCodeGenABITypes.cpp98 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType()
115 const FieldDecl *FD) { in getLLVMFieldNumber()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DMangle.cpp59 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) in isExternC() local
74 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) in getCallingConvMangling() local
85 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND); in getCallingConvMangling() local
211 const FunctionDecl *FD = cast<FunctionDecl>(D); in mangleName() local
405 if (auto *FD = dyn_cast<FunctionDecl>(D)) { in writeName() local
H A DRandstruct.cpp94 FieldDecl *FD = *FieldIter; in randomizeStructureLayoutImpl() local
183 if (auto *FD = dyn_cast<FieldDecl>(D)) in randomizeStructureLayout() local
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclFriend.h148 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) in getSourceRange() local
249 inline void CXXRecordDecl::pushFriendDecl(FriendDecl *FD) { in pushFriendDecl()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexDecl.cpp106 if (auto *FD = dyn_cast<FunctionDecl>(DC)) { in handleDeclarator() local
116 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in handleDeclarator() local
127 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { in handleDeclarator() local
230 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) { in gatherTemplatePseudoOverrides() local
687 if (const auto *FD = dyn_cast<FunctionDecl>(D)) in shouldIndexTemplateParameterDefaultValue() local
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp135 if (FunctionDecl *FD = callE->getDirectCallee()) { in transformNonObjCToObjCCast() local
418 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) in isPassedToCFRetain() local
431 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) { in isPassedToCParamWithKnownOwnership() local
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/
H A DAnyCall.h135 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { in forDecl() local
148 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { in parameters() local
/openbsd-src/gnu/llvm/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp63 bool BugDriver::writeProgramToFile(const std::string &Filename, int FD, in writeProgramToFile()
69 bool BugDriver::writeProgramToFile(int FD, const Module &M) const { in writeProgramToFile()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DPrintPasses.cpp170 std::error_code llvm::prepareTempFiles(SmallVector<int> &FD, in prepareTempFiles()
212 static SmallVector<int> FD{-1, -1, -1}; in doSystemDiff() local

1234567891011