Searched refs:Source (Results 1 - 25 of 299) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DConvertEBCDIC.h22 std::error_code convertToEBCDIC(StringRef Source,
25 void convertToUTF8(StringRef Source, SmallVectorImpl<char> &Result);
H A DConvertUTF.h214 * point to at least WideCharWidth * (Source.Size() + 1) bytes. On success,
220 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source,
227 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result);
233 bool ConvertUTF8toWide(const char *Source, std::wstring &Result);
239 bool convertWideToUTF8(const std::wstring &Source, std::string &Result);
245 * \param Source a Unicode code point.
252 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr);
/freebsd-current/sys/contrib/dev/acpica/components/utilities/
H A Dutnonansi.c42 * 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-current/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp19 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 ConvertUTF8toUTF16(&sourceStart, sourceStart + Source.size(),
41 &targetStart, targetStart + Source.size(), flags);
47 const UTF8 *sourceStart = (const UTF8 *)Source
65 ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) argument
243 ConvertUTF8toWideInternal(llvm::StringRef Source, TResult &Result) argument
259 ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result) argument
263 ConvertUTF8toWide(const char *Source, std::wstring &Result) argument
271 convertWideToUTF8(const std::wstring &Source, std::string &Result) argument
[all...]
H A DStringExtras.cpp39 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, argument
42 StringRef::size_type Start = Source.find_first_not_of(Delimiters);
45 StringRef::size_type End = Source.find_first_of(Delimiters, Start);
47 return std::make_pair(Source.slice(Start, End), Source.substr(End));
52 void llvm::SplitString(StringRef Source, argument
55 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters);
/freebsd-current/sys/contrib/dev/acpica/components/resources/
H A Drsmisc.c42 * 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
231 * Source is the external AML byte stream buffer,
234 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset);
261 ((ACPI_GET8 (Source) >> Info->Value) & 0x01));
269 ((ACPI_GET8 (Source) >> Info->Value) & 0x03));
277 ((ACPI_GET8 (Source) >> Inf
594 void *Source = NULL; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Object/
H A DTapiUniversal.cpp24 TapiUniversal::TapiUniversal(MemoryBufferRef Source, Error &Err) argument
25 : Binary(ID_TapiUniversal, Source) {
26 Expected<std::unique_ptr<InterfaceFile>> Result = TextAPIReader::get(Source);
56 TapiUniversal::create(MemoryBufferRef Source) { argument
58 std::unique_ptr<TapiUniversal> Ret(new TapiUniversal(Source, Err));
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h27 ExternalASTSourceWrapper(ExternalASTSource *Source) : m_Source(Source) { argument
420 for (auto &Source : Sources)
421 Source->getMemoryBufferSizes(sizes);
429 for (auto &Source : Sources)
430 Source->InitializeSema(S);
434 for (auto &Source : Sources)
435 Source->ForgetSema();
439 for (auto &Source : Sources)
440 Source
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/
H A DFixIt.h60 // 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-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCVTypeVisitor.h35 VisitorDataSource Source = VDS_BytesPresent);
37 VisitorDataSource Source = VDS_BytesPresent);
40 VisitorDataSource Source = VDS_BytesPresent);
48 VisitorDataSource Source = VDS_BytesPresent);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dc_api_test.cpp94 char Source[SmallAllocSize]; local
96 Source[I] = 0x55 + I;
99 orc_rt_CreateCWrapperFunctionResultFromRange(Source, SmallAllocSize);
115 char Source[LargeAllocSize]; local
117 Source[I] = 0x55 + I;
120 orc_rt_CreateCWrapperFunctionResultFromRange(Source, LargeAllocSize);
136 char Source[SmallAllocSize]; local
138 Source[I] = 'a' + I;
139 Source[SmallAllocSize - 1] = '\0';
142 orc_rt_CreateCWrapperFunctionResultFromString(Source);
160 char Source[LargeAllocSize]; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMoveMerger.cpp62 Register Source = RegPair.Source->getReg(); local
65 RISCV::SR07RegClass.contains(Source))
73 Register Source = RegPair.Source->getReg(); local
74 // If Source is s0 - s7.
75 if ((Source == RISCV::X10 || Source == RISCV::X11) &&
92 : FirstPair.Source->getReg();
108 Sreg1 = StartWithX10 ? FirstPair.Source
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/
H A DSource.h1 //===--- Source.h - Source location provider for the VM --------*- C++ -*-===//
75 SourceInfo(const Stmt *E) : Source(E) {}
76 SourceInfo(const Decl *D) : Source(D) {}
81 const Stmt *asStmt() const { return Source.dyn_cast<const Stmt *>(); }
82 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); }
85 operator bool() const { return !Source.isNull(); }
88 llvm::PointerUnion<const Decl *, const Stmt *> Source; member in class:clang::interp::final
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionView.h30 llvm::ArrayRef<llvm::MCInst> Source; member in class:llvm::mca::InstructionView
39 : STI(STI), MCIP(Printer), Source(S), InstrStream(InstructionString) {}
52 llvm::ArrayRef<llvm::MCInst> getSource() const { return Source; }
H A DResourcePressureView.cpp55 ArrayRef<llvm::MCInst> Source = getSource(); local
56 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size();
64 ResourceUsage[R2VIndex + NumResourceUnits * Source.size()] += Use.second;
136 ArrayRef<llvm::MCInst> Source = getSource(); local
137 const unsigned Executions = LastInstructionIdx / Source.size() + 1;
139 double Usage = ResourceUsage[I + Source.size() * E];
157 ArrayRef<llvm::MCInst> Source = getSource(); local
158 const unsigned Executions = LastInstructionIdx / Source.size() + 1;
159 for (const MCInst &MCI : Source) {
181 ArrayRef<llvm::MCInst> Source local
[all...]
H A DInstructionInfoView.cpp25 ArrayRef<llvm::MCInst> Source = getSource(); local
26 if (!Source.size())
29 IIVDVec IIVD(Source.size());
58 for (const auto &[Index, IIVDEntry, Inst] : enumerate(IIVD, Source)) {
160 ArrayRef<llvm::MCInst> Source = getSource();
161 if (!Source.size())
164 IIVDVec IIVD(Source.size());
H A DBottleneckAnalysis.cpp309 ArrayRef<llvm::MCInst> Source = getSource();
310 unsigned FromIID = FirstEdge.FromIID % Source.size();
311 unsigned ToIID = FirstEdge.ToIID % Source.size();
325 printInstruction(FOS, Source[FromIID], HasColors);
330 printInstruction(FOS, Source[CurrentIID]);
335 printInstruction(FOS, Source[CurrentIID], HasColors);
340 ToIID = DE->ToIID % Source.size();
341 unsigned LastIID = CurrentIID > ToIID ? Source.size() : ToIID;
345 printInstruction(FOS, Source[CurrentIID]);
351 printInstruction(FOS, Source[CurrentII
[all...]
H A DSummaryView.cpp27 : SM(Model), Source(S), DispatchWidth(Width ? Width : Model.IssueWidth),
46 Event.IR.getSourceIndex() >= Source.size())
87 DV.Instructions = Source.size();
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp28 // + Source (original name of the function)
33 // + Source (original name of externally visible variable)
37 // + Source (original name of the aliased name)
94 const std::string &Source,
103 Comdats.erase(Comdats.find(Source));
113 const std::string Source; member in class:__anon3016::ExplicitRewriteDescriptor
118 Source(std::string(Naked ? StringRef("\01" + S.str()) : S)),
134 if (ValueType *S = (M.*Get)(Source)) {
136 rewriteComdat(M, GO, Source, Target);
327 std::string Source; local
93 rewriteComdat(Module &M, GlobalObject *GO, const std::string &Source, const std::string &Target) argument
396 std::string Source; local
459 std::string Source; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp187 VisitorDataSource Source)
190 Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) {
191 if (Source == VDS_BytesPresent) {
205 VisitHelper(TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument
206 : Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) {
207 if (Source == VDS_BytesPresent) {
221 VisitorDataSource Source) {
222 VisitHelper V(Callbacks, Source);
228 VisitorDataSource Source) {
229 VisitHelper V(Callbacks, Source);
186 FieldListVisitHelper(TypeVisitorCallbacks &Callbacks, ArrayRef<uint8_t> Data, VisitorDataSource Source) argument
219 visitTypeRecord(CVType &Record, TypeIndex Index, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument
226 visitTypeRecord(CVType &Record, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument
233 visitTypeStream(const CVTypeArray &Types, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument
255 visitMemberRecord(CVMemberRecord Record, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-cxxfilt/
H A Dllvm-cxxfilt.cpp97 // Split 'Source' on any character that fails to pass 'IsLegalChar'. The
101 StringRef Source,
105 const auto Head = Source.begin();
108 auto Start = std::find_if(Head, Source.end(), IsLegalChar);
110 OutFragments.push_back({"", Source.slice(0, Start - Head)});
113 while (Start != Source.end()) {
114 Start = std::find_if(Start, Source.end(), IsLegalChar);
115 auto End = std::find_if_not(Start, Source.end(), IsLegalChar);
116 auto DEnd = std::find_if(End, Source.end(), IsLegalChar);
117 OutFragments.push_back({Source
100 SplitStringDelims( StringRef Source, SmallVectorImpl<std::pair<StringRef, StringRef>> &OutFragments, function_ref<bool(char)> IsLegalChar) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h77 ExternalASTSource *Source; member in class:clang::ExternalASTSource::Deserializing
80 explicit Deserializing(ExternalASTSource *source) : Source(source) {
81 assert(Source);
82 Source->StartedDeserializing();
86 Source->FinishedDeserializing();
371 /// \param Source the external AST source.
374 T *get(ExternalASTSource *Source) const {
376 assert(Source &&
378 Ptr = reinterpret_cast<uint64_t>((Source->*Get)(Ptr >> 1));
385 T **getAddressOfPointer(ExternalASTSource *Source) cons
404 LazyData(ExternalASTSource *Source, T Value) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DDeclFriend.cpp73 ExternalASTSource *Source = getParentASTContext().getExternalSource(); local
74 Decl *First = data().FirstFriend.get(Source);
/freebsd-current/sys/contrib/dev/acpica/components/namespace/
H A Dnsrepair2.c43 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
55 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
694 char *Source; local
734 Source = ReturnObject->String.Pointer;
735 if (*Source == '*')
737 Source++;
752 for (Dest = NewString->String.Pointer; *Source; Dest++, Source
1152 ACPI_OPERAND_OBJECT **Source; local
[all...]
/freebsd-current/sys/dev/acpica/
H A Dacpi_pcib.c96 if (entry->Source[0] == '\0')
108 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, entry->Source, &handle)))
212 if (prt->Source[0] != '\0')
213 printf(" (src %s:%u)", prt->Source, prt->SourceIndex);
224 if (prt->Source[0] == '\0' || prt->SourceIndex != 0) {
240 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, prt->Source, &lnkdev))) {
242 prt->Source);

Completed in 318 milliseconds

1234567891011>>