/external/clang/test/CodeGenCXX/ |
H A D | constructor-convert.cpp | 6 Twine(const char *Str) { } argument
|
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUMachineFunction.cpp | 18 StringRef Str = A.getValueAsString(); local 19 if (Str.getAsInteger(0, ShaderType))
|
/external/clang/lib/Basic/ |
H A D | OpenMPKinds.cpp | 23 OpenMPDirectiveKind clang::getOpenMPDirectiveKind(StringRef Str) { argument 24 return llvm::StringSwitch<OpenMPDirectiveKind>(Str) 45 OpenMPClauseKind clang::getOpenMPClauseKind(StringRef Str) { 46 return llvm::StringSwitch<OpenMPClauseKind>(Str) 70 StringRef Str) { 73 return llvm::StringSwitch<OpenMPDefaultClauseKind>(Str)
|
/external/clang/lib/Frontend/ |
H A D | TextDiagnosticBuffer.cpp | 47 static StringRef escapeDiag(StringRef Str, SmallVectorImpl<char> &Buf) { argument 48 size_t Pos = Str.find('%'); 50 return Str; 54 Buf.append(Str.data(), Str.data() + Pos); 55 for (size_t I = Pos, E = Str.size(); I != E; ++I) { 56 if (Str[I] == '%') 58 Buf.push_back(Str[I]);
|
H A D | TextDiagnostic.cpp | 44 static void applyTemplateHighlighting(raw_ostream &OS, StringRef Str, argument 47 size_t Pos = Str.find(ToggleHighlight); 48 OS << Str.slice(0, Pos); 52 Str = Str.substr(Pos + 1); 520 static unsigned skipWhitespace(unsigned Idx, StringRef Str, unsigned Length) { 521 while (Idx < Length && isWhitespace(Str[Idx])) 551 static unsigned findEndOfWord(unsigned Start, StringRef Str, 554 assert(Start < Str.size() && "Invalid start position!"); 558 if (End == Str [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriterPass.cpp | 39 ModulePass *llvm::createBitcodeWriterPass(raw_ostream &Str) { argument 40 return new WriteBitcodePass(Str);
|
/external/llvm/lib/Target/NVPTX/ |
H A D | ManagedStringPool.h | 40 std::string *Str = new std::string(S); local 41 Pool.push_back(Str); 42 return Str;
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | xmppstanzaparser_unittest.cc | 20 ss_ << "START" << element->Str(); 23 ss_ << "STANZA" << element->Str(); 32 std::string Str() { function in class:XmppStanzaParserTestHandler
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
H A D | substr.h | 29 typedef struct SubStr Str; typedef in typeref:struct:SubStr 31 void Str_init(Str*, const SubStr*); 32 Str *Str_new(const SubStr*); 34 void Str_copy(Str*, Str*); 35 Str *Str_new_copy(Str*); 37 Str *Str_new_empty(void); 38 void Str_destroy(Str *); 39 void Str_delete(Str *); [all...] |
/external/clang/include/clang/Basic/ |
H A D | MacroBuilder.h | 40 /// Directly append Str and a newline to the underlying buffer. 41 void append(const Twine &Str) { argument 42 Out << Str << '\n'; local
|
/external/clang/utils/TableGen/ |
H A D | ClangCommentCommandInfoEmitter.cpp | 78 static std::string MangleName(StringRef Str) { argument 80 for (unsigned i = 0, e = Str.size(); i != e; ++i) { 81 switch (Str[i]) { 83 Mangled += Str[i];
|
/external/llvm/include/llvm/Support/ |
H A D | PrettyStackTrace.h | 54 const char *Str; member in class:llvm::PrettyStackTraceString 56 PrettyStackTraceString(const char *str) : Str(str) {}
|
/external/llvm/lib/MC/ |
H A D | MCSymbol.cpp | 29 /// NameNeedsQuoting - Return true if the identifier \p Str needs quotes to be 31 static bool NameNeedsQuoting(StringRef Str) { argument 32 assert(!Str.empty() && "Cannot create an empty MCSymbol"); 36 for (unsigned i = 0, e = Str.size(); i != e; ++i) 37 if (!isAcceptableChar(Str[i]))
|
/external/llvm/tools/llvm-readobj/ |
H A D | StreamWriter.cpp | 30 void StreamWriter::printBinaryImpl(StringRef Label, StringRef Str, argument 37 if (Str.size() > 0) 38 OS << ": " << Str; local 66 if (Str.size() > 0) 67 OS << " " << Str; local
|
/external/llvm/unittests/ADT/ |
H A D | TripleTest.cpp | 137 std::string Str = A; Str += '-'; Str += B; Str += '-'; Str += C; local 138 return Str; 142 std::string Str = A; Str += '-'; Str += B; Str local [all...] |
/external/llvm/utils/TableGen/ |
H A D | StringToOffsetTable.h | 30 unsigned GetOrAddStringOffset(StringRef Str, bool appendZero = true) { argument 31 StringMapEntry<unsigned> &Entry = StringOffset.GetOrCreateValue(Str, -1U); 35 AggregateString.append(Str.begin(), Str.end()); 45 SmallString<256> Str; local 46 raw_svector_ostream(Str).write_escaped(AggregateString); 47 AggregateString = Str.str();
|
/external/valgrind/main/memcheck/tests/ |
H A D | varinfo4.c | 40 Str; typedef in typeref:struct:_str 45 Str a[10];
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlparser_unittest.cc | 70 std::string Str() { function in class:XmlParserTestHandler 88 EXPECT_EQ("START (testing) END ", handler.Str()); 95 EXPECT_EQ("START (testing, a='b') END ", handler.Str()); 100 EXPECT_EQ("START (testing, e='', long='some text') END ", handler.Str()); 110 "END END END ", handler.Str()); 120 handler.Str()); 128 EXPECT_EQ("START (testing) END ", handler.Str()); 134 EXPECT_EQ("START (testing) END ", handler.Str()); 141 EXPECT_EQ("START (testing) END ", handler.Str()); 150 handler.Str()); [all...] |
/external/clang/include/clang/Frontend/ |
H A D | CommandLineSourceLoc.h | 33 static ParsedSourceLocation FromString(StringRef Str) { argument 35 std::pair<StringRef, StringRef> ColSplit = Str.rsplit(':');
|
/external/llvm/include/llvm/ADT/ |
H A D | StringSwitch.h | 44 StringRef Str; member in class:llvm::StringSwitch 52 : Str(S), Result(0) { } 56 if (!Result && N-1 == Str.size() && 57 (std::memcmp(S, Str.data(), N-1) == 0)) { 66 if (!Result && Str.size() >= N-1 && 67 std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) { 76 if (!Result && Str.size() >= N-1 && 77 std::memcmp(S, Str.data(), N-1) == 0) {
|
/external/llvm/include/llvm/Analysis/ |
H A D | CFGPrinter.h | 40 std::string Str; 41 raw_string_ostream OS(Str); 49 std::string Str; local 50 raw_string_ostream OS(Str); 96 std::string Str; 97 raw_string_ostream OS(Str);
|
/external/llvm/lib/Support/ |
H A D | PrettyStackTrace.cpp | 128 OS << Str << "\n"; local
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_notification_observer.cc | 17 std::string Str(const std::vector<chrome::NotificationType>& types) { function in namespace:extensions::__anon5232 135 testing::AssertionFailure() << "Expected " << Str(types) << ", " << 136 "Got " << Str(notifications_);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/ |
H A D | prototype-1.7.js | 212 return Str('', { '': value }, []); 215 function Str(key, holder, stack) { function 254 var str = Str(i, value, stack); 261 var key = keys[i], str = Str(key, value, stack);
|
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 21 /// IsStringPrefix - Return true if Str is a string prefix. 23 static bool IsStringPrefix(StringRef Str, bool CPlusPlus11) { argument 25 if (Str[0] == 'L' || 26 (CPlusPlus11 && (Str[0] == 'u' || Str[0] == 'U' || Str[0] == 'R'))) { 28 if (Str.size() == 1) 33 if (Str[1] == 'R' && Str[0] != 'R' && Str [all...] |