| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | NestedNameSpecifier.cpp | 62 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent"); in Create() 65 Mockup.Prefix.setPointer(Prefix); in Create() 76 assert((!Prefix || in Create() 81 Mockup.Prefix.setPointer(Prefix); in Create() 82 Mockup.Prefix.setInt(StoredDecl); in Create() 92 assert((!Prefix || in Create() 97 Mockup.Prefix.setPointer(Prefix); in Create() 109 Mockup.Prefix.setPointer(Prefix); in Create() 147 switch (Prefix.getInt()) { in getKind() 186 switch (Prefix.getInt()) { in getAsRecordDecl() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | TableGenBackend.cpp | 22 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, in printLine() argument 25 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 27 OS << Prefix; in printLine() 36 StringRef Prefix("|* "); in emitSourceFileHeader() local 38 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 39 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader() 44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader() 47 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 48 printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ', in emitSourceFileHeader() 50 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | WithColor.cpp | 69 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error() argument 71 if (!Prefix.empty()) in error() 72 OS << Prefix << ": "; in error() 79 if (!Prefix.empty()) in warning() 80 OS << Prefix << ": "; in warning() 85 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, in note() argument 87 if (!Prefix.empty()) in note() 88 OS << Prefix << ": "; in note() 92 raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix, in remark() argument 94 if (!Prefix.empty()) in remark() [all …]
|
| H A D | TarWriter.cpp | 52 char Prefix[155]; member 128 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { in splitUstar() argument 130 Prefix = ""; in splitUstar() 135 size_t Sep = Path.rfind('/', sizeof(UstarHeader::Prefix) + 1); in splitUstar() 141 Prefix = Path.substr(0, Sep); in splitUstar() 148 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, in writeUstarHeader() argument 154 memcpy(Hdr.Prefix, Prefix.data(), Prefix.size()); in writeUstarHeader() 182 StringRef Prefix; in append() local 184 if (splitUstar(Fullpath, Prefix, Name)) { in append() 185 writeUstarHeader(OS, Prefix, Name, Data.size()); in append()
|
| H A D | FileCheck.cpp | 592 return Prefix; in getDescription() 594 return Prefix.str() + "-NEXT"; in getDescription() 596 return Prefix.str() + "-SAME"; in getDescription() 598 return Prefix.str() + "-NOT"; in getDescription() 600 return Prefix.str() + "-DAG"; in getDescription() 602 return Prefix.str() + "-LABEL"; in getDescription() 604 return Prefix.str() + "-EMPTY"; in getDescription() 711 StringRef Prefix = Matches[0]; in FindFirstMatchingPrefix() local 1096 Prefix + in CheckNext() 1152 Prefix + in CheckSame() [all …]
|
| H A D | SpecialCaseList.cpp | 165 StringRef Prefix = SplitLine.first; in parse() local 190 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category]; in parse() 203 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() argument 205 return inSectionBlame(Section, Prefix, Query, Category); in inSection() 208 unsigned SpecialCaseList::inSectionBlame(StringRef Section, StringRef Prefix, in inSectionBlame() argument 214 inSectionBlame(SectionIter.Entries, Prefix, Query, Category); in inSectionBlame() 222 StringRef Prefix, StringRef Query, in inSectionBlame() argument 224 SectionEntries::const_iterator I = Entries.find(Prefix); in inSectionBlame()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Format/ |
| H A D | BreakableToken.cpp | 238 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix), in BreakableStringLiteral() 242 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size()); in BreakableStringLiteral() 307 for (StringRef Prefix : in mayReflowContent() 567 Prefix = ""; in insertBreak() 656 Prefix = ""; in adaptStartOfLine() 661 Prefix = Prefix.substr(0, 1); in adaptStartOfLine() 666 Prefix = Prefix.substr(0, 1); in adaptStartOfLine() 744 Prefix[i] = "// "; in BreakableLineCommentSection() 746 Prefix[i] = "/// "; in BreakableLineCommentSection() 748 Prefix[i] = "//! "; in BreakableLineCommentSection() [all …]
|
| H A D | SortJavaScriptImports.cpp | 86 StringRef Prefix; member 110 if (LHS.Prefix.empty() != RHS.Prefix.empty()) in operator <() 111 return LHS.Prefix.empty() < RHS.Prefix.empty(); in operator <() 112 if (LHS.Prefix != RHS.Prefix) in operator <() 113 return LHS.Prefix > RHS.Prefix; in operator <() 315 << ", prefix: " << Reference.Prefix; in parseModuleReferences() 392 Reference.Prefix = Current->TokenText; in parseStarBinding()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Mangler.cpp | 35 const DataLayout &DL, char Prefix) { in getNameWithPrefixImpl() argument 48 Prefix = '\0'; in getNameWithPrefixImpl() 55 if (Prefix != '\0') in getNameWithPrefixImpl() 56 OS << Prefix; in getNameWithPrefixImpl() 65 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefixImpl() local 66 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix); in getNameWithPrefixImpl() 77 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local 78 return getNameWithPrefixImpl(OS, GVName, Default, DL, Prefix); in getNameWithPrefix() 136 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local 157 Prefix = '\0'; // vectorcall functions have no prefix. in getNameWithPrefix() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | SimpleTypeSerializer.cpp | 7 RecordPrefix Prefix; in writeRecordPrefix() local 8 Prefix.RecordKind = Kind; in writeRecordPrefix() 9 Prefix.RecordLen = 0; in writeRecordPrefix() 10 cantFail(Writer.writeObject(Prefix)); in writeRecordPrefix() 46 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize() local 48 Prefix->RecordKind = CVT.kind(); in serialize() 49 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
|
| H A D | ContinuationRecordBuilder.cpp | 14 SegmentInjection(TypeLeafKind Kind) { Prefix.RecordKind = Kind; } in SegmentInjection() 17 RecordPrefix Prefix; member 74 RecordPrefix Prefix; in begin() local 75 Prefix.RecordLen = 0; in begin() 76 Prefix.RecordKind = Type.Type; in begin() 77 cantFail(SegmentWriter.writeObject(Prefix)); in begin() 165 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(Data.data()); in createSegmentRecord() local 166 assert(Prefix->RecordKind == Type.Type); in createSegmentRecord() 167 Prefix->RecordLen = Data.size() - sizeof(RecordPrefix::RecordLen); in createSegmentRecord()
|
| /freebsd-12.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslcompile.c | 523 char *Prefix = ""; in AslCompilerSignon() local 534 Prefix = "; "; in AslCompilerSignon() 541 Prefix = "; "; in AslCompilerSignon() 547 Prefix = " * "; in AslCompilerSignon() 555 Prefix = " * "; in AslCompilerSignon() 578 FlPrintFile (FileId, "%s\n", Prefix); in AslCompilerSignon() 611 Prefix = "; "; in AslCompilerFileHeader() 618 Prefix = "; "; in AslCompilerFileHeader() 623 Prefix = " * "; in AslCompilerFileHeader() 631 Prefix = " * "; in AslCompilerFileHeader() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 64 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; variable 105 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier() 125 NestedNameSpecifier *Prefix, 130 NestedNameSpecifier *Prefix, 135 NestedNameSpecifier *Prefix, 140 NestedNameSpecifier *Prefix, 168 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); } in getPrefix() 176 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier() 196 if (Prefix.getInt() == StoredTypeSpec || in getAsType() 197 Prefix.getInt() == StoredTypeSpecWithTemplate) in getAsType() [all …]
|
| H A D | TextNodeDumper.h | 43 std::string Prefix; variable 63 Prefix.clear(); in AddChild() 88 OS << Prefix << (IsLastChild ? '`' : '|') << '-'; in AddChild() 92 this->Prefix.push_back(IsLastChild ? ' ' : '|'); in AddChild() 93 this->Prefix.push_back(' '); in AddChild() 109 this->Prefix.resize(Prefix.size() - 2); in AddChild()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | HeaderMap.cpp | 144 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix); in getBucket() 191 StringRef Prefix = getStringOrInvalid(B.Prefix); in dump() local 193 llvm::dbgs() << " " << i << ". " << Key << " -> '" << Prefix << "' '" in dump() 233 Optional<StringRef> Prefix = getString(B.Prefix); in lookupFilename() local 237 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename() 238 DestPath.append(Prefix->begin(), Prefix->end()); in lookupFilename()
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CVRecord.h | 65 const RecordPrefix *Prefix = in forEachCodeViewRecord() local 68 size_t RealLen = Prefix->RecordLen + 2; in forEachCodeViewRecord() 75 Record R(static_cast<decltype(Record::Type)>((uint16_t)Prefix->RecordKind), in forEachCodeViewRecord() 87 const RecordPrefix *Prefix = nullptr; in readCVRecordFromStream() local 91 if (auto EC = Reader.readObject(Prefix)) in readCVRecordFromStream() 93 if (Prefix->RecordLen < 2) in readCVRecordFromStream() 95 Kind K = static_cast<Kind>(uint16_t(Prefix->RecordKind)); in readCVRecordFromStream() 99 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
|
| H A D | SymbolSerializer.h | 41 RecordPrefix Prefix; in writeRecordPrefix() local 42 Prefix.RecordKind = Kind; in writeRecordPrefix() 43 Prefix.RecordLen = 0; in writeRecordPrefix() 44 if (auto EC = Writer.writeObject(Prefix)) in writeRecordPrefix()
|
| /freebsd-12.1/sys/contrib/dev/acpica/include/ |
| H A D | acapps.h | 184 #define ACPI_COMMON_HEADER(UtilityName, Prefix) \ argument 186 Prefix, ACPICA_NAME, \ 187 Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \ 188 Prefix, ACPICA_COPYRIGHT, \ 189 Prefix 333 char *Prefix,
|
| /freebsd-12.1/contrib/llvm/tools/bugpoint/ |
| H A D | CrashDebugger.cpp | 89 if (!Prefix.empty()) { in doTest() 91 << getPassesString(Prefix) << ": "; in doTest() 136 if (!Prefix.empty() && TestGlobalVariables(Prefix)) in doTest() 203 if (!Prefix.empty() && TestFuncs(Prefix)) in doTest() 336 if (!Prefix.empty() && TestFuncAttrs(Prefix)) in doTest() 434 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 552 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 657 if (!Prefix.empty() && TestBlocks(Prefix)) in doTest() 748 if (!Prefix.empty() && TestInsts(Prefix)) in doTest() 824 if (!Prefix.empty() && TestNamedMDs(Prefix)) in doTest() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | HeaderSearchOptions.h | 87 std::string Prefix; member 93 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix() 94 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix() 224 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument 225 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader); in AddSystemHeaderPrefix()
|
| /freebsd-12.1/contrib/compiler-rt/lib/profile/ |
| H A D | InstrProfilingUtil.c | 204 const char *Prefix = getenv("GCOV_PREFIX"); in lprofGetPathPrefix() local 209 if (Prefix == NULL || Prefix[0] == '\0') in lprofGetPathPrefix() 221 *PrefixLen = strlen(Prefix); in lprofGetPathPrefix() 223 return Prefix; in lprofGetPathPrefix() 227 lprofApplyPathPrefix(char *Dest, const char *PathStr, const char *Prefix, in lprofApplyPathPrefix() argument 245 memcpy(Dest, Prefix, PrefixLen); in lprofApplyPathPrefix() 247 if (!IS_DIR_SEPARATOR(Prefix[PrefixLen - 1])) in lprofApplyPathPrefix()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/PerfJITEvents/ |
| H A D | PerfJITEventListener.cpp | 139 LLVMPerfJitRecordPrefix Prefix; member 157 LLVMPerfJitRecordPrefix Prefix; member 405 rec.Prefix.Id = JIT_CODE_LOAD; in NotifyCode() 406 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode() 409 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyCode() 436 rec.Prefix.Id = JIT_CODE_DEBUG_INFO; in NotifyDebug() 437 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug() 438 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyDebug() 447 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug() 448 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | WithColor.h | 86 static raw_ostream &error(raw_ostream &OS, StringRef Prefix = "", 89 static raw_ostream &warning(raw_ostream &OS, StringRef Prefix = "", 92 static raw_ostream ¬e(raw_ostream &OS, StringRef Prefix = "", 95 static raw_ostream &remark(raw_ostream &OS, StringRef Prefix = "",
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSDictionary.h | 52 class Prefix : public Matcher { 54 Prefix(ConstString p); 55 virtual ~Prefix() = default; 75 return llvm::make_unique<Prefix>(p); in GetPrefixMatch()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ |
| H A D | InterpolatingCompilationDatabase.cpp | 80 template <bool Prefix> struct Less { 82 StringRef V = Prefix ? Value.first.substr(0, Key.size()) : Value.first; in operator ()() 86 StringRef V = Prefix ? Value.first.substr(0, Key.size()) : Value.first; in operator ()() 385 llvm::StringRef Prefix; in scoreCandidates() local 391 Prefix = Filename.substr(0, Dir - DirEnd); in scoreCandidates() 409 if (sys::path::root_directory(Prefix) != Prefix) in scoreCandidates() 410 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates() 462 template <bool Prefix> 467 Less<Prefix>()); in indexLookup() 483 size_t Prefix = matchingPrefix(Key, It->first); in longestMatch() local [all …]
|