/freebsd-13-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-13-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-13-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-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 365 ExtValue(const ExtDesc &ED) : ExtValue(ED.getOp()) {} argument 395 OffsetRange getOffsetRange(const ExtDesc &ED) const; 406 bool replaceInstrExact(const ExtDesc &ED, Register ExtR); 407 bool replaceInstrExpr(const ExtDesc &ED, const ExtenderInit &ExtI, 426 friend raw_ostream &operator<< (raw_ostream &OS, const ExtDesc &ED); 493 raw_ostream &operator<< (raw_ostream &OS, const HCE::ExtDesc &ED) { argument 494 assert(ED.OpNum != -1u); 495 const MachineBasicBlock &MBB = *ED.getOp().getParent()->getParent(); 499 if (ED 1144 ExtDesc ED; local 1275 const ExtDesc &ED = Extenders[I]; local 1279 LLVM_DEBUG(dbgs() << " =" << I << ". " << EV << " " << ED << '\\n'); local 1295 const ExtDesc &ED = Extenders[I]; local 1299 LLVM_DEBUG(dbgs() << " " << I << ". " << EV << " " << ED << '\\n'); local 1495 const ExtDesc &ED = Extenders[Refs[i]]; local 1603 replaceInstrExact(const ExtDesc &ED, Register ExtR) argument 1720 replaceInstrExpr(const ExtDesc &ED, const ExtenderInit &ExtI, Register ExtR, int32_t &Diff) argument 1851 const ExtDesc &ED = Extenders[Idx]; local [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 405 static bool ParseDirective(StringRef S, ExpectedData *ED, SourceManager &SM, argument 460 D.DL = ED ? &ED->Errors : nullptr; 462 D.DL = ED ? &ED->Warnings : nullptr; 464 D.DL = ED ? &ED->Remarks : nullptr; 466 D.DL = ED ? &ED->Notes : nullptr; 783 ParseDirective(C, &ED, S 986 CheckResults(DiagnosticsEngine &Diags, SourceManager &SourceMgr, const TextDiagnosticBuffer &Buffer, ExpectedData &ED) argument [all...] |
/freebsd-13-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(); 225 } else if (const auto *ED = dyn_cast<EnumDecl>(D)) { 226 return ED->getInstantiatedFromMemberEnum(); 239 if (const auto *ED = dyn_cast<EnumDecl>(ECD->getDeclContext())) { 240 if (const EnumDecl *Pattern = ED->getInstantiatedFromMemberEnum()) {
|
/freebsd-13-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 | 804 const EnumDecl *ED, 809 if (!ED->isClosed()) 816 QualType EnumType = S.Context.getTypeDeclType(ED); 823 if (ED->hasAttr<FlagEnumAttr>()) 824 return !S.IsValueInFlagEnum(ED, Val, false); 1150 const EnumDecl *ED = ET->getDecl(); local 1155 for (auto *EDI : ED->enumerators()) { 1168 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, 1179 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExpr, EI, EIEnd, 1189 if (ShouldDiagnoseSwitchCaseNotInEnum(*this, ED, CaseExp 803 ShouldDiagnoseSwitchCaseNotInEnum(const Sema &S, const EnumDecl *ED, const Expr *CaseExpr, EnumValsTy::iterator &EI, EnumValsTy::iterator &EIEnd, const llvm::APSInt &Val) argument 1291 const EnumDecl *ED = ET->getDecl(); local [all...] |
H A D | SemaLookup.cpp | 1469 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) { 1470 if (auto *Pattern = ED->getTemplateInstantiationPattern()) 4171 unsigned ED = TypoStr.edit_distance(Name, true, UpperBound); 4172 if (ED > UpperBound) return; 4174 TypoCorrection TC(&SemaRef.Context.Idents.get(Name), ND, NNS, ED); 4950 unsigned ED = Consumer->getBestEditDistance(true); 4952 if (ED > 0 && TypoLen / ED < 3) 4960 ED = BestTC.getEditDistance(); 4962 if (TypoLen >= 3 && ED > [all...] |
/freebsd-13-stable/tools/tools/netmap/ |
H A D | nmreplay.c | 94 #define ED(_fmt, ...) \ macro 104 #define WWW(_fmt, ...) ED("--WWW-- " _fmt, ##__VA_ARGS__) 105 #define EEE(_fmt, ...) ED("--EEE-- " _fmt, ##__VA_ARGS__) 106 #define DDD(_fmt, ...) ED("--DDD-- " _fmt, ##__VA_ARGS__) 334 ED("filesize is %lu", (u_long)(pf->filesize)); 352 ED("magic is 0x%x", magic); 375 ED("swap %d res %d\n", pf->swap, pf->resolution); 408 ED("tot_pkt %lu tot_bytes %lu tx_time %.6f s first_len %lu", 425 ED("first_pkt_time %.6f s", 1e-9*first_pkt_time); 775 ED(" [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 290 if (const auto *ED = 292 if (ED->isScoped()) 294 Decl = ED; 456 if (const auto *ED = 458 return ED;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 251 if (const EnumDecl *ED = dyn_cast<EnumDecl>(TD)) { 253 if (TypeCache.count(ED->getTypeForDecl())) { 257 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32)) 263 DI->completeType(ED); 712 const EnumDecl *ED = cast<EnumType>(Ty)->getDecl(); local 713 if (ED->isCompleteDefinition() || ED->isFixed()) 714 return ConvertType(ED->getIntegerType());
|
H A D | CGDebugInfo.cpp | 2180 void CGDebugInfo::completeType(const EnumDecl *ED) { argument 2183 QualType Ty = CGM.getContext().getEnumType(ED); 2940 const EnumDecl *ED = Ty->getDecl(); local 2944 if (!ED->getTypeForDecl()->isIncompleteType()) { 2945 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); 2946 Align = getDeclAlignIfRequired(ED, CGM.getContext()); 2952 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); 2956 if (isImportedFromModule || !ED->getDefinition()) { 2963 llvm::DIScope *EDContext = getDeclContextDescriptor(ED); 2984 const EnumDecl *ED = Ty->getDecl(); local 4691 const auto *ED = cast<EnumDecl>(ECD->getDeclContext()); local [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UninitializedValues.cpp | 293 void VisitOMPExecutableDirective(OMPExecutableDirective *ED); 399 void ClassifyRefs::VisitOMPExecutableDirective(OMPExecutableDirective *ED) { argument 400 for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) 494 void VisitOMPExecutableDirective(OMPExecutableDirective *ED); 699 OMPExecutableDirective *ED) { 700 for (Stmt *S : OMPExecutableDirective::used_clauses_children(ED->clauses())) { 704 if (!ED->isStandaloneDirective()) 705 Visit(ED->getStructuredBlock()); 698 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-13-stable/lib/libnetmap/ |
H A D | nmreq.c | 49 #define ED(...) D(__VA_ARGS__) macro 51 #define ED(...) macro 191 ED("name %s", h->nr_name); 393 ED("flags: %s %s %s %s %s %s",
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | VerifyDiagnosticConsumer.h | 270 ExpectedData ED; member in class:clang::VerifyDiagnosticConsumer
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 329 void VisitEnumDecl(EnumDecl *ED); 737 void ASTDeclReader::VisitEnumDecl(EnumDecl *ED) { argument 738 VisitTagDecl(ED); 740 ED->setIntegerTypeSourceInfo(TI); 742 ED->setIntegerType(Record.readType()); 743 ED->setPromotionType(Record.readType()); 744 ED->setNumPositiveBits(Record.readInt()); 745 ED->setNumNegativeBits(Record.readInt()); 746 ED->setScoped(Record.readInt()); 747 ED [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.h | 72 MAP(ED, 109) \
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | JSONNodeDumper.cpp | 810 void JSONNodeDumper::VisitEnumDecl(const EnumDecl *ED) { argument 811 VisitNamedDecl(ED); 812 if (ED->isFixed()) 813 JOS.attribute("fixedUnderlyingType", createQualType(ED->getIntegerType())); 814 if (ED->isScoped()) 816 ED->isScopedUsingClassTag() ? "class" : "struct");
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPLexerChange.cpp | 353 const unsigned ED = ControllingMacroName.edit_distance( 355 if (ED <= MaxHalfLength) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1874 else if (const EnumDecl *ED = dyn_cast<EnumDecl>(*D)) { 1877 if (!canModify(ED)) 1882 if (migrateNSEnumDecl(Ctx, ED, TD) && TD) 1886 migrateNSEnumDecl(Ctx, ED, /*TypedefDecl */nullptr); 1896 if (const EnumDecl *ED = dyn_cast<EnumDecl>(*N)) { 1897 if (canModify(ED)) { 1901 if (migrateNSEnumDecl(Ctx, ED, TDF)) { 1907 if (migrateNSEnumDecl(Ctx, ED, TD)) {
|