HomeSort by: relevance | last modified time | path
    Searched refs:Source (Results 1 - 25 of 821) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/external/bsd/acpica/dist/utilities/
utnonansi.c 11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
60 * PARAMETERS: SrcString - The source string to convert
96 * PARAMETERS: SrcString - The source string to convert
191 char *Source)
194 if (strlen (Source) >= DestSize)
199 strcpy (Dest, Source);
207 char *Source)
210 if ((strlen (Dest) + strlen (Source)) >= DestSize)
215 strcat (Dest, Source);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
ConvertUTFWrapper.cpp 19 bool ConvertUTF8toWide(unsigned WideCharWidth, llvm::StringRef Source,
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.data()
    [all...]
StringExtras.cpp 33 /// getToken - This function extracts one token from source, ignoring any
36 /// there are no tokens in the source string, an empty string is returned.
39 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source,
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,
55 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
CVTypeVisitor.h 32 VisitorDataSource Source = VDS_BytesPresent);
34 VisitorDataSource Source = VDS_BytesPresent);
37 VisitorDataSource Source = VDS_BytesPresent);
45 VisitorDataSource Source = VDS_BytesPresent);
  /src/sys/external/bsd/acpica/dist/resources/
rsmisc.c 11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
83 void *Source;
123 * Source is the external AML byte stream buffer,
126 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset);
153 ((ACPI_GET8 (Source) >> Info->Value) & 0x01));
161 ((ACPI_GET8 (Source) >> Info->Value) & 0x03));
169 ((ACPI_GET8 (Source) >> Info->Value) & 0x07));
177 ((ACPI_GET8 (Source) >> Info->Value) & 0x3F));
182 ItemCount = ACPI_GET8 (Source);
    [all...]
rsutils.c 11 * Redistribution and use in source and binary forms, with or without
14 * 1. Redistributions of source code must retain the above copyright
137 * Source - Pointer to the source descriptor
152 void *Source,
177 memcpy (Destination, Source, ItemCount);
190 &ACPI_CAST_PTR (UINT16, Source)[i]);
197 &ACPI_CAST_PTR (UINT32, Source)[i]);
204 &ACPI_CAST_PTR (UINT64, Source)[i]);
312 * Source - Pointer to the source strin
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Object/
TapiUniversal.cpp 23 TapiUniversal::TapiUniversal(MemoryBufferRef Source, Error &Err)
24 : Binary(ID_TapiUniversal, Source) {
25 Expected<std::unique_ptr<InterfaceFile>> Result = TextAPIReader::get(Source);
55 TapiUniversal::create(MemoryBufferRef Source) {
57 std::unique_ptr<TapiUniversal> Ret(new TapiUniversal(Source, Err));
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/
FixIt.h 9 // This file implements functions to ease source rewriting from AST-nodes.
60 // Returns a FixItHint to replace \p Destination by \p Source.
62 FixItHint createReplacement(const D &Destination, const S &Source,
65 getText(Source, Context));
68 // Returns a FixItHint to replace \p Destination by \p Source.
70 FixItHint createReplacement(const D &Destination, StringRef Source) {
72 Source);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cxxfilt/
llvm-cxxfilt.cpp 110 // Split 'Source' on any character that fails to pass 'IsLegalChar'. The
114 StringRef Source,
118 const auto Head = Source.begin();
121 auto Start = std::find_if(Head, Source.end(), IsLegalChar);
123 OutFragments.push_back({"", Source.slice(0, Start - Head)});
126 while (Start != Source.end()) {
127 Start = std::find_if(Start, Source.end(), IsLegalChar);
128 auto End = std::find_if_not(Start, Source.end(), IsLegalChar);
129 auto DEnd = std::find_if(End, Source.end(), IsLegalChar);
130 OutFragments.push_back({Source.slice(Start - Head, End - Head)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
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;
106 /// Returns source information for a given PC in a function.
  /src/external/apache2/llvm/autoconf/autoconf/m4/
config_project.m4 6 AS_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),
  /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
InstructionView.h 30 llvm::ArrayRef<llvm::MCInst> Source;
42 : STI(STI), MCIP(Printer), Source(S), MCPU(MCPU),
57 llvm::ArrayRef<llvm::MCInst> getSource() const { return Source; }
ResourcePressureView.cpp 55 ArrayRef<llvm::MCInst> Source = getSource();
56 const unsigned SourceIdx = Event.IR.getSourceIndex() % Source.size();
64 ResourceUsage[R2VIndex + NumResourceUnits * Source.size()] += Use.second;
136 ArrayRef<llvm::MCInst> Source = getSource();
137 const unsigned Executions = LastInstructionIdx / Source.size() + 1;
139 double Usage = ResourceUsage[I + Source.size() * E];
157 ArrayRef<llvm::MCInst> Source = getSource();
158 const unsigned Executions = LastInstructionIdx / Source.size() + 1;
159 for (const MCInst &MCI : Source) {
181 ArrayRef<llvm::MCInst> Source = getSource()
    [all...]
InstructionInfoView.cpp 25 ArrayRef<llvm::MCInst> Source = getSource();
26 if (!Source.size())
29 IIVDVec IIVD(Source.size());
43 for (const auto &I : enumerate(zip(IIVD, Source))) {
136 ArrayRef<llvm::MCInst> Source = getSource();
137 if (!Source.size())
140 IIVDVec IIVD(Source.size());
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/
typecons.d 11 Source: $(PHOBOSSRC std/experimental/typecons.d)
41 T dynamicCast(S)(inout S source)
49 inout(TmpT) tmp = source; // bypass opCast by implicit conversion
54 return cast(T) typecons_d_toObject(*cast(void**)(&source));
77 * Determines if the `Source` type satisfies all interface requirements of
80 private template implementsInterface(Source, Targets...)
87 if (Targets.length == 1 && is(Source : Targets[0]))
93 if (!allSatisfy!(Bind!(isImplicitlyConvertible, Source), Targets))
103 alias SourceMembers = GetOverloadedMethods!Source;
113 enum foundFunc = findCovariantFunction!(TargetMembers[i], Source, SourceMembers)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
CVTypeVisitor.cpp 186 VisitorDataSource Source)
189 Visitor((Source == VDS_BytesPresent) ? Pipeline : Callbacks) {
190 if (Source == VDS_BytesPresent) {
204 VisitHelper(TypeVisitorCallbacks &Callbacks, VisitorDataSource Source)
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);
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/clang-refactor/
TestSupport.cpp 55 // Translate the offset pair to a true source range.
167 StringRef Source = ErrOrFile.get()->getBuffer();
168 Source = Source.take_front(Offset);
169 size_t LastLine = Source.find_last_of("\r\n");
170 return {Source.count('\n') + 1,
265 static unsigned addColumnOffset(StringRef Source, unsigned Offset,
269 StringRef Substr = Source.drop_front(Offset).take_front(ColumnOffset);
275 static unsigned addEndLineOffsetAndEndColumn(StringRef Source, unsigned Offset,
278 StringRef Line = Source.drop_front(Offset)
    [all...]
  /src/bin/ksh/
lex.h 4 * Source input, lexer and parser
11 typedef struct source Source;
12 struct source { struct
30 Source *next; /* stacked source */
33 /* Source.type values */
44 /* Source.flags values */
122 EXTERN Source *source; /* yyparse/yylex source * variable
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
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)
41 // Note that source and exactly one of [Target, Transform] must be provided
97 const std::string &Source,
106 Comdats.erase(Comdats.find(Source));
116 const std::string Source;
121 Source(std::string(Naked ? StringRef("\01" + S.str()) : S)),
137 if (ValueType *S = (M.*Get)(Source)) {
139 rewriteComdat(M, GO, Source, Target)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclFriend.cpp 73 ExternalASTSource *Source = getParentASTContext().getExternalSource();
74 Decl *First = data().FirstFriend.get(Source);
  /src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/
ExampleModules.h 45 parseExampleModule(llvm::StringRef Source, llvm::StringRef Name) {
49 if (auto M = parseIR(MemoryBufferRef(Source, Name), Err, *Ctx))
  /src/external/mpl/bind/dist/bin/tests/system/checkconf/
bad-catz-zone.conf 6 * This Source Code Form is subject to the terms of the Mozilla Public
bad-duplicate-remote-servers-synonyms.conf 6 * This Source Code Form is subject to the terms of the Mozilla Public
bad-duration.conf 6 * This Source Code Form is subject to the terms of the Mozilla Public
bad-empty-include.conf 6 * This Source Code Form is subject to the terms of the Mozilla Public

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>