/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_utils.h | 22 template <class Dest, class Source> 23 INLINE Dest bit_cast(const Source& source) { 24 static_assert(sizeof(Dest) == sizeof(Source), "Sizes are not equal!");
|
/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/ |
H A D | utnonansi.c | 42 * 3.1. Redistribution of Source with Rights to Further Distribute Source. 54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 299 char *Source) 302 if (strlen (Source) >= DestSize) 307 strcpy (Dest, Source); 315 char *Source) 318 if ((strlen (Dest) + strlen (Source)) >= DestSize) 323 strcat (Dest, Source); 296 AcpiUtSafeStrcpy( char *Dest, ACPI_SIZE DestSize, char *Source) argument 312 AcpiUtSafeStrcat( char *Dest, ACPI_SIZE DestSize, char *Source) argument 328 AcpiUtSafeStrncat( char *Dest, ACPI_SIZE DestSize, char *Source, ACPI_SIZE MaxTransferLength) argument 349 AcpiUtSafeStrncpy( char *Dest, char *Source, ACPI_SIZE DestSize) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 19 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source, argument 25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); 26 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 30 memcpy(ResultPtr, Source.data(), Source.size()); 31 ResultPtr += Source.size(); 34 const UTF8 *sourceStart = (const UTF8*)Source.data(); 40 &sourceStart, sourceStart + Source.size(), 41 &targetStart, targetStart + Source.size(), flags); 47 const UTF8 *sourceStart = (const UTF8*)Source 65 ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) argument 185 ConvertUTF8toWideInternal(llvm::StringRef Source, TResult &Result) argument 201 ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result) argument 205 ConvertUTF8toWide(const char *Source, std::wstring &Result) argument 213 convertWideToUTF8(const std::wstring &Source, std::string &Result) argument [all...] |
H A D | StringExtras.cpp | 37 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, argument 40 StringRef::size_type Start = Source.find_first_not_of(Delimiters); 43 StringRef::size_type End = Source.find_first_of(Delimiters, Start); 45 return std::make_pair(Source.slice(Start, End), Source.substr(End)); 50 void llvm::SplitString(StringRef Source, argument 53 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | CVTypeVisitor.h | 32 VisitorDataSource Source = VDS_BytesPresent); 34 VisitorDataSource Source = VDS_BytesPresent); 37 VisitorDataSource Source = VDS_BytesPresent); 45 VisitorDataSource Source = VDS_BytesPresent);
|
/freebsd-11-stable/sys/contrib/dev/acpica/components/resources/ |
H A D | rsmisc.c | 42 * 3.1. Redistribution of Source with Rights to Further Distribute Source. 54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 191 void *Source; local 229 * Source is the external AML byte stream buffer, 232 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); 259 ((ACPI_GET8 (Source) >> Info->Value) & 0x01)); 267 ((ACPI_GET8 (Source) >> Info->Value) & 0x03)); 275 ((ACPI_GET8 (Source) >> Inf 581 void *Source = NULL; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | TapiUniversal.cpp | 23 TapiUniversal::TapiUniversal(MemoryBufferRef Source, Error &Err) argument 24 : Binary(ID_TapiUniversal, Source) { 25 auto Result = TextAPIReader::get(Source); 48 TapiUniversal::create(MemoryBufferRef Source) { argument 50 std::unique_ptr<TapiUniversal> Ret(new TapiUniversal(Source, Err));
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTUtils.h | 25 ExternalASTSourceWrapper(ExternalASTSource *Source) : m_Source(Source) { argument 428 for (auto &Source : Sources) 429 Source->getMemoryBufferSizes(sizes); 437 for (auto &Source : Sources) 438 Source->InitializeSema(S); 442 for (auto &Source : Sources) 443 Source->ForgetSema(); 447 for (auto &Source : Sources) 448 Source [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | FixIt.h | 60 // Returns a FixItHint to replace \p Destination by \p Source. 62 FixItHint createReplacement(const D &Destination, const S &Source, argument 65 getText(Source, Context)); 68 // Returns a FixItHint to replace \p Destination by \p Source. 70 FixItHint createReplacement(const D &Destination, StringRef Source) { argument 72 Source);
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
H A D | llvm-cxxfilt.cpp | 105 // Split 'Source' on any character that fails to pass 'IsLegalChar'. The 109 StringRef Source, 113 const auto Head = Source.begin(); 116 auto Start = std::find_if(Head, Source.end(), IsLegalChar); 118 OutFragments.push_back({"", Source.slice(0, Start - Head)}); 121 while (Start != Source.end()) { 122 Start = std::find_if(Start, Source.end(), IsLegalChar); 123 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); 124 auto DEnd = std::find_if(End, Source.end(), IsLegalChar); 125 OutFragments.push_back({Source 108 SplitStringDelims( StringRef Source, SmallVectorImpl<std::pair<StringRef, StringRef>> &OutFragments, function_ref<bool(char)> IsLegalChar) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Source.h | 1 //===--- Source.h - Source location provider for the VM --------*- C++ -*-===// 84 SourceInfo(const Stmt *E) : Source(E) {} 85 SourceInfo(const Decl *D) : Source(D) {} 89 const Stmt *asStmt() const { return Source.dyn_cast<const Stmt *>(); } 90 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } 93 operator bool() const { return !Source.isNull(); } 96 llvm::PointerUnion<const Decl *, const Stmt *> Source; member in class:clang::interp::SourceInfo
|
H A D | Descriptor.cpp | 190 : Source(D), ElemSize(primSize(Type)), Size(ElemSize), AllocSize(Size), 194 assert(Source && "Missing source"); 199 : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), 204 assert(Source && "Missing source"); 209 : Source(D), ElemSize(primSize(Type)), Size(UnknownSizeMark), 213 assert(Source && "Missing source"); 218 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), 224 assert(Source && "Missing source"); 229 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), 233 assert(Source [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
H A D | InstructionInfoView.h | 57 llvm::ArrayRef<llvm::MCInst> Source; member in class:llvm::mca::InstructionInfoView 66 Source(S), MCIP(IP) {}
|
H A D | SummaryView.cpp | 27 : SM(Model), Source(S), DispatchWidth(Width?Width: Model.IssueWidth), 47 Event.IR.getSourceIndex() >= Source.size()) 66 unsigned Instructions = Source.size();
|
H A D | SummaryView.h | 42 llvm::ArrayRef<llvm::MCInst> Source; member in class:llvm::mca::SummaryView
|
H A D | TimelineView.cpp | 23 : STI(sti), MCIP(Printer), Source(S), CurrentCycle(0), 26 unsigned NumInstructions = Source.size(); 43 if (IR.getSourceIndex() >= Source.size()) 73 WaitTimeEntry &WTEntry = WaitTime[Index % Source.size()]; 136 bool PrintingTotals = SourceIndex == Source.size(); 190 unsigned Executions = Timeline.size() / Source.size(); 192 for (const MCInst &Inst : Source) { 210 if (Source.size() != 1) { 300 const unsigned Iterations = Timeline.size() / Source.size(); 302 for (const MCInst &Inst : Source) { [all...] |
H A D | BottleneckAnalysis.cpp | 319 unsigned FromIID = FirstEdge.FromIID % Source.size(); 320 unsigned ToIID = FirstEdge.ToIID % Source.size(); 334 printInstruction(FOS, STI, MCIP, Source[FromIID], HasColors); 339 printInstruction(FOS, STI, MCIP, Source[CurrentIID]); 344 printInstruction(FOS, STI, MCIP, Source[CurrentIID], HasColors); 349 ToIID = DE->ToIID % Source.size(); 350 unsigned LastIID = CurrentIID > ToIID ? Source.size() : ToIID; 354 printInstruction(FOS, STI, MCIP, Source[CurrentIID]); 360 printInstruction(FOS, STI, MCIP, Source[CurrentIID], HasColors); 364 printInstruction(FOS, STI, MCIP, Source[ToII [all...] |
H A D | ResourcePressureView.cpp | 24 : STI(sti), MCIP(Printer), Source(S), LastInstructionIdx(0) { 40 ResourceUsage.resize(NumResourceUnits * (Source.size() + 1)); 55 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size(); 63 ResourceUsage[R2VIndex + NumResourceUnits * Source.size()] += Use.second; 135 const unsigned Executions = LastInstructionIdx / Source.size() + 1; 137 double Usage = ResourceUsage[I + Source.size() * E]; 158 const unsigned Executions = LastInstructionIdx / Source.size() + 1; 159 for (const MCInst &MCI : Source) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | CVTypeVisitor.cpp | 186 VisitorDataSource Source) 189 Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) { 190 if (Source == VDS_BytesPresent) { 204 VisitHelper(TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument 205 : Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) { 206 if (Source == VDS_BytesPresent) { 220 VisitorDataSource Source) { 221 VisitHelper V(Callbacks, Source); 227 VisitorDataSource Source) { 228 VisitHelper V(Callbacks, Source); 185 FieldListVisitHelper(TypeVisitorCallbacks &Callbacks, ArrayRef<uint8_t> Data, VisitorDataSource Source) argument 218 visitTypeRecord(CVType &Record, TypeIndex Index, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument 225 visitTypeRecord(CVType &Record, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument 232 visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument 254 visitMemberRecord(CVMemberRecord Record, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SymbolRewriter.cpp | 28 // + Source (original name of the function) 33 // + Source (original name of externally visible variable) 37 // + Source (original name of the aliased name) 97 const std::string &Source, 106 Comdats.erase(Comdats.find(Source)); 116 const std::string Source; member in class:__anon2803::ExplicitRewriteDescriptor 120 : RewriteDescriptor(DT), Source(Naked ? StringRef("\01" + S.str()) : S), 136 if (ValueType *S = (M.*Get)(Source)) { 138 rewriteComdat(M, GO, Source, Target); 328 std::string Source; local 96 rewriteComdat(Module &M, GlobalObject *GO, const std::string &Source, const std::string &Target) argument 397 std::string Source; local 460 std::string Source; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclFriend.cpp | 73 ExternalASTSource *Source = getParentASTContext().getExternalSource(); local 74 Decl *First = data().FirstFriend.get(Source);
|
/freebsd-11-stable/sys/contrib/dev/acpica/components/namespace/ |
H A D | nsrepair2.c | 43 * 3.1. Redistribution of Source with Rights to Further Distribute Source. 55 * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 691 char *Source; local 731 Source = ReturnObject->String.Pointer; 732 if (*Source == '*') 734 Source++; 749 for (Dest = NewString->String.Pointer; *Source; Dest++, Source 1149 ACPI_OPERAND_OBJECT **Source; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ConvertUTF.h | 190 * point to at least WideCharWidth * (Source.Size() + 1) bytes. On success, 196 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source, 203 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result); 209 bool ConvertUTF8toWide(const char *Source, std::wstring &Result); 215 bool convertWideToUTF8(const std::wstring &Source, std::string &Result); 221 * \param Source a Unicode code point. 228 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ExternalASTSource.h | 79 ExternalASTSource *Source; member in class:clang::ExternalASTSource::Deserializing 82 explicit Deserializing(ExternalASTSource *source) : Source(source) { 83 assert(Source); 84 Source->StartedDeserializing(); 88 Source->FinishedDeserializing(); 402 /// \param Source the external AST source. 405 T* get(ExternalASTSource *Source) const { 407 assert(Source && 409 Ptr = reinterpret_cast<uint64_t>((Source->*Get)(Ptr >> 1)); 427 LazyData(ExternalASTSource *Source, argument [all...] |
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_pcib.c | 98 if (entry->Source[0] == '\0') 110 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, entry->Source, &handle))) 213 if (prt->Source[0] != '\0') 214 printf(" (src %s:%u)", prt->Source, prt->SourceIndex); 225 if (prt->Source[0] == '\0' || prt->SourceIndex != 0) { 241 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, prt->Source, &lnkdev))) { 243 prt->Source);
|