/freebsd-11-stable/bin/ed/test/ |
H A D | mkscripts.sh | 7 ED=$1 8 [ ! -x $ED ] && { echo "$ED: cannot execute"; exit 1; } 16 # echo "$ED - <<\EOT" 25 base=`$ED - \!"echo $i" <<-EOF 28 $ED - <<-EOF 31 $ED - <<\EOT 49 # echo "$ED - <<\EOT" 59 base=`$ED - \!"echo $i" <<-EOF 62 $ED [all...] |
H A D | Makefile | 4 ED= ${.OBJDIR}/ed macro 18 echo "building test scripts for $(ED) ..."; \ 19 $(SHELL) mkscripts.sh $(ED); \ 23 @echo testing $(ED) ... 24 @$(SHELL) ckscripts.sh $(ED)
|
H A D | ckscripts.sh | 9 ED=$1 10 [ ! -x $ED ] && { echo "$ED: cannot execute"; exit 1; } 25 base=`$ED - \!"echo $i" <<-EOF
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | EnumCastOutOfRangeChecker.cpp | 70 EnumValueVector getDeclValuesForEnum(const EnumDecl *ED) { argument 72 std::distance(ED->enumerator_begin(), ED->enumerator_end())); 73 llvm::transform(ED->enumerators(), DeclValues.begin(), 128 const EnumDecl *ED = T->castAs<EnumType>()->getDecl(); local 130 EnumValueVector DeclValues = getDeclValuesForEnum(ED);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | TypoCorrection.h | 108 void setQualifierDistance(unsigned ED) { argument 109 QualifierDistance = ED; 112 void setCallbackDistance(unsigned ED) { argument 113 CallbackDistance = ED; 119 static unsigned NormalizeEditDistance(unsigned ED) { argument 120 if (ED > MaximumDistance) 122 return (ED + CharDistanceWeight / 2) / CharDistanceWeight; 132 unsigned ED = local 136 if (ED > MaximumDistance) 138 // Half the CharDistanceWeight is added to ED t [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 365 ExtValue(const ExtDesc &ED) : ExtValue(ED.getOp()) {} argument 394 OffsetRange getOffsetRange(const ExtDesc &ED) const; 405 bool replaceInstrExact(const ExtDesc &ED, Register ExtR); 406 bool replaceInstrExpr(const ExtDesc &ED, const ExtenderInit &ExtI, 425 friend raw_ostream &operator<< (raw_ostream &OS, const ExtDesc &ED); 492 raw_ostream &operator<< (raw_ostream &OS, const HCE::ExtDesc &ED) { argument 493 assert(ED.OpNum != -1u); 494 const MachineBasicBlock &MBB = *ED.getOp().getParent()->getParent(); 498 if (ED 1143 ExtDesc ED; local 1274 const ExtDesc &ED = Extenders[I]; local 1278 LLVM_DEBUG(dbgs() << " =" << I << ". " << EV << " " << ED << '\\n'); local 1294 const ExtDesc &ED = Extenders[I]; local 1298 LLVM_DEBUG(dbgs() << " " << I << ". " << EV << " " << ED << '\\n'); local 1494 const ExtDesc &ED = Extenders[Refs[i]]; local 1584 replaceInstrExact(const ExtDesc &ED, Register ExtR) argument 1701 replaceInstrExpr(const ExtDesc &ED, const ExtenderInit &ExtI, Register ExtR, int32_t &Diff) argument 1832 const ExtDesc &ED = Extenders[Idx]; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 401 static bool ParseDirective(StringRef S, ExpectedData *ED, SourceManager &SM, argument 456 D.DL = ED ? &ED->Errors : nullptr; 458 D.DL = ED ? &ED->Warnings : nullptr; 460 D.DL = ED ? &ED->Remarks : nullptr; 462 D.DL = ED ? &ED->Notes : nullptr; 765 ParseDirective(C, &ED, S 968 CheckResults(DiagnosticsEngine &Diags, SourceManager &SourceMgr, const TextDiagnosticBuffer &Buffer, ExpectedData &ED) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexingContext.cpp | 162 } else if (const auto *ED = dyn_cast<EnumDecl>(D)) { 163 if (ED->getInstantiatedFromMemberEnum()) 164 TKind = ED->getTemplateSpecializationKind(); 216 } else if (const auto *ED = dyn_cast<EnumDecl>(D)) { 217 return ED->getInstantiatedFromMemberEnum(); 230 if (const auto *ED = dyn_cast<EnumDecl>(ECD->getDeclContext())) { 231 if (const EnumDecl *Pattern = ED->getInstantiatedFromMemberEnum()) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaModule.cpp | 336 if (auto *ED = dyn_cast<ExportDecl>(DC)) 337 return ED; 571 if (auto *ED = getEnclosingExportDecl(D)) { 573 if (ED->hasBraces()) 574 Diag(ED->getLocation(), diag::note_export); 690 auto *ED = cast<ExportDecl>(D); local 692 ED->setRBraceLoc(RBraceLoc); 698 ED->hasBraces() ? ED->getBeginLoc() : SourceLocation(); 699 for (auto *Child : ED [all...] |
H A D | SemaLambda.cpp | 608 if (EnumDecl *ED = findEnumForBlockReturn(CO->getTrueExpr())) 609 if (ED == findEnumForBlockReturn(CO->getFalseExpr())) 610 return ED; 650 EnumDecl *ED = findEnumForBlockReturn(*i); local 651 if (!ED) return nullptr; 655 if (findEnumForBlockReturn(*i) != ED) 660 if (!ED->hasNameForLinkage()) return nullptr; 662 return ED; 742 const EnumDecl *ED = findCommonEnumForBlockReturns(CSI.Returns); local 743 if (ED) { [all...] |
H A D | SemaStmt.cpp | 789 const EnumDecl *ED, 794 if (!ED->isClosed()) 801 QualType EnumType = S.Context.getTypeDeclType(ED); 808 if (ED->hasAttr<FlagEnumAttr>()) 809 return !S.IsValueInFlagEnum(ED, Val, false); 1135 const EnumDecl *ED = ET->getDecl(); local 1140 for (auto *EDI : ED->enumerators()) { 1153 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, 1164 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, 1174 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExp 788 ShouldDiagnoseSwitchCaseNotInEnum(const Sema &S, const EnumDecl *ED, const Expr *CaseExpr, EnumValsTy::iterator &EI, EnumValsTy::iterator &EIEnd, const llvm::APSInt &Val) argument 1276 const EnumDecl *ED = ET->getDecl(); local [all...] |
H A D | SemaLookup.cpp | 1558 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) { 1559 if (auto *Pattern = ED->getTemplateInstantiationPattern()) 4258 unsigned ED = TypoStr.edit_distance(Name, true, UpperBound); 4259 if (ED > UpperBound) return; 4261 TypoCorrection TC(&SemaRef.Context.Idents.get(Name), ND, NNS, ED); 5037 unsigned ED = Consumer->getBestEditDistance(true); 5039 if (ED > 0 && TypoLen / ED < 3) 5047 ED = BestTC.getEditDistance(); 5049 if (TypoLen >= 3 && ED > [all...] |
/freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
H A D | merger.c | 138 if (run(fileno(f), (char*)0, ED, "-", a[0], (char*)0))
|
H A D | conf.h | 224 #define ED "/bin/ed" /* name of 'ed' program (used only if !DIFF3_BIN) */ macro
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 289 if (const auto *ED = 291 if (ED->isScoped()) 293 Decl = ED; 456 if (const auto *ED = 458 return ED;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UninitializedValues.cpp | 353 void VisitOMPExecutableDirective(OMPExecutableDirective *ED); 459 void ClassifyRefs::VisitOMPExecutableDirective(OMPExecutableDirective *ED) { argument 460 for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) 541 void VisitOMPExecutableDirective(OMPExecutableDirective *ED); 718 OMPExecutableDirective *ED) { 719 for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) { 723 if (!ED->isStandaloneDirective()) 724 Visit(ED->getStructuredBlock()); 717 VisitOMPExecutableDirective( OMPExecutableDirective *ED) argument
|
H A D | ReachableCode.cpp | 273 if (const EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) 274 return isConfigurationValue(ED->getInitExpr(), PP);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 246 if (const EnumDecl *ED = dyn_cast<EnumDecl>(TD)) { 248 if (TypeCache.count(ED->getTypeForDecl())) { 252 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32)) 258 DI->completeType(ED); 642 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl(); local 643 if (ED->isCompleteDefinition() || ED->isFixed()) 644 return ConvertType(ED->getIntegerType());
|
H A D | CGDebugInfo.cpp | 2088 void CGDebugInfo::completeType(const EnumDecl *ED) { argument 2091 QualType Ty = CGM.getContext().getEnumType(ED); 2789 const EnumDecl *ED = Ty->getDecl(); local 2793 if (!ED->getTypeForDecl()->isIncompleteType()) { 2794 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); 2795 Align = getDeclAlignIfRequired(ED, CGM.getContext()); 2801 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); 2805 if (isImportedFromModule || !ED->getDefinition()) { 2812 llvm::DIScope *EDContext = getDeclContextDescriptor(ED); 2833 const EnumDecl *ED = Ty->getDecl(); local 4534 const auto *ED = cast<EnumDecl>(ECD->getDeclContext()); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | VerifyDiagnosticConsumer.h | 267 ExpectedData ED; member in class:clang::VerifyDiagnosticConsumer
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 329 void VisitEnumDecl(EnumDecl *ED); 732 void ASTDeclReader::VisitEnumDecl(EnumDecl *ED) { argument 733 VisitTagDecl(ED); 735 ED->setIntegerTypeSourceInfo(TI); 737 ED->setIntegerType(Record.readType()); 738 ED->setPromotionType(Record.readType()); 739 ED->setNumPositiveBits(Record.readInt()); 740 ED->setNumNegativeBits(Record.readInt()); 741 ED->setScoped(Record.readInt()); 742 ED [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.h | 72 MAP(ED, 109) \
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | JSONNodeDumper.cpp | 802 void JSONNodeDumper::VisitEnumDecl(const EnumDecl *ED) { argument 803 VisitNamedDecl(ED); 804 if (ED->isFixed()) 805 JOS.attribute("fixedUnderlyingType", createQualType(ED->getIntegerType())); 806 if (ED->isScoped()) 808 ED->isScopedUsingClassTag() ? "class" : "struct");
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1882 else if (const EnumDecl *ED = dyn_cast<EnumDecl>(*D)) { 1885 if (!canModify(ED)) 1890 if (migrateNSEnumDecl(Ctx, ED, TD) && TD) 1894 migrateNSEnumDecl(Ctx, ED, /*TypedefDecl */nullptr); 1904 if (const EnumDecl *ED = dyn_cast<EnumDecl>(*N)) { 1905 if (canModify(ED)) { 1909 if (migrateNSEnumDecl(Ctx, ED, TDF)) { 1915 if (migrateNSEnumDecl(Ctx, ED, TD)) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPLexerChange.cpp | 355 const unsigned ED = ControllingMacroName.edit_distance( 357 if (ED <= MaxHalfLength) {
|