/external/llvm/include/llvm/ADT/ |
ArrayRef.h | 1 //===--- ArrayRef.h - Array Reference Wrapper -------------------*- C++ -*-===// 19 /// ArrayRef - Represent a constant reference to an array (0 or more elements 25 /// extends past that of the ArrayRef. For this reason, it is not in general 26 /// safe to store an ArrayRef. 31 class ArrayRef { 50 /// Construct an empty ArrayRef. 51 /*implicit*/ ArrayRef() : Data(0), Length(0) {} 53 /// Construct an empty ArrayRef from None. 54 /*implicit*/ ArrayRef(NoneType) : Data(0), Length(0) {} 56 /// Construct an ArrayRef from a single element [all...] |
edit_distance.h | 19 #include "llvm/ADT/ArrayRef.h" 43 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray, 55 typename ArrayRef<T>::size_type m = FromArray.size(); 56 typename ArrayRef<T>::size_type n = ToArray.size(); 71 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) { 75 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
|
VariadicFunction.h | 17 #include "llvm/ADT/ArrayRef.h" 69 /// ResultT FooImpl(ArrayRef<const ArgT *> Args) { 97 /// ArrayRef<const ArgT *> Args) { ... } 105 ResultT (*Func)(ArrayRef<const ArgT *>)> 108 return Func(ArrayRef<const ArgT *>()); 152 ResultT (*Func)(Param0T, ArrayRef<const ArgT *>)> 155 return Func(P0, ArrayRef<const ArgT *>()); 199 ResultT (*Func)(Param0T, Param1T, ArrayRef<const ArgT *>)> 202 return Func(P0, P1, ArrayRef<const ArgT *>()); 248 ResultT (*Func)(Param0T, Param1T, Param2T, ArrayRef<const ArgT *>) [all...] |
/external/llvm/unittests/Support/ |
ConvertUTFTest.cpp | 19 ArrayRef<char> Ref(Src, sizeof(Src) - 1); 30 ArrayRef<char> Ref(Src, sizeof(Src) - 1); 40 bool Success = convertUTF16ToUTF8String(ArrayRef<char>("xxxxx", 5), Result); 46 bool Success = convertUTF16ToUTF8String(ArrayRef<char>(), Result); 52 bool HasBOM = hasUTF16ByteOrderMark(ArrayRef<char>("\xff\xfe", 2)); 54 HasBOM = hasUTF16ByteOrderMark(ArrayRef<char>("\xfe\xff", 2)); 56 HasBOM = hasUTF16ByteOrderMark(ArrayRef<char>("\xfe\xff ", 3)); 58 HasBOM = hasUTF16ByteOrderMark(ArrayRef<char>("\xfe\xff\x00asdf", 6)); 61 HasBOM = hasUTF16ByteOrderMark(ArrayRef<char>()); 63 HasBOM = hasUTF16ByteOrderMark(ArrayRef<char>("\xfe", 1)) [all...] |
MD5Test.cpp | 14 #include "llvm/ADT/ArrayRef.h" 23 void TestMD5Sum(ArrayRef<uint8_t> Input, StringRef Final) { 44 TestMD5Sum(ArrayRef<uint8_t>((const uint8_t *)"", (size_t) 0), 46 TestMD5Sum(ArrayRef<uint8_t>((const uint8_t *)"a", (size_t) 1), 48 TestMD5Sum(ArrayRef<uint8_t>((const uint8_t *)"abcdefghijklmnopqrstuvwxyz", 51 TestMD5Sum(ArrayRef<uint8_t>((const uint8_t *)"\0", (size_t) 1), 53 TestMD5Sum(ArrayRef<uint8_t>((const uint8_t *)"a\0", (size_t) 2), 55 TestMD5Sum(ArrayRef<uint8_t>((const uint8_t *)"abcdefghijklmnopqrstuvwxyz\0",
|
/external/clang/lib/AST/ |
SelectorLocationsKind.cpp | 65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { 71 ArrayRef<SourceLocation> SelLocs, 72 ArrayRef<T *> Args, 98 ArrayRef<SourceLocation> SelLocs, 99 ArrayRef<Expr *> Args, 107 ArrayRef<Expr *> Args, 115 ArrayRef<SourceLocation> SelLocs, 116 ArrayRef<ParmVarDecl *> Args, 124 ArrayRef<ParmVarDecl *> Args,
|
/external/clang/include/clang/AST/ |
DeclOpenMP.h | 19 #include "llvm/ADT/ArrayRef.h" 44 ArrayRef<const Expr *> getVars() const { 45 return ArrayRef<const Expr *>( 56 void setVars(ArrayRef<Expr *> VL); 61 ArrayRef<Expr *> VL); 66 typedef ArrayRef<const Expr *>::iterator varlist_const_iterator;
|
CommentSema.h | 20 #include "llvm/ADT/ArrayRef.h" 81 ArrayRef<T> copyArray(ArrayRef<T> Source) { 92 ArrayRef<InlineContentComment *> Content); 100 ArrayRef<BlockCommandComment::Argument> Args); 168 ArrayRef<VerbatimBlockLineComment *> Lines); 179 ArrayRef<HTMLStartTagComment::Attribute> Attrs, 187 FullComment *actOnFullComment(ArrayRef<BlockContentComment *> Blocks); 227 ArrayRef<const ParmVarDecl *> getParamVars(); 235 ArrayRef<const ParmVarDecl *> ParamVars) [all...] |
SelectorLocationsKind.h | 47 ArrayRef<SourceLocation> SelLocs, 48 ArrayRef<Expr *> Args, 60 ArrayRef<Expr *> Args, 65 ArrayRef<SourceLocation> SelLocs, 66 ArrayRef<ParmVarDecl *> Args, 78 ArrayRef<ParmVarDecl *> Args,
|
/external/llvm/lib/IR/ |
ConstantFold.h | 22 #include "llvm/ADT/ArrayRef.h" 43 ArrayRef<unsigned> Idxs); 45 ArrayRef<unsigned> Idxs); 51 ArrayRef<Constant *> Idxs); 53 ArrayRef<Value *> Idxs);
|
/external/llvm/tools/llvm-readobj/ |
StreamWriter.h | 13 #include "llvm/ADT/ArrayRef.h" 81 ArrayRef<EnumEntry<TEnum> > EnumValues) { 100 void printFlags(StringRef Label, T Value, ArrayRef<EnumEntry<TFlag> > Flags, 106 for (typename ArrayRef<FlagEntry>::const_iterator I = Flags.begin(), 198 void printBinary(StringRef Label, StringRef Str, ArrayRef<uint8_t> Value) { 202 void printBinary(StringRef Label, StringRef Str, ArrayRef<char> Value) { 203 ArrayRef<uint8_t> V(reinterpret_cast<const uint8_t*>(Value.data()), 208 void printBinary(StringRef Label, ArrayRef<uint8_t> Value) { 212 void printBinary(StringRef Label, ArrayRef<char> Value) { 213 ArrayRef<uint8_t> V(reinterpret_cast<const uint8_t*>(Value.data()) [all...] |
/external/llvm/include/llvm/Support/ |
MD5.h | 36 template <typename T> class ArrayRef; 53 void update(ArrayRef<uint8_t> Data); 66 const uint8_t *body(ArrayRef<uint8_t> Data);
|
SourceMgr.h | 19 #include "llvm/ADT/ArrayRef.h" 148 ArrayRef<SMRange> Ranges = None, 149 ArrayRef<SMFixIt> FixIts = None, 159 ArrayRef<SMRange> Ranges = None, 160 ArrayRef<SMFixIt> FixIts = None) const; 229 ArrayRef<std::pair<unsigned,unsigned> > Ranges, 230 ArrayRef<SMFixIt> FixIts = None); 240 ArrayRef<std::pair<unsigned, unsigned> > getRanges() const { 248 ArrayRef<SMFixIt> getFixIts() const {
|
/external/llvm/include/llvm/TableGen/ |
Error.h | 22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg); 26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
|
/external/clang/include/clang/Frontend/ |
DiagnosticRenderer.h | 78 ArrayRef<CharSourceRange> Ranges, 84 ArrayRef<CharSourceRange> Ranges, 92 ArrayRef<FixItHint> Hints, 119 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, 123 ArrayRef<CharSourceRange> Ranges, 124 ArrayRef<FixItHint> Hints, 144 StringRef Message, ArrayRef<CharSourceRange> Ranges, 145 ArrayRef<FixItHint> FixItHints,
|
TextDiagnostic.h | 82 ArrayRef<CharSourceRange> Ranges, 88 ArrayRef<CharSourceRange> Ranges, 94 ArrayRef<FixItHint> Hints, 115 ArrayRef<FixItHint> Hints, 120 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
DFA.pm | 10 isa => 'ArrayRef[Int]', 15 isa => 'ArrayRef[Int]', 20 isa => 'ArrayRef[Str]', 25 isa => 'ArrayRef[Str]', 30 isa => 'ArrayRef[Int]', 35 isa => 'ArrayRef[Int]', 40 isa => 'ArrayRef[ArrayRef[Int]]',
|
/external/llvm/unittests/ADT/ |
VariadicFunctionTest.cpp | 11 #include "llvm/ADT/ArrayRef.h" 19 std::string StringCatImpl(ArrayRef<const std::string *> Args) { 42 long SumImpl(ArrayRef<const int *> Args) { 59 int StringAppendImpl(std::string *Dest, ArrayRef<const std::string *> Args) { 89 ArrayRef<const int *> Args) {
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Marshallers.h | 86 ArrayRef<ParserValue> Args, 104 ArrayRef<ParserValue>, 114 MatcherList run(const SourceRange &NameRange, ArrayRef<ParserValue> Args, 136 ArrayRef<ParserValue> Args, 142 MatcherList run(const SourceRange &NameRange, ArrayRef<ParserValue> Args, 205 ArrayRef<ParserValue> Args, 216 ArrayRef<ParserValue> Args, 229 ArrayRef<ParserValue> Args, 244 ResultT (*Func)(ArrayRef<const ArgT *>)> 247 ArrayRef<ParserValue> Args [all...] |
/external/llvm/include/llvm/IR/ |
Intrinsics.h | 19 #include "llvm/ADT/ArrayRef.h" 48 std::string getName(ID id, ArrayRef<Type*> Tys = None); 53 ArrayRef<Type*> Tys = None); 70 Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
|
/external/llvm/lib/TableGen/ |
Error.cpp | 25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, 41 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { 53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { 70 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const std::string &Msg) {
|
/external/clang/lib/ARCMigrate/ |
Internals.h | 15 #include "llvm/ADT/ArrayRef.h" 32 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 33 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 45 ArrayRef<StoredDiagnostic> diags, 75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 77 return clearDiagnostic(ArrayRef<unsigned>(), range);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ObjCContainersChecker.cpp | 41 SVal ArrayRef = C.getState()->getSVal(E, C.getLocationContext()); 42 SymbolRef ArraySym = ArrayRef.getAsSymbol(); 69 // Get the ArrayRef symbol. 70 SVal ArrayRef = State->getSVal(Array, C.getLocationContext()); 71 SymbolRef ArraySym = ArrayRef.getAsSymbol();
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
CheckerRegistration.cpp | 42 ClangCheckerRegistry(ArrayRef<std::string> plugins, 48 ClangCheckerRegistry::ClangCheckerRegistry(ArrayRef<std::string> plugins, 52 for (ArrayRef<std::string>::iterator i = plugins.begin(), e = plugins.end(); 105 ArrayRef<std::string> plugins, 129 void ento::printCheckerHelp(raw_ostream &out, ArrayRef<std::string> plugins) {
|
/external/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 32 class ArrayRef; 56 ArrayRef<Constant *> Ops, 73 ArrayRef<unsigned> Idxs); 90 ArrayRef<Constant*> Indices); 98 Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
|