Home
last modified time | relevance | path

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

12345678910>>...48

/freebsd/sys/contrib/dev/acpica/components/resources/
H A Drsmisc.c191 void *Source; in AcpiRsConvertAmlToResource() local
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) >> Info->Value) & 0x07)); in AcpiRsConvertAmlToResource()
285 ((ACPI_GET8 (Source) >> Info->Value) & 0x3F)); in AcpiRsConvertAmlToResource()
290 ItemCount = ACPI_GET8 (Source); in AcpiRsConvertAmlToResource()
309 ItemCount = ACPI_GET16 (Target) - ACPI_GET16 (Source); in AcpiRsConvertAmlToResource()
318 ItemCount = ACPI_GET8 (Source); in AcpiRsConvertAmlToResource()
335 ItemCount = ACPI_GET16 (Target) - ACPI_GET16 (Source); in AcpiRsConvertAmlToResource()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp18 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source, in ConvertUTF8toWide() argument
24 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); in ConvertUTF8toWide()
25 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { in ConvertUTF8toWide()
29 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide()
30 ResultPtr += Source.size(); in ConvertUTF8toWide()
33 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide()
39 ConvertUTF8toUTF16(&sourceStart, sourceStart + Source.size(), in ConvertUTF8toWide()
40 &targetStart, targetStart + Source.size(), flags); in ConvertUTF8toWide()
46 const UTF8 *sourceStart = (const UTF8 *)Source.data(); in ConvertUTF8toWide()
52 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 DTextEncoding.cpp89 std::error_code convertString(StringRef Source,
96 TextEncodingConverterTable::convertString(StringRef Source, in convertString() argument
100 ConverterEBCDIC::convertToUTF8(Source, Result); in convertString()
103 return ConverterEBCDIC::convertToEBCDIC(Source, Result); in convertString()
129 std::error_code convertString(StringRef Source,
141 TextEncodingConverterICU::convertString(StringRef Source, in convertString() argument
144 size_t InputLength = Source.size(); in convertString()
145 const char *In = InputLength ? const_cast<char *>(Source.data()) : ""; in convertString()
226 std::error_code convertString(StringRef Source,
237 TextEncodingConverterIconv::convertString(StringRef Source, in convertString() argument
[all …]
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/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h36 explicit ExternalASTSourceWrapper(ExternalASTSource *Source) in ExternalASTSourceWrapper() argument
37 : m_Source(Source) { in ExternalASTSourceWrapper()
482 for (auto &Source : Sources) in getMemoryBufferSizes()
483 Source->getMemoryBufferSizes(sizes); in getMemoryBufferSizes()
491 for (auto &Source : Sources) in InitializeSema()
492 Source->InitializeSema(S); in InitializeSema()
496 for (auto &Source : Sources) in ForgetSema()
497 Source->ForgetSema(); in ForgetSema()
501 for (auto &Source : Sources) in ReadMethodPool()
502 Source->ReadMethodPool(Sel); in ReadMethodPool()
[all …]
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutnonansi.c299 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 char *Source, in AcpiUtSafeStrncat() argument
337 ActualTransferLength = ACPI_MIN (MaxTransferLength, strlen (Source)); in AcpiUtSafeStrncat()
344 strncat (Dest, Source, MaxTransferLength); in AcpiUtSafeStrncat()
351 char *Source, in AcpiUtSafeStrncpy() argument
[all …]
/freebsd/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_CreateWrapperFunctionResultFromRange(Source, SmallAllocSize); in TEST()
115 char Source[LargeAllocSize]; in TEST() local
117 Source[I] = 0x55 + I; in TEST()
120 orc_rt_CreateWrapperFunctionResultFromRange(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_CreateWrapperFunctionResultFromString(Source); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp94 const std::string &Source, in rewriteComdat() argument
103 Comdats.erase(Comdats.find(Source)); in rewriteComdat()
113 const std::string Source; member in __anon8c4031380111::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
354 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
355 if (!Regex(Source).isValid(Error)) { in parseRewriteFunctionDescriptor()
384 Source, Target, Naked)); in parseRewriteFunctionDescriptor()
[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()
297 while (Now != Source) { in augmentFlowAlongPath()
339 Stack.emplace(Source, 0); in findAugmentingDAG()
340 Nodes[Source].Discovery = ++Time; in findAugmentingDAG()
373 if (NodeIdx != Source) { in findAugmentingDAG()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMoveMerger.cpp104 Register Source = RegPair.Source->getReg(); in isCandidateToMergeMVA01S() local
107 RISCV::SR07RegClass.contains(Source)) in isCandidateToMergeMVA01S()
115 Register Source = RegPair.Source->getReg(); in isCandidateToMergeMVSA01() local
117 if ((Source == RISCV::X10 || Source == RISCV::X11) && in isCandidateToMergeMVSA01()
134 : FirstPair.Source->getReg(); in mergePairedInsns()
143 MachineOperand PairedSource = *PairedRegs.Source; in mergePairedInsns()
162 Sreg1 = StartWithX10 ? FirstPair.Source : &PairedSource; in mergePairedInsns()
163 Sreg2 = StartWithX10 ? &PairedSource : FirstPair.Source; in mergePairedInsns()
193 Register SourceReg = SecondPair->Source->getReg(); in findMatchingInst()
212 if ((RegPair.Source->getReg() == SourceReg) || in findMatchingInst()
/freebsd/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()
235 visitTypeStream(const CVTypeArray & Types,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitTypeStream() argument
257 visitMemberRecord(CVMemberRecord Record,TypeVisitorCallbacks & Callbacks,VisitorDataSource Source) visitMemberRecord() argument
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTextEncoding.h54 virtual std::error_code convertString(StringRef Source,
64 std::error_code convert(StringRef Source, SmallVectorImpl<char> &Result) { in convert() argument
65 auto EC = convertString(Source, Result); in convert()
126 std::error_code convert(StringRef Source, in convert() argument
128 return Converter->convert(Source, Result); in convert()
131 ErrorOr<std::string> convert(StringRef Source) const { in convert() argument
133 auto EC = Converter->convert(Source, Result); in convert()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxfilt/
H A Dllvm-cxxfilt.cpp113 StringRef Source, in SplitStringDelims() argument
117 const auto Head = Source.begin(); in SplitStringDelims()
120 auto Start = std::find_if(Head, Source.end(), IsLegalChar); in SplitStringDelims()
122 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims()
125 while (Start != Source.end()) { in SplitStringDelims()
126 Start = std::find_if(Start, Source.end(), IsLegalChar); in SplitStringDelims()
127 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); in SplitStringDelims()
128 auto DEnd = std::find_if(End, Source.end(), IsLegalChar); in SplitStringDelims()
129 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims()
130 Source.slice(End - Head, DEnd - Head)}); in SplitStringDelims()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h80 ExternalASTSource *Source; variable
83 explicit Deserializing(ExternalASTSource *source) : Source(source) { in Deserializing()
84 assert(Source); in Deserializing()
85 Source->StartedDeserializing(); in Deserializing()
89 Source->FinishedDeserializing(); in ~Deserializing()
424 T *get(ExternalASTSource *Source) const { in get()
426 assert(Source && in get()
428 SetPtr((Source->*Get)(OffsT(GetU64() >> 1))); in get()
435 T **getAddressOfPointer(ExternalASTSource *Source) const { in getAddressOfPointer()
437 (void)get(Source); in getAddressOfPointer()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DResourcePressureView.cpp63 ArrayRef<llvm::MCInst> Source = getSource(); in onEvent() local
64 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size(); in onEvent()
155 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerIter() local
156 const unsigned Executions = LastInstructionIdx / Source.size() + 1; in printResourcePressurePerIter()
183 ArrayRef<llvm::MCInst> Source = getSource(); in printResourcePressurePerInst() local
184 const unsigned Executions = LastInstructionIdx / Source.size() + 1; in printResourcePressurePerInst()
185 for (const MCInst &MCI : Source) { in printResourcePressurePerInst()
213 ArrayRef<llvm::MCInst> Source = getSource(); in toJSON() local
214 const unsigned Executions = LastInstructionIdx / Source.size() + 1; in toJSON()
230 AddToJSON(RU, Source.size()); in toJSON()
H A DBottleneckAnalysis.cpp309 ArrayRef<llvm::MCInst> Source = getSource(); in printCriticalSequence() local
310 unsigned FromIID = FirstEdge.FromIID % Source.size(); in printCriticalSequence()
311 unsigned ToIID = FirstEdge.ToIID % Source.size(); in printCriticalSequence()
325 printInstruction(FOS, Source[FromIID], HasColors); in printCriticalSequence()
330 printInstruction(FOS, Source[CurrentIID]); in printCriticalSequence()
335 printInstruction(FOS, Source[CurrentIID], HasColors); in printCriticalSequence()
340 ToIID = DE->ToIID % Source.size(); in printCriticalSequence()
341 unsigned LastIID = CurrentIID > ToIID ? Source.size() : ToIID; in printCriticalSequence()
345 printInstruction(FOS, Source[CurrentIID]); in printCriticalSequence()
351 printInstruction(FOS, Source[CurrentIID], HasColors); in printCriticalSequence()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DSource.h76 SourceInfo(const Stmt *E) : Source(E) {} in SourceInfo()
77 SourceInfo(const Decl *D) : Source(D) {} in SourceInfo()
83 return dyn_cast_if_present<const Stmt *>(Source); in asStmt()
86 return dyn_cast_if_present<const Decl *>(Source); in asDecl()
90 operator bool() const { return !Source.isNull(); }
93 llvm::PointerUnion<const Decl *, const Stmt *> Source;
H A DFunction.h110 return dyn_cast<const FunctionDecl *>(Source); in getDecl()
113 return dyn_cast<const BlockExpr *>(Source); in getExpr()
119 if (!Source || !getDecl()) in getName()
185 dyn_cast<const FunctionDecl *>(Source))) in getParentDecl()
217 dyn_cast<const FunctionDecl *>(Source))) in isThisPointerExplicit()
232 Function(Program &P, FunctionDeclTy Source, unsigned ArgSize,
263 FunctionDeclTy Source; variable
H A DDescriptor.cpp343 : Source(D), SourceType(SourceTy), ElemSize(primSize(Type)), Size(ElemSize), in Descriptor()
349 assert(Source && "Missing source"); in Descriptor()
356 : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), in Descriptor()
362 assert(Source && "Missing source"); in Descriptor()
369 : Source(D), ElemSize(primSize(Type)), Size(UnknownSizeMark), in Descriptor()
375 assert(Source && "Missing source"); in Descriptor()
383 : Source(D), SourceType(SourceTy), in Descriptor()
390 assert(Source && "Missing source"); in Descriptor()
396 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
401 assert(Source && "Missing source"); in Descriptor()
[all …]
/freebsd/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()
284 Source<TranslationUnitDecl *> SourceTU = in ForEachMatchingDC()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DTapiUniversal.cpp22 TapiUniversal::TapiUniversal(MemoryBufferRef Source, Error &Err) in TapiUniversal() argument
23 : Binary(ID_TapiUniversal, Source) { in TapiUniversal()
24 Expected<std::unique_ptr<InterfaceFile>> Result = TextAPIReader::get(Source); in TapiUniversal()
63 TapiUniversal::create(MemoryBufferRef Source) { in create() argument
65 std::unique_ptr<TapiUniversal> Ret(new TapiUniversal(Source, Err)); in create()
/freebsd/sys/contrib/dev/acpica/components/namespace/
H A Dnsrepair2.c694 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()
754 *Dest = (char) toupper ((int) *Source); in AcpiNsRepair_HID()
1152 ACPI_OPERAND_OBJECT **Source; in AcpiNsRemoveElement() local
1165 Source = ObjDesc->Package.Elements; in AcpiNsRemoveElement()
1166 Dest = Source; in AcpiNsRemoveElement()
1174 AcpiUtRemoveReference (*Source); /* Remove one ref for being in pkg */ in AcpiNsRemoveElement()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCVTypeVisitor.h36 VisitorDataSource Source = VDS_BytesPresent);
38 VisitorDataSource Source = VDS_BytesPresent);
42 VisitorDataSource Source = VDS_BytesPresent);
51 VisitorDataSource Source = VDS_BytesPresent);
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DFixIt.h62 FixItHint createReplacement(const D &Destination, const S &Source, in createReplacement() argument
65 getText(Source, Context)); in createReplacement()
70 FixItHint createReplacement(const D &Destination, StringRef Source) { in createReplacement() argument
72 Source); in createReplacement()

12345678910>>...48