Home
last modified time | relevance | path

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

12345678910>>...22

/openbsd-src/gnu/usr.bin/cvs/
H A Dcvsnt.dsp86 # Begin Group "Source Files"
89 # Begin Source File
103 # End Source File
104 # Begin Source File
118 # End Source File
119 # Begin Source File
133 # End Source File
134 # Begin Source File
148 # End Source File
149 # Begin Source File
[all …]
H A Dcvsnt.mak586 # Begin Source File
623 # End Source File
625 # Begin Source File
661 # End Source File
663 # Begin Source File
698 # End Source File
700 # Begin Source File
741 # End Source File
743 # Begin Source File
800 # End Source File
[all …]
/openbsd-src/gnu/llvm/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 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()
/openbsd-src/gnu/usr.bin/cvs/diff/
H A Dlibdiff.dsp77 # Begin Group "Source Files"
80 # Begin Source File
83 # End Source File
84 # Begin Source File
87 # End Source File
88 # Begin Source File
91 # End Source File
92 # Begin Source File
95 # End Source File
96 # Begin Source File
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h27 ExternalASTSourceWrapper(ExternalASTSource *Source) : m_Source(Source) { in ExternalASTSourceWrapper() argument
420 for (auto &Source : Sources) in getMemoryBufferSizes()
421 Source->getMemoryBufferSizes(sizes); in getMemoryBufferSizes()
429 for (auto &Source : Sources) in InitializeSema()
430 Source->InitializeSema(S); in InitializeSema()
434 for (auto &Source : Sources) in ForgetSema()
435 Source->ForgetSema(); in ForgetSema()
439 for (auto &Source : Sources) in ReadMethodPool()
440 Source->ReadMethodPool(Sel); in ReadMethodPool()
444 for (auto &Source : Sources) in updateOutOfDateSelector()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dttp53.C6 template <typename Target, typename Source>
7 H<Target> foo(const H<Source>&);
15 template<template<class, class> class Caster, typename Source>
16 static H<Type> cast(const H<Source>& s);
19 template <typename Target, typename Source>
20 friend H<Target> foo(const H<Source>&);
27 template <typename Target, typename Source>
28 H<Target> foo(const H<Source>& s){ in foo()
29 return H<Target>::template cast<caster, Source>(s); in foo()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/usr.bin/cvs/lib/
H A Dstrstr.c18 char *strstr(Source, What) in strstr() argument
19 register const char *Source; in strstr()
31 if ((SourceChar = *Source++) == 0) {
35 } while (strncmp(Source, What, Length) != 0);
36 Source--;
38 return ((char *)Source);
/openbsd-src/gnu/usr.bin/perl/cpan/Sys-Syslog/win32/
H A Dcompile.pl107 our $Source;
165 ($Source) ||= $basename;
167 $Source.=" [SSW:__VER__]";
173 if (!$Registry->{$root.$Source} ||
174 !$Registry->{$root.$Source.'/CategoryMessageFile'}[0] ||
175 !-e $Registry->{$root.$Source.'/CategoryMessageFile'}[0] )
196 $Registry->{$root.$Source} = {
203 warn "Configured eventlog to use $dll for $Source\n" if $Sys::Syslog::DEBUG;
213 $logger = Win32::EventLog->new($Source, $host)
214 or Carp::confess("Failed to connect to the '$Source' event log");
H A DWin32.pm19 our $Source;
171 ($Source) ||= $basename;
173 $Source.=" [SSW:1.0.1]";
179 if (!$Registry->{$root.$Source} ||
180 !$Registry->{$root.$Source.'/CategoryMessageFile'}[0] ||
181 !-e $Registry->{$root.$Source.'/CategoryMessageFile'}[0] )
202 $Registry->{$root.$Source} = {
209 warn "Configured eventlog to use $dll for $Source\n" if $Sys::Syslog::DEBUG;
219 $logger = Win32::EventLog->new($Source, $host)
220 or Carp::confess("Failed to connect to the '$Source' event log");
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/tools/clang-refactor/
H A DTestSupport.cpp168 StringRef Source = ErrOrFile.get()->getBuffer(); in getLineColumn() local
169 Source = Source.take_front(Offset); in getLineColumn()
170 size_t LastLine = Source.find_last_of("\r\n"); in getLineColumn()
171 return {Source.count('\n') + 1, in getLineColumn()
266 static unsigned addColumnOffset(StringRef Source, unsigned Offset, in addColumnOffset() argument
270 StringRef Substr = Source.drop_front(Offset).take_front(ColumnOffset); in addColumnOffset()
276 static unsigned addEndLineOffsetAndEndColumn(StringRef Source, unsigned Offset, in addEndLineOffsetAndEndColumn() argument
279 StringRef Line = Source.drop_front(Offset); in addEndLineOffsetAndEndColumn()
290 size_t LineStart = Source.find_last_of("\r\n", /*From=*/Offset + LineOffset); in addEndLineOffsetAndEndColumn()
292 Source, LineStart == StringRef::npos ? 0 : LineStart + 1, Column - 1); in addEndLineOffsetAndEndColumn()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp96 const std::string &Source, in rewriteComdat() argument
105 Comdats.erase(Comdats.find(Source)); in rewriteComdat()
115 const std::string Source; member in __anon0545776f0111::ExplicitRewriteDescriptor
120 Source(std::string(Naked ? StringRef("\01" + S.str()) : S)), in ExplicitRewriteDescriptor()
136 if (ValueType *S = (M.*Get)(Source)) { in performOnModule()
138 rewriteComdat(M, GO, Source, Target); in performOnModule()
329 std::string Source; in parseRewriteFunctionDescriptor() local
356 Source = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
357 if (!Regex(Source).isValid(Error)) { in parseRewriteFunctionDescriptor()
386 Source, Target, Naked)); in parseRewriteFunctionDescriptor()
[all …]
/openbsd-src/gnu/llvm/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.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 …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-cxxfilt/
H A Dllvm-cxxfilt.cpp102 StringRef Source, in SplitStringDelims() argument
106 const auto Head = Source.begin(); in SplitStringDelims()
109 auto Start = std::find_if(Head, Source.end(), IsLegalChar); in SplitStringDelims()
111 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims()
114 while (Start != Source.end()) { in SplitStringDelims()
115 Start = std::find_if(Start, Source.end(), IsLegalChar); in SplitStringDelims()
116 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); in SplitStringDelims()
117 auto DEnd = std::find_if(End, Source.end(), IsLegalChar); in SplitStringDelims()
118 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims()
119 Source.slice(End - Head, DEnd - Head)}); in SplitStringDelims()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DSource.h73 SourceInfo(const Stmt *E) : Source(E) {} in SourceInfo()
74 SourceInfo(const Decl *D) : Source(D) {} in SourceInfo()
78 const Stmt *asStmt() const { return Source.dyn_cast<const Stmt *>(); } in asStmt()
79 const Decl *asDecl() const { return Source.dyn_cast<const Decl *>(); } in asDecl()
82 operator bool() const { return !Source.isNull(); }
85 llvm::PointerUnion<const Decl *, const Stmt *> Source;
H A DDescriptor.cpp199 : Source(D), ElemSize(primSize(Type)), Size(ElemSize), in Descriptor()
204 assert(Source && "Missing source"); in Descriptor()
210 : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), in Descriptor()
216 assert(Source && "Missing source"); in Descriptor()
221 : Source(D), ElemSize(primSize(Type)), Size(UnknownSizeMark), MDSize(0), in Descriptor()
225 assert(Source && "Missing source"); in Descriptor()
231 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
237 assert(Source && "Missing source"); in Descriptor()
242 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
247 assert(Source && "Missing source"); in Descriptor()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/
H A DCMakeLists.txt19 source_group("Source Files" REGULAR_EXPRESSION
22 source_group("Source Files\\COFF" REGULAR_EXPRESSION
25 source_group("Source Files\\ELF" REGULAR_EXPRESSION
28 source_group("Source Files\\MachO" REGULAR_EXPRESSION
31 source_group("Source Files\\wasm" REGULAR_EXPRESSION
34 source_group("Source Files\\XCOFF" REGULAR_EXPRESSION
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExternalASTSource.h77 ExternalASTSource *Source; variable
80 explicit Deserializing(ExternalASTSource *source) : Source(source) { in Deserializing()
81 assert(Source); in Deserializing()
82 Source->StartedDeserializing(); in Deserializing()
86 Source->FinishedDeserializing(); in ~Deserializing()
374 T* get(ExternalASTSource *Source) const { in get()
376 assert(Source && in get()
378 Ptr = reinterpret_cast<uint64_t>((Source->*Get)(Ptr >> 1)); in get()
396 LazyData(ExternalASTSource *Source, T Value) in LazyData()
397 : ExternalSource(Source), LastValue(Value) {} in LazyData()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExternalASTMerger.cpp25 template <typename T> struct Source { struct
27 Source(T t) : t(t) {} in Source() argument
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()
210 Source<DeclContext *> FromDC( in Imported()
289 Source<TranslationUnitDecl *> SourceTU = in ForEachMatchingDC()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dsource.t15 use_ok('TAP::Parser::Source');
28 my $source = TAP::Parser::Source->new;
29 isa_ok( $source, 'TAP::Parser::Source', 'new source' );
75 my $source = TAP::Parser::Source->new;
90 my $source = TAP::Parser::Source->new;
104 my $source = TAP::Parser::Source->new;
118 my $source = TAP::Parser::Source->new;
133 my $source = TAP::Parser::Source->new;
187 my $source = TAP::Parser::Source->new;
244 my $source = TAP::Parser::Source
[all...]
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCDwarf.h96 std::optional<StringRef> Source; member
274 std::optional<StringRef> Source,
297 std::optional<StringRef> Source) { in setRootFile()
302 RootFile.Source = Source; in setRootFile()
304 HasSource = Source.has_value(); in setRootFile()
328 std::optional<StringRef> Source) { in maybeSetRootFile() argument
331 Header.setRootFile(Directory, FileName, Checksum, Source); in maybeSetRootFile()
336 uint16_t DwarfVersion, std::optional<StringRef> Source) { in getFile() argument
338 return cantFail(Header.tryGetFile(Directory, FileName, Checksum, Source, in getFile()
365 std::optional<StringRef> Source,
[all …]

12345678910>>...22