Home
last modified time | relevance | path

Searched refs:Source (Results 1 – 25 of 1111) sorted by relevance

12345678910>>...45

/freebsd-src/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; in AcpiRsConvertAmlToResource() local
231 * Source is the external AML byte stream buffer, in AcpiRsConvertAmlToResource()
234 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); in AcpiRsConvertAmlToResource()
261 ((ACPI_GET8 (Source) >> Info->Value) & 0x01)); in AcpiRsConvertAmlToResource()
269 ((ACPI_GET8 (Source) >> Info->Value) & 0x03)); in AcpiRsConvertAmlToResource()
277 ((ACPI_GET8 (Source) >> Inf in AcpiRsConvertAmlToResource()
594 void *Source = NULL; AcpiRsConvertResourceToAml() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp19 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source, in ConvertUTF8toWide() argument
25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); in ConvertUTF8toWide()
26 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { in ConvertUTF8toWide()
30 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide()
31 ResultPtr += Source.size(); in ConvertUTF8toWide()
34 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
40 ConvertUTF8toUTF16(&sourceStart, sourceStart + Source.size(), in ConvertUTF8toWide()
41 &targetStart, targetStart + Source.size(), flags); in ConvertUTF8toWide()
47 const UTF8 *sourceStart = (const UTF8 *)Source.data(); in ConvertUTF8toWide()
53 ConvertUTF8toUTF32(&sourceStart, sourceStart + Source.size(), in ConvertUTF8toWide()
[all …]
H A DConvertEBCDIC.cpp69 ConverterEBCDIC::convertToEBCDIC(StringRef Source, in convertToEBCDIC() argument
74 reinterpret_cast<const unsigned char *>(Source.data()); in convertToEBCDIC()
75 size_t Length = Source.size(); in convertToEBCDIC()
101 void ConverterEBCDIC::convertToUTF8(StringRef Source, in convertToUTF8() argument
107 reinterpret_cast<const unsigned char *>(Source.data()); in convertToUTF8()
108 size_t Length = Source.size(); in convertToUTF8()
H A DStringExtras.cpp39 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, in getToken() argument
42 StringRef::size_type Start = Source.find_first_not_of(Delimiters); in getToken()
45 StringRef::size_type End = Source.find_first_of(Delimiters, Start); in getToken()
47 return std::make_pair(Source.slice(Start, End), Source.substr(End)); in getToken()
52 void llvm::SplitString(StringRef Source, in SplitString() argument
55 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters); in SplitString()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h33 ExternalASTSourceWrapper(ExternalASTSource *Source) : m_Source(Source) { in GetExternalDecl()
426 for (auto &Source : Sources)
427 Source->getMemoryBufferSizes(sizes);
435 for (auto &Source : Sources) in ForgetSema()
436 Source->InitializeSema(S); in ForgetSema()
440 for (auto &Source : Sources) in ReadMethodPool()
441 Source->ForgetSema(); in ReadMethodPool()
445 for (auto &Source : Sources) in updateOutOfDateSelector()
446 Source in updateOutOfDateSelector()
27 ExternalASTSourceWrapper(ExternalASTSource * Source) ExternalASTSourceWrapper() argument
[all...]
/freebsd-src/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) in AcpiUtSafeStrcpy() argument
302 if (strlen (Source) >= DestSize) in AcpiUtSafeStrcpy()
307 strcpy (Dest, Source); in AcpiUtSafeStrcpy()
315 char *Source) in AcpiUtSafeStrcat() argument
318 if ((strlen (Dest) + strlen (Source)) >= DestSize) in AcpiUtSafeStrcat()
323 strcat (Dest, Source); in AcpiUtSafeStrcat()
331 AcpiUtSafeStrncat(char * Dest,ACPI_SIZE DestSize,char * Source,ACPI_SIZE MaxTransferLength) AcpiUtSafeStrncat() argument
351 AcpiUtSafeStrncpy(char * Dest,char * Source,ACPI_SIZE DestSize) AcpiUtSafeStrncpy() argument
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dc_api_test.cpp94 char Source[SmallAllocSize]; in TEST() local
96 Source[I] = 0x55 + I; in TEST()
99 orc_rt_CreateCWrapperFunctionResultFromRange(Source, SmallAllocSize); in TEST()
115 char Source[LargeAllocSize]; in TEST() local
117 Source[I] = 0x55 + I; in TEST()
120 orc_rt_CreateCWrapperFunctionResultFromRange(Source, LargeAllocSize); in TEST()
136 char Source[SmallAllocSize]; in TEST() local
138 Source[I] = 'a' + I; in TEST()
139 Source[SmallAllocSize - 1] = '\0'; in TEST()
142 orc_rt_CreateCWrapperFunctionResultFromString(Source); in TEST()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMoveMerger.cpp62 Register Source = RegPair.Source->getReg(); in isCandidateToMergeMVA01S() local
65 RISCV::SR07RegClass.contains(Source)) in isCandidateToMergeMVA01S()
73 Register Source = RegPair.Source->getReg(); in isCandidateToMergeMVSA01() local
75 if ((Source == RISCV::X10 || Source == RISCV::X11) && in isCandidateToMergeMVSA01()
92 : FirstPair.Source->getReg(); in mergePairedInsns()
108 Sreg1 = StartWithX10 ? FirstPair.Source : PairedRegs.Source; in mergePairedInsns()
109 Sreg2 = StartWithX10 ? PairedRegs.Source : FirstPair.Source; in mergePairedInsns()
139 Register SourceReg = SecondPair->Source->getReg(); in findMatchingInst()
159 if ((RegPair.Source->getReg() == SourceReg) || in findMatchingInst()
/freebsd-src/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, in rewriteComdat() argument
103 Comdats.erase(Comdats.find(Source)); in rewriteComdat()
113 const std::string Source; member in __anon7ae424ca0111::ExplicitRewriteDescriptor
118 Source(std::string(Naked ? StringRef("\01" + S.str()) : S)), in ExplicitRewriteDescriptor()
134 if (ValueType *S = (M.*Get)(Source)) { in performOnModule()
136 rewriteComdat(M, GO, Source, Target); in performOnModule()
327 std::string Source; in parseRewriteFunctionDescriptor() local
396 std::string Source; parseRewriteGlobalVariableDescriptor() local
459 std::string Source; parseRewriteGlobalAliasDescriptor() local
[all...]
H A DSampleProfileInference.cpp92 Source = SourceNode; in initialize()
117 if (Src == Source) in run()
219 while (Now != Source) { in computeAugmentingPathCapacity()
243 Queue.push(Source); in findAugmentingPath()
244 Nodes[Source].Distance = 0; in findAugmentingPath()
245 Nodes[Source].Taken = true; in findAugmentingPath()
253 // (i) Dist[Source, V] >= 0 and (ii) Dist[V, Target] >= 0 for all nodes V, in findAugmentingPath()
257 // -- If we find a path with zero-distance from Source to Target, stop the in findAugmentingPath()
258 // search, as the path is the shortest since Dist[Source, Target] >= 0; in findAugmentingPath()
259 // -- If we have Dist[Source, in findAugmentingPath()
575 uint64_t Source; global() member in __anoncacc37820111::MinCostMaxFlow
683 findShortestPath(uint64_t Source,uint64_t Target) findShortestPath() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp187 VisitorDataSource Source) in FieldListVisitHelper()
190 Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) { in FieldListVisitHelper()
191 if (Source == VDS_BytesPresent) { in FieldListVisitHelper()
205 VisitHelper(TypeVisitorCallbacks &Callbacks, VisitorDataSource Source) in VisitHelper()
206 : Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) { in VisitHelper()
207 if (Source == VDS_BytesPresent) { in VisitHelper()
221 VisitorDataSource Source) { in visitTypeRecord() argument
222 VisitHelper V(Callbacks, Source); in visitTypeRecord()
228 VisitorDataSource Source) { in visitTypeRecord() argument
229 VisitHelper V(Callbacks, Source); in visitTypeRecord()
[all …]
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-cxxfilt/
H A Dllvm-cxxfilt.cpp101 StringRef Source, in SplitStringDelims() argument
105 const auto Head = Source.begin(); in SplitStringDelims()
108 auto Start = std::find_if(Head, Source.end(), IsLegalChar); in SplitStringDelims()
110 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims()
113 while (Start != Source.end()) { in SplitStringDelims()
114 Start = std::find_if(Start, Source.end(), IsLegalChar); in SplitStringDelims()
115 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); in SplitStringDelims()
116 auto DEnd = std::find_if(End, Source.end(), IsLegalChar); in SplitStringDelims()
117 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims()
118 Source.slice(End - Head, DEnd - Head)}); in SplitStringDelims()
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DResourcePressureView.cpp55 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent() local
56 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size(); in onEvent()
64 ResourceUsage[R2VIndex + NumResourceUnits * Source.size()] += Use.second; in onEvent()
136 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerIter() local
137 const unsigned Executions = LastInstructionIdx / Source.size() + 1; in printResourcePressurePerIter()
139 double Usage = ResourceUsage[I + Source.size() * E]; in printResourcePressurePerIter()
157 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerInst() local
158 const unsigned Executions = LastInstructionIdx / Source.size() + 1; in printResourcePressurePerInst()
159 for (const MCInst &MCI : Source) { in printResourcePressurePerInst()
181 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON() local
[all …]
H A DBottleneckAnalysis.cpp310 ArrayRef<llvm::MCInst> Source = getSource(); in printCriticalSequence()
311 unsigned FromIID = FirstEdge.FromIID % Source.size(); in printCriticalSequence()
312 unsigned ToIID = FirstEdge.ToIID % Source.size(); in printCriticalSequence()
326 printInstruction(FOS, Source[FromIID], HasColors); in printCriticalSequence()
331 printInstruction(FOS, Source[CurrentIID]); in printCriticalSequence()
336 printInstruction(FOS, Source[CurrentIID], HasColors); in printCriticalSequence()
341 ToIID = DE->ToIID % Source.size(); in printCriticalSequence()
342 unsigned LastIID = CurrentIID > ToIID ? Source.size() : ToIID; in printCriticalSequence()
346 printInstruction(FOS, Source[CurrentIID]); in printCriticalSequence()
352 printInstruction(FOS, Source[CurrentII in printCriticalSequence()
309 ArrayRef<llvm::MCInst> Source = getSource(); printCriticalSequence() local
502 ArrayRef<llvm::MCInst> Source = getSource(); onEvent() local
[all...]
H A DInstructionInfoView.cpp25 ArrayRef<llvm::MCInst> Source = getSource(); in printView() local
26 if (!Source.size()) in printView()
29 IIVDVec IIVD(Source.size()); in printView()
58 for (const auto &[Index, IIVDEntry, Inst] : enumerate(IIVD, Source)) { in printView()
160 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON() local
161 if (!Source.size()) in toJSON()
164 IIVDVec IIVD(Source.size()); in toJSON()
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h79 ExternalASTSource *Source;
82 explicit Deserializing(ExternalASTSource *source) : Source(source) { in Deserializing()
83 assert(Source); in Deserializing()
84 Source->StartedDeserializing();
88 Source->FinishedDeserializing();
393 /// \param Source the external AST source.
396 T *get(ExternalASTSource *Source) const {
398 assert(Source &&
400 SetPtr((Source->*Get)(OffsT(GetU64() >> 1)));
407 T **getAddressOfPointer(ExternalASTSource *Source) cons
77 ExternalASTSource *Source; global() variable
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DTapiUniversal.cpp24 TapiUniversal::TapiUniversal(MemoryBufferRef Source, Error &Err) in TapiUniversal() argument
25 : Binary(ID_TapiUniversal, Source) { in TapiUniversal()
26 Expected<std::unique_ptr<InterfaceFile>> Result = TextAPIReader::get(Source); in TapiUniversal()
56 TapiUniversal::create(MemoryBufferRef Source) { in create() argument
58 std::unique_ptr<TapiUniversal> Ret(new TapiUniversal(Source, Err)); in create()
/freebsd-src/contrib/llvm-project/clang/lib/AST/Interp/
H A DSource.h75 SourceInfo(const Stmt *E) : Source(E) {} in SourceInfo()
76 SourceInfo(const Decl *D) : Source(D) {} in SourceInfo()
81 const Stmt *asStmt() const { return Source.dyn_cast<const Stmt *>(); } in asStmt()
82 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl()
85 operator bool() const { return !Source.isNull(); }
88 llvm::PointerUnion<const Decl *, const Stmt *> Source;
H A DDescriptor.cpp288 : Source(D), ElemSize(primSize(Type)), Size(ElemSize),
294 assert(Source && "Missing source"); in Descriptor()
301 : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), in Descriptor()
307 assert(Source && "Missing source"); in getType()
314 : Source(D), ElemSize(primSize(Type)), Size(UnknownSizeMark), in getType()
320 assert(Source && "Missing source"); in getElemQualType()
327 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in getLocation()
333 assert(Source && "Missing source"); in InitMap()
339 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in initializeElement()
344 assert(Source in initializeElement()
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp25 template <typename T> struct Source { struct
27 Source(T t) : t(t) {} in Source() function
31 template <typename U> operator Source<U>() { return Source<U>(t); } in operator Source<U>() argument
34 typedef std::pair<Source<NamedDecl *>, ASTImporter *> Candidate;
44 Source<const DeclContext *>
45 LookupSameContext(Source<TranslationUnitDecl *> SourceTU, const DeclContext *DC, in LookupSameContext()
51 Source<const DeclContext *> SourceParentDC = in LookupSameContext()
64 Source<DeclarationName> SourceName = *SourceNameOrErr; in LookupSameContext()
207 Source<DeclContext *> FromDC( in Imported()
286 Source<TranslationUnitDecl *> SourceTU = in ForEachMatchingDC()
[all …]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h100 std::optional<StringRef> Source; member
279 std::optional<StringRef> Source,
302 std::optional<StringRef> Source) { in setRootFile()
307 RootFile.Source = Source; in setRootFile()
309 HasAnySource |= Source.has_value(); in setRootFile()
333 std::optional<StringRef> Source) { in maybeSetRootFile() argument
336 Header.setRootFile(Directory, FileName, Checksum, Source); in maybeSetRootFile()
341 uint16_t DwarfVersion, std::optional<StringRef> Source) { in getFile() argument
343 return cantFail(Header.tryGetFile(Directory, FileName, Checksum, Source, in getFile()
382 setRootFile(StringRef Directory,StringRef FileName,std::optional<MD5::MD5Result> Checksum,std::optional<StringRef> Source) setRootFile() argument
[all...]
/freebsd-src/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; in AcpiNsRepair_HID() local
734 Source = ReturnObject->String.Pointer; in AcpiNsRepair_HID()
735 if (*Source == '*') in AcpiNsRepair_HID()
737 Source++; in AcpiNsRepair_HID()
752 for (Dest = NewString->String.Pointer; *Source; Dest++, Source in AcpiNsRepair_HID()
1152 ACPI_OPERAND_OBJECT **Source; AcpiNsRemoveElement() local
[all...]
/freebsd-src/sys/dev/acpica/
H A Dacpi_pcib.c97 if (entry->Source[0] == '\0') in prt_attach_devices()
109 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, entry->Source, &handle))) in prt_attach_devices()
213 if (prt->Source[0] != '\0') in acpi_pcib_route_interrupt()
214 printf(" (src %s:%u)", prt->Source, prt->SourceIndex); in acpi_pcib_route_interrupt()
225 if (prt->Source[0] == '\0' || prt->SourceIndex != 0) { in acpi_pcib_route_interrupt()
241 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, prt->Source, &lnkdev))) { in acpi_pcib_route_interrupt()
243 prt->Source); in acpi_pcib_route_interrupt()
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp1037 AssignRecord Source;
1040 // Don't include Source in the equality check. Assignments are in isSameSourceAssignment()
1052 if (Source.isNull()) in dump()
1054 else if (isa<DbgAssignIntrinsic *>(Source)) in dump()
1055 OS << Source.get<DbgAssignIntrinsic *>(); in dump()
1057 OS << Source.get<DbgVariableRecord *>(); in dump()
1061 static Assignment make(DIAssignID *ID, DbgAssignIntrinsic *Source) { in make()
1062 return Assignment(Known, ID, Source); in make()
1064 static Assignment make(DIAssignID *ID, DbgVariableRecord *Source) { in make()
1065 assert(Source in make()
1036 AssignRecord Source; global() member
1525 emitDbgValue(AssignmentTrackingLowering::LocKind Kind,AssignmentTrackingLowering::AssignRecord Source,VarLocInsertPt After) emitDbgValue() argument
1533 emitDbgValue(AssignmentTrackingLowering::LocKind Kind,const T Source,VarLocInsertPt After) emitDbgValue() argument
2009 AssignRecord Source = JoinSource(); joinAssignment() local
[all...]

12345678910>>...45