HomeSort by relevance Sort by last modified time
    Searched refs:Str (Results 1 - 25 of 233) sorted by null

1 2 3 4 5 6 7 8 910

  /external/libnfc-nxp/inc/
phDbgTrace.h 53 #define PHDBG_FATAL_ERROR(Str) {\
62 #define PHDBG_CRITICAL_ERROR(Str) {\
70 #define PHDBG_WARNING(Str)
71 #define PHDBG_INFO(Str)
77 #define PHDBG_FATAL_ERROR(Str) {\
86 #define PHDBG_CRITICAL_ERROR(Str) {\
95 #define PHDBG_WARNING(Str) {\
99 phOsalNfc_DbgString (Str);\
102 #define PHDBG_INFO(Str)
108 #define PHDBG_FATAL_ERROR(Str) {\
    [all...]
  /external/elfutils/libebl/
libeblP.h 27 #define _(Str) dgettext ("elfutils", Str)
  /external/llvm/lib/MC/MCParser/
MCAsmLexer.cpp 26 return SMLoc::getFromPointer(Str.data());
30 return SMLoc::getFromPointer(Str.data() + Str.size() - 1);
  /external/llvm/lib/Support/
Triple.cpp 192 Triple::ArchType Triple::getArchTypeForDarwinArchName(StringRef Str) {
205 if (Str == "ppc" || Str == "ppc601" || Str == "ppc603" || Str == "ppc604" ||
206 Str == "ppc604e" || Str == "ppc750" || Str == "ppc7400" ||
207 Str == "ppc7450" || Str == "ppc970"
    [all...]
StringRef.cpp 139 /// find - Search for the first string \arg Str in the string.
141 /// \return - The index of the first occurrence of \arg Str, or npos if not
143 size_t StringRef::find(StringRef Str, size_t From) const {
144 size_t N = Str.size();
151 if (substr(i, N).equals(Str))
163 BadCharSkip[(uint8_t)Str[i]] = N-1-i;
167 if (substr(Pos, N).equals(Str)) // See if this is the correct substring.
179 /// rfind - Search for the last string \arg Str in the string.
181 /// \return - The index of the last occurrence of \arg Str, or npos if not
183 size_t StringRef::rfind(StringRef Str) const
    [all...]
GraphWriter.cpp 21 std::string Str(Label);
22 for (unsigned i = 0; i != Str.length(); ++i)
23 switch (Str[i]) {
25 Str.insert(Str.begin()+i, '\\'); // Escape character...
27 Str[i] = 'n';
30 Str.insert(Str.begin()+i, ' '); // Convert to two spaces
32 Str[i] = ' ';
35 if (i+1 != Str.length()
    [all...]
  /external/elfutils/lib/
system.h 34 #define sgettext(Str) \
35 ({ const char *__res = strrchr (gettext (Str), '|'); \
36 __res ? __res + 1 : Str; })
38 #define gettext_noop(Str) Str
  /external/llvm/utils/TableGen/
AsmWriterInst.h 38 /// Str - For isLiteralTextOperand, this IS the literal text. For
42 std::string Str;
61 : OperandType(op), Str(LitStr) {}
68 : OperandType(op), Str(Printer), CGIOpNo(_CGIOpNo), MIOpNo(_MIOpNo),
72 if (OperandType != Other.OperandType || Str != Other.Str) return true;
101 void AddLiteralString(const std::string &Str) {
106 Operands.back().Str.append(Str);
108 Operands.push_back(AsmWriterOperand(Str));
    [all...]
StringToOffsetTable.h 29 unsigned GetOrAddStringOffset(StringRef Str) {
30 unsigned &Entry = StringOffset[Str];
34 AggregateString.append(Str.begin(), Str.end());
43 SmallString<256> Str;
44 raw_svector_ostream(Str).write_escaped(AggregateString);
45 AggregateString = Str.str();
  /external/llvm/unittests/ADT/
StringRefTest.cpp 19 OS << S.str();
102 StringRef Str("hello");
103 EXPECT_EQ("lo", Str.substr(3));
104 EXPECT_EQ("", Str.substr(100));
105 EXPECT_EQ("hello", Str.substr(0, 100));
106 EXPECT_EQ("o", Str.substr(4, 10));
110 StringRef Str("hello");
111 EXPECT_EQ("l", Str.slice(2, 3));
112 EXPECT_EQ("ell", Str.slice(1, 4));
113 EXPECT_EQ("llo", Str.slice(2, 100))
    [all...]
  /external/clang/include/clang/Basic/
MacroBuilder.h 38 /// Directly append Str and a newline to the underlying buffer.
39 void append(const Twine &Str) {
40 Out << Str << '\n';
  /external/llvm/lib/Bitcode/Writer/
BitcodeWriterPass.cpp 39 ModulePass *llvm::createBitcodeWriterPass(raw_ostream &Str) {
40 return new WriteBitcodePass(Str);
  /external/llvm/unittests/Support/
raw_ostream_test.cpp 39 return OS.str().substr(StartIndex);
121 std::string Str;
122 raw_string_ostream OS(Str);
127 EXPECT_EQ("hello1world", OS.str());
131 std::string Str;
133 Str = "";
134 raw_string_ostream(Str).write_escaped("hi");
135 EXPECT_EQ("hi", Str);
137 Str = "";
138 raw_string_ostream(Str).write_escaped("\\\t\n\"")
    [all...]
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 98 StringRef &Str,
100 while (!Str.empty()) {
102 if (size_t Pos = Str.find_first_not_of(" \t\r")) {
103 Str = Str.substr(Pos);
109 if (Str[0] == '\n' || Str[0] == '#') {
112 if (Str[0] == '\n') {
113 Str = Str.substr(1)
    [all...]
  /external/clang/test/CodeGenCXX/
constructor-convert.cpp 6 Twine(const char *Str) { }
  /external/llvm/include/llvm/ADT/
StringSwitch.h 44 StringRef Str;
51 explicit StringSwitch(StringRef Str)
52 : Str(Str), 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 &
    [all...]
Triple.h 140 explicit Triple(const Twine &Str) : Data(Str.str()), Arch(InvalidArch) {}
142 : Data((ArchStr + Twine('-') + VendorStr + Twine('-') + OSStr).str()),
149 EnvironmentStr).str()), Arch(InvalidArch) {
160 static std::string normalize(StringRef Str);
200 const std::string &str() const { return Data; } function in class:llvm::Triple
310 /// setTriple - Set all components to the new triple \arg Str.
311 void setTriple(const Twine &Str);
315 void setArchName(StringRef Str);
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
BitcodeWriterPass.cpp 39 llvm::ModulePass *llvm_2_9::createBitcodeWriterPass(llvm::raw_ostream &Str) {
40 return new WriteBitcodePass(Str);
  /external/clang/tools/libclang/
CXString.cpp 33 CXString Str;
35 Str.data = strdup(String);
36 Str.private_flags = (unsigned) CXS_Malloc;
38 Str.data = (void*)String;
39 Str.private_flags = (unsigned) CXS_Unmanaged;
41 return Str;
60 CXString Str;
61 Str.data = buf;
62 Str.private_flags = (unsigned) CXS_StringBuf;
63 return Str;
    [all...]
  /external/llvm/lib/Target/
Mangler.cpp 46 /// NameNeedsEscaping - Return true if the identifier \arg Str needs quotes
48 static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo &MAI) {
49 assert(!Str.empty() && "Cannot create an empty MCSymbol");
53 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9')
59 for (unsigned i = 0, e = Str.size(); i != e; ++i)
60 if (!isAcceptableChar(Str[i], AllowPeriod))
67 static void appendMangledName(SmallVectorImpl<char> &OutName, StringRef Str,
71 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9')
    [all...]
  /external/llvm/include/llvm/
Metadata.h 41 StringRef Str;
45 static MDString *get(LLVMContext &Context, StringRef Str);
46 static MDString *get(LLVMContext &Context, const char *Str) {
47 return get(Context, Str ? StringRef(Str) : StringRef());
50 StringRef getString() const { return Str; }
52 unsigned getLength() const { return (unsigned)Str.size(); }
58 iterator begin() const { return Str.begin(); }
62 iterator end() const { return Str.end(); }
  /external/llvm/include/llvm/Analysis/
CFGPrinter.h 40 std::string Str;
41 raw_string_ostream OS(Str);
44 return OS.str();
49 std::string Str;
50 raw_string_ostream OS(Str);
58 std::string OutStr = OS.str();
96 std::string Str;
97 raw_string_ostream OS(Str);
99 return OS.str();
  /external/llvm/include/llvm/Support/
PrettyStackTrace.h 52 const char *Str;
54 PrettyStackTraceString(const char *str) : Str(str) {}
  /external/clang/include/clang/Rewrite/
Rewriter.h 65 void InsertText(unsigned OrigOffset, StringRef Str,
73 void InsertTextBefore(unsigned OrigOffset, StringRef Str) {
74 InsertText(OrigOffset, Str, false);
80 void InsertTextAfter(unsigned OrigOffset, StringRef Str) {
81 InsertText(OrigOffset, Str);
187 bool InsertText(SourceLocation Loc, StringRef Str,
195 bool InsertTextAfter(SourceLocation Loc, StringRef Str) {
196 return InsertText(Loc, Str);
201 bool InsertTextAfterToken(SourceLocation Loc, StringRef Str);
208 bool InsertTextBefore(SourceLocation Loc, StringRef Str) {
    [all...]
  /external/llvm/lib/MC/
MCSymbol.cpp 29 /// NameNeedsQuoting - Return true if the identifier \arg Str needs quotes to be
31 static bool NameNeedsQuoting(StringRef Str) {
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]))

Completed in 971 milliseconds

1 2 3 4 5 6 7 8 910