Searched refs:Prefix (Results 1 - 25 of 208) sorted by relevance

123456789

/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp21 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, argument
24 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) &&
26 OS << Prefix; local
35 StringRef Prefix("|* ");
37 printLine(OS, Prefix, ' ', Suffix);
38 size_t PSLen = Prefix.size() + Suffix.size();
43 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix);
46 printLine(OS, Prefix, ' ', Suffix);
47 printLine(OS, Prefix + "Automatically generated file, do not edit!", ' ',
49 printLine(OS, Prefix, ' ', Suffi
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DWithColor.cpp68 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, argument
70 if (!Prefix.empty())
71 OS << Prefix << ": "; local
76 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix, argument
78 if (!Prefix.empty())
79 OS << Prefix << ": "; local
84 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, argument
86 if (!Prefix.empty())
87 OS << Prefix << ": "; local
91 raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix, argument
94 OS << Prefix << ": "; local
[all...]
H A DTarWriter.cpp51 char Prefix[155]; member in struct:UstarHeader
125 // If Path fits in a Ustar header, updates Prefix and Name and returns true.
127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { argument
129 Prefix = "";
134 size_t Sep = Path.rfind('/', sizeof(UstarHeader::Prefix) + 1);
140 Prefix = Path.substr(0, Sep);
147 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, argument
153 memcpy(Hdr.Prefix, Prefix.data(), Prefix
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiFile.h46 StringRef Prefix; member in struct:llvm::object::TapiFile::Symbol
50 constexpr Symbol(StringRef Prefix, StringRef Name, uint32_t Flags) argument
51 : Prefix(Prefix), Name(Name), Flags(Flags) {}
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h40 RecordPrefix Prefix; local
41 Prefix.RecordKind = Kind;
42 Prefix.RecordLen = 0;
43 if (auto EC = Writer.writeObject(Prefix))
54 RecordPrefix Prefix{uint16_t(Sym.Kind)};
55 CVSymbol Result(&Prefix, sizeof(Prefix));
H A DCVRecord.h77 const RecordPrefix *Prefix = local
80 size_t RealLen = Prefix->RecordLen + 2;
98 const RecordPrefix *Prefix = nullptr; local
102 if (auto EC = Reader.readObject(Prefix))
104 if (Prefix->RecordLen < 2)
109 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t)))
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeName.h46 for (StringRef Prefix : {"class ", "struct ", "union ", "enum "})
47 if (Name.startswith(Prefix)) {
48 Name = Name.drop_front(Prefix.size());
H A DWithColor.h85 static raw_ostream &error(raw_ostream &OS, StringRef Prefix = "",
88 static raw_ostream &warning(raw_ostream &OS, StringRef Prefix = "",
91 static raw_ostream &note(raw_ostream &OS, StringRef Prefix = "",
94 static raw_ostream &remark(raw_ostream &OS, StringRef Prefix = "",
/freebsd-11-stable/sys/contrib/dev/acpica/include/
H A Dacapps.h184 #define ACPI_COMMON_HEADER(UtilityName, Prefix) \
186 Prefix, ACPICA_NAME, \
187 Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
188 Prefix, ACPICA_COPYRIGHT, \
189 Prefix
329 char *Prefix,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSimpleTypeSerializer.cpp32 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); local
33 CVType CVT(Prefix, sizeof(RecordPrefix));
42 Prefix->RecordKind = CVT.kind();
43 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t);
H A DContinuationRecordBuilder.cpp14 SegmentInjection(TypeLeafKind Kind) { Prefix.RecordKind = Kind; }
17 RecordPrefix Prefix; member in struct:__anon2186::SegmentInjection
70 RecordPrefix Prefix(getTypeLeafKind(RecordKind));
71 CVType Type(&Prefix, sizeof(Prefix));
74 cantFail(SegmentWriter.writeObject(Prefix));
158 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(Data.data()); local
159 Prefix->RecordLen = Data.size() - sizeof(RecordPrefix::RecordLen);
174 RecordPrefix Prefix(getTypeLeafKind(*Kind));
175 CVType Type(&Prefix, sizeo
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h26 bool isRefType(QualType RetTy, StringRef Prefix,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderMapTypes.h24 uint32_t Prefix; // Offset (into strings) of value prefix. member in struct:clang::HMapBucket
H A DHeaderSearchOptions.h87 std::string Prefix; member in struct:clang::HeaderSearchOptions::SystemHeaderPrefix
93 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) argument
94 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {}
235 /// path starting with \p Prefix should be considered as naming a system
237 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { argument
238 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader);
256 return llvm::hash_combine(SHP.Prefix, SHP.IsSystemHeader);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp59 NestedNameSpecifier *Prefix, IdentifierInfo *II) {
61 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent");
64 Mockup.Prefix.setPointer(Prefix);
65 Mockup.Prefix.setInt(StoredIdentifier);
72 NestedNameSpecifier *Prefix,
75 assert((!Prefix ||
76 (Prefix
58 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, IdentifierInfo *II) argument
71 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, const NamespaceDecl *NS) argument
87 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, NamespaceAliasDecl *Alias) argument
103 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, bool Template, const Type *T) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.h30 StringRef Prefix; member in class:llvm::DwarfStringPool
40 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix);
H A DAddressPool.cpp28 StringRef Prefix = "debug_addr_"; local
29 MCSymbol *BeginLabel = Asm.createTempSymbol(Prefix + "start");
30 MCSymbol *EndLabel = Asm.createTempSymbol(Prefix + "end");
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DTextDiagnosticPrinter.h35 std::string Prefix; member in class:clang::TextDiagnosticPrinter
47 void setPrefix(std::string Value) { Prefix = std::move(Value); }
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.h51 class Prefix : public Matcher { class in class:lldb_private::formatters::NSDictionary_Additionals::AdditionalFormatterMatching
53 Prefix(ConstString p);
54 ~Prefix() override = default;
74 return std::make_unique<Prefix>(p);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DPathDiagnosticConsumers.h34 const std::string &Prefix, const Preprocessor &PP, \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DMangler.cpp34 const DataLayout &DL, char Prefix) {
47 Prefix = '\0';
54 if (Prefix != '\0')
55 OS << Prefix; local
64 char Prefix = DL.getGlobalPrefix(); local
65 return getNameWithPrefixImpl(OS, GVName, PrefixTy, DL, Prefix);
76 char Prefix = DL.getGlobalPrefix(); local
77 return getNameWithPrefixImpl(OS, GVName, Default, DL, Prefix);
135 char Prefix = DL.getGlobalPrefix(); local
154 Prefix
32 getNameWithPrefixImpl(raw_ostream &OS, const Twine &GVName, ManglerPrefixTy PrefixTy, const DataLayout &DL, char Prefix) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp231 return StartColumn + Prefix.size();
235 const FormatToken &Tok, unsigned StartColumn, StringRef Prefix,
239 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix),
241 assert(Tok.TokenText.startswith(Prefix) && Tok.TokenText.endswith(Postfix));
243 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
258 Tok, Prefix.size() + TailOffset + Split.first, Split.second, Postfix,
259 Prefix, InPPDirective, 1, StartColumn);
308 for (StringRef Prefix
234 BreakableStringLiteral( const FormatToken &Tok, unsigned StartColumn, StringRef Prefix, StringRef Postfix, unsigned UnbreakableTailLength, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
572 StringRef Prefix = Decoration; local
662 StringRef Prefix = Decoration; local
690 tokenAt(LineIndex), WhitespaceOffsetInToken, WhitespaceLength, "", Prefix, local
842 Prefix[LineIndex], InPPDirective, /*Newlines=*/1, local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DNestedNameSpecifier.h63 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; member in class:clang::NestedNameSpecifier
104 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {}
124 NestedNameSpecifier *Prefix,
129 NestedNameSpecifier *Prefix,
134 NestedNameSpecifier *Prefix,
139 NestedNameSpecifier *Prefix,
167 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); }
175 if (Prefix.getInt() == StoredIdentifier)
195 if (Prefix.getInt() == StoredTypeSpec ||
196 Prefix
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Daslcompile.c526 char *Prefix = ""; local
537 Prefix = "; ";
544 Prefix = "; ";
550 Prefix = " * ";
558 Prefix = " * ";
581 FlPrintFile (FileId, "%s\n", Prefix);
582 FlPrintFile (FileId, ACPI_COMMON_HEADER (UtilityName, Prefix));
604 char *Prefix = ""; local
614 Prefix = "; ";
621 Prefix
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp143 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix);
190 StringRef Prefix = getStringOrInvalid(B.Prefix); local
192 llvm::dbgs() << " " << i << ". " << Key << " -> '" << Prefix << "' '"
232 Optional<StringRef> Prefix = getString(B.Prefix); local
236 if (LLVM_LIKELY(Prefix && Suffix)) {
237 DestPath.append(Prefix->begin(), Prefix
[all...]

Completed in 302 milliseconds

123456789