Home
last modified time | relevance | path

Searched refs:Prefix (Results 1 – 25 of 613) sorted by relevance

12345678910>>...25

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Daffix_allocator.d20 struct AffixAllocator(Allocator, Prefix, Suffix = void)
35 !stateSize!Prefix || Allocator.alignment >= Prefix.alignof,
47 enum uint alignment = isPowerOf2(stateSize!Prefix)
48 ? min(stateSize!Prefix, Allocator.alignment)
49 : (stateSize!Prefix ? Prefix.alignof : Allocator.alignment);
51 else static if (is(Prefix == void))
57 enum uint alignment = Prefix.alignof;
96 - stateSize!Prefix - stateSize!Suffix, in Impl()
105 return s + stateSize!Prefix; in Impl()
110 roundUpToMultipleOf(s + stateSize!Prefix, Suffix.alignof) in Impl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DNestedNameSpecifier.cpp60 NestedNameSpecifier *Prefix, IdentifierInfo *II) { in Create() argument
62 assert((!Prefix || Prefix->isDependent()) && "Prefix must be dependent"); in Create()
65 Mockup.Prefix.setPointer(Prefix); in Create()
66 Mockup.Prefix.setInt(StoredIdentifier); in Create()
73 NestedNameSpecifier *Prefix, in Create() argument
76 assert((!Prefix || in Create()
77 (Prefix->getAsType() == nullptr && in Create()
78 Prefix->getAsIdentifier() == nullptr)) && in Create()
81 Mockup.Prefix.setPointer(Prefix); in Create()
82 Mockup.Prefix.setInt(StoredDecl); in Create()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTableGenBackend.cpp22 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()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Daffix_allocator.d23 struct AffixAllocator(Allocator, Prefix, Suffix = void)
38 !stateSize!Prefix || Allocator.alignment >= Prefix.alignof,
50 enum uint alignment = isPowerOf2(stateSize!Prefix)
51 ? min(stateSize!Prefix, Allocator.alignment)
52 : (stateSize!Prefix ? Prefix.alignof : Allocator.alignment);
54 else static if (is(Prefix == void))
60 enum uint alignment = Prefix.alignof;
124 - stateSize!Prefix - stateSize!Suffix, in Impl()
133 return s + stateSize!Prefix; in Impl()
138 roundUpToMultipleOf(s + stateSize!Prefix, Suffix.alignof) in Impl()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DWithColor.cpp69 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error() argument
71 if (!Prefix.empty()) in error()
72 OS << Prefix << ": "; in error()
79 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix, in warning() argument
81 if (!Prefix.empty()) in warning()
82 OS << Prefix << ": "; in warning()
89 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, in note() argument
91 if (!Prefix.empty()) in note()
92 OS << Prefix << ": "; in note()
99 raw_ostream &WithColor::remark(raw_ostream &OS, StringRef Prefix, in remark() argument
[all …]
H A DTarWriter.cpp51 char Prefix[155]; member
127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { in splitUstar() argument
129 Prefix = ""; in splitUstar()
150 Prefix = Path.substr(0, Sep); in splitUstar()
157 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, in writeUstarHeader() argument
163 memcpy(Hdr.Prefix, Prefix.data(), Prefix.size()); in writeUstarHeader()
192 StringRef Prefix; in append() local
194 if (splitUstar(Fullpath, Prefix, Name)) { in append()
195 writeUstarHeader(OS, Prefix, Name, Data.size()); in append()
H A DSpecialCaseList.cpp166 StringRef Prefix = SplitLine.first; in parse() local
191 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category]; in parse()
204 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() argument
206 return inSectionBlame(Section, Prefix, Query, Category); in inSection()
209 unsigned SpecialCaseList::inSectionBlame(StringRef Section, StringRef Prefix, in inSectionBlame() argument
215 inSectionBlame(SectionIter.Entries, Prefix, Query, Category); in inSectionBlame()
223 StringRef Prefix, StringRef Query, in inSectionBlame() argument
225 SectionEntries::const_iterator I = Entries.find(Prefix); in inSectionBlame()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DMangler.cpp35 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()
138 char Prefix = DL.getGlobalPrefix(); in getNameWithPrefix() local
157 Prefix = '@'; // fastcall functions have an @ prefix instead of _. in getNameWithPrefix()
[all …]
H A DPassInstrumentation.cpp34 StringRef Prefix = PassID; in isSpecialPass() local
36 Prefix = PassID.substr(0, Pos); in isSpecialPass()
37 return any_of(Specials, [Prefix](StringRef S) { return Prefix.endswith(S); }); in isSpecialPass()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DBreakableToken.cpp264 return StartColumn + Prefix.size(); in getContentStartColumn()
268 const FormatToken &Tok, unsigned StartColumn, StringRef Prefix, in BreakableStringLiteral() argument
272 StartColumn(StartColumn), Prefix(Prefix), Postfix(Postfix), in BreakableStringLiteral()
274 assert(Tok.TokenText.startswith(Prefix) && Tok.TokenText.endswith(Postfix)); in BreakableStringLiteral()
276 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size()); in BreakableStringLiteral()
291 Tok, Prefix.size() + TailOffset + Split.first, Split.second, Postfix, in insertBreak()
292 Prefix, InPPDirective, 1, StartColumn); in insertBreak()
341 for (StringRef Prefix : in mayReflowContent()
343 if (Content.startswith(Prefix)) { in mayReflowContent()
605 StringRef Prefix = Decoration; in insertBreak() local
[all …]
H A DSortJavaScriptImports.cpp87 StringRef Prefix; member
119 if (LHS.Prefix.empty() != RHS.Prefix.empty()) in operator <()
120 return LHS.Prefix.empty() < RHS.Prefix.empty(); in operator <()
121 if (LHS.Prefix != RHS.Prefix) in operator <()
122 return LHS.Prefix > RHS.Prefix; in operator <()
302 !PreviousReference->Prefix.empty() || !Reference->Prefix.empty() || in mergeModuleReferences()
407 << ", prefix: " << Reference.Prefix; in parseModuleReferences()
484 Reference.Prefix = Current->TokenText; in parseStarBinding()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DContinuationRecordBuilder.cpp14 SegmentInjection(TypeLeafKind Kind) { Prefix.RecordKind = Kind; } in SegmentInjection()
17 RecordPrefix Prefix; member
70 RecordPrefix Prefix(getTypeLeafKind(RecordKind)); in begin() local
71 CVType Type(&Prefix, sizeof(Prefix)); in begin()
74 cantFail(SegmentWriter.writeObject(Prefix)); in begin()
158 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(Data.data()); in createSegmentRecord() local
159 Prefix->RecordLen = Data.size() - sizeof(RecordPrefix::RecordLen); in createSegmentRecord()
174 RecordPrefix Prefix(getTypeLeafKind(*Kind)); in end() local
175 CVType Type(&Prefix, sizeof(Prefix)); in end()
H A DSimpleTypeSerializer.cpp43 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize() local
44 CVType CVT(Prefix, sizeof(RecordPrefix)); in serialize()
53 Prefix->RecordKind = CVT.kind(); in serialize()
54 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h39 RecordPrefix Prefix; in writeRecordPrefix() local
40 Prefix.RecordKind = Kind; in writeRecordPrefix()
41 Prefix.RecordLen = 0; in writeRecordPrefix()
42 if (auto EC = Writer.writeObject(Prefix)) in writeRecordPrefix()
53 RecordPrefix Prefix{uint16_t(Sym.Kind)}; in writeOneSymbol()
54 CVSymbol Result(&Prefix, sizeof(Prefix)); in writeOneSymbol()
H A DCVRecord.h74 const RecordPrefix *Prefix = in forEachCodeViewRecord() local
77 size_t RealLen = Prefix->RecordLen + 2; in forEachCodeViewRecord()
95 const RecordPrefix *Prefix = nullptr; in readCVRecordFromStream() local
99 if (auto EC = Reader.readObject(Prefix)) in readCVRecordFromStream()
101 if (Prefix->RecordLen < 2) in readCVRecordFromStream()
106 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Daslcompile.c474 char *Prefix = ""; in AslCompilerSignon() local
485 Prefix = "; "; in AslCompilerSignon()
492 Prefix = "; "; in AslCompilerSignon()
498 Prefix = " * "; in AslCompilerSignon()
506 Prefix = " * "; in AslCompilerSignon()
529 FlPrintFile (FileId, "%s\n", Prefix); in AslCompilerSignon()
530 FlPrintFile (FileId, ACPI_COMMON_HEADER (UtilityName, Prefix)); in AslCompilerSignon()
552 char *Prefix = ""; in AslCompilerFileHeader() local
562 Prefix = "; "; in AslCompilerFileHeader()
569 Prefix in AslCompilerFileHeader()
[all...]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderMap.cpp143 Result.Prefix = getEndianAdjustedWord(BucketPtr->Prefix); in getBucket()
190 StringRef Prefix = getStringOrInvalid(B.Prefix); in dump() local
192 llvm::dbgs() << " " << i << ". " << Key << " -> '" << Prefix << "' '" in dump()
232 Optional<StringRef> Prefix = getString(B.Prefix); in lookupFilename() local
236 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename()
237 DestPath.append(Prefix->begin(), Prefix->end()); in lookupFilename()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DNestedNameSpecifier.h65 llvm::PointerIntPair<NestedNameSpecifier *, 2, StoredSpecifierKind> Prefix; variable
106 NestedNameSpecifier() : Prefix(nullptr, StoredIdentifier) {} in NestedNameSpecifier()
126 NestedNameSpecifier *Prefix,
131 NestedNameSpecifier *Prefix,
136 NestedNameSpecifier *Prefix,
141 NestedNameSpecifier *Prefix,
169 NestedNameSpecifier *getPrefix() const { return Prefix.getPointer(); } in getPrefix()
177 if (Prefix.getInt() == StoredIdentifier) in getAsIdentifier()
197 if (Prefix.getInt() == StoredTypeSpec || in getAsType()
198 Prefix.getInt() == StoredTypeSpecWithTemplate) in getAsType()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DCrashDebugger.cpp89 ReducePassList::doTest(std::vector<std::string> &Prefix, in doTest() argument
93 if (!Prefix.empty()) { in doTest()
95 << getPassesString(Prefix) << ": "; in doTest()
96 if (BD.runPasses(BD.getProgram(), Prefix, PrefixOutput)) in doTest()
136 Expected<TestResult> doTest(std::vector<GlobalVariable *> &Prefix, in doTest() argument
140 if (!Prefix.empty() && TestGlobalVariables(Prefix)) in doTest()
203 Expected<TestResult> doTest(std::vector<Function *> &Prefix, in doTest() argument
207 if (!Prefix.empty() && TestFuncs(Prefix)) in doTest()
212 bool TestFuncs(std::vector<Function *> &Prefix);
336 Expected<TestResult> doTest(std::vector<Attribute> &Prefix, in doTest() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DHeaderSearchOptions.h87 std::string Prefix; member
93 SystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) in SystemHeaderPrefix()
94 : Prefix(Prefix), IsSystemHeader(IsSystemHeader) {} in SystemHeaderPrefix()
242 void AddSystemHeaderPrefix(StringRef Prefix, bool IsSystemHeader) { in AddSystemHeaderPrefix() argument
243 SystemHeaderPrefixes.emplace_back(Prefix, IsSystemHeader); in AddSystemHeaderPrefix()
261 return llvm::hash_combine(SHP.Prefix, SHP.IsSystemHeader); in hash_value()
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dacapps.h83 #define ACPI_COMMON_HEADER(UtilityName, Prefix) \ argument
85 Prefix, ACPICA_NAME, \
86 Prefix, UtilityName, ((UINT32) ACPI_CA_VERSION), ACPI_WIDTH, \
87 Prefix, ACPICA_COPYRIGHT, \
88 Prefix
232 char *Prefix,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp138 LLVMPerfJitRecordPrefix Prefix; member
156 LLVMPerfJitRecordPrefix Prefix; member
411 rec.Prefix.Id = JIT_CODE_LOAD; in NotifyCode()
412 rec.Prefix.TotalSize = sizeof(rec) + // debug record itself in NotifyCode()
415 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyCode()
442 rec.Prefix.Id = JIT_CODE_DEBUG_INFO; in NotifyDebug()
443 rec.Prefix.TotalSize = sizeof(rec); // will be increased further in NotifyDebug()
444 rec.Prefix.Timestamp = perf_get_timestamp(); in NotifyDebug()
453 rec.Prefix.TotalSize += sizeof(LLVMPerfJitDebugEntry); in NotifyDebug()
454 rec.Prefix.TotalSize += line.FileName.size() + 1; in NotifyDebug()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DTapiFile.h48 StringRef Prefix; member
52 constexpr Symbol(StringRef Prefix, StringRef Name, uint32_t Flags) in Symbol()
53 : Prefix(Prefix), Name(Name), Flags(Flags) {} in Symbol()
/netbsd-src/sys/external/bsd/acpica/dist/tools/acpihelp/
H A Dahaml.c135 UINT8 Prefix; in AhDecodeAmlOpcode() local
153 Prefix = (Opcode & 0x0000FF00) >> 8; in AhDecodeAmlOpcode()
154 if (Prefix && (Prefix != 0x5B)) in AhDecodeAmlOpcode()
157 Prefix); in AhDecodeAmlOpcode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FileCheck/
H A DFileCheck.cpp916 bool Pattern::parsePattern(StringRef PatternStr, StringRef Prefix, in parsePattern() argument
932 "found empty check string with prefix '" + Prefix + ":'"); in parsePattern()
939 "found non-empty check string for empty check with prefix '" + Prefix + in parsePattern()
1640 std::string Check::FileCheckType::getDescription(StringRef Prefix) const { in getDescription()
1642 auto WithModifiers = [this, Prefix](StringRef Str) -> std::string { in getDescription()
1643 return (Prefix + Str + getModifiersDescription()).str(); in getDescription()
1666 return std::string(Prefix); in getDescription()
1678 FindCheckType(const FileCheckRequest &Req, StringRef Buffer, StringRef Prefix) { in FindCheckType() argument
1679 if (Buffer.size() <= Prefix.size()) in FindCheckType()
1682 StringRef Rest = Buffer.drop_front(Prefix.size()); in FindCheckType()
[all …]

12345678910>>...25